4.26 Mail Group Commands

Some commands only make sense in mail groups. If these commands are invalid in the current group, they will raise a hell and let you know.

All these commands (except the expiry and edit commands) use the process/prefix convention (see Process/Prefix).

B e

Run all expirable articles in the current group through the expiry process (gnus-summary-expire-articles). That is, delete all expirable articles in the group that have been around for a while. (see Expiring Mail).

B C-M-e

Delete all the expirable articles in the group (gnus-summary-expire-articles-now). This means that all articles eligible for expiry in the current group will disappear forever into that big /dev/null in the sky.

B DEL

Delete the mail article. This is “delete” as in “delete it from your disk forever and ever, never to return again.” Use with caution. (gnus-summary-delete-article).

B m

Move the article from one mail group to another (gnus-summary-move-article). Marks will be preserved if gnus-preserve-marks is non-nil (which is the default).

B c

Copy the article from one group (mail group or not) to a mail group (gnus-summary-copy-article). Marks will be preserved if gnus-preserve-marks is non-nil (which is the default).

B B

Crosspost the current article to some other group (gnus-summary-crosspost-article). This will create a new copy of the article in the other group, and the Xref headers of the article will be properly updated.

B i

Import an arbitrary file into the current mail newsgroup (gnus-summary-import-article). You will be prompted for a file name, a From header and a Subject header.

B I

Create an empty article in the current mail newsgroups (gnus-summary-create-article). You will be prompted for a From header and a Subject header.

B r

Respool the mail article (gnus-summary-respool-article). gnus-summary-respool-default-method will be used as the default select method when respooling. This variable is nil by default, which means that the current group select method will be used instead. Marks will be preserved if gnus-preserve-marks is non-nil (which is the default).

B w
e

Edit the current article (gnus-summary-edit-article). To finish editing and make the changes permanent, type C-c C-c (gnus-summary-edit-article-done). If you give a prefix to the C-c C-c command, Gnus won’t re-highlight the article.

B q

If you want to re-spool an article, you might be curious as to what group the article will end up in before you do the re-spooling. This command will tell you (gnus-summary-respool-query).

B t

Similarly, this command will display all fancy splitting patterns used when respooling, if any (gnus-summary-respool-trace).

B p

Some people have a tendency to send you “courtesy” copies when they follow up to articles you have posted. These usually have a Newsgroups header in them, but not always. This command (gnus-summary-article-posted-p) will try to fetch the current article from your news server (or rather, from gnus-refer-article-method or gnus-select-method) and will report back whether it found the article or not. Even if it says that it didn’t find the article, it may have been posted anyway—mail propagation is much faster than news propagation, and the news copy may just not have arrived yet.

K E

Encrypt the body of an article (gnus-article-encrypt-body). The body is encrypted with the encryption protocol specified by the variable gnus-article-encrypt-protocol.

If you move (or copy) articles regularly, you might wish to have Gnus suggest where to put the articles. gnus-move-split-methods is a variable that uses the same syntax as gnus-split-methods (see Saving Articles). You may customize that variable to create suggestions you find reasonable. (Note that gnus-move-split-methods uses group names where gnus-split-methods uses file names.)

(setq gnus-move-split-methods
      '(("^From:.*Lars Magne" "nnml:junk")
        ("^Subject:.*gnus" "nnfolder:important")
        (".*" "nnml:misc")))