Or rather, hiding certain things in each article. There usually is much too much cruft in most articles.
Do quite a lot of hiding on the article buffer (gnus-article-hide). In particular, this function will hide headers, PGP, cited text and the signature.
Hide headers (
gnus-article-hide-headers). See Hiding Headers.
Hide headers that aren’t particularly interesting
gnus-article-hide-boring-headers). See Hiding Headers.
Hide signature (
gnus-article-hide-signature). See Article Signature.
Strip list identifiers specified in
are strings some mailing list servers add to the beginning of all
Subject headers—for example, ‘[zebra 4711]’. Any leading
‘Re: ’ is skipped before stripping.
may not contain
A regular expression that matches list identifiers to be removed from subject. This can also be a list of regular expressions.
Hide PEM (privacy enhanced messages) cruft
Strip the banner specified by the
banner group parameter
gnus-article-strip-banner). This is mainly used to hide those
annoying banners and/or signatures that some mailing lists and moderated
groups adds to all the messages. The way to use this function is to add
banner group parameter (see Group Parameters) to the
group you want banners stripped from. The parameter either be a string,
which will be interpreted as a regular expression matching text to be
removed, or the symbol
signature, meaning that the (last)
signature should be removed, or other symbol, meaning that the
corresponding regular expression in
(setq gnus-article-banner-alist ((googleGroups . "^\n*--~--~---------\\(.+\n\\)+")))
Regardless of a group, you can hide things like advertisements only when
the sender of an article has a certain mail address specified in
Alist of mail addresses and banners. Each element has the form
(address . banner), where address is a regexp
matching a mail address in the From header, banner is one of a
signature, an item in
a regexp and
nil. If address matches author’s mail
address, it will remove things like advertisements. For example, if a
sender has the mail address ‘email@example.com’ and there is a
banner something like ‘Do You Yoo-hoo!?’ in all articles he
sends, you can use the following element to remove them:
("@yoo-hoo\\.co\\.jp\\'" . "\n_+\nDo You Yoo-hoo!\\?\n.*\n.*\n")
Hide citation (
gnus-article-hide-citation). Some variables for
customizing the hiding:
Gnus adds buttons to show where the cited text has been hidden, and to allow toggle hiding the text. The format of the variable is specified by these format-like variable (see Formatting Variables). These specs are valid:
Starting point of the hidden text.
Ending point of the hidden text.
Number of characters in the hidden region.
Number of lines of hidden text.
The number of lines at the beginning of the cited text to leave shown. This can also be a cons cell with the number of lines at the top and bottom of the text, respectively, to remain visible.
Hide citation (
gnus-article-hide-citation-maybe) depending on the
following two variables:
If the cited text is of a bigger percentage than this variable (default 50), hide the cited text.
The cited text must have at least this length (default 10) before it is hidden.
Hide cited text in articles that aren’t roots
gnus-article-hide-citation-in-followups). This isn’t very
useful as an interactive command, but might be a handy function to stick
have happen automatically (see Customizing Articles).
All these “hiding” commands are toggles, but if you give a negative prefix to these commands, they will show what they have previously hidden. If you give a positive prefix, they will always hide.
Also see Article Highlighting for further variables for citation customization.
See Customizing Articles, for how to hide article elements automatically.