mh-e. Node: Organizing

PREV Deleting UP Moving Mail NEXT Printing

2.4.3: Organizing Your Mail with Folders

mh-e has analogies for each of the MH folder and refile commands. To refile a message in another folder, use the o (mh-refile-msg) (mnemonic: ``output'') command. You are prompted for the folder name.

If you are refiling several messages into the same folder, you can use the ! (mh-refile-or-write-again) command to repeat the last refile or write (see the description of C-o in Files and Pipes). Or, place the messages into a sequence (Sequences) and specify a prefix argument to o, in which case you'll be prompted for the name of the sequence (for example, C-u o search RET).

If you wish to copy a message to another folder, you can use the c (mh-copy-msg) command (see the -link argument to refile(1)). You are prompted for a folder, and you can specify a prefix argument if you want to copy a sequence into another folder. In this case, you are then prompted for the sequence. Note that unlike the o command, the copy takes place immediately. The original copy remains in the current folder.

When you want to read the messages that you have refiled into folders, use the M-f (mh-visit-folder) command to visit the folder. You are prompted for the folder name.

Other commands you can perform on folders include: M-l (mh-list-folders), to list all the folders in your mail directory; M-k (mh-kill-folder), to remove a folder; M-x mh-sort-folder, to sort the messages by date (see sortm(1) to see how to sort by other criteria); M-p (mh-pack-folder), to pack a folder, removing gaps from the numbering sequence; and M-r (mh-rescan-folder), to rescan the folder, which is useful to grab all messages in your `+inbox' after processing your new mail for the first time. If you don't want to rescan the entire folder, give M-r or M-p a prefix argument and you'll be prompted for a range of messages to display (for instance, C-u M-r last:50 RET).

PREV Deleting UP Moving Mail NEXT Printing