Mercurial > emacs
comparison man/gnus-faq.texi @ 61126:c0aa521e0ca7
Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-220
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 45-52)
- Update from CVS
- Update from CVS: texi Makefile.in CVS keyw cruft
- Update from CVS: ChangeLog tweaks
2005-03-29 Reiner Steib <Reiner.Steib@gmx.de>
* etc/gnus-refcard.tex, etc/gnus-logo.eps: New files.
2005-03-25 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/message.el (message-resend): Bind rfc2047-encode-encoded-words.
* lisp/gnus/mm-util.el (mm-replace-in-string): New function.
(mm-xemacs-find-mime-charset-1): Ignore errors while loading
latin-unity, which cannot be used with XEmacs 21.1.
* lisp/gnus/rfc2047.el (rfc2047-encode-function-alist): Rename from
rfc2047-encoding-function-alist in order to avoid conflicting with
the old version.
(rfc2047-encode-message-header): Remove useless goto-char.
(rfc2047-encodable-p): Don't move point.
(rfc2047-syntax-table): Treat `(' and `)' as is.
(rfc2047-encode-region): Concatenate words containing non-ASCII
characters in structured fields; don't encode space-delimited
ASCII words even in unstructured fields; don't break words at
char-category boundaries; encode encoded words in structured
fields; treat text within parentheses as special; show the
original text when error has occurred; move point to the end of
the region after encoding, suggested by IRIE Tetsuya
<irie@t.email.ne.jp>; treat backslash-quoted characters as
non-special; check carefully whether to encode special characters;
fix some kind of misconfigured headers; signal a real error if
debug-on-quit or debug-on-error is non-nil; don't infloop,
suggested by Hiroshi Fujishima <pooh@nature.tsukuba.ac.jp>; assume
the close parenthesis may be included in the encoded word; encode
bogus delimiters.
(rfc2047-encode-string): Use mm-with-multibyte-buffer.
(rfc2047-encode-max-chars): New variable.
(rfc2047-encode-1): New function.
(rfc2047-encode): Use it; encode text so that it occupies the
maximum width within 76-column; work correctly on Q encoding for
iso-2022-* charsets; fold the line before encoding; don't append a
space if the encoded word includes close parenthesis.
(rfc2047-fold-region): Use existing whitespace for LWSP; make it
sure not to break a line just after the header name.
(rfc2047-b-encode-region): Remove.
(rfc2047-b-encode-string): New function.
(rfc2047-q-encode-region): Remove.
(rfc2047-q-encode-string): New function.
(rfc2047-encode-parameter): New function.
(rfc2047-encoded-word-regexp): Don't use shy group.
(rfc2047-decode-region): Follow rfc2047-encoded-word-regexp change.
(rfc2047-parse-and-decode): Ditto.
(rfc2047-decode): Treat the ascii coding-system as raw-text by
default.
2005-03-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
* lisp/gnus/rfc2047.el (rfc2047-encode-encoded-words): New variable.
(rfc2047-field-value): Strip props.
(rfc2047-encode-message-header): Disabled header folding -- not
all headers can be folded, and this should be done by the message
composition mode. Probably. I think.
(rfc2047-encodable-p): Say that =? needs encoding.
(rfc2047-encode-region): Encode =? strings.
2005-03-25 Jesper Harder <harder@ifa.au.dk>
* lisp/gnus/rfc2047.el (rfc2047-encoded-word-regexp): Support RFC 2231
language tags; remove unnecessary '+'. Reported by Stefan Wiens
<s.wi@gmx.net>.
(rfc2047-decode-string): Don't cons a string unnecessarily.
(rfc2047-parse-and-decode, rfc2047-decode): Use a character for
the encoding to avoid consing a string.
(rfc2047-decode): Use mm-subst-char-in-string instead of
mm-replace-chars-in-string.
2005-03-25 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
* lisp/gnus/rfc2047.el (rfc2047-encode): Use uppercase letters to specify
encodings of MIME-encoded words, in order to improve
interoperability with several broken MUAs.
2005-03-21 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/gnus-srvr.el (gnus-browse-select-group): Add NUMBER argument and
pass it to `gnus-browse-read-group'.
(gnus-browse-read-group): Add NUMBER argument and pass it to
`gnus-group-read-ephemeral-group'.
* lisp/gnus/gnus-group.el (gnus-group-read-ephemeral-group): Add NUMBER
argument and pass it to `gnus-group-read-group'.
2005-03-19 Aidan Kehoe <kehoea@parhasard.net>
* lisp/gnus/mm-util.el (mm-xemacs-find-mime-charset): Only call
mm-xemacs-find-mime-charset-1 if we have the mule feature
available at runtime.
2005-03-25 Katsumi Yamaoka <yamaoka@jpl.org>
* man/emacs-mime.texi (Display Customization): Markup fixes.
(rfc2047): Update.
2005-03-23 Reiner Steib <Reiner.Steib@gmx.de>
* man/gnus-faq.texi: Replaced with auto-generated version.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Wed, 30 Mar 2005 08:14:32 +0000 |
parents | 0017dfb224ef |
children | 235590a9d340 4da4a09e8b1b |
comparison
equal
deleted
inserted
replaced
61125:93886f61ae3e | 61126:c0aa521e0ca7 |
---|---|
1 @c Insert "\input texinfo" at 1st line before texing this file alone. | 1 @c \input texinfo @c -*-texinfo-*- |
2 @c -*-texinfo-*- | 2 @c Uncomment 1st line before texing this file alone. |
3 @c Copyright (C) 1995, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. | 3 @c %**start of header |
4 @c Copyright (C) 1995, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. | |
5 @c | |
6 @c Do not modify this file, it was generated from gnus-faq.xml, available from | |
7 @c <URL:http://my.gnus.org/FAQ/>. | |
8 @c | |
4 @setfilename gnus-faq.info | 9 @setfilename gnus-faq.info |
5 | 10 @settitle Frequently Asked Questions |
6 @c Frequently Asked Questions, FAQ - Introduction, Emacs for Heathens, Top | 11 @c %**end of header |
12 @c | |
7 | 13 |
8 @node Frequently Asked Questions | 14 @node Frequently Asked Questions |
9 @comment node-name, next, previous, up | |
10 | |
11 @c @chapter Frequently Asked Questions | |
12 @section Frequently Asked Questions | 15 @section Frequently Asked Questions |
13 @cindex FAQ | |
14 @cindex Frequently Asked Questions | |
15 | |
16 @c - Uncomment @chapter, comment @section | |
17 @c - run (texinfo-every-node-update) | |
18 @c - revert it. | |
19 | 16 |
20 @menu | 17 @menu |
21 * FAQ - Introduction:: About Gnus and this FAQ. | 18 * FAQ - Changes:: |
22 * FAQ 1 - Installation:: Installation of Gnus. | 19 * FAQ - Introduction:: About Gnus and this FAQ. |
23 * FAQ 2 - Startup / Group buffer:: Start up questions and the first | 20 * FAQ 1 - Installation FAQ:: Installation of Gnus. |
24 buffer Gnus shows you. | 21 * FAQ 2 - Startup / Group buffer:: Start up questions and the |
25 * FAQ 3 - Getting messages:: Making Gnus read your mail and news. | 22 first buffer Gnus shows you. |
26 * FAQ 4 - Reading messages:: How to efficiently read messages. | 23 * FAQ 3 - Getting Messages:: Making Gnus read your mail |
27 * FAQ 5 - Composing messages:: Composing mails or Usenet postings. | 24 and news. |
28 * FAQ 6 - Old messages:: Importing, archiving, searching | 25 * FAQ 4 - Reading messages:: How to efficiently read |
29 and deleting messages. | 26 messages. |
30 * FAQ 7 - Gnus in a dial-up environment:: Reading mail and news while offline. | 27 * FAQ 5 - Composing messages:: Composing mails or Usenet |
31 * FAQ 8 - Getting help:: When this FAQ isn't enough. | 28 postings. |
32 * FAQ 9 - Tuning Gnus:: How to make Gnus faster. | 29 * FAQ 6 - Old messages:: Importing, archiving, |
33 * FAQ - Glossary:: Terms used in the FAQ explained. | 30 searching and deleting messages. |
31 * FAQ 7 - Gnus in a dial-up environment:: Reading mail and news while | |
32 offline. | |
33 * FAQ 8 - Getting help:: When this FAQ isn't enough. | |
34 * FAQ 9 - Tuning Gnus:: How to make Gnus faster. | |
35 * FAQ - Glossary:: Terms used in the FAQ | |
36 explained. | |
34 @end menu | 37 @end menu |
35 | 38 |
36 | |
37 @subheading Abstract | 39 @subheading Abstract |
38 | 40 |
39 This is the new Gnus Frequently Asked Questions list. If you have a | 41 This is the new Gnus Frequently Asked Questions list. |
40 Web browser, the official hypertext version is at | 42 If you have a Web browser, the official hypertext version is at |
41 @uref{http://my.gnus.org/FAQ/}, the Docbook source is available from | 43 @uref{http://my.gnus.org/FAQ/}, |
42 @uref{http://sourceforge.net/projects/gnus/}. | 44 the Docbook source is available from |
43 | 45 @uref{http://sourceforge.net/projects/gnus/, http://sourceforge.net}. |
44 | 46 |
45 Please submit features and suggestions to the | 47 Please submit features and suggestions to the |
46 @email{faq-discuss@@my.gnus.org,FAQ discussion list}. | 48 @email{faq-discuss@@my.gnus.org, FAQ discussion list}. |
47 The list is protected against junk mail with | 49 The list is protected against junk mail with |
48 @uref{http://smarden.org/qconfirm/index.html,qconfirm, qconfirm}. As | 50 @uref{http://smarden.org/qconfirm/index.html, qconfirm}. As |
49 a subscriber, your submissions will automatically pass. You can | 51 a subscriber, your submissions will automatically pass. You can |
50 also subscribe to the list by sending a blank email to | 52 also subscribe to the list by sending a blank email to |
51 @email{faq-discuss-subscribe@@my.gnus.org} | 53 @email{faq-discuss-subscribe@@my.gnus.org, faq-discuss-subscribe@@my.gnus.org} |
52 and | 54 and @uref{http://mail1.kens.com/cgi-bin/ezmlm-browse?command=monthbythread%26list=faq-discuss, browse |
53 @uref{http://mail1.kens.com/cgi-bin/ezmlm-browse?command=monthbythread%26list=faq-discuss,browse | 55 the archive}. |
54 the archive, browse the archive}. | 56 |
55 | 57 @node FAQ - Changes |
56 @node FAQ - Introduction, FAQ 1 - Installation, Frequently Asked Questions, Frequently Asked Questions | 58 @subheading Changes |
57 @comment node-name, next, previous, up | 59 |
58 @heading Introduction | 60 |
61 | |
62 @itemize @bullet | |
63 | |
64 @item | |
65 Updated FAQ to reflect release of Gnus 5.10 and start of | |
66 No Gnus development. | |
67 @end itemize | |
68 | |
69 @node FAQ - Introduction | |
70 @subheading Introduction | |
59 | 71 |
60 This is the Gnus Frequently Asked Questions list. | 72 This is the Gnus Frequently Asked Questions list. |
61 | 73 |
62 Gnus is a Usenet Newsreader and Electronic Mail User Agent implemented | 74 Gnus is a Usenet Newsreader and Electronic Mail User Agent implemented |
63 as a part of Emacs. It's been around in some form for almost a decade | 75 as a part of Emacs. It's been around in some form for almost a decade |
64 now, and has been distributed as a standard part of Emacs for much of | 76 now, and has been distributed as a standard part of Emacs for much of |
65 that time. Gnus 5 is the latest (and greatest) incarnation. The | 77 that time. Gnus 5 is the latest (and greatest) incarnation. The |
66 original version was called GNUS, and was written by Masanobu UMEDA. | 78 original version was called GNUS, and was written by Masanobu UMEDA. |
67 When autumn crept up in '94, Lars Magne Ingebrigtsen grew bored and | 79 When autumn crept up in '94, Lars Magne Ingebrigtsen grew bored and |
68 decided to rewrite Gnus. | 80 decided to rewrite Gnus. |
69 | 81 |
70 Its biggest strength is the fact that it is extremely | 82 Its biggest strength is the fact that it is extremely |
71 customizable. It is somewhat intimidating at first glance, but | 83 customizable. It is somewhat intimidating at first glance, but |
72 most of the complexity can be ignored until you're ready to take | 84 most of the complexity can be ignored until you're ready to take |
73 advantage of it. If you receive a reasonable volume of e-mail | 85 advantage of it. If you receive a reasonable volume of e-mail |
74 (you're on various mailing lists), or you would like to read | 86 (you're on various mailing lists), or you would like to read |
75 high-volume mailing lists but cannot keep up with them, or read | 87 high-volume mailing lists but cannot keep up with them, or read |
76 high volume newsgroups or are just bored, then Gnus is what you | 88 high volume newsgroups or are just bored, then Gnus is what you |
77 want. | 89 want. |
78 | 90 |
79 This FAQ was maintained by Justin Sheehy until March 2002. He | 91 This FAQ was maintained by Justin Sheehy until March 2002. He |
80 would like to thank Steve Baur and Per Abrahamsen for doing a wonderful | 92 would like to thank Steve Baur and Per Abrahamsen for doing a wonderful |
81 job with this FAQ before him. We would like to do the same - thanks, | 93 job with this FAQ before him. We would like to do the same - thanks, |
82 Justin! | 94 Justin! |
83 | 95 |
84 | 96 If you have a Web browser, the official hypertext version is at: |
85 If you have a Web browser, the official hypertext version is at:@* | 97 @uref{http://my.gnus.org/FAQ/}. |
86 @uref{http://my.gnus.org/FAQ/}. | 98 This version is much nicer than the unofficial hypertext |
87 This version is much nicer than the unofficial hypertext | 99 versions that are archived at Utrecht, Oxford, Smart Pages, Ohio |
88 versions that are archived at Utrecht, Oxford, Smart Pages, Ohio | 100 State, and other FAQ archives. See the resources question below |
89 State, and other FAQ archives. See the resources question below | 101 if you want information on obtaining it in another format. |
90 if you want information on obtaining it in another format. | 102 |
91 | 103 The information contained here was compiled with the assistance |
92 | 104 of the Gnus development mailing list, and any errors or |
93 The information contained here was compiled with the assistance | 105 misprints are the my.gnus.org team's fault, sorry. |
94 of the Gnus development mailing list, and any errors or | 106 |
95 misprints are the my.gnus.org team's fault, sorry. | 107 @node FAQ 1 - Installation FAQ |
96 | 108 @subsection Installation FAQ |
97 | |
98 @ifnottex | |
99 @node FAQ 1 - Installation, FAQ 2 - Startup / Group buffer, FAQ - Introduction, Frequently Asked Questions | |
100 @end ifnottex | |
101 @subsection Installation | |
102 | 109 |
103 @menu | 110 @menu |
104 * [1.1]:: What is the latest version of Gnus? | 111 * [1.1]:: What is the latest version of Gnus? |
105 * [1.2]:: What's new in 5.10? | 112 * [1.2]:: What's new in 5.10? |
106 * [1.3]:: Where and how to get Gnus? | 113 * [1.3]:: Where and how to get Gnus? |
107 * [1.4]:: What to do with the tarball now? | 114 * [1.4]:: What to do with the tarball now? |
108 * [1.5]:: Which version of Emacs do I need? | 115 * [1.5]:: I sometimes read references to No Gnus and Oort Gnus, what |
109 * [1.6]:: How do I run Gnus on both Emacs and XEmacs? | 116 are those? |
117 * [1.6]:: Which version of Emacs do I need? | |
118 * [1.7]:: How do I run Gnus on both Emacs and XEmacs? | |
110 @end menu | 119 @end menu |
111 | 120 |
112 | 121 @node [1.1] |
113 @ifnottex | 122 @subsubheading Question 1.1 |
114 @node [1.1], [1.2], FAQ 1 - Installation, FAQ 1 - Installation | |
115 @end ifnottex | |
116 @subsubheading Question 1.1: | |
117 | 123 |
118 What is the latest version of Gnus? | 124 What is the latest version of Gnus? |
119 | 125 |
120 Answer: | 126 @subsubheading Answer |
121 | 127 |
122 Jingle please: Gnus 5.10 is released, get it while it's | 128 Jingle please: Gnus 5.10 is released, get it while it's |
123 hot! As well as the step in version number is rather | 129 hot! As well as the step in version number is rather |
124 small, Gnus 5.10 has tons of new features which you | 130 small, Gnus 5.10 has tons of new features which you |
125 shouldn't miss, however if you are cautious, you might | 131 shouldn't miss. The current release (5.10.6) should be at |
126 prefer to stay with 5.8.8 respectively 5.9 (they are | 132 least as stable as the latest release of the 5.8 series. |
127 basically the same) until some bugfix releases are out. | 133 |
128 | 134 @node [1.2] |
129 @ifnottex | 135 @subsubheading Question 1.2 |
130 @node [1.2], [1.3], [1.1], FAQ 1 - Installation | |
131 @end ifnottex | |
132 @subsubheading Question 1.2: | |
133 | 136 |
134 What's new in 5.10? | 137 What's new in 5.10? |
135 | 138 |
136 Answer: | 139 @subsubheading Answer |
137 | 140 |
138 First of all, you should have a look into the file | 141 First of all, you should have a look into the file |
139 GNUS-NEWS in the toplevel directory of the Gnus tarball, | 142 GNUS-NEWS in the toplevel directory of the Gnus tarball, |
140 there the most important changes are listed. Here's a | 143 there the most important changes are listed. Here's a |
141 short list of the changes I find especially | 144 short list of the changes I find especially |
142 important/interesting: | 145 important/interesting: |
143 | 146 |
144 | 147 @itemize @bullet |
145 | |
146 | |
147 @itemize @bullet{} | |
148 | 148 |
149 @item | 149 @item |
150 Major rewrite of the Gnus agent, Gnus agent is now | 150 Major rewrite of the Gnus agent, Gnus agent is now |
151 active by default. | 151 active by default. |
152 | 152 |
153 @item | 153 @item |
154 Many new article washing functions for dealing with | 154 Many new article washing functions for dealing with |
155 ugly formatted articles. | 155 ugly formatted articles. |
156 | 156 |
157 @item | 157 @item |
158 Anti Spam features. | 158 Anti Spam features. |
159 | 159 |
160 @item | 160 @item |
161 message-utils now included in Gnus. | 161 Message-utils now included in Gnus. |
162 | 162 |
163 @item | 163 @item |
164 New format specifiers for summary lines, e.g. %B for | 164 New format specifiers for summary lines, e.g. %B for |
165 a complex trn-style thread tree. | 165 a complex trn-style thread tree. |
166 | |
167 @end itemize | 166 @end itemize |
168 | 167 |
169 @ifnottex | 168 @node [1.3] |
170 @node [1.3], [1.4], [1.2], FAQ 1 - Installation | 169 @subsubheading Question 1.3 |
171 @end ifnottex | |
172 @subsubheading Question 1.3: | |
173 | 170 |
174 Where and how to get Gnus? | 171 Where and how to get Gnus? |
175 | 172 |
176 Answer: | 173 @subsubheading Answer |
177 | 174 |
178 The latest released version of Gnus isn't included in | 175 The latest released version of Gnus isn't included in |
179 Emacs 21 and until now it also isn't available through the | 176 Emacs 21, therefor you should get the Gnus tarball from |
180 package system of XEmacs 21.4, therefor you should get the | 177 @uref{http://www.gnus.org/dist/gnus.tar.gz} |
181 Gnus tarball from | 178 or via anonymous FTP from |
182 @uref{http://www.gnus.org/dist/gnus.tar.gz} | 179 @uref{ftp://ftp.gnus.org/pub/gnus/gnus.tar.gz}. |
183 or via anonymous FTP from | 180 If you use XEmacs instead of Emacs you can use XEmacs' |
184 @uref{ftp://ftp.gnus.org/pub/gnus/gnus.tar.gz}. | 181 package system instead. |
185 | 182 |
186 @ifnottex | 183 @node [1.4] |
187 @node [1.4], [1.5], [1.3], FAQ 1 - Installation | 184 @subsubheading Question 1.4 |
188 @end ifnottex | 185 |
189 @subsubheading Question 1.4: | 186 What to do with the tarball now? |
190 | 187 |
191 What to do with the tarball now? | 188 @subsubheading Answer |
192 | 189 |
193 | 190 Untar it via @samp{tar xvzf gnus.tar.gz} and do the common |
194 Answer: | 191 @samp{./configure; make; make install} circle. |
195 | 192 (under MS-Windows either get the Cygwin environment from |
196 Untar it via @samp{tar xvzf gnus.tar.gz} and do the common | 193 @uref{http://www.cygwin.com} |
197 @samp{./configure; make; make install} circle. | 194 which allows you to do what's described above or unpack the |
198 (under MS-Windows either get the Cygwin environment from | 195 tarball with some packer (e.g. Winace from |
199 @uref{http://www.cygwin.com} | 196 @uref{http://www.winace.com}) |
200 which allows you to do what's described above or unpack the | 197 and use the batch-file make.bat included in the tarball to install |
201 tarball with some packer (e.g. Winace from | 198 Gnus.) If you don't want to (or aren't allowed to) install Gnus |
202 @uref{http://www.winace.com}) | 199 system-wide, you can install it in your home directory and add the |
203 and use the batch-file make.bat included in the tarball to install | 200 following lines to your ~/.xemacs/init.el or ~/.emacs: |
204 Gnus. If you don't want to (or aren't allowed to) install Gnus | |
205 system-wide, you can install it in your home directory and add the | |
206 following lines to your ~/.xemacs/init.el or ~/.emacs: | |
207 | |
208 | 201 |
209 @example | 202 @example |
210 (add-to-list 'load-path "/path/to/gnus/lisp") | 203 (add-to-list 'load-path "/path/to/gnus/lisp") |
211 (if (featurep 'xemacs) | 204 (if (featurep 'xemacs) |
212 (add-to-list 'Info-directory-list "/path/to/gnus/texi/") | 205 (add-to-list 'Info-directory-list "/path/to/gnus/texi/") |
213 (add-to-list 'Info-default-directory-list "/path/to/gnus/texi/")) | 206 (add-to-list 'Info-default-directory-list "/path/to/gnus/texi/")) |
214 @end example | 207 @end example |
215 | 208 @noindent |
216 @noindent | 209 |
217 Make sure that you don't have any Gnus related stuff | 210 Make sure that you don't have any Gnus related stuff |
218 before this line, on MS Windows use something like | 211 before this line, on MS Windows use something like |
219 "C:/path/to/lisp" (yes, "/"). | 212 "C:/path/to/lisp" (yes, "/"). |
220 | 213 |
221 @ifnottex | 214 @node [1.5] |
222 @node [1.5], [1.6], [1.4], FAQ 1 - Installation | 215 @subsubheading Question 1.5 |
223 @end ifnottex | 216 |
224 @subsubheading Question 1.5: | 217 I sometimes read references to No Gnus and Oort Gnus, |
218 what are those? | |
219 | |
220 @subsubheading Answer | |
221 | |
222 Oort Gnus was the name of the development version of | |
223 Gnus, which became Gnus 5.10 in autumn 2003. No Gnus is | |
224 the name of the current development version which will | |
225 once become Gnus 5.12 or Gnus 6. (If you're wondering why | |
226 not 5.11, the odd version numbers are normally used for | |
227 the Gnus versions bundled with Emacs) | |
228 | |
229 @node [1.6] | |
230 @subsubheading Question 1.6 | |
225 | 231 |
226 Which version of Emacs do I need? | 232 Which version of Emacs do I need? |
227 | 233 |
228 Answer: | 234 @subsubheading Answer |
229 | 235 |
230 Gnus 5.10 requires an Emacs version that is greater | 236 Gnus 5.10 requires an Emacs version that is greater |
231 than or equal to Emacs 20.7 or XEmacs 21.1. | 237 than or equal to Emacs 20.7 or XEmacs 21.1. The |
232 | 238 development versions of Gnus (aka No Gnus) require Emacs |
233 @ifnottex | 239 21 or XEmacs 21.4. |
234 @node [1.6], , [1.5], FAQ 1 - Installation | 240 |
235 @end ifnottex | 241 @node [1.7] |
236 @subsubheading Question 1.6: | 242 @subsubheading Question 1.7 |
237 | 243 |
238 How do I run Gnus on both Emacs and XEmacs? | 244 How do I run Gnus on both Emacs and XEmacs? |
239 | 245 |
240 Answer: | 246 @subsubheading Answer |
241 | 247 |
242 You can't use the same copy of Gnus in both as the Lisp | 248 You can't use the same copy of Gnus in both as the Lisp |
243 files are byte-compiled to a format which is different | 249 files are byte-compiled to a format which is different |
244 depending on which Emacs did the compilation. Get one copy | 250 depending on which Emacs did the compilation. Get one copy |
245 of Gnus for Emacs and one for XEmacs. | 251 of Gnus for Emacs and one for XEmacs. |
246 | 252 |
247 @ifnottex | 253 @node FAQ 2 - Startup / Group buffer |
248 @node FAQ 2 - Startup / Group buffer, FAQ 3 - Getting messages, FAQ 1 - Installation, Frequently Asked Questions | |
249 @end ifnottex | |
250 @subsection Startup / Group buffer | 254 @subsection Startup / Group buffer |
251 | 255 |
252 @menu | 256 @menu |
253 * [2.1]:: Every time I start Gnus I get a message | 257 * [2.1]:: Every time I start Gnus I get a message "Gnus auto-save |
254 "Gnus auto-save file exists. Do you want to read it?", | 258 file exists. Do you want to read it?", what does this mean and |
255 what does this mean and how to prevent it? | 259 how to prevent it? |
256 * [2.2]:: Gnus doesn't remember which groups I'm subscribed to, what's this? | 260 * [2.2]:: Gnus doesn't remember which groups I'm subscribed to, |
257 * [2.3]:: How to change the format of the lines in Group buffer? | 261 what's this? |
258 * [2.4]:: My group buffer becomes a bit crowded, is there a way to sort my | 262 * [2.3]:: How to change the format of the lines in Group buffer? |
259 groups into categories so I can easier browse through them? | 263 * [2.4]:: My group buffer becomes a bit crowded, is there a way to |
260 * [2.5]:: How to manually sort the groups in Group buffer? How to sort the | 264 sort my groups into categories so I can easier browse through |
261 groups in a topic? | 265 them? |
266 * [2.5]:: How to manually sort the groups in Group buffer? How to | |
267 sort the groups in a topic? | |
262 @end menu | 268 @end menu |
263 | 269 |
264 @ifnottex | 270 @node [2.1] |
265 @node [2.1], [2.2], FAQ 2 - Startup / Group buffer, FAQ 2 - Startup / Group buffer | 271 @subsubheading Question 2.1 |
266 @end ifnottex | 272 |
267 @subsubheading Question 2.1: | 273 Every time I start Gnus I get a message "Gnus auto-save |
268 | 274 file exists. Do you want to read it?", what does this mean |
269 Every time I start Gnus I get a message "Gnus auto-save | 275 and how to prevent it? |
270 file exists. Do you want to read it?", what does this mean | 276 |
271 and how to prevent it? | 277 @subsubheading Answer |
272 | 278 |
273 | 279 This message means that the last time you used Gnus, it |
274 Answer: | 280 wasn't properly exited and therefor couldn't write its |
275 | 281 informations to disk (e.g. which messages you read), you |
276 This message means that the last time you used Gnus, it | 282 are now asked if you want to restore those informations |
277 wasn't properly exited and therefor couldn't write its | 283 from the auto-save file. |
278 informations to disk (e.g. which messages you read), you | 284 |
279 are now asked if you want to restore those informations | 285 To prevent this message make sure you exit Gnus |
280 from the auto-save file. | 286 via @samp{q} in group buffer instead of |
281 | 287 just killing Emacs. |
282 | 288 |
283 To prevent this message make sure you exit Gnus | 289 @node [2.2] |
284 via @samp{q} in group buffer instead of | 290 @subsubheading Question 2.2 |
285 just killing Emacs. | 291 |
286 | 292 Gnus doesn't remember which groups I'm subscribed to, |
287 @ifnottex | 293 what's this? |
288 @node [2.2], [2.3], [2.1], FAQ 2 - Startup / Group buffer | 294 |
289 @end ifnottex | 295 @subsubheading Answer |
290 @subsubheading Question: 2.2 | 296 |
291 | 297 You get the message described in the q/a pair above while |
292 Gnus doesn't remember which groups I'm subscribed to, | 298 starting Gnus, right? It's an other symptom for the same |
293 what's this? | 299 problem, so read the answer above. |
294 | 300 |
295 | 301 @node [2.3] |
296 Answer: | 302 @subsubheading Question 2.3 |
297 | 303 |
298 You get the message described in the q/a pair above while | 304 How to change the format of the lines in Group buffer? |
299 starting Gnus, right? It's an other symptom for the same | 305 |
300 problem, so read the answer above. | 306 @subsubheading Answer |
301 | 307 |
302 @ifnottex | 308 You've got to tweak the value of the variable |
303 @node [2.3], [2.4], [2.2], FAQ 2 - Startup / Group buffer | 309 gnus-group-line-format. See the manual node "Group Line |
304 @end ifnottex | 310 Specification" for information on how to do this. An |
305 @subsubheading Question 2.3: | 311 example for this (guess from whose .gnus :-)): |
306 | 312 |
307 How to change the format of the lines in Group buffer? | 313 @example |
308 | |
309 | |
310 Answer: | |
311 | |
312 You've got to tweak the value of the variable | |
313 gnus-group-line-format. See the manual node "Group Line | |
314 Specification" for information on how to do this. An | |
315 example for this (guess from whose .gnus :-)): | |
316 | |
317 | |
318 @example | |
319 | |
320 (setq gnus-group-line-format "%P%M%S[%5t]%5y : %(%g%)\n") | 314 (setq gnus-group-line-format "%P%M%S[%5t]%5y : %(%g%)\n") |
321 | 315 @end example |
322 @end example | 316 @noindent |
323 | 317 |
324 @ifnottex | 318 @node [2.4] |
325 @node [2.4], [2.5], [2.3], FAQ 2 - Startup / Group buffer | 319 @subsubheading Question 2.4 |
326 @end ifnottex | 320 |
327 @subsubheading Question 2.4: | 321 My group buffer becomes a bit crowded, is there a way to |
328 | 322 sort my groups into categories so I can easier browse |
329 My group buffer becomes a bit crowded, is there a way to | 323 through them? |
330 sort my groups into categories so I can easier browse | 324 |
331 through them? | 325 @subsubheading Answer |
332 | 326 |
333 | 327 Gnus offers the topic mode, it allows you to sort your |
334 Answer: | 328 groups in, well, topics, e.g. all groups dealing with |
335 | 329 Linux under the topic linux, all dealing with music under |
336 Gnus offers the topic mode, it allows you to sort your | 330 the topic music and all dealing with scottish music under |
337 groups in, well, topics, e.g. all groups dealing with | 331 the topic scottish which is a subtopic of music. |
338 Linux under the topic linux, all dealing with music under | 332 |
339 the topic music and all dealing with scottish music under | 333 To enter topic mode, just hit t while in Group buffer. Now |
340 the topic scottish which is a subtopic of music. | 334 you can use @samp{T n} to create a topic |
341 | 335 at point and @samp{T m} to move a group to |
342 | 336 a specific topic. For more commands see the manual or the |
343 To enter topic mode, just hit t while in Group buffer. Now | 337 menu. You might want to include the %P specifier at the |
344 you can use @samp{T n} to create a topic | 338 beginning of your gnus-group-line-format variable to have |
345 at point and @samp{T m} to move a group to | 339 the groups nicely indented. |
346 a specific topic. For more commands see the manual or the | 340 |
347 menu. You might want to include the %P specifier at the | 341 @node [2.5] |
348 beginning of your gnus-group-line-format variable to have | 342 @subsubheading Question 2.5 |
349 the groups nicely indented. | 343 |
350 | 344 How to manually sort the groups in Group buffer? How to |
351 @ifnottex | 345 sort the groups in a topic? |
352 @node [2.5], , [2.4], FAQ 2 - Startup / Group buffer | 346 |
353 @end ifnottex | 347 @subsubheading Answer |
354 @subsubheading Question 2.5: | 348 |
355 | 349 Move point over the group you want to move and |
356 How to manually sort the groups in Group buffer? How to | 350 hit @samp{C-k}, now move point to the |
357 sort the groups in a topic? | 351 place where you want the group to be and |
358 | 352 hit @samp{C-y}. |
359 | 353 |
360 Answer: | 354 @node FAQ 3 - Getting Messages |
361 | 355 @subsection Getting Messages |
362 Move point over the group you want to move and | |
363 hit @samp{C-k}, now move point to the | |
364 place where you want the group to be and | |
365 hit @samp{C-y}. | |
366 | |
367 @ifnottex | |
368 @node FAQ 3 - Getting messages, FAQ 4 - Reading messages, FAQ 2 - Startup / Group buffer, Frequently Asked Questions | |
369 @end ifnottex | |
370 @subsection Getting messages | |
371 | 356 |
372 @menu | 357 @menu |
373 * [3.1]:: I just installed Gnus, started it via M-x gnus but it only says | 358 * [3.1]:: I just installed Gnus, started it via @samp{M-x gnus} |
374 "nntp (news) open error", what to do? | 359 but it only says "nntp (news) open error", what to do? |
375 * [3.2]:: I'm working under Windows and have no idea what ~/.gnus means. | 360 * [3.2]:: I'm working under Windows and have no idea what ~/.gnus.el |
376 * [3.3]:: My news server requires authentication, how to store user name | 361 means. |
377 and password on disk? | 362 * [3.3]:: My news server requires authentication, how to store user |
378 * [3.4]:: Gnus seems to start up OK, but I can't find out how to | 363 name and password on disk? |
379 subscribe to a group. | 364 * [3.4]:: Gnus seems to start up OK, but I can't find out how to |
380 * [3.5]:: Gnus doesn't show all groups / Gnus says I'm not allowed to | 365 subscribe to a group. |
381 post on this server as well as I am, what's that? | 366 * [3.5]:: Gnus doesn't show all groups / Gnus says I'm not allowed |
382 * [3.6]:: I want Gnus to fetch news from several servers, is this possible? | 367 to post on this server as well as I am, what's that? |
383 * [3.7]:: And how about local spool files? | 368 * [3.6]:: I want Gnus to fetch news from several servers, is this |
384 * [3.8]:: OK, reading news works now, but I want to be able to read my mail | 369 possible? |
385 with Gnus, too. How to do it? | 370 * [3.7]:: And how about local spool files? |
386 * [3.9]:: And what about IMAP? | 371 * [3.8]:: OK, reading news works now, but I want to be able to read |
387 * [3.10]:: At the office we use one of those MS Exchange servers, | 372 my mail with Gnus, too. How to do it? |
388 can I use Gnus to read my mail from it? | 373 * [3.9]:: And what about IMAP? |
389 * [3.11]:: Can I tell Gnus not to delete the mails on the server | 374 * [3.10]:: At the office we use one of those MS Exchange servers, can |
390 it retrieves via POP3? | 375 I use Gnus to read my mail from it? |
376 * [3.11]:: Can I tell Gnus not to delete the mails on the server it | |
377 retrieves via POP3? | |
391 @end menu | 378 @end menu |
392 | 379 |
393 @ifnottex | 380 @node [3.1] |
394 @node [3.1], [3.2], FAQ 3 - Getting messages, FAQ 3 - Getting messages | 381 @subsubheading Question 3.1 |
395 @end ifnottex | 382 |
396 @subsubheading Question 3.1: | 383 I just installed Gnus, started it via |
397 | 384 @samp{M-x gnus} |
398 I just installed Gnus, started it via | 385 but it only says "nntp (news) open error", what to do? |
399 @samp{M-x gnus} | 386 |
400 but it only says "nntp (news) open error", what to do? | 387 @subsubheading Answer |
401 | 388 |
402 | 389 You've got to tell Gnus where to fetch the news from. Read |
403 Answer: | 390 the documentation for information on how to do this. As a |
404 | 391 first start, put those lines in ~/.gnus.el: |
405 You've got to tell Gnus where to fetch the news from. Read | |
406 the documentation for information on how to do this. As a | |
407 first start, put those lines in ~/.gnus: | |
408 | |
409 | 392 |
410 @example | 393 @example |
411 (setq gnus-select-method '(nntp "news.yourprovider.net")) | 394 (setq gnus-select-method '(nntp "news.yourprovider.net")) |
412 (setq user-mail-address "you@@yourprovider.net") | 395 (setq user-mail-address "you@@yourprovider.net") |
413 (setq user-full-name "Your Name") | 396 (setq user-full-name "Your Name") |
414 @end example | 397 @end example |
398 @noindent | |
399 | |
400 @node [3.2] | |
401 @subsubheading Question 3.2 | |
402 | |
403 I'm working under Windows and have no idea what ~/.gnus.el means. | |
404 | |
405 @subsubheading Answer | |
406 | |
407 The ~/ means the home directory where Gnus and Emacs look | |
408 for the configuration files. However, you don't really | |
409 need to know what this means, it suffices that Emacs knows | |
410 what it means :-) You can type | |
411 @samp{C-x C-f ~/.gnus.el RET } | |
412 (yes, with the forward slash, even on Windows), and | |
413 Emacs will open the right file for you. (It will most | |
414 likely be new, and thus empty.) | |
415 However, I'd discourage you from doing so, since the | |
416 directory Emacs chooses will most certainly not be what | |
417 you want, so let's do it the correct way. | |
418 The first thing you've got to do is to | |
419 create a suitable directory (no blanks in directory name | |
420 please) e.g. c:\myhome. Then you must set the environment | |
421 variable HOME to this directory. To do this under Win9x | |
422 or Me include the line | |
423 | |
424 @example | |
425 SET HOME=C:\myhome | |
426 @end example | |
427 @noindent | |
428 | |
429 in your autoexec.bat and reboot. Under NT, 2000 and XP, | |
430 hit Winkey+Pause/Break to enter system options (if it | |
431 doesn't work, go to Control Panel -> System). There you'll | |
432 find the possibility to set environment variables, create | |
433 a new one with name HOME and value C:\myhome, a reboot is | |
434 not necessary. | |
435 | |
436 Now to create ~/.gnus.el, say | |
437 @samp{C-x C-f ~/.gnus.el RET C-x C-s}. | |
438 in Emacs. | |
439 | |
440 @node [3.3] | |
441 @subsubheading Question 3.3 | |
442 | |
443 My news server requires authentication, how to store | |
444 user name and password on disk? | |
445 | |
446 @subsubheading Answer | |
447 | |
448 Create a file ~/.authinfo which includes for each server a line like this | |
449 | |
450 @example | |
451 machine news.yourprovider.net login YourUserName password YourPassword | |
452 @end example | |
453 @noindent | |
454 . | |
455 Make sure that the file isn't readable to others if you | |
456 work on a OS which is capable of doing so. (Under Unix | |
457 say | |
458 @example | |
459 chmod 600 ~/.authinfo | |
460 @end example | |
461 @noindent | |
462 | |
463 in a shell.) | |
464 | |
465 @node [3.4] | |
466 @subsubheading Question 3.4 | |
467 | |
468 Gnus seems to start up OK, but I can't find out how to | |
469 subscribe to a group. | |
470 | |
471 @subsubheading Answer | |
472 | |
473 If you know the name of the group say @samp{U | |
474 name.of.group RET} in group buffer (use the | |
475 tab-completion Luke). Otherwise hit ^ in group buffer, | |
476 this brings you to the server buffer. Now place point (the | |
477 cursor) over the server which carries the group you want, | |
478 hit @samp{RET}, move point to the group | |
479 you want to subscribe to and say @samp{u} | |
480 to subscribe to it. | |
481 | |
482 @node [3.5] | |
483 @subsubheading Question 3.5 | |
484 | |
485 Gnus doesn't show all groups / Gnus says I'm not allowed to | |
486 post on this server as well as I am, what's that? | |
487 | |
488 @subsubheading Answer | |
489 | |
490 Some providers allow restricted anonymous access and full | |
491 access only after authorization. To make Gnus send authinfo | |
492 to those servers append | |
493 | |
494 @example | |
495 force yes | |
496 @end example | |
497 @noindent | |
415 | 498 |
416 @ifnottex | 499 to the line for those servers in ~/.authinfo. |
417 @node [3.2], [3.3], [3.1], FAQ 3 - Getting messages | 500 |
418 @end ifnottex | 501 @node [3.6] |
419 @subsubheading Question 3.2: | 502 @subsubheading Question 3.6 |
420 | 503 |
421 I'm working under Windows and have no idea what ~/.gnus means. | 504 I want Gnus to fetch news from several servers, is this possible? |
422 | 505 |
423 | 506 @subsubheading Answer |
424 Answer: | 507 |
425 | 508 Of course. You can specify more sources for articles in the |
426 The ~/ means the home directory where Gnus and Emacs look for the | 509 variable gnus-secondary-select-methods. Add something like |
427 configuration files. However, you don't really need to know what this | 510 this in ~/.gnus.el: |
428 means, it suffices that Emacs knows what it means :-) You can type | 511 |
429 @samp{C-x C-f ~/.gnus RET } (yes, with the forward slash, even on | 512 @example |
430 Windows), and Emacs will open the right file for you. (It will most | 513 (add-to-list 'gnus-secondary-select-methods |
431 likely be new, and thus empty.) However, I'd discourage you from | |
432 doing so, since the directory Emacs chooses will most certainly not be | |
433 what you want, so let's do it the correct way. The first thing you've | |
434 got to do is to create a suitable directory (no blanks in directory | |
435 name please) e.g. @file{c:\myhome}. Then you must set the environment | |
436 variable HOME to this directory. To do this under Win9x or Me include | |
437 the line | |
438 | |
439 | |
440 @example | |
441 | |
442 SET HOME=C:\myhome | |
443 | |
444 @end example | |
445 | |
446 @noindent | |
447 in your autoexec.bat and reboot. Under NT, 2000 and XP, | |
448 hit Winkey+Pause/Break to enter system options (if it | |
449 doesn't work, go to Control Panel -> System). There you'll | |
450 find the possibility to set environment variables, create | |
451 a new one with name HOME and value @file{c:\myhome}, a reboot is | |
452 not necessary. | |
453 | |
454 | |
455 Now to create ~/.gnus, say | |
456 @samp{C-x C-f ~/.gnus RET C-x C-s}. | |
457 in Emacs. | |
458 | |
459 @ifnottex | |
460 @node [3.3], [3.4], [3.2], FAQ 3 - Getting messages | |
461 @end ifnottex | |
462 @subsubheading Question 3.3: | |
463 | |
464 My news server requires authentication, how to store | |
465 user name and password on disk? | |
466 | |
467 | |
468 Answer: | |
469 | |
470 Create a file ~/.authinfo which includes for each server a line like this | |
471 | |
472 | |
473 @example | |
474 machine news.yourprovider.net login YourUserName password YourPassword | |
475 @end example | |
476 | |
477 @noindent | |
478 . | |
479 Make sure that the file isn't readable to others if you | |
480 work on a OS which is capable of doing so. (Under Unix | |
481 say | |
482 | |
483 @example | |
484 chmod 600 ~/.authinfo | |
485 @end example | |
486 | |
487 @noindent | |
488 in a shell.) | |
489 | |
490 @ifnottex | |
491 @node [3.4], [3.5], [3.3], FAQ 3 - Getting messages | |
492 @end ifnottex | |
493 @subsubheading Question 3.4: | |
494 | |
495 Gnus seems to start up OK, but I can't find out how to | |
496 subscribe to a group. | |
497 | |
498 | |
499 Answer: | |
500 | |
501 If you know the name of the group say @samp{U | |
502 name.of.group RET} in group buffer (use the | |
503 tab-completion Luke). Otherwise hit ^ in group buffer, | |
504 this brings you to the server buffer. Now place point (the | |
505 cursor) over the server which carries the group you want, | |
506 hit @samp{RET}, move point to the group | |
507 you want to subscribe to and say @samp{u} | |
508 to subscribe to it. | |
509 | |
510 @ifnottex | |
511 @node [3.5], [3.6], [3.4], FAQ 3 - Getting messages | |
512 @end ifnottex | |
513 @subsubheading Question 3.5: | |
514 | |
515 Gnus doesn't show all groups / Gnus says I'm not allowed to | |
516 post on this server as well as I am, what's that? | |
517 | |
518 | |
519 Answer: | |
520 | |
521 Some providers allow restricted anonymous access and full | |
522 access only after authorization. To make Gnus send authinfo | |
523 to those servers append | |
524 | |
525 | |
526 @example | |
527 force yes | |
528 @end example | |
529 | |
530 | |
531 @noindent | |
532 to the line for those servers in ~/.authinfo. | |
533 | |
534 @ifnottex | |
535 @node [3.6], [3.7], [3.5], FAQ 3 - Getting messages | |
536 @end ifnottex | |
537 @subsubheading Question 3.6: | |
538 | |
539 I want Gnus to fetch news from several servers, is this possible? | |
540 | |
541 | |
542 Answer: | |
543 | |
544 Of course. You can specify more sources for articles in the | |
545 variable gnus-secondary-select-methods. Add something like | |
546 this in ~/.gnus: | |
547 | |
548 | |
549 @example | |
550 (add-to-list 'gnus-secondary-select-methods | |
551 '(nntp "news.yourSecondProvider.net")) | 514 '(nntp "news.yourSecondProvider.net")) |
552 (add-to-list 'gnus-secondary-select-methods | 515 (add-to-list 'gnus-secondary-select-methods |
553 '(nntp "news.yourThirdProvider.net")) | 516 '(nntp "news.yourThirdProvider.net")) |
554 @end example | 517 @end example |
555 | 518 @noindent |
556 @ifnottex | 519 |
557 @node [3.7], [3.8], [3.6], FAQ 3 - Getting messages | 520 @node [3.7] |
558 @end ifnottex | 521 @subsubheading Question 3.7 |
559 @subsubheading Question 3.7: | 522 |
560 | 523 And how about local spool files? |
561 And how about local spool files? | 524 |
562 | 525 @subsubheading Answer |
563 | 526 |
564 Answer: | 527 No problem, this is just one more select method called |
565 | 528 nnspool, so you want this: |
566 No problem, this is just one more select method called | |
567 nnspool, so you want this: | |
568 | |
569 | 529 |
570 @example | 530 @example |
571 (add-to-list 'gnus-secondary-select-methods '(nnspool "")) | 531 (add-to-list 'gnus-secondary-select-methods '(nnspool "")) |
572 @end example | 532 @end example |
573 | 533 @noindent |
574 @noindent | 534 |
575 Or this if you don't want an NNTP Server as primary news source: | 535 Or this if you don't want an NNTP Server as primary news source: |
576 | |
577 | 536 |
578 @example | 537 @example |
579 (setq gnus-select-method '(nnspool "")) | 538 (setq gnus-select-method '(nnspool "")) |
580 @end example | 539 @end example |
581 | 540 @noindent |
582 @noindent | 541 |
583 Gnus will look for the spool file in /usr/spool/news, if you | 542 Gnus will look for the spool file in /usr/spool/news, if you |
584 want something different, change the line above to something like this: | 543 want something different, change the line above to something like this: |
585 | |
586 | 544 |
587 @example | 545 @example |
588 (add-to-list 'gnus-secondary-select-methods | 546 (add-to-list 'gnus-secondary-select-methods |
589 '(nnspool "" (nnspool-directory "/usr/local/myspoolddir"))) | 547 '(nnspool "" |
590 @end example | 548 (nnspool-directory "/usr/local/myspoolddir"))) |
591 | 549 @end example |
592 @noindent | 550 @noindent |
593 This sets the spool directory for this server only. | 551 |
594 You might have to specify more stuff like the program used | 552 This sets the spool directory for this server only. |
595 to post articles, see the Gnus manual on how to do this. | 553 You might have to specify more stuff like the program used |
596 | 554 to post articles, see the Gnus manual on how to do this. |
597 @ifnottex | 555 |
598 @node [3.8], [3.9], [3.7], FAQ 3 - Getting messages | 556 @node [3.8] |
599 @end ifnottex | 557 @subsubheading Question 3.8 |
600 @subsubheading Question 3.8: | 558 |
601 | 559 OK, reading news works now, but I want to be able to read my mail |
602 OK, reading news works now, but I want to be able to read my mail | 560 with Gnus, too. How to do it? |
603 with Gnus, too. How to do it? | 561 |
604 | 562 @subsubheading Answer |
605 | 563 |
606 Answer: | 564 That's a bit harder since there are many possible sources |
607 | 565 for mail, many possible ways for storing mail and many |
608 That's a bit harder since there are many possible sources | 566 different ways for sending mail. The most common cases are |
609 for mail, many possible ways for storing mail and many | 567 these: 1: You want to read your mail from a pop3 server and |
610 different ways for sending mail. The most common cases are | 568 send them directly to a SMTP Server 2: Some program like |
611 these: 1: You want to read your mail from a pop3 server and | 569 fetchmail retrieves your mail and stores it on disk from |
612 send them directly to a SMTP Server 2: Some program like | 570 where Gnus shall read it. Outgoing mail is sent by |
613 fetchmail retrieves your mail and stores it on disk from | 571 Sendmail, Postfix or some other MTA. Sometimes, you even |
614 where Gnus shall read it. Outgoing mail is sent by | 572 need a combination of the above cases. |
615 Sendmail, Postfix or some other MTA. Sometimes, you even | 573 |
616 need a combination of the above cases. | 574 However, the first thing to do is to tell Gnus in which way |
617 | 575 it should store the mail, in Gnus terminology which back end |
618 | 576 to use. Gnus supports many different back ends, the most |
619 However, the first thing to do is to tell Gnus in which way | 577 commonly used one is nnml. It stores every mail in one file |
620 it should store the mail, in Gnus terminology which back end | 578 and is therefor quite fast. However you might prefer a one |
621 to use. Gnus supports many different back ends, the most | 579 file per group approach if your file system has problems with |
622 commonly used one is nnml. It stores every mail in one file | 580 many small files, the nnfolder back end is then probably the |
623 and is therefor quite fast. However you might prefer a one | 581 choice for you. To use nnml add the following to ~/.gnus.el: |
624 file per group approach if your file system has problems with | |
625 many small files, the nnfolder back end is then probably the | |
626 choice for you. To use nnml add the following to ~/.gnus: | |
627 | |
628 | 582 |
629 @example | 583 @example |
630 (add-to-list 'gnus-secondary-select-methods '(nnml "")) | 584 (add-to-list 'gnus-secondary-select-methods '(nnml "")) |
631 @end example | 585 @end example |
632 | 586 @noindent |
633 @noindent | 587 |
634 As you might have guessed, if you want nnfolder, it's | 588 As you might have guessed, if you want nnfolder, it's |
635 | |
636 | 589 |
637 @example | 590 @example |
638 (add-to-list 'gnus-secondary-select-methods '(nnfolder "")) | 591 (add-to-list 'gnus-secondary-select-methods '(nnfolder "")) |
639 @end example | 592 @end example |
640 | 593 @noindent |
641 | 594 |
642 Now we need to tell Gnus, where to get it's mail from. If | 595 Now we need to tell Gnus, where to get it's mail from. If |
643 it's a POP3 server, then you need something like this: | 596 it's a POP3 server, then you need something like this: |
644 | |
645 | 597 |
646 @example | 598 @example |
647 (eval-after-load "mail-source" | 599 (eval-after-load "mail-source" |
648 '(add-to-list 'mail-sources '(pop :server "pop.YourProvider.net" | 600 '(add-to-list 'mail-sources '(pop :server "pop.YourProvider.net" |
649 :user "yourUserName" | 601 :user "yourUserName" |
650 :password "yourPassword"))) | 602 :password "yourPassword"))) |
651 @end example | 603 @end example |
652 | 604 @noindent |
653 @noindent | 605 |
654 Make sure ~/.gnus isn't readable to others if you store | 606 Make sure ~/.gnus.el isn't readable to others if you store |
655 your password there. If you want to read your mail from a | 607 your password there. If you want to read your mail from a |
656 traditional spool file on your local machine, it's | 608 traditional spool file on your local machine, it's |
657 | |
658 | 609 |
659 @example | 610 @example |
660 (eval-after-load "mail-source" | 611 (eval-after-load "mail-source" |
661 '(add-to-list 'mail-sources '(file :path "/path/to/spool/file"))) | 612 '(add-to-list 'mail-sources '(file :path "/path/to/spool/file")) |
662 @end example | 613 @end example |
663 | 614 @noindent |
664 @noindent | 615 |
665 If it's a Maildir, with one file per message as used by | 616 If it's a Maildir, with one file per message as used by |
666 postfix, Qmail and (optionally) fetchmail it's | 617 postfix, Qmail and (optionally) fetchmail it's |
667 | |
668 | 618 |
669 @example | 619 @example |
670 (eval-after-load "mail-source" | 620 (eval-after-load "mail-source" |
671 '(add-to-list 'mail-sources '(maildir :path "/path/to/Maildir/" | 621 '(add-to-list 'mail-sources '(maildir :path "/path/to/Maildir/" |
672 :subdirs ("cur" "new"))) | 622 :subdirs ("cur" "new"))) |
673 @end example | 623 @end example |
674 | 624 @noindent |
675 @noindent | 625 |
676 And finally if you want to read your mail from several files | 626 And finally if you want to read your mail from several files |
677 in one directory, for example because procmail already split your | 627 in one directory, for example because procmail already split your |
678 mail, it's | 628 mail, it's |
679 | |
680 | 629 |
681 @example | 630 @example |
682 (eval-after-load "mail-source" | 631 (eval-after-load "mail-source" |
683 '(add-to-list 'mail-sources '(directory :path "/path/to/procmail-dir/" | 632 '(add-to-list 'mail-sources |
684 :suffix ".prcml")) | 633 '(directory :path "/path/to/procmail-dir/" |
685 @end example | 634 :suffix ".prcml"))) |
686 | 635 @end example |
687 @noindent | 636 @noindent |
688 Where :suffix ".prcml" tells Gnus only to use files with the | 637 |
689 suffix .prcml. | 638 Where :suffix ".prcml" tells Gnus only to use files with the |
690 | 639 suffix .prcml. |
691 | 640 |
692 OK, now you only need to tell Gnus how to send mail. If you | 641 OK, now you only need to tell Gnus how to send mail. If you |
693 want to send mail via sendmail (or whichever MTA is playing | 642 want to send mail via sendmail (or whichever MTA is playing |
694 the role of sendmail on your system), you don't need to do | 643 the role of sendmail on your system), you don't need to do |
695 anything. However, if you want to send your mail to an | 644 anything. However, if you want to send your mail to an |
696 SMTP Server you need the following in your ~/.gnus | 645 SMTP Server you need the following in your ~/.gnus.el |
697 | |
698 | 646 |
699 @example | 647 @example |
700 (setq send-mail-function 'smtpmail-send-it) | 648 (setq send-mail-function 'smtpmail-send-it) |
701 (setq message-send-mail-function 'smtpmail-send-it) | 649 (setq message-send-mail-function 'smtpmail-send-it) |
702 (setq smtpmail-default-smtp-server "smtp.yourProvider.net") | 650 (setq smtpmail-default-smtp-server "smtp.yourProvider.net") |
703 @end example | 651 @end example |
704 | 652 @noindent |
705 @ifnottex | 653 |
706 @node [3.9], [3.10], [3.8], FAQ 3 - Getting messages | 654 @node [3.9] |
707 @end ifnottex | 655 @subsubheading Question 3.9 |
708 @subsubheading Question 3.9: | 656 |
709 | 657 And what about IMAP? |
710 And what about IMAP? | 658 |
711 | 659 @subsubheading Answer |
712 | 660 |
713 Answer: | 661 There are two ways of using IMAP with Gnus. The first one is |
714 | 662 to use IMAP like POP3, that means Gnus fetches the mail from |
715 There are two ways of using IMAP with Gnus. The first one is | 663 the IMAP server and stores it on disk. If you want to do |
716 to use IMAP like POP3, that means Gnus fetches the mail from | 664 this (you don't really want to do this) add the following to |
717 the IMAP server and stores it on disk. If you want to do | 665 ~/.gnus.el |
718 this (you don't really want to do this) add the following to | |
719 ~/.gnus | |
720 | |
721 | 666 |
722 @example | 667 @example |
723 (add-to-list 'mail-sources '(imap :server "mail.mycorp.com" | 668 (add-to-list 'mail-sources '(imap :server "mail.mycorp.com" |
724 :user "username" | 669 :user "username" |
725 :pass "password" | 670 :pass "password" |
726 :stream network | 671 :stream network |
727 :authentication login | 672 :authentication login |
728 :mailbox "INBOX" | 673 :mailbox "INBOX" |
729 :fetchflag "\\Seen")) | 674 :fetchflag "\\Seen")) |
730 @end example | 675 @end example |
731 | 676 @noindent |
732 @noindent | 677 |
733 You might have to tweak the values for stream and/or | 678 You might have to tweak the values for stream and/or |
734 authentification, see the Gnus manual node "Mail Source | 679 authentification, see the Gnus manual node "Mail Source |
735 Specifiers" for possible values. | 680 Specifiers" for possible values. |
681 | |
682 If you want to use IMAP the way it's intended, you've got to | |
683 follow a different approach. You've got to add the nnimap | |
684 back end to your select method and give the information | |
685 about the server there. | |
686 | |
687 @example | |
688 (add-to-list 'gnus-secondary-select-methods | |
689 '(nnimap "Give the baby a name" | |
690 (nnimap-address "imap.yourProvider.net") | |
691 (nnimap-port 143) | |
692 (nnimap-list-pattern "archive.*"))) | |
693 @end example | |
694 @noindent | |
695 | |
696 Again, you might have to specify how to authenticate to the | |
697 server if Gnus can't guess the correct way, see the Manual | |
698 Node "IMAP" for detailed information. | |
699 | |
700 @node [3.10] | |
701 @subsubheading Question 3.10 | |
702 | |
703 At the office we use one of those MS Exchange servers, can I use | |
704 Gnus to read my mail from it? | |
705 | |
706 @subsubheading Answer | |
707 | |
708 Offer your administrator a pair of new running shoes for | |
709 activating IMAP on the server and follow the instructions | |
710 above. | |
711 | |
712 @node [3.11] | |
713 @subsubheading Question 3.11 | |
714 | |
715 Can I tell Gnus not to delete the mails on the server it | |
716 retrieves via POP3? | |
717 | |
718 @subsubheading Answer | |
719 | |
720 First of all, that's not the way POP3 is intended to work, | |
721 if you have the possibility, you should use the IMAP | |
722 Protocol if you want your messages to stay on the | |
723 server. Nevertheless there might be situations where you | |
724 need the feature, but sadly Gnus itself has no predefined | |
725 functionality to do so. | |
726 | |
727 However this is Gnus county so there are possibilities to | |
728 achieve what you want. The easiest way is to get an external | |
729 program which retrieves copies of the mail and stores them | |
730 on disk, so Gnus can read it from there. On Unix systems you | |
731 could use e.g. fetchmail for this, on MS Windows you can use | |
732 Hamster, an excellent local news and mail server. | |
733 | |
734 The other solution would be, to replace the method Gnus | |
735 uses to get mail from POP3 servers by one which is capable | |
736 of leaving the mail on the server. If you use XEmacs, get | |
737 the package mail-lib, it includes an enhanced pop3.el, | |
738 look in the file, there's documentation on how to tell | |
739 Gnus to use it and not to delete the retrieved mail. For | |
740 GNU Emacs look for the file epop3.el which can do the same | |
741 (If you know the home of this file, please send me an | |
742 e-mail). You can also tell Gnus to use an external program | |
743 (e.g. fetchmail) to fetch your mail, see the info node | |
744 "Mail Source Specifiers" in the Gnus manual on how to do | |
745 it. | |
746 | |
747 @node FAQ 4 - Reading messages | |
748 @subsection Reading messages | |
749 | |
750 @menu | |
751 * [4.1]:: When I enter a group, all read messages are gone. How to | |
752 view them again? | |
753 * [4.2]:: How to tell Gnus to show an important message every time I | |
754 enter a group, even when it's read? | |
755 * [4.3]:: How to view the headers of a message? | |
756 * [4.4]:: How to view the raw unformatted message? | |
757 * [4.5]:: How can I change the headers Gnus displays by default at | |
758 the top of the article buffer? | |
759 * [4.6]:: I'd like Gnus NOT to render HTML-mails but show me the | |
760 text part if it's available. How to do it? | |
761 * [4.7]:: Can I use some other browser than w3 to render my | |
762 HTML-mails? | |
763 * [4.8]:: Is there anything I can do to make poorly formatted mails | |
764 more readable? | |
765 * [4.9]:: Is there a way to automatically ignore posts by specific | |
766 authors or with specific words in the subject? And can I highlight | |
767 more interesting ones in some way? | |
768 * [4.10]:: How can I disable threading in some (e.g. mail-) groups, | |
769 or set other variables specific for some groups? | |
770 * [4.11]:: Can I highlight messages written by me and follow-ups to | |
771 those? | |
772 * [4.12]:: The number of total messages in a group which Gnus | |
773 displays in group buffer is by far to high, especially in mail | |
774 groups. Is this a bug? | |
775 * [4.13]:: I don't like the layout of summary and article buffer, how | |
776 to change it? Perhaps even a three pane display? | |
777 * [4.14]:: I don't like the way the Summary buffer looks, how to | |
778 tweak it? | |
779 * [4.15]:: How to split incoming mails in several groups? | |
780 @end menu | |
781 | |
782 @node [4.1] | |
783 @subsubheading Question 4.1 | |
784 | |
785 When I enter a group, all read messages are gone. How to view them again? | |
786 | |
787 @subsubheading Answer | |
788 | |
789 If you enter the group by saying | |
790 @samp{RET} | |
791 in group buffer with point over the group, only unread and ticked messages are loaded. Say | |
792 @samp{C-u RET} | |
793 instead to load all available messages. If you want only the e.g. 300 newest say | |
794 @samp{C-u 300 RET} | |
795 | |
796 Loading only unread messages can be annoying if you have threaded view enabled, say | |
797 | |
798 @example | |
799 (setq gnus-fetch-old-headers 'some) | |
800 @end example | |
801 @noindent | |
736 | 802 |
737 | 803 in ~/.gnus.el to load enough old articles to prevent teared threads, replace 'some with t to load |
738 If you want to use IMAP the way it's intended, you've got to | 804 all articles (Warning: Both settings enlarge the amount of data which is |
739 follow a different approach. You've got to add the nnimap | 805 fetched when you enter a group and slow down the process of entering a group). |
740 back end to your select method and give the information | 806 |
741 about the server there. | 807 If you already use Gnus 5.10, you can say |
742 | 808 @samp{/o N} |
743 | 809 In summary buffer to load the last N messages, this feature is not available in 5.8.8 |
744 @example | 810 |
745 (add-to-list | 811 If you don't want all old messages, but the parent of the message you're just reading, |
746 'gnus-secondary-select-methods | 812 you can say @samp{^}, if you want to retrieve the whole thread |
747 '(nnimap "Give the baby a name" | 813 the message you're just reading belongs to, @samp{A T} is your friend. |
748 (nnimap-address "imap.yourProvider.net") | 814 |
749 (nnimap-port 143) | 815 @node [4.2] |
750 (nnimap-list-pattern "archive.*"))) | 816 @subsubheading Question 4.2 |
751 @end example | 817 |
752 | 818 How to tell Gnus to show an important message every time I |
753 @noindent | 819 enter a group, even when it's read? |
754 Again, you might have to specify how to authenticate to the | 820 |
755 server if Gnus can't guess the correct way, see the Manual | 821 @subsubheading Answer |
756 Node "IMAP" for detailed information. | 822 |
757 | 823 You can tick important messages. To do this hit |
758 @ifnottex | 824 @samp{u} while point is in summary buffer |
759 @node [3.10], [3.11], [3.9], FAQ 3 - Getting messages | 825 over the message. When you want to remove the mark, hit |
760 @end ifnottex | 826 either @samp{d} (this deletes the tick |
761 @subsubheading Question 3.10: | 827 mark and set's unread mark) or @samp{M c} |
762 | 828 (which deletes all marks for the message). |
763 At the office we use one of those MS Exchange servers, can I use | 829 |
764 Gnus to read my mail from it? | 830 @node [4.3] |
765 | 831 @subsubheading Question 4.3 |
766 | 832 |
767 Answer: | 833 How to view the headers of a message? |
768 | 834 |
769 Offer your administrator a pair of new running shoes for | 835 @subsubheading Answer |
770 activating IMAP on the server and follow the instructions | 836 |
771 above. | 837 Say @samp{t} |
772 | 838 to show all headers, one more |
773 @ifnottex | 839 @samp{t} |
774 @node [3.11], , [3.10], FAQ 3 - Getting messages | 840 hides them again. |
775 @end ifnottex | 841 |
776 @subsubheading Question 3.11: | 842 @node [4.4] |
777 | 843 @subsubheading Question 4.4 |
778 Can I tell Gnus not to delete the mails on the server it | 844 |
779 retrieves via POP3? | 845 How to view the raw unformatted message? |
780 | 846 |
781 | 847 @subsubheading Answer |
782 Answer: | 848 |
783 | 849 Say |
784 First of all, that's not the way POP3 is intended to work, | 850 @samp{C-u g} |
785 if you have the possibility, you should use the IMAP | 851 to show the raw message |
786 Protocol if you want your messages to stay on the | 852 @samp{g} |
787 server. Nevertheless there might be situations where you | 853 returns to normal view. |
788 need the feature, but sadly Gnus itself has no predefined | 854 |
789 functionality to do so. | 855 @node [4.5] |
790 | 856 @subsubheading Question 4.5 |
791 | 857 |
792 However this is Gnus county so there are possibilities to | 858 How can I change the headers Gnus displays by default at |
793 achieve what you want. The easiest way is to get an external | 859 the top of the article buffer? |
794 program which retrieves copies of the mail and stores them | 860 |
795 on disk, so Gnus can read it from there. On Unix systems you | 861 @subsubheading Answer |
796 could use e.g. fetchmail for this, on MS Windows you can use | 862 |
797 Hamster, an excellent local news and mail server. | 863 The variable gnus-visible-headers controls which headers |
798 | 864 are shown, its value is a regular expression, header lines |
799 | 865 which match it are shown. So if you want author, subject, |
800 The other solution would be, to replace the method Gnus | 866 date, and if the header exists, Followup-To and MUA / NUA |
801 uses to get mail from POP3 servers by one which is capable | 867 say this in ~/.gnus.el: |
802 of leaving the mail on the server. If you use XEmacs, get | 868 |
803 the package mail-lib, it includes an enhanced pop3.el, | 869 @example |
804 look in the file, there's documentation on how to tell | 870 (setq gnus-visible-headers |
805 Gnus to use it and not to delete the retrieved mail. For | 871 '("^From" "^Subject" "^Date" "^Newsgroups" "^Followup-To" |
806 GNU Emacs look for the file epop3.el which can do the same | 872 "^User-Agent" "^X-Newsreader" "^X-Mailer")) |
807 (If you know the home of this file, please send me an | 873 @end example |
808 e-mail). You can also tell Gnus to use an external program | 874 @noindent |
809 (e.g. fetchmail) to fetch your mail, see the info node | 875 |
810 "Mail Source Specifiers" in the Gnus manual on how to do | 876 @node [4.6] |
811 it. | 877 @subsubheading Question 4.6 |
812 | 878 |
813 | 879 I'd like Gnus NOT to render HTML-mails but show me the |
814 @ifnottex | 880 text part if it's available. How to do it? |
815 @node FAQ 4 - Reading messages, FAQ 5 - Composing messages, FAQ 3 - Getting messages, Frequently Asked Questions | 881 |
816 @end ifnottex | 882 @subsubheading Answer |
817 @subsection Reading messages | 883 |
818 | 884 Say |
819 @menu | |
820 * [4.1]:: When I enter a group, all read messages are gone. | |
821 How to view them again? | |
822 * [4.2]:: How to tell Gnus to show an important message every time | |
823 I enter a group, even when it's read? | |
824 * [4.3]:: How to view the headers of a message? | |
825 * [4.4]:: How to view the raw unformatted message? | |
826 * [4.5]:: How can I change the headers Gnus displays by default at the | |
827 top of the article buffer? | |
828 * [4.6]:: I'd like Gnus NOT to render HTML-mails but show me the | |
829 text part if it's available. How to do it? | |
830 * [4.7]:: Can I use some other browser than w3 to render my HTML-mails? | |
831 * [4.8]:: Is there anything I can do to make poorly formatted mails | |
832 more readable? | |
833 * [4.9]:: Is there a way to automatically ignore posts by specific authors | |
834 or with specific words in the subject? And can I highlight more | |
835 interesting ones in some way? | |
836 * [4.10]:: How can I disable threading in some (e.g. mail-) groups, or set | |
837 other variables specific for some groups? | |
838 * [4.11]:: Can I highlight messages written by me and follow-ups to those? | |
839 * [4.12]:: The number of total messages in a group which Gnus displays in | |
840 group buffer is by far to high, especially in mail groups. | |
841 Is this a bug? | |
842 * [4.13]:: I don't like the layout of summary and article buffer, | |
843 how to change it? Perhaps even a three pane display? | |
844 * [4.14]:: I don't like the way the Summary buffer looks, how to tweak it? | |
845 * [4.15]:: How to split incoming mails in several groups? | |
846 @end menu | |
847 | |
848 @ifnottex | |
849 @node [4.1], [4.2], FAQ 4 - Reading messages, FAQ 4 - Reading messages | |
850 @end ifnottex | |
851 @subsubheading Question 4.1: | |
852 | |
853 When I enter a group, all read messages are gone. How to view them again? | |
854 | |
855 | |
856 Answer: | |
857 | |
858 If you enter the group by saying | |
859 @samp{RET} | |
860 in group buffer with point over the group, only unread and ticked messages are loaded. Say | |
861 @samp{C-u RET} | |
862 instead to load all available messages. If you want only the e.g. 300 newest say | |
863 @samp{C-u 300 RET} | |
864 | |
865 | |
866 Loading only unread messages can be annoying if you have threaded view enabled, say | |
867 | |
868 | |
869 @example | |
870 (setq gnus-fetch-old-headers 'some) | |
871 @end example | |
872 | |
873 | |
874 @noindent | |
875 in ~/.gnus to load enough old articles to prevent teared threads, replace 'some with t to load | |
876 all articles (Warning: Both settings enlarge the amount of data which is | |
877 fetched when you enter a group and slow down the process of entering a group). | |
878 | |
879 | |
880 If you already use Gnus 5.10, you can say | |
881 @samp{/o N} | |
882 In summary buffer to load the last N messages, this feature is not available in 5.8.8 | |
883 | |
884 | |
885 If you don't want all old messages, but the parent of the message you're just reading, | |
886 you can say @samp{^}, if you want to retrieve the whole thread | |
887 the message you're just reading belongs to, @samp{A T} is your friend. | |
888 | |
889 @ifnottex | |
890 @node [4.2], [4.3], [4.1], FAQ 4 - Reading messages | |
891 @end ifnottex | |
892 @subsubheading Question 4.2: | |
893 | |
894 How to tell Gnus to show an important message every time I | |
895 enter a group, even when it's read? | |
896 | |
897 | |
898 Answer: | |
899 | |
900 You can tick important messages. To do this hit | |
901 @samp{u} while point is in summary buffer | |
902 over the message. When you want to remove the mark, hit | |
903 either @samp{d} (this deletes the tick | |
904 mark and set's unread mark) or @samp{M c} | |
905 (which deletes all marks for the message). | |
906 | |
907 @ifnottex | |
908 @node [4.3], [4.4], [4.2], FAQ 4 - Reading messages | |
909 @end ifnottex | |
910 @subsubheading Question 4.3: | |
911 | |
912 How to view the headers of a message? | |
913 | |
914 | |
915 Answer: | |
916 | |
917 Say @samp{t} | |
918 to show all headers, one more | |
919 @samp{t} | |
920 hides them again. | |
921 | |
922 @ifnottex | |
923 @node [4.4], [4.5], [4.3], FAQ 4 - Reading messages | |
924 @end ifnottex | |
925 @subsubheading Question 4.4: | |
926 | |
927 How to view the raw unformatted message? | |
928 | |
929 | |
930 Answer: | |
931 | |
932 Say | |
933 @samp{C-u g} | |
934 to show the raw message | |
935 @samp{g} | |
936 returns to normal view. | |
937 | |
938 @ifnottex | |
939 @node [4.5], [4.6], [4.4], FAQ 4 - Reading messages | |
940 @end ifnottex | |
941 @subsubheading Question 4.5: | |
942 | |
943 How can I change the headers Gnus displays by default at | |
944 the top of the article buffer? | |
945 | |
946 | |
947 Answer: | |
948 | |
949 The variable gnus-visible-headers controls which headers | |
950 are shown, its value is a regular expression, header lines | |
951 which match it are shown. So if you want author, subject, | |
952 date, and if the header exists, Followup-To and MUA / NUA | |
953 say this in ~/.gnus: | |
954 | |
955 @example | |
956 (setq gnus-visible-headers | |
957 "^\\(From:\\|Subject:\\|Date:\\|Followup-To:\ | |
958 \\|X-Newsreader:\\|User-Agent:\\|X-Mailer:\\)") | |
959 @end example | |
960 | |
961 @ifnottex | |
962 @node [4.6], [4.7], [4.5], FAQ 4 - Reading messages | |
963 @end ifnottex | |
964 @subsubheading Question 4.6: | |
965 | |
966 I'd like Gnus NOT to render HTML-mails but show me the | |
967 text part if it's available. How to do it? | |
968 | |
969 | |
970 Answer: | |
971 | |
972 Say | |
973 | |
974 | 885 |
975 @example | 886 @example |
976 (eval-after-load "mm-decode" | 887 (eval-after-load "mm-decode" |
977 '(progn | 888 '(progn |
978 (add-to-list 'mm-discouraged-alternatives "text/html") | 889 (add-to-list 'mm-discouraged-alternatives "text/html") |
979 (add-to-list 'mm-discouraged-alternatives "text/richtext"))) | 890 (add-to-list 'mm-discouraged-alternatives "text/richtext"))) |
980 @end example | 891 @end example |
981 | 892 @noindent |
982 @noindent | 893 |
983 in ~/.gnus. If you don't want HTML rendered, even if there's no text alternative add | 894 in ~/.gnus.el. If you don't want HTML rendered, even if there's no text alternative add |
984 | |
985 | 895 |
986 @example | 896 @example |
987 (setq mm-automatic-display (remove "text/html" mm-automatic-display)) | 897 (setq mm-automatic-display (remove "text/html" mm-automatic-display)) |
988 @end example | 898 @end example |
989 | 899 @noindent |
990 @noindent | 900 |
991 too. | 901 too. |
992 | 902 |
993 @ifnottex | 903 @node [4.7] |
994 @node [4.7], [4.8], [4.6], FAQ 4 - Reading messages | 904 @subsubheading Question 4.7 |
995 @end ifnottex | 905 |
996 @subsubheading Question 4.7: | 906 Can I use some other browser than w3 to render my HTML-mails? |
997 | 907 |
998 Can I use some other browser than w3 to render my HTML-mails? | 908 @subsubheading Answer |
999 | 909 |
1000 | 910 Only if you use Gnus 5.10 or younger. In this case you've got the |
1001 Answer: | 911 choice between w3, w3m, links, lynx and html2text, which |
1002 | 912 one is used can be specified in the variable |
1003 Only if you use Gnus 5.10 or younger. In this case you've got the | 913 mm-text-html-renderer, so if you want links to render your |
1004 choice between w3, w3m, links, lynx and html2text, which | 914 mail say |
1005 one is used can be specified in the variable | |
1006 mm-text-html-renderer, so if you want links to render your | |
1007 mail say | |
1008 | |
1009 | 915 |
1010 @example | 916 @example |
1011 (setq mm-text-html-renderer 'links) | 917 (setq mm-text-html-renderer 'links) |
1012 @end example | 918 @end example |
1013 | 919 @noindent |
1014 @ifnottex | 920 |
1015 @node [4.8], [4.9], [4.7], FAQ 4 - Reading messages | 921 @node [4.8] |
1016 @end ifnottex | 922 @subsubheading Question 4.8 |
1017 @subsubheading Question 4.8: | 923 |
1018 | 924 Is there anything I can do to make poorly formatted mails |
1019 Is there anything I can do to make poorly formatted mails | 925 more readable? |
1020 more readable? | 926 |
1021 | 927 @subsubheading Answer |
1022 | 928 |
1023 Answer: | 929 Gnus offers you several functions to "wash" incoming mail, you can |
1024 | 930 find them if you browse through the menu, item |
1025 Gnus offers you several functions to "wash" incoming mail, | 931 Article->Washing. The most interesting ones are probably "Wrap |
1026 you can find them if you browse through the menu, item Article->Washing. The most | 932 long lines" (@samp{W w}), "Decode ROT13" |
1027 interesting ones are probably "Wrap long lines" ( | 933 (@samp{W r}) and "Outlook Deuglify" which repairs |
1028 @samp{W w} | 934 the dumb quoting used by many users of Microsoft products |
1029 ), "Decode ROT13" ( | 935 (@samp{W Y f} gives you full deuglify. |
1030 @samp{W r} | 936 See @samp{W Y C-h} or have a look at the menus for |
1031 ) and "Outlook Deuglify" which repairs the dumb quoting used | 937 other deuglifications). Outlook deuglify is only available since |
1032 by many users of Microsoft products ( | 938 Gnus 5.10. |
1033 @samp{W Y f} gives you full deuglify. | 939 |
1034 See @samp{W Y C-h} or | 940 @node [4.9] |
1035 have a look at the menus for other deuglifications). | 941 @subsubheading Question 4.9 |
1036 Outlook deuglify is only available since Gnus 5.10. | 942 |
1037 | 943 Is there a way to automatically ignore posts by specific |
1038 @ifnottex | 944 authors or with specific words in the subject? And can I |
1039 @node [4.9], [4.10], [4.8], FAQ 4 - Reading messages | 945 highlight more interesting ones in some way? |
1040 @end ifnottex | 946 |
1041 @subsubheading Question 4.9: | 947 @subsubheading Answer |
1042 | 948 |
1043 Is there a way to automatically ignore posts by specific | 949 You want Scoring. Scoring means, that you define rules |
1044 authors or with specific words in the subject? And can I | 950 which assign each message an integer value. Depending on |
1045 highlight more interesting ones in some way? | 951 the value the message is highlighted in summary buffer (if |
1046 | 952 it's high, say +2000) or automatically marked read (if the |
1047 | 953 value is low, say -800) or some other action happens. |
1048 Answer: | 954 |
1049 | 955 There are basically three ways of setting up rules which assign |
1050 You want Scoring. Scoring means, that you define rules | 956 the scoring-value to messages. The first and easiest way is to set |
1051 which assign each message an integer value. Depending on | 957 up rules based on the article you are just reading. Say you're |
1052 the value the message is highlighted in summary buffer (if | 958 reading a message by a guy who always writes nonsense and you want |
1053 it's high, say +2000) or automatically marked read (if the | 959 to ignore his messages in the future. Hit |
1054 value is low, say -800) or some other action happens. | 960 @samp{L}, to set up a rule which lowers the score. |
1055 | 961 Now Gnus asks you which the criteria for lowering the Score shall |
1056 | 962 be. Hit @samp{?} twice to see all possibilities, |
1057 There are basically three ways of setting up rules which assign | 963 we want @samp{a} which means the author (the from |
1058 the scoring-value to messages. The first and easiest way is to set | 964 header). Now Gnus wants to know which kind of matching we want. |
1059 up rules based on the article you are just reading. Say you're | 965 Hit either @samp{e} for an exact match or |
1060 reading a message by a guy who always writes nonsense and you want | 966 @samp{s} for substring-match and delete afterwards |
1061 to ignore his messages in the future. Hit | 967 everything but the name to score down all authors with the given |
1062 @samp{L}, to set up a rule which lowers the score. | 968 name no matter which email address is used. Now you need to tell |
1063 Now Gnus asks you which the criteria for lowering the Score shall | 969 Gnus when to apply the rule and how long it should last, hit e.g. |
1064 be. Hit @samp{?} twice to see all possibilities, | 970 @samp{p} to apply the rule now and let it last |
1065 we want @samp{a} which means the author (the from | 971 forever. If you want to raise the score instead of lowering it say |
1066 header). Now Gnus wants to know which kind of matching we want. | 972 @samp{I} instead of @samp{L}. |
1067 Hit either @samp{e} for an exact match or | 973 |
1068 @samp{s} for substring-match and delete afterwards | 974 You can also set up rules by hand. To do this say @samp{V |
1069 everything but the name to score down all authors with the given | 975 f} in summary buffer. Then you are asked for the name |
1070 name no matter which email address is used. Now you need to tell | 976 of the score file, it's name.of.group.SCORE for rules valid in |
1071 Gnus when to apply the rule and how long it should last, hit e.g. | 977 only one group or all.Score for rules valid in all groups. See the |
1072 @samp{p} to apply the rule now and let it last | 978 Gnus manual for the exact syntax, basically it's one big list |
1073 forever. If you want to raise the score instead of lowering it say | 979 whose elements are lists again. the first element of those lists |
1074 @samp{I} instead of @samp{L}. | 980 is the header to score on, then one more list with what to match, |
1075 | 981 which score to assign, when to expire the rule and how to do the |
1076 | 982 matching. If you find me very interesting, you could e.g. add the |
1077 You can also set up rules by hand. To do this say @samp{V | 983 following to your all.Score: |
1078 f} in summary buffer. Then you are asked for the name | |
1079 of the score file, it's name.of.group.SCORE for rules valid in | |
1080 only one group or all.Score for rules valid in all groups. See the | |
1081 Gnus manual for the exact syntax, basically it's one big list | |
1082 whose elements are lists again. the first element of those lists | |
1083 is the header to score on, then one more list with what to match, | |
1084 which score to assign, when to expire the rule and how to do the | |
1085 matching. If you find me very interesting, you could e.g. add the | |
1086 following to your all.Score: | |
1087 | |
1088 | 984 |
1089 @example | 985 @example |
1090 (("references" ("hschmi22.userfqdn.rz-online.de" 500 nil s)) | 986 (("references" ("hschmi22.userfqdn.rz-online.de" 500 nil s)) |
1091 ("message-id" ("hschmi22.userfqdn.rz-online.de" 999 nil s))) | 987 ("message-id" ("hschmi22.userfqdn.rz-online.de" 999 nil s))) |
1092 @end example | 988 @end example |
1093 | 989 @noindent |
1094 @noindent | 990 |
1095 This would add 999 to the score of messages written by me | 991 This would add 999 to the score of messages written by me |
1096 and 500 to the score of messages which are a (possibly | 992 and 500 to the score of messages which are a (possibly |
1097 indirect) answer to a message written by me. Of course | 993 indirect) answer to a message written by me. Of course |
1098 nobody with a sane mind would do this :-) | 994 nobody with a sane mind would do this :-) |
1099 | 995 |
1100 | 996 The third alternative is adaptive scoring. This means Gnus |
1101 The third alternative is adaptive scoring. This means Gnus | 997 watches you and tries to find out what you find |
1102 watches you and tries to find out what you find | 998 interesting and what annoying and sets up rules |
1103 interesting and what annoying and sets up rules | 999 which reflect this. Adaptive scoring can be a huge help |
1104 which reflect this. Adaptive scoring can be a huge help | 1000 when reading high traffic groups. If you want to activate |
1105 when reading high traffic groups. If you want to activate | 1001 adaptive scoring say |
1106 adaptive scoring say | |
1107 | |
1108 | 1002 |
1109 @example | 1003 @example |
1110 (setq gnus-use-adaptive-scoring t) | 1004 (setq gnus-use-adaptive-scoring t) |
1111 @end example | 1005 @end example |
1112 | 1006 @noindent |
1113 @noindent | 1007 |
1114 in ~/.gnus. | 1008 in ~/.gnus.el. |
1115 | 1009 |
1116 @ifnottex | 1010 @node [4.10] |
1117 @node [4.10], [4.11], [4.9], FAQ 4 - Reading messages | 1011 @subsubheading Question 4.10 |
1118 @end ifnottex | 1012 |
1119 @subsubheading Question 4.10: | 1013 How can I disable threading in some (e.g. mail-) groups, or |
1120 | 1014 set other variables specific for some groups? |
1121 How can I disable threading in some (e.g. mail-) groups, or | 1015 |
1122 set other variables specific for some groups? | 1016 @subsubheading Answer |
1123 | 1017 |
1124 | 1018 While in group buffer move point over the group and hit |
1125 Answer: | 1019 @samp{G c}, this opens a buffer where you |
1126 | 1020 can set options for the group. At the bottom of the buffer |
1127 While in group buffer move point over the group and hit | 1021 you'll find an item that allows you to set variables |
1128 @samp{G c}, this opens a buffer where you | 1022 locally for the group. To disable threading enter |
1129 can set options for the group. At the bottom of the buffer | 1023 gnus-show-threads as name of variable and nil as |
1130 you'll find an item that allows you to set variables | 1024 value. Hit button done at the top of the buffer when |
1131 locally for the group. To disable threading enter | 1025 you're ready. |
1132 gnus-show-threads as name of variable and nil as | 1026 |
1133 value. Hit button done at the top of the buffer when | 1027 @node [4.11] |
1134 you're ready. | 1028 @subsubheading Question 4.11 |
1135 | 1029 |
1136 @ifnottex | 1030 Can I highlight messages written by me and follow-ups to |
1137 @node [4.11], [4.12], [4.10], FAQ 4 - Reading messages | 1031 those? |
1138 @end ifnottex | 1032 |
1139 @subsubheading Question 4.11: | 1033 @subsubheading Answer |
1140 | 1034 |
1141 Can I highlight messages written by me and follow-ups to | 1035 Stop those "Can I ..." questions, the answer is always yes |
1142 those? | 1036 in Gnus Country :-). It's a three step process: First we |
1143 | 1037 make faces (specifications of how summary-line shall look |
1144 | 1038 like) for those postings, then we'll give them some |
1145 Answer: | 1039 special score and finally we'll tell Gnus to use the new |
1146 | 1040 faces. You can find detailed instructions on how to do it on |
1147 Stop those "Can I ..." questions, the answer is always yes | 1041 @uref{http://my.gnus.org/node/view/224, my.gnus.org} |
1148 in Gnus Country :-). It's a three step process: First we | 1042 |
1149 make faces (specifications of how summary-line shall look | 1043 @node [4.12] |
1150 like) for those postings, then we'll give them some | 1044 @subsubheading Question 4.12 |
1151 special score and finally we'll tell Gnus to use the new | 1045 |
1152 faces. You can find detailed instructions on how to do it on | 1046 The number of total messages in a group which Gnus |
1153 @uref{http://my.gnus.org/Members/dzimmerm/HowTo%2C2002-07-25%2C1027619165012198456/view,my.gnus.org} | 1047 displays in group buffer is by far to high, especially in |
1154 | 1048 mail groups. Is this a bug? |
1155 @ifnottex | 1049 |
1156 @node [4.12], [4.13], [4.11], FAQ 4 - Reading messages | 1050 @subsubheading Answer |
1157 @end ifnottex | 1051 |
1158 @subsubheading Question 4.12: | 1052 No, that's a matter of design of Gnus, fixing this would |
1159 | 1053 mean reimplementation of major parts of Gnus' |
1160 The number of total messages in a group which Gnus | 1054 back ends. Gnus thinks "highest-article-number - |
1161 displays in group buffer is by far to high, especially in | 1055 lowest-article-number = total-number-of-articles". This |
1162 mail groups. Is this a bug? | 1056 works OK for Usenet groups, but if you delete and move |
1163 | 1057 many messages in mail groups, this fails. To cure the |
1164 | 1058 symptom, enter the group via @samp{C-u RET} |
1165 Answer: | 1059 (this makes Gnus get all messages), then |
1166 | 1060 hit @samp{M P b} to mark all messages and |
1167 No, that's a matter of design of Gnus, fixing this would | 1061 then say @samp{B m name.of.group} to move |
1168 mean reimplementation of major parts of Gnus' | 1062 all messages to the group they have been in before, they |
1169 back ends. Gnus thinks "highest-article-number - | 1063 get new message numbers in this process and the count is |
1170 lowest-article-number = total-number-of-articles". This | 1064 right again (until you delete and move your mail to other |
1171 works OK for Usenet groups, but if you delete and move | 1065 groups again). |
1172 many messages in mail groups, this fails. To cure the | 1066 |
1173 symptom, enter the group via @samp{C-u RET} | 1067 @node [4.13] |
1174 (this makes Gnus get all messages), then | 1068 @subsubheading Question 4.13 |
1175 hit @samp{M P b} to mark all messages and | 1069 |
1176 then say @samp{B m name.of.group} to move | 1070 I don't like the layout of summary and article buffer, how |
1177 all messages to the group they have been in before, they | 1071 to change it? Perhaps even a three pane display? |
1178 get new message numbers in this process and the count is | 1072 |
1179 right again (until you delete and move your mail to other | 1073 @subsubheading Answer |
1180 groups again). | 1074 |
1181 | 1075 You can control the windows configuration by calling the |
1182 @ifnottex | 1076 function gnus-add-configuration. The syntax is a bit |
1183 @node [4.13], [4.14], [4.12], FAQ 4 - Reading messages | 1077 complicated but explained very well in the manual node |
1184 @end ifnottex | 1078 "Window Layout". Some popular examples: |
1185 @subsubheading Question 4.13: | 1079 |
1186 | 1080 Instead 25% summary 75% article buffer 35% summary and 65% |
1187 I don't like the layout of summary and article buffer, how | 1081 article (the 1.0 for article means "take the remaining |
1188 to change it? Perhaps even a three pane display? | 1082 space"): |
1189 | 1083 |
1190 | 1084 @example |
1191 Answer: | 1085 (gnus-add-configuration |
1192 | 1086 '(article (vertical 1.0 (summary .35 point) (article 1.0)))) |
1193 You can control the windows configuration by calling the | 1087 @end example |
1194 function gnus-add-configuration. The syntax is a bit | 1088 @noindent |
1195 complicated but explained very well in the manual node | 1089 |
1196 "Window Layout". Some popular examples: | 1090 A three pane layout, Group buffer on the left, summary |
1197 | 1091 buffer top-right, article buffer bottom-right: |
1198 | |
1199 Instead 25% summary 75% article buffer 35% summary and 65% | |
1200 article (the 1.0 for article means "take the remaining | |
1201 space"): | |
1202 | |
1203 | |
1204 @example | |
1205 (gnus-add-configuration | |
1206 '(article (vertical 1.0 | |
1207 (summary .35 point) | |
1208 (article 1.0)))) | |
1209 @end example | |
1210 | |
1211 | |
1212 A three pane layout, Group buffer on the left, summary | |
1213 buffer top-right, article buffer bottom-right: | |
1214 | |
1215 | 1092 |
1216 @example | 1093 @example |
1217 (gnus-add-configuration | 1094 (gnus-add-configuration |
1218 '(article | 1095 '(article |
1219 (horizontal 1.0 | 1096 (horizontal 1.0 |
1226 '(summary | 1103 '(summary |
1227 (horizontal 1.0 | 1104 (horizontal 1.0 |
1228 (vertical 25 | 1105 (vertical 25 |
1229 (group 1.0)) | 1106 (group 1.0)) |
1230 (vertical 1.0 | 1107 (vertical 1.0 |
1231 (summary 1.0 point))))) | 1108 (summary 1.0 point))))) |
1232 @end example | 1109 @end example |
1233 | 1110 @noindent |
1234 @ifnottex | 1111 |
1235 @node [4.14], [4.15], [4.13], FAQ 4 - Reading messages | 1112 @node [4.14] |
1236 @end ifnottex | 1113 @subsubheading Question 4.14 |
1237 @subsubheading Question 4.14: | 1114 |
1238 | 1115 I don't like the way the Summary buffer looks, how to tweak it? |
1239 I don't like the way the Summary buffer looks, how to tweak it? | 1116 |
1240 | 1117 @subsubheading Answer |
1241 | 1118 |
1242 Answer: | 1119 You've got to play around with the variable |
1243 | 1120 gnus-summary-line-format. It's value is a string of |
1244 You've got to play around with the variable | 1121 symbols which stand for things like author, date, subject |
1245 gnus-summary-line-format. It's value is a string of | 1122 etc. A list of the available specifiers can be found in the |
1246 symbols which stand for things like author, date, subject | 1123 manual node "Summary Buffer Lines" and the often forgotten |
1247 etc. A list of the available specifiers can be found in the | 1124 node "Formatting Variables" and it's sub-nodes. There |
1248 manual node "Summary Buffer Lines" and the often forgotten | 1125 you'll find useful things like positioning the cursor and |
1249 node "Formatting Variables" and it's sub-nodes. There | 1126 tabulators which allow you a summary in table form, but |
1250 you'll find useful things like positioning the cursor and | 1127 sadly hard tabulators are broken in 5.8.8. |
1251 tabulators which allow you a summary in table form, but | 1128 |
1252 sadly hard tabulators are broken in 5.8.8. | 1129 Since 5.10, Gnus offers you some very nice new specifiers, |
1253 | 1130 e.g. %B which draws a thread-tree and %&user-date which |
1254 | 1131 gives you a date where the details are dependent of the |
1255 Since 5.10, Gnus offers you some very nice new specifiers, | 1132 articles age. Here's an example which uses both: |
1256 e.g. %B which draws a thread-tree and %&user-date which | 1133 |
1257 gives you a date where the details are dependent of the | 1134 @example |
1258 articles age. Here's an example which uses both: | 1135 (setq gnus-summary-line-format ":%U%R %B %s %-60=|%4L |%-20,20f |%&user-date; \n") |
1259 | 1136 @end example |
1260 | 1137 @noindent |
1261 @example | 1138 |
1262 (setq gnus-summary-line-format | 1139 resulting in: |
1263 ":%U%R %B %s %-60=|%4L |%-20,20f |%&user-date; \n") | 1140 |
1264 @end example | 1141 @example |
1265 | |
1266 @noindent | |
1267 resulting in: | |
1268 | |
1269 | |
1270 @smallexample | |
1271 :O Re: [Richard Stallman] rfc2047.el | 13 |Lars Magne Ingebrigt |Sat 23:06 | 1142 :O Re: [Richard Stallman] rfc2047.el | 13 |Lars Magne Ingebrigt |Sat 23:06 |
1272 :O Re: Revival of the ding-patches list | 13 |Lars Magne Ingebrigt |Sat 23:12 | 1143 :O Re: Revival of the ding-patches list | 13 |Lars Magne Ingebrigt |Sat 23:12 |
1273 :R > Re: Find correct list of articles for a gro| 25 |Lars Magne Ingebrigt |Sat 23:16 | 1144 :R > Re: Find correct list of articles for a gro| 25 |Lars Magne Ingebrigt |Sat 23:16 |
1274 :O \-> ... | 21 |Kai Grossjohann | 0:01 | 1145 :O \-> ... | 21 |Kai Grossjohann | 0:01 |
1275 :R > Re: Cry for help: deuglify.el - moving stuf| 28 |Lars Magne Ingebrigt |Sat 23:34 | 1146 :R > Re: Cry for help: deuglify.el - moving stuf| 28 |Lars Magne Ingebrigt |Sat 23:34 |
1278 :O Slow mailing list | 13 |Lars Magne Ingebrigt |Sat 23:49 | 1149 :O Slow mailing list | 13 |Lars Magne Ingebrigt |Sat 23:49 |
1279 :O Re: `@@' mark not documented | 13 |Lars Magne Ingebrigt |Sat 23:50 | 1150 :O Re: `@@' mark not documented | 13 |Lars Magne Ingebrigt |Sat 23:50 |
1280 :R > Re: Gnus still doesn't count messages prope| 23 |Lars Magne Ingebrigt |Sat 23:57 | 1151 :R > Re: Gnus still doesn't count messages prope| 23 |Lars Magne Ingebrigt |Sat 23:57 |
1281 :O \-> ... | 18 |Kai Grossjohann | 0:35 | 1152 :O \-> ... | 18 |Kai Grossjohann | 0:35 |
1282 :O \-> ... | 13 |Lars Magne Ingebrigt | 0:56 | 1153 :O \-> ... | 13 |Lars Magne Ingebrigt | 0:56 |
1283 @end smallexample | 1154 @end example |
1284 | 1155 @noindent |
1285 @ifnottex | 1156 |
1286 @node [4.15], , [4.14], FAQ 4 - Reading messages | 1157 @node [4.15] |
1287 @end ifnottex | 1158 @subsubheading Question 4.15 |
1288 @subsubheading Question 4.15: | 1159 |
1289 | 1160 How to split incoming mails in several groups? |
1290 How to split incoming mails in several groups? | 1161 |
1291 | 1162 @subsubheading Answer |
1292 | 1163 |
1293 Answer: | 1164 Gnus offers two possibilities for splitting mail, the easy |
1294 | 1165 nnmail-split-methods and the more powerful Fancy Mail |
1295 Gnus offers two possibilities for splitting mail, the easy | 1166 Splitting. I'll only talk about the first one, refer to |
1296 nnmail-split-methods and the more powerful Fancy Mail | 1167 the manual, node "Fancy Mail Splitting" for the latter. |
1297 Splitting. I'll only talk about the first one, refer to | 1168 |
1298 the manual, node "Fancy Mail Splitting" for the latter. | 1169 The value of nnmail-split-methods is a list, each element |
1299 | 1170 is a list which stands for a splitting rule. Each rule has |
1300 | 1171 the form "group where matching articles should go to", |
1301 The value of nnmail-split-methods is a list, each element | 1172 "regular expression which has to be matched", the first |
1302 is a list which stands for a splitting rule. Each rule has | 1173 rule which matches wins. The last rule must always be a |
1303 the form "group where matching articles should go to", | 1174 general rule (regular expression .*) which denotes where |
1304 "regular expression which has to be matched", the first | 1175 articles should go which don't match any other rule. If |
1305 rule which matches wins. The last rule must always be a | 1176 the folder doesn't exist yet, it will be created as soon |
1306 general rule (regular expression .*) which denotes where | 1177 as an article lands there. By default the mail will be |
1307 articles should go which don't match any other rule. If | 1178 send to all groups whose rules match. If you |
1308 the folder doesn't exist yet, it will be created as soon | 1179 don't want that (you probably don't want), say |
1309 as an article lands there. By default the mail will be | |
1310 send to all groups whose rules match. If you | |
1311 don't want that (you probably don't want), say | |
1312 | |
1313 | 1180 |
1314 @example | 1181 @example |
1315 (setq nnmail-crosspost nil) | 1182 (setq nnmail-crosspost nil) |
1316 @end example | 1183 @end example |
1317 | 1184 @noindent |
1318 @noindent | 1185 |
1319 in ~/.gnus. | 1186 in ~/.gnus.el. |
1320 | 1187 |
1321 | 1188 An example might be better than thousand words, so here's |
1322 An example might be better than thousand words, so here's | 1189 my nnmail-split-methods. Note that I send duplicates in a |
1323 my nnmail-split-methods. Note that I send duplicates in a | 1190 special group and that the default group is spam, since I |
1324 special group and that the default group is spam, since I | 1191 filter all mails out which are from some list I'm |
1325 filter all mails out which are from some list I'm | 1192 subscribed to or which are addressed directly to me |
1326 subscribed to or which are addressed directly to me | 1193 before. Those rules kill about 80% of the Spam which |
1327 before. Those rules kill about 80% of the Spam which | 1194 reaches me (Email addresses are changed to prevent spammers |
1328 reaches me (Email addresses are changed to prevent spammers | 1195 from using them): |
1329 from using them): | |
1330 | |
1331 | 1196 |
1332 @example | 1197 @example |
1333 (setq nnmail-split-methods | 1198 (setq nnmail-split-methods |
1334 '(("duplicates" "^Gnus-Warning:.*duplicate") | 1199 '(("duplicates" "^Gnus-Warning:.*duplicate") |
1335 ("XEmacs-NT" "^\\(To:\\|CC:\\).*localpart@@xemacs.bla.*") | 1200 ("XEmacs-NT" "^\\(To:\\|CC:\\).*localpart@@xemacs.bla.*") |
1336 ("Gnus-Tut" "^\\(To:\\|CC:\\).*localpart@@socha.bla.*") | 1201 ("Gnus-Tut" "^\\(To:\\|CC:\\).*localpart@@socha.bla.*") |
1337 ("tcsh" "^\\(To:\\|CC:\\).*localpart@@mx.gw.bla.*") | 1202 ("tcsh" "^\\(To:\\|CC:\\).*localpart@@mx.gw.bla.*") |
1338 ("BAfH" "^\\(To:\\|CC:\\).*localpart@@.*uni-muenchen.bla.*") | 1203 ("BAfH" "^\\(To:\\|CC:\\).*localpart@@.*uni-muenchen.bla.*") |
1339 ("Hamster-src" | 1204 ("Hamster-src" "^\\(CC:\\|To:\\).*hamster-sourcen@@yahoogroups.\\(de\\|com\\).*") |
1340 "^\\(CC:\\|To:\\).*hamster-sourcen@@yahoogroups.\\(de\\|com\\).*") | |
1341 ("Tagesschau" "^From: tagesschau <localpart@@www.tagesschau.bla>$") | 1205 ("Tagesschau" "^From: tagesschau <localpart@@www.tagesschau.bla>$") |
1342 ("Replies" "^\\(CC:\\|To:\\).*localpart@@Frank-Schmitt.bla.*") | 1206 ("Replies" "^\\(CC:\\|To:\\).*localpart@@Frank-Schmitt.bla.*") |
1343 ("EK" | 1207 ("EK" "^From:.*\\(localpart@@privateprovider.bla\\|localpart@@workplace.bla\\).*") |
1344 "^From:.*\\(localpart@@privateprovider.bla\\|localpart@@workplace.bla\\).*") | 1208 ("Spam" "^Content-Type:.*\\(ks_c_5601-1987\\|EUC-KR\\|big5\\|iso-2022-jp\\).*") |
1345 ("Spam" | 1209 ("Spam" "^Subject:.*\\(This really work\\|XINGA\\|ADV:\\|XXX\\|adult\\|sex\\).*") |
1346 "^Content-Type:.*\\(ks_c_5601-1987\\|EUC-KR\\|big5\\|iso-2022-jp\\).*") | 1210 ("Spam" "^Subject:.*\\(\=\?ks_c_5601-1987\?\\|\=\?euc-kr\?\\|\=\?big5\?\\).*") |
1347 ("Spam" | |
1348 "^Subject:.*\\(This really work\\|XINGA\\|ADV:\\|XXX\\|adult\\|sex\\).*") | |
1349 ("Spam" | |
1350 "^Subject:.*\\(\=\?ks_c_5601-1987\?\\|\=\?euc-kr\?\\|\=\?big5\?\\).*") | |
1351 ("Spam" "^X-Mailer:\\(.*BulkMailer.*\\|.*MIME::Lite.*\\|\\)") | 1211 ("Spam" "^X-Mailer:\\(.*BulkMailer.*\\|.*MIME::Lite.*\\|\\)") |
1352 ("Spam" | 1212 ("Spam" "^X-Mailer:\\(.*CyberCreek Avalanche\\|.*http\:\/\/GetResponse\.com\\)") |
1353 "^X-Mailer:\\(.*CyberCreek Avalanche\\|.*http\:\/\/GetResponse\.com\\)") | 1213 ("Spam" "^From:.*\\(verizon\.net\\|prontomail\.com\\|money\\|ConsumerDirect\\).*") |
1354 ("Spam" | |
1355 "^From:.*\\(verizon\.net\\|prontomail\.com\\|money\\|ConsumerDirect\\).*") | |
1356 ("Spam" "^Delivered-To: GMX delivery to spamtrap@@gmx.bla$") | 1214 ("Spam" "^Delivered-To: GMX delivery to spamtrap@@gmx.bla$") |
1357 ("Spam" "^Received: from link2buy.com") | 1215 ("Spam" "^Received: from link2buy.com") |
1358 ("Spam" "^CC: .*azzrael@@t-online.bla") | 1216 ("Spam" "^CC: .*azzrael@@t-online.bla") |
1359 ("Spam" "^X-Mailer-Version: 1.50 BETA") | 1217 ("Spam" "^X-Mailer-Version: 1.50 BETA") |
1360 ("Uni" "^\\(CC:\\|To:\\).*localpart@@uni-koblenz.bla.*") | 1218 ("Uni" "^\\(CC:\\|To:\\).*localpart@@uni-koblenz.bla.*") |
1361 ("Inbox" | 1219 ("Inbox" "^\\(CC:\\|To:\\).*\\(my\ name\\|address@@one.bla\\|adress@@two.bla\\)") |
1362 "^\\(CC:\\|To:\\).*\\(my\ name\\|address@@one.bla\\|adress@@two.bla\\)") | |
1363 ("Spam" ""))) | 1220 ("Spam" ""))) |
1364 @end example | 1221 @end example |
1365 | 1222 @noindent |
1366 | 1223 |
1367 @ifnottex | 1224 @node FAQ 5 - Composing messages |
1368 @node FAQ 5 - Composing messages, FAQ 6 - Old messages, FAQ 4 - Reading messages, Frequently Asked Questions | |
1369 @end ifnottex | |
1370 @subsection Composing messages | 1225 @subsection Composing messages |
1371 | 1226 |
1372 @menu | 1227 @menu |
1373 * [5.1]:: What are the basic commands I need to know for sending mail and | 1228 * [5.1]:: What are the basic commands I need to know for sending |
1374 postings? | 1229 mail and postings? |
1375 * [5.2]:: How to enable automatic word-wrap when composing messages? | 1230 * [5.2]:: How to enable automatic word-wrap when composing messages? |
1376 * [5.3]:: How to set stuff like From, Organization, Reply-To, signature...? | 1231 * [5.3]:: How to set stuff like From, Organization, Reply-To, |
1377 * [5.4]:: Can I set things like From, Signature etc group based on the | 1232 signature...? |
1378 group I post too? | 1233 * [5.4]:: Can I set things like From, Signature etc group based on |
1379 * [5.5]:: Is there a spell-checker? Perhaps even on-the-fly spell-checking? | 1234 the group I post too? |
1380 * [5.6]:: Can I set the dictionary based on the group I'm posting to? | 1235 * [5.5]:: Is there a spell-checker? Perhaps even on-the-fly |
1381 * [5.7]:: Is there some kind of address-book, so I needn't remember all | 1236 spell-checking? |
1382 those email addresses? | 1237 * [5.6]:: Can I set the dictionary based on the group I'm posting |
1383 * [5.8]:: Sometimes I see little images at the top of article buffer. | 1238 to? |
1384 What's that and how can I send one with my postings, too? | 1239 * [5.7]:: Is there some kind of address-book, so I needn't remember |
1385 * [5.9]:: Sometimes I accidentally hit r instead of f in newsgroups. | 1240 all those email addresses? |
1386 Can Gnus warn me, when I'm replying by mail in newsgroups? | 1241 * [5.8]:: Sometimes I see little images at the top of article |
1387 * [5.10]:: How to tell Gnus not to generate a sender header? | 1242 buffer. What's that and how can I send one with my postings, too? |
1388 * [5.11]:: I want Gnus to locally store copies of my send mail and news, | 1243 * [5.9]:: Sometimes I accidentally hit r instead of f in newsgroups. |
1389 how to do it? | 1244 Can Gnus warn me, when I'm replying by mail in newsgroups? |
1390 * [5.12]:: People tell me my Message-IDs are not correct, | 1245 * [5.10]:: How to tell Gnus not to generate a sender header? |
1391 why aren't they and how to fix it? | 1246 * [5.11]:: I want Gnus to locally store copies of my send mail and |
1247 news, how to do it? | |
1248 * [5.12]:: People tell me my Message-IDs are not correct, why aren't | |
1249 they and how to fix it? | |
1392 @end menu | 1250 @end menu |
1393 | 1251 |
1394 @ifnottex | 1252 @node [5.1] |
1395 @node [5.1], [5.2], FAQ 5 - Composing messages, FAQ 5 - Composing messages | 1253 @subsubheading Question 5.1 |
1396 @end ifnottex | 1254 |
1397 @subsubheading Question 5.1: | 1255 What are the basic commands I need to know for sending mail and postings? |
1398 | 1256 |
1399 What are the basic commands I need to know for sending mail and postings? | 1257 @subsubheading Answer |
1400 | 1258 |
1401 | 1259 To start composing a new mail hit @samp{m} |
1402 Answer: | 1260 either in Group or Summary buffer, for a posting, it's |
1403 | 1261 either @samp{a} in Group buffer and |
1404 To start composing a new mail hit @samp{m} | 1262 filling the Newsgroups header manually |
1405 either in Group or Summary buffer, for a posting, it's | 1263 or @samp{a} in the Summary buffer of the |
1406 either @samp{a} in Group buffer and | 1264 group where the posting shall be send to. Replying by mail |
1407 filling the Newsgroups header manually | 1265 is |
1408 or @samp{a} in the Summary buffer of the | 1266 @samp{r} if you don't want to cite the |
1409 group where the posting shall be send to. Replying by mail | 1267 author, or import the cited text manually and |
1410 is | 1268 @samp{R} to cite the text of the original |
1411 @samp{r} if you don't want to cite the | 1269 message. For a follow up to a newsgroup, it's |
1412 author, or import the cited text manually and | 1270 @samp{f} and @samp{F} |
1413 @samp{R} to cite the text of the original | 1271 (analogously to @samp{r} and |
1414 message. For a follow up to a newsgroup, it's | 1272 @samp{R}). |
1415 @samp{f} and @samp{F} | 1273 |
1416 (analog to @samp{r} and | 1274 Enter new headers above the line saying "--text follows |
1417 @samp{R}). | 1275 this line--", enter the text below the line. When ready |
1418 | 1276 hit @samp{C-c C-c}, to send the message, |
1419 | 1277 if you want to finish it later hit @samp{C-c |
1420 Enter new headers above the line saying "--text follows | 1278 C-d} to save it in the drafts group, where you |
1421 this line--", enter the text below the line. When ready | 1279 can start editing it again by saying @samp{D |
1422 hit @samp{C-c C-c}, to send the message, | 1280 e}. |
1423 if you want to finish it later hit @samp{C-c | 1281 |
1424 C-d} to save it in the drafts group, where you | 1282 @node [5.2] |
1425 can start editing it again by saying @samp{D | 1283 @subsubheading Question 5.2 |
1426 e}. | 1284 |
1427 | 1285 How to enable automatic word-wrap when composing messages? |
1428 @ifnottex | 1286 |
1429 @node [5.2], [5.3], [5.1], FAQ 5 - Composing messages | 1287 @subsubheading Answer |
1430 @end ifnottex | 1288 |
1431 @subsubheading Question 5.2: | 1289 Say |
1432 | |
1433 How to enable automatic word-wrap when composing messages? | |
1434 | |
1435 | |
1436 Answer: | |
1437 | |
1438 Say | |
1439 | |
1440 | 1290 |
1441 @example | 1291 @example |
1442 (add-hook 'message-mode-hook | 1292 (add-hook 'message-mode-hook |
1443 (lambda () | 1293 (lambda () |
1444 (setq fill-column 72) | 1294 (setq fill-column 72) |
1445 (turn-on-auto-fill))) | 1295 (turn-on-auto-fill))) |
1446 @end example | 1296 @end example |
1447 | 1297 @noindent |
1448 @noindent | 1298 |
1449 in ~/.gnus. You can reformat a paragraph by hitting | 1299 in ~/.gnus.el. You can reformat a paragraph by hitting |
1450 @samp{M-q} (as usual) | 1300 @samp{M-q} (as usual) |
1451 | 1301 |
1452 @ifnottex | 1302 @node [5.3] |
1453 @node [5.3], [5.4], [5.2], FAQ 5 - Composing messages | 1303 @subsubheading Question 5.3 |
1454 @end ifnottex | 1304 |
1455 @subsubheading Question 5.3: | 1305 How to set stuff like From, Organization, Reply-To, signature...? |
1456 | 1306 |
1457 How to set stuff like From, Organization, Reply-To, signature...? | 1307 @subsubheading Answer |
1458 | 1308 |
1459 | 1309 There are other ways, but you should use posting styles |
1460 Answer: | 1310 for this. (See below why). |
1461 | 1311 This example should make the syntax clear: |
1462 There are other ways, but you should use posting styles | |
1463 for this. (See below why). | |
1464 This example should make the syntax clear: | |
1465 | |
1466 | 1312 |
1467 @example | 1313 @example |
1468 (setq gnus-posting-styles | 1314 (setq gnus-posting-styles |
1469 '((".*" | 1315 '((".*" |
1470 (name "Frank Schmitt") | 1316 (name "Frank Schmitt") |
1472 (organization "Hamme net, kren mer och nimmi") | 1318 (organization "Hamme net, kren mer och nimmi") |
1473 (signature-file "~/.signature") | 1319 (signature-file "~/.signature") |
1474 ("X-SampleHeader" "foobar") | 1320 ("X-SampleHeader" "foobar") |
1475 (eval (setq some-variable "Foo bar"))))) | 1321 (eval (setq some-variable "Foo bar"))))) |
1476 @end example | 1322 @end example |
1477 | 1323 @noindent |
1478 @noindent | 1324 |
1479 The ".*" means that this settings are the default ones | 1325 The ".*" means that this settings are the default ones |
1480 (see below), valid values for the first element of the | 1326 (see below), valid values for the first element of the |
1481 following lists are signature, signature-file, | 1327 following lists are signature, signature-file, |
1482 organization, address, name or body. The attribute name | 1328 organization, address, name or body. The attribute name |
1483 can also be a string. In that case, this will be used as | 1329 can also be a string. In that case, this will be used as |
1484 a header name, and the value will be inserted in the | 1330 a header name, and the value will be inserted in the |
1485 headers of the article; if the value is `nil', the header | 1331 headers of the article; if the value is `nil', the header |
1486 name will be removed. You can also say (eval (foo bar)), | 1332 name will be removed. You can also say (eval (foo bar)), |
1487 then the function foo will be evaluated with argument bar | 1333 then the function foo will be evaluated with argument bar |
1488 and the result will be thrown away. | 1334 and the result will be thrown away. |
1489 | 1335 |
1490 @ifnottex | 1336 @node [5.4] |
1491 @node [5.4], [5.5], [5.3], FAQ 5 - Composing messages | 1337 @subsubheading Question 5.4 |
1492 @end ifnottex | 1338 |
1493 @subsubheading Question 5.4: | 1339 Can I set things like From, Signature etc group based on the group I post too? |
1494 | 1340 |
1495 Can I set things like From, Signature etc group based on the group I post too? | 1341 @subsubheading Answer |
1496 | 1342 |
1497 | 1343 That's the strength of posting styles. Before, we used ".*" |
1498 Answer: | 1344 to set the default for all groups. You can use a regexp |
1499 | 1345 like "^gmane" and the following settings are only applied |
1500 That's the strength of posting styles. Before, we used ".*" | 1346 to postings you send to the gmane hierarchy, use |
1501 to set the default for all groups. You can use a regexp | 1347 ".*binaries" instead and they will be applied to postings |
1502 like "^gmane" and the following settings are only applied | 1348 send to groups containing the string binaries in their |
1503 to postings you send to the gmane hierarchy, use | 1349 name etc. |
1504 ".*binaries" instead and they will be applied to postings | 1350 |
1505 send to groups containing the string binaries in their | 1351 You can instead of specifying a regexp specify a function |
1506 name etc. | 1352 which is evaluated, only if it returns true, the |
1507 | 1353 corresponding settings take effect. Two interesting |
1508 | 1354 candidates for this are message-news-p which returns t if |
1509 You can instead of specifying a regexp specify a function | 1355 the current Group is a newsgroup and the corresponding |
1510 which is evaluated, only if it returns true, the | 1356 message-mail-p. |
1511 corresponding settings take effect. Two interesting | 1357 |
1512 candidates for this are message-news-p which returns t if | 1358 Note that all forms that match are applied, that means in |
1513 the current Group is a newsgroup and the corresponding | 1359 the example below, when I post to |
1514 message-mail-p. | 1360 gmane.mail.spam.spamassassin.general, the settings under |
1515 | 1361 ".*" are applied and the settings under message-news-p and |
1516 | 1362 those under "^gmane" and those under |
1517 Note that all forms that match are applied, that means in | 1363 "^gmane\\.mail\\.spam\\.spamassassin\\.general$". Because |
1518 the example below, when I post to | 1364 of this put general settings at the top and specific ones |
1519 gmane.mail.spam.spamassassin.general, the settings under | 1365 at the bottom. |
1520 ".*" are applied and the settings under message-news-p and | |
1521 those under "^gmane" and those under | |
1522 "^gmane\\.mail\\.spam\\.spamassassin\\.general$". Because | |
1523 of this put general settings at the top and specific ones | |
1524 at the bottom. | |
1525 | |
1526 | 1366 |
1527 @example | 1367 @example |
1528 (setq gnus-posting-styles | 1368 (setq gnus-posting-styles |
1529 '((".*" ;;default | 1369 '((".*" ;;default |
1530 (name "Frank Schmitt") | 1370 (name "Frank Schmitt") |
1531 (organization "Hamme net, kren mer och nimmi") | 1371 (organization "Hamme net, kren mer och nimmi") |
1532 (signature-file "~/.signature")) | 1372 (signature-file "~/.signature") ) |
1533 ((message-news-p) ;;Usenet news? | 1373 ((message-news-p) ;;Usenet news? |
1534 (address "mySpamTrap@@Frank-Schmitt.bla") | 1374 (address "mySpamTrap@@Frank-Schmitt.bla") |
1535 ("Reply-To" "hereRealRepliesOnlyPlease@@Frank-Schmitt.bla")) | 1375 ("Reply-To" "hereRealRepliesOnlyPlease@@Frank-Schmitt.bla") ) |
1536 ((message-mail-p) ;;mail? | 1376 ((message-mail-p) ;;mail? |
1537 (address "usedForMails@@Frank-Schmitt.bla")) | 1377 (address "usedForMails@@Frank-Schmitt.bla") ) |
1538 ("^gmane" ;;this is mail, too in fact | 1378 ("^gmane" ;;this is mail, too in fact |
1539 (address "usedForMails@@Frank-Schmitt.net") | 1379 (address "usedForMails@@Frank-Schmitt.net") |
1540 ("Reply-To" nil)) | 1380 ("Reply-To" nil) ) |
1541 ("^gmane.mail.spam.spamassassin.general$" | 1381 ("^gmane.mail.spam.spamassassin.general$" |
1542 (eval (setq mail-envelope-from "Azzrael@@rz-online.de")) | 1382 (eval (setq mail-envelope-from "Azzrael@@rz-online.de")) |
1543 (address "Azzrael@@rz-online.de")))) | 1383 (address "Azzrael@@rz-online.de")) )) |
1544 @end example | 1384 @end example |
1385 @noindent | |
1386 | |
1387 @node [5.5] | |
1388 @subsubheading Question 5.5 | |
1389 | |
1390 Is there a spell-checker? Perhaps even on-the-fly spell-checking? | |
1391 | |
1392 @subsubheading Answer | |
1393 | |
1394 You can use ispell.el to spell-check stuff in Emacs. So the | |
1395 first thing to do is to make sure that you've got either | |
1396 @uref{http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html, ispell} | |
1397 or @uref{http://aspell.sourceforge.net/, aspell} | |
1398 installed and in your Path. Then you need | |
1399 @uref{http://www.kdstevens.com/~stevens/ispell-page.html, ispell.el} | |
1400 and for on-the-fly spell-checking | |
1401 @uref{http://www-sop.inria.fr/mimosa/personnel/Manuel.Serrano/flyspell/flyspell.html, flyspell.el}. | |
1402 Ispell.el is shipped with Emacs and available through the XEmacs package system, | |
1403 flyspell.el is shipped with Emacs and part of XEmacs text-modes package which is | |
1404 available through the package system, so there should be no need to install them | |
1405 manually. | |
1406 | |
1407 Ispell.el assumes you use ispell, if you choose aspell say | |
1408 | |
1409 @example | |
1410 (setq ispell-program-name "aspell") | |
1411 @end example | |
1412 @noindent | |
1545 | 1413 |
1546 @ifnottex | 1414 in your Emacs configuration file. |
1547 @node [5.5], [5.6], [5.4], FAQ 5 - Composing messages | 1415 |
1548 @end ifnottex | 1416 If you want your outgoing messages to be spell-checked, say |
1549 @subsubheading Question 5.5: | |
1550 | |
1551 Is there a spell-checker? Perhaps even on-the-fly spell-checking? | |
1552 | |
1553 | |
1554 Answer: | |
1555 | |
1556 You can use ispell.el to spell-check stuff in Emacs. So the first | |
1557 thing to do is to make sure that you've got either | |
1558 @itemize @bullet | |
1559 @item | |
1560 @uref{http://fmg-www.cs.ucla.edu/fmg-members/geoff/ispell.html,ispell} | |
1561 or | |
1562 @item | |
1563 @uref{http://aspell.sourceforge.net/,aspell} | |
1564 @end itemize | |
1565 @noindent | |
1566 installed and in your Path. | |
1567 | |
1568 Then you need | |
1569 @uref{http://www.kdstevens.com/~stevens/ispell-page.html,ispell.el,ispell.el} | |
1570 and for on-the-fly spell-checking | |
1571 @uref{http://www-sop.inria.fr/mimosa/personnel/Manuel.Serrano/flyspell/flyspell.html,flyspell.el,flyspell.el}. | |
1572 Ispell.el is shipped with Gnus Emacs and available through the Emacs | |
1573 package system, flyspell.el is shipped with Emacs and part of XEmacs | |
1574 text-modes package which is available through the package system, so | |
1575 there should be no need to install them manually. | |
1576 | |
1577 | |
1578 Ispell.el assumes you use ispell, if you choose aspell say | |
1579 | |
1580 | |
1581 @example | |
1582 (setq ispell-program-name "aspell") | |
1583 @end example | |
1584 | |
1585 | |
1586 @noindent | |
1587 in your Emacs configuration file. | |
1588 | |
1589 | |
1590 If you want your outgoing messages to be spell-checked, say | |
1591 | |
1592 | 1417 |
1593 @example | 1418 @example |
1594 (add-hook 'message-send-hook 'ispell-message) | 1419 (add-hook 'message-send-hook 'ispell-message) |
1595 @end example | 1420 @end example |
1596 | 1421 @noindent |
1597 @noindent | 1422 |
1598 In your ~/.gnus, if you prefer on-the-fly spell-checking say | 1423 In your ~/.gnus.el, if you prefer on-the-fly spell-checking say |
1599 | |
1600 | 1424 |
1601 @example | 1425 @example |
1602 (add-hook 'message-mode-hook (lambda () (flyspell-mode 1))) | 1426 (add-hook 'message-mode-hook (lambda () (flyspell-mode 1))) |
1603 @end example | 1427 @end example |
1604 | 1428 @noindent |
1605 @ifnottex | 1429 |
1606 @node [5.6], [5.7], [5.5], FAQ 5 - Composing messages | 1430 @node [5.6] |
1607 @end ifnottex | 1431 @subsubheading Question 5.6 |
1608 @subsubheading Question 5.6: | 1432 |
1609 | 1433 Can I set the dictionary based on the group I'm posting to? |
1610 Can I set the dictionary based on the group I'm posting to? | 1434 |
1611 | 1435 @subsubheading Answer |
1612 | 1436 |
1613 Answer: | 1437 Yes, say something like |
1614 | |
1615 Yes, say something like | |
1616 | |
1617 | 1438 |
1618 @example | 1439 @example |
1619 (add-hook 'gnus-select-group-hook | 1440 (add-hook 'gnus-select-group-hook |
1620 (lambda () | 1441 (lambda () |
1621 (cond | 1442 (cond |
1623 "^de\\." (gnus-group-real-name gnus-newsgroup-name)) | 1444 "^de\\." (gnus-group-real-name gnus-newsgroup-name)) |
1624 (ispell-change-dictionary "deutsch8")) | 1445 (ispell-change-dictionary "deutsch8")) |
1625 (t | 1446 (t |
1626 (ispell-change-dictionary "english"))))) | 1447 (ispell-change-dictionary "english"))))) |
1627 @end example | 1448 @end example |
1449 @noindent | |
1628 | 1450 |
1629 | 1451 in ~/.gnus.el. Change "^de\\." and "deutsch8" to something |
1630 @noindent | 1452 that suits your needs. |
1631 in ~/.gnus. Change "^de\\." and "deutsch8" to something | 1453 |
1632 that suits your needs. | 1454 @node [5.7] |
1633 | 1455 @subsubheading Question 5.7 |
1634 @ifnottex | 1456 |
1635 @node [5.7], [5.8], [5.6], FAQ 5 - Composing messages | 1457 Is there some kind of address-book, so I needn't remember |
1636 @end ifnottex | 1458 all those email addresses? |
1637 @subsubheading Question 5.7: | 1459 |
1638 | 1460 @subsubheading Answer |
1639 Is there some kind of address-book, so I needn't remember | 1461 |
1640 all those email addresses? | 1462 There's an very basic solution for this, mail aliases. |
1641 | 1463 You can store your mail addresses in a ~/.mailrc file using a simple |
1642 | 1464 alias syntax: |
1643 Answer: | |
1644 | |
1645 There's an very basic solution for this, mail aliases. | |
1646 You can store your mail addresses in a ~/.mailrc file using a simple | |
1647 alias syntax: | |
1648 | |
1649 | 1465 |
1650 @example | 1466 @example |
1651 alias al "Al <al@@english-heritage.bla>" | 1467 alias al "Al <al@@english-heritage.bla>" |
1652 @end example | 1468 @end example |
1653 | 1469 @noindent |
1654 @noindent | 1470 |
1655 Then typing your alias (followed by a space or punctuation | 1471 Then typing your alias (followed by a space or punctuation |
1656 character) on a To: or Cc: line in the message buffer will | 1472 character) on a To: or Cc: line in the message buffer will |
1657 cause Gnus to insert the full address for you. See the | 1473 cause Gnus to insert the full address for you. See the |
1658 node "Mail Aliases" in Message (not Gnus) manual for | 1474 node "Mail Aliases" in Message (not Gnus) manual for |
1659 details. | 1475 details. |
1660 | 1476 |
1661 | 1477 However, what you really want is the Insidious Big Brother |
1662 However, what you really want is the Insidious Big Brother | 1478 Database bbdb. Get it through the XEmacs package system or from |
1663 Database bbdb. Get it through the XEmacs package system or from | 1479 @uref{http://bbdb.sourceforge.net/, bbdb's homepage}. |
1664 @uref{http://bbdb.sourceforge.net/,bbdb's homepage}. | 1480 Now place the following in ~/.gnus.el, to activate bbdb for Gnus: |
1665 Now place the following in ~/.gnus, to activate bbdb for Gnus: | |
1666 | |
1667 | 1481 |
1668 @example | 1482 @example |
1669 (require 'bbdb) | 1483 (require 'bbdb) |
1670 (bbdb-initialize 'gnus 'message) | 1484 (bbdb-initialize 'gnus 'message) |
1671 @end example | 1485 @end example |
1672 | 1486 @noindent |
1673 @noindent | 1487 |
1674 Now you probably want some general bbdb configuration, | 1488 Now you probably want some general bbdb configuration, |
1675 place them in ~/.emacs: | 1489 place them in ~/.emacs: |
1676 | |
1677 | 1490 |
1678 @example | 1491 @example |
1679 (require 'bbdb) | 1492 (require 'bbdb) |
1680 ;;If you don't live in Northern America, you should disable the | 1493 ;;If you don't live in Northern America, you should disable the |
1681 ;;syntax check for telephone numbers by saying | 1494 ;;syntax check for telephone numbers by saying |
1687 ;;cycling while completing email addresses | 1500 ;;cycling while completing email addresses |
1688 (setq bbdb-complete-name-allow-cycling t) | 1501 (setq bbdb-complete-name-allow-cycling t) |
1689 ;;No popup-buffers | 1502 ;;No popup-buffers |
1690 (setq bbdb-use-pop-up nil) | 1503 (setq bbdb-use-pop-up nil) |
1691 @end example | 1504 @end example |
1692 | 1505 @noindent |
1693 @noindent | 1506 |
1694 Now you should be ready to go. Say @samp{M-x bbdb RET | 1507 Now you should be ready to go. Say @samp{M-x bbdb RET |
1695 RET} to open a bbdb buffer showing all | 1508 RET} to open a bbdb buffer showing all |
1696 entries. Say @samp{c} to create a new | 1509 entries. Say @samp{c} to create a new |
1697 entry, @samp{b} to search your BBDB and | 1510 entry, @samp{b} to search your BBDB and |
1698 @samp{C-o} to add a new field to an | 1511 @samp{C-o} to add a new field to an |
1699 entry. If you want to add a sender to the BBDB you can | 1512 entry. If you want to add a sender to the BBDB you can |
1700 also just hit `:' on the posting in the summary buffer and | 1513 also just hit `:' on the posting in the summary buffer and |
1701 you are done. When you now compose a new mail, | 1514 you are done. When you now compose a new mail, |
1702 hit @samp{TAB} to cycle through know | 1515 hit @samp{TAB} to cycle through know |
1703 recipients. | 1516 recipients. |
1704 | 1517 |
1705 @ifnottex | 1518 @node [5.8] |
1706 @node [5.8], [5.9], [5.7], FAQ 5 - Composing messages | 1519 @subsubheading Question 5.8 |
1707 @end ifnottex | 1520 |
1708 @subsubheading Question 5.8: | 1521 Sometimes I see little images at the top of article |
1709 | 1522 buffer. What's that and how can I send one with my |
1710 Sometimes I see little images at the top of article | 1523 postings, too? |
1711 buffer. What's that and how can I send one with my | 1524 |
1712 postings, too? | 1525 @subsubheading Answer |
1713 | 1526 |
1714 | 1527 Those images are called X-Faces. They are 48*48 pixel b/w |
1715 Answer: | 1528 pictures, encoded in a header line. If you want to include |
1716 | 1529 one in your posts, you've got to convert some image to a |
1717 Those images are called X-Faces. They are 48*48 pixel b/w | 1530 X-Face. So fire up some image manipulation program (say |
1718 pictures, encoded in a header line. If you want to include | 1531 Gimp), open the image you want to include, cut out the |
1719 one in your posts, you've got to convert some image to a | 1532 relevant part, reduce color depth to 1 bit, resize to |
1720 X-Face. So fire up some image manipulation program (say | 1533 48*48 and save as bitmap. Now you should get the compface |
1721 Gimp), open the image you want to include, cut out the | 1534 package from |
1722 relevant part, reduce color depth to 1 bit, resize to | 1535 @uref{ftp://ftp.cs.indiana.edu:/pub/faces/, this site}. |
1723 48*48 and save as bitmap. Now you should get the compface | 1536 and create the actual X-face by saying |
1724 package from | 1537 |
1725 @uref{ftp://ftp.cs.indiana.edu:/pub/faces/,this site}. | 1538 @example |
1726 and create the actual X-face by saying | 1539 cat file.xbm | xbm2ikon | compface > file.face |
1727 | 1540 cat file.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > file.face.quoted |
1728 | 1541 @end example |
1729 @example | 1542 @noindent |
1730 cat file.xbm | xbm2ikon |compface > file.face | 1543 |
1731 cat ./file.face | sed 's/\\/\\\\/g' | sed 's/\"/\\\"/g' > ./file.face.quoted | 1544 If you can't use compface, there's an online X-face converter at |
1732 @end example | 1545 @uref{http://www.dairiki.org/xface/}. |
1733 | 1546 If you use MS Windows, you could also use the WinFace program from |
1734 @noindent | |
1735 If you can't use compface, there's an online X-face converter at@* | |
1736 @uref{http://www.dairiki.org/xface/}. If you use MS Windows, you | |
1737 could also use the WinFace program from | |
1738 @uref{http://www.xs4all.nl/~walterln/winface/}. | 1547 @uref{http://www.xs4all.nl/~walterln/winface/}. |
1739 | 1548 Now you only have to tell Gnus to include the X-face in your postings by saying |
1740 Now you only have to tell Gnus to include the X-face in your postings | |
1741 by saying | |
1742 | 1549 |
1743 @example | 1550 @example |
1744 (setq message-default-headers | 1551 (setq message-default-headers |
1745 (with-temp-buffer | 1552 (with-temp-buffer |
1746 (insert "X-Face: ") | 1553 (insert "X-Face: ") |
1747 (insert-file-contents "~/.xemacs/xface") | 1554 (insert-file-contents "~/.xemacs/xface") |
1748 (buffer-string))) | 1555 (buffer-string))) |
1749 @end example | 1556 @end example |
1750 | 1557 @noindent |
1751 @noindent | 1558 |
1752 in ~/.gnus. | 1559 in ~/.gnus.el. |
1753 | 1560 |
1754 @ifnottex | 1561 @node [5.9] |
1755 @node [5.9], [5.10], [5.8], FAQ 5 - Composing messages | 1562 @subsubheading Question 5.9 |
1756 @end ifnottex | 1563 |
1757 @subsubheading Question 5.9: | 1564 Sometimes I accidentally hit r instead of f in |
1758 | 1565 newsgroups. Can Gnus warn me, when I'm replying by mail in |
1759 Sometimes I accidentally hit r instead of f in | 1566 newsgroups? |
1760 newsgroups. Can Gnus warn me, when I'm replying by mail in | 1567 |
1761 newsgroups? | 1568 @subsubheading Answer |
1762 | 1569 |
1763 | 1570 Put this in ~/.gnus.el: |
1764 Answer: | |
1765 | |
1766 Put this in ~/.gnus: | |
1767 | |
1768 | 1571 |
1769 @example | 1572 @example |
1770 (setq gnus-confirm-mail-reply-to-news t) | 1573 (setq gnus-confirm-mail-reply-to-news t) |
1771 @end example | 1574 @end example |
1772 | 1575 @noindent |
1773 @noindent | 1576 |
1774 if you already use Gnus 5.10, if you still use 5.8.8 or | 1577 if you already use Gnus 5.10, if you still use 5.8.8 or |
1775 5.9 try this instead: | 1578 5.9 try this instead: |
1776 | |
1777 | 1579 |
1778 @example | 1580 @example |
1779 (eval-after-load "gnus-msg" | 1581 (eval-after-load "gnus-msg" |
1780 '(unless (boundp 'gnus-confirm-mail-reply-to-news) | 1582 '(unless (boundp 'gnus-confirm-mail-reply-to-news) |
1781 (defadvice gnus-summary-reply (around reply-in-news activate) | 1583 (defadvice gnus-summary-reply (around reply-in-news activate) |
1783 (interactive) | 1585 (interactive) |
1784 (when (or (not (gnus-news-group-p gnus-newsgroup-name)) | 1586 (when (or (not (gnus-news-group-p gnus-newsgroup-name)) |
1785 (y-or-n-p "Really reply by mail to article author? ")) | 1587 (y-or-n-p "Really reply by mail to article author? ")) |
1786 ad-do-it)))) | 1588 ad-do-it)))) |
1787 @end example | 1589 @end example |
1788 | 1590 @noindent |
1789 @ifnottex | 1591 |
1790 @node [5.10], [5.11], [5.9], FAQ 5 - Composing messages | 1592 @node [5.10] |
1791 @end ifnottex | 1593 @subsubheading Question 5.10 |
1792 @subsubheading Question 5.10: | 1594 |
1793 | 1595 How to tell Gnus not to generate a sender header? |
1794 How to tell Gnus not to generate a sender header? | 1596 |
1795 | 1597 @subsubheading Answer |
1796 | 1598 |
1797 Answer: | 1599 Since 5.10 Gnus doesn't generate a sender header by |
1798 | 1600 default. For older Gnus' try this in ~/.gnus.el: |
1799 Since 5.10 Gnus doesn't generate a sender header by | |
1800 default. For older Gnus' try this in ~/.gnus: | |
1801 | |
1802 | 1601 |
1803 @example | 1602 @example |
1804 (eval-after-load "message" | 1603 (eval-after-load "message" |
1805 '(add-to-list 'message-syntax-checks '(sender . disabled))) | 1604 '(add-to-list 'message-syntax-checks '(sender . disabled))) |
1806 @end example | 1605 @end example |
1807 | 1606 @noindent |
1808 | 1607 |
1809 @ifnottex | 1608 @node [5.11] |
1810 @node [5.11], [5.12], [5.10], FAQ 5 - Composing messages | 1609 @subsubheading Question 5.11 |
1811 @end ifnottex | 1610 |
1812 @subsubheading Question 5.11: | 1611 I want Gnus to locally store copies of my send mail and |
1813 | 1612 news, how to do it? |
1814 I want gnus to locally store copies of my send mail and | 1613 |
1815 news, how to do it? | 1614 @subsubheading Answer |
1816 | 1615 |
1817 | 1616 You must set the variable gnus-message-archive-group to do |
1818 Answer: | 1617 this. You can set it to a string giving the name of the |
1819 | 1618 group where the copies shall go or like in the example |
1820 You must set the variable gnus-message-archive-group to do | 1619 below use a function which is evaluated and which returns |
1821 this. You can set it to a string giving the name of the | 1620 the group to use. |
1822 group where the copies shall go or like in the example | |
1823 below use a function which is evaluated and which returns | |
1824 the group to use. | |
1825 | |
1826 | 1621 |
1827 @example | 1622 @example |
1828 (setq gnus-message-archive-group | 1623 (setq gnus-message-archive-group |
1829 '((if (message-news-p) | 1624 '((if (message-news-p) |
1830 "nnml:Send-News" | 1625 "nnml:Send-News" |
1831 "nnml:Send-Mail"))) | 1626 "nnml:Send-Mail"))) |
1832 @end example | 1627 @end example |
1833 | 1628 @noindent |
1834 | 1629 |
1835 @ifnottex | 1630 @node [5.12] |
1836 @node [5.12], , [5.11], FAQ 5 - Composing messages | 1631 @subsubheading Question 5.12 |
1837 @end ifnottex | 1632 |
1838 @subsubheading Question 5.12: | 1633 People tell me my Message-IDs are not correct, why |
1839 | 1634 aren't they and how to fix it? |
1840 People tell me my Message-IDs are not correct, why | 1635 |
1841 aren't they and how to fix it? | 1636 @subsubheading Answer |
1842 | 1637 |
1843 | 1638 The message-ID is an unique identifier for messages you |
1844 Answer: | 1639 send. To make it unique, Gnus need to know which machine |
1845 | 1640 name to put after the "@@". If the name of the machine |
1846 The message-ID is an unique identifier for messages you | 1641 where Gnus is running isn't suitable (it probably isn't |
1847 send. To make it unique, Gnus need to know which machine | 1642 at most private machines) you can tell Gnus what to use |
1848 name to put after the "@@". If the name of the machine | 1643 by saying: |
1849 where Gnus is running isn't suitable (it probably isn't | 1644 |
1850 at most private machines) you can tell Gnus what to use | |
1851 by saying | |
1852 @example | 1645 @example |
1853 (setq message-user-fqdn "yourmachine.yourdomain.tld") | 1646 (setq message-user-fqdn "yourmachine.yourdomain.tld") |
1854 @end example | 1647 @end example |
1855 @noindent | 1648 @noindent |
1856 in ~/.gnus. If you use Gnus 5.9 or ealier, you can use this | 1649 |
1857 instead (works for newer versions a well): | 1650 in ~/.gnus.el. If you use Gnus 5.9 or ealier, you can use this |
1651 instead (works for newer versions a well): | |
1652 | |
1858 @example | 1653 @example |
1859 (eval-after-load "message" | 1654 (eval-after-load "message" |
1860 '(let ((fqdn "yourmachine.yourdomain.tld"));; <-- Edit this! | 1655 '(let ((fqdn "yourmachine.yourdomain.tld"));; <-- Edit this! |
1861 (if (boundp 'message-user-fqdn) | 1656 (if (boundp 'message-user-fqdn) |
1862 (setq message-user-fqdn fqdn) | 1657 (setq message-user-fqdn fqdn) |
1863 (gnus-message 1 "Redefining `message-make-fqdn'.") | 1658 (gnus-message 1 "Redefining `message-make-fqdn'.") |
1864 (defun message-make-fqdn () | 1659 (defun message-make-fqdn () |
1865 "Return user's fully qualified domain name." | 1660 "Return user's fully qualified domain name." |
1866 fqdn)))) | 1661 fqdn)))) |
1867 @end example | 1662 @end example |
1868 | 1663 @noindent |
1869 If you have no idea what to insert for | 1664 |
1870 "yourmachine.yourdomain.tld", you've got several | 1665 If you have no idea what to insert for |
1871 choices. You can either ask your provider if he allows | 1666 "yourmachine.yourdomain.tld", you've got several |
1872 you to use something like | 1667 choices. You can either ask your provider if he allows |
1873 yourUserName.userfqdn.provider.net, or you can use | 1668 you to use something like |
1874 somethingUnique.yourdomain.tld if you own the domain | 1669 yourUserName.userfqdn.provider.net, or you can use |
1875 yourdomain.tld, or you can register at a service which | 1670 somethingUnique.yourdomain.tld if you own the domain |
1876 gives private users a FQDN for free, e.g. | 1671 yourdomain.tld, or you can register at a service which |
1877 @uref{http://www.stura.tu-freiberg.de/~dlx/addfqdn.html}. | 1672 gives private users a FQDN for free, e.g. |
1878 (Sorry but this website is in German, if you know of an | 1673 @uref{http://www.stura.tu-freiberg.de/~dlx/addfqdn.html}. |
1879 English one offering the same, drop me a note). | 1674 (Sorry but this website is in German, if you know of an |
1880 | 1675 English one offering the same, drop me a note). |
1881 | 1676 |
1882 Finally you can tell Gnus not to generate a Message-ID | 1677 Finally you can tell Gnus not to generate a Message-ID |
1883 for News at all (and letting the server do the job) by saying | 1678 for News at all (and letting the server do the job) by saying |
1884 | |
1885 | 1679 |
1886 @example | 1680 @example |
1887 (setq message-required-news-headers | 1681 (setq message-required-news-headers |
1888 (remove' Message-ID message-required-news-headers)) | 1682 (remove' Message-ID message-required-news-headers)) |
1889 @end example | 1683 @end example |
1890 | 1684 @noindent |
1891 @noindent | 1685 |
1892 you can also tell Gnus not to generate Message-IDs for mail by saying | 1686 you can also tell Gnus not to generate Message-IDs for mail by saying |
1893 | |
1894 | 1687 |
1895 @example | 1688 @example |
1896 (setq message-required-mail-headers | 1689 (setq message-required-mail-headers |
1897 (remove' Message-ID message-required-mail-headers)) | 1690 (remove' Message-ID message-required-mail-headers)) |
1898 @end example | 1691 @end example |
1899 | 1692 @noindent |
1900 @noindent | 1693 |
1901 , however some mail servers don't generate proper | 1694 , however some mail servers don't generate proper |
1902 Message-IDs, too, so test if your Mail Server behaves | 1695 Message-IDs, too, so test if your Mail Server behaves |
1903 correctly by sending yourself a Mail and looking at the Message-ID. | 1696 correctly by sending yourself a Mail and looking at the Message-ID. |
1904 | 1697 |
1905 | 1698 @node FAQ 6 - Old messages |
1906 @ifnottex | |
1907 @node FAQ 6 - Old messages, FAQ 7 - Gnus in a dial-up environment, FAQ 5 - Composing messages, Frequently Asked Questions | |
1908 @end ifnottex | |
1909 @subsection Old messages | 1699 @subsection Old messages |
1910 | 1700 |
1911 @menu | 1701 @menu |
1912 * [6.1]:: How to import my old mail into Gnus? | 1702 * [6.1]:: How to import my old mail into Gnus? |
1913 * [6.2]:: How to archive interesting messages? | 1703 * [6.2]:: How to archive interesting messages? |
1914 * [6.3]:: How to search for a specific message? | 1704 * [6.3]:: How to search for a specific message? |
1915 * [6.4]:: How to get rid of old unwanted mail? | 1705 * [6.4]:: How to get rid of old unwanted mail? |
1916 * [6.5]:: I want that all read messages are expired (at least in some | 1706 * [6.5]:: I want that all read messages are expired (at least in some |
1917 groups). How to do it? | 1707 groups). How to do it? |
1918 * [6.6]:: I don't want expiration to delete my mails but to move them | 1708 * [6.6]:: I don't want expiration to delete my mails but to move them |
1919 to another group. | 1709 to another group. |
1920 @end menu | 1710 @end menu |
1921 | 1711 |
1922 @ifnottex | 1712 @node [6.1] |
1923 @node [6.1], [6.2], FAQ 6 - Old messages, FAQ 6 - Old messages | 1713 @subsubheading Question 6.1 |
1924 @end ifnottex | 1714 |
1925 @subsubheading Question 6.1: | 1715 How to import my old mail into Gnus? |
1926 | 1716 |
1927 How to import my old mail into Gnus? | 1717 @subsubheading Answer |
1928 | 1718 |
1929 | 1719 The easiest way is to tell your old mail program to |
1930 Answer: | 1720 export the messages in mbox format. Most Unix mailers |
1931 | 1721 are able to do this, if you come from the MS Windows |
1932 The easiest way is to tell your old mail program to | 1722 world, you may find tools at |
1933 export the messages in mbox format. Most Unix mailers | 1723 @uref{http://mbx2mbox.sourceforge.net/}. |
1934 are able to do this, if you come from the MS Windows | 1724 |
1935 world, you may find tools at | 1725 Now you've got to import this mbox file into Gnus. To do |
1936 @uref{http://mbx2mbox.sourceforge.net/}. | 1726 this, create a nndoc group based on the mbox file by |
1937 | 1727 saying @samp{G f /path/file.mbox RET} in |
1938 | 1728 Group buffer. You now have read-only access to your |
1939 Now you've got to import this mbox file into Gnus. To do | 1729 mail. If you want to import the messages to your normal |
1940 this, create a nndoc group based on the mbox file by | 1730 Gnus mail groups hierarchy, enter the nndoc group you've |
1941 saying @samp{G f /path/file.mbox RET} in | 1731 just created by saying @samp{C-u RET} |
1942 Group buffer. You now have read-only access to your | 1732 (thus making sure all messages are retrieved), mark all |
1943 mail. If you want to import the messages to your normal | 1733 messages by saying @samp{M P b} and |
1944 Gnus mail groups hierarchy, enter the nndoc group you've | 1734 either copy them to the desired group by saying |
1945 just created by saying @samp{C-u RET} | 1735 @samp{B c name.of.group RET} or send them |
1946 (thus making sure all messages are retrieved), mark all | 1736 through nnmail-split-methods (respool them) by saying |
1947 messages by saying @samp{M P b} and | 1737 @samp{B r}. |
1948 either copy them to the desired group by saying | 1738 |
1949 @samp{B c name.of.group RET} or send them | 1739 @node [6.2] |
1950 through nnmail-split-methods (respool them) by saying | 1740 @subsubheading Question 6.2 |
1951 @samp{B r}. | 1741 |
1952 | 1742 How to archive interesting messages? |
1953 @ifnottex | 1743 |
1954 @node [6.2], [6.3], [6.1], FAQ 6 - Old messages | 1744 @subsubheading Answer |
1955 @end ifnottex | 1745 |
1956 @subsubheading Question 6.2: | 1746 If you stumble across an interesting message, say in |
1957 | 1747 gnu.emacs.gnus and want to archive it there are several |
1958 How to archive interesting messages? | 1748 solutions. The first and easiest is to save it to a file |
1959 | 1749 by saying @samp{O f}. However, wouldn't |
1960 | 1750 it be much more convenient to have more direct access to |
1961 Answer: | 1751 the archived message from Gnus? If you say yes, put this |
1962 | 1752 snippet by Frank Haun <pille3003@@fhaun.de> in |
1963 If you stumble across an interesting message, say in | 1753 ~/.gnus.el: |
1964 gnu.emacs.gnus and want to archive it there are several | |
1965 solutions. The first and easiest is to save it to a file | |
1966 by saying @samp{O f}. However, wouldn't | |
1967 it be much more convenient to have more direct access to | |
1968 the archived message from Gnus? If you say yes, put this | |
1969 snippet by Frank Haun <pille3003@@fhaun.de> in | |
1970 ~/.gnus: | |
1971 | |
1972 | 1754 |
1973 @example | 1755 @example |
1974 (defun my-archive-article (&optional n) | 1756 (defun my-archive-article (&optional n) |
1975 "Copies one or more article(s) to a corresponding `nnml:' group, e.g. | 1757 "Copies one or more article(s) to a corresponding `nnml:' group, e.g. |
1976 `gnus.ding' goes to `nnml:1.gnus.ding'. And `nnml:List-gnus.ding' goes | 1758 `gnus.ding' goes to `nnml:1.gnus.ding'. And `nnml:List-gnus.ding' goes |
1985 (if (featurep 'xemacs) | 1767 (if (featurep 'xemacs) |
1986 (replace-in-string gnus-newsgroup-name "^.*:" "") | 1768 (replace-in-string gnus-newsgroup-name "^.*:" "") |
1987 (replace-regexp-in-string "^.*:" "" gnus-newsgroup-name))))) | 1769 (replace-regexp-in-string "^.*:" "" gnus-newsgroup-name))))) |
1988 (gnus-summary-copy-article n archive-name))) | 1770 (gnus-summary-copy-article n archive-name))) |
1989 @end example | 1771 @end example |
1990 | 1772 @noindent |
1991 @noindent | 1773 |
1992 You can now say @samp{M-x | 1774 You can now say @samp{M-x |
1993 my-archive-article} in summary buffer to | 1775 my-archive-article} in summary buffer to |
1994 archive the article under the cursor in a nnml | 1776 archive the article under the cursor in a nnml |
1995 group. (Change nnml to your preferred back end) | 1777 group. (Change nnml to your preferred back end) |
1996 | 1778 |
1997 | 1779 Of course you can also make sure the cache is enabled by saying |
1998 Of course you can also make sure the cache is enabled by saying | |
1999 | |
2000 | 1780 |
2001 @example | 1781 @example |
2002 (setq gnus-use-cache t) | 1782 (setq gnus-use-cache t) |
2003 @end example | 1783 @end example |
2004 | 1784 @noindent |
2005 @noindent | 1785 |
2006 then you only have to set either the tick or the dormant | 1786 then you only have to set either the tick or the dormant |
2007 mark for articles you want to keep, setting the read | 1787 mark for articles you want to keep, setting the read |
2008 mark will remove them from cache. | 1788 mark will remove them from cache. |
2009 | 1789 |
2010 @ifnottex | 1790 @node [6.3] |
2011 @node [6.3], [6.4], [6.2], FAQ 6 - Old messages | 1791 @subsubheading Question 6.3 |
2012 @end ifnottex | 1792 |
2013 @subsubheading Question 6.3: | 1793 How to search for a specific message? |
2014 | 1794 |
2015 How to search for a specific message? | 1795 @subsubheading Answer |
2016 | 1796 |
2017 | 1797 There are several ways for this, too. For a posting from |
2018 Answer: | 1798 a Usenet group the easiest solution is probably to ask |
2019 | 1799 @uref{http://groups.google.com, groups.google.com}, |
2020 There are several ways for this, too. For a posting from | 1800 if you found the posting there, tell Google to display |
2021 a Usenet group the easiest solution is probably to ask | 1801 the raw message, look for the message-id, and say |
2022 @uref{http://groups.google.com,groups.google.com}, | 1802 @samp{M-^ the@@message.id RET} in a |
2023 if you found the posting there, tell Google to display | 1803 summary buffer. |
2024 the raw message, look for the message-id, and say | 1804 Since Gnus 5.10 there's also a Gnus interface for |
2025 @samp{M-^ the@@message.id RET} in a | 1805 groups.google.com which you can call with |
2026 summary buffer. | 1806 @samp{G W}) in group buffer. |
2027 Since Gnus 5.10 there's also a Gnus interface for | 1807 |
2028 groups.google.com which you can call with | 1808 Another idea which works for both mail and news groups |
2029 @samp{G W}) in group buffer. | 1809 is to enter the group where the message you are |
2030 | 1810 searching is and use the standard Emacs search |
2031 | 1811 @samp{C-s}, it's smart enough to look at |
2032 Another idea which works for both mail and news groups | 1812 articles in collapsed threads, too. If you want to |
2033 is to enter the group where the message you are | 1813 search bodies, too try @samp{M-s} |
2034 searching is and use the standard Emacs search | 1814 instead. Further on there are the |
2035 @samp{C-s}, it's smart enough to look at | 1815 gnus-summary-limit-to-foo functions, which can help you, |
2036 articles in collapsed threads, too. If you want to | 1816 too. |
2037 search bodies, too try @samp{M-s} | 1817 |
2038 instead. Further on there are the | 1818 Of course you can also use grep to search through your |
2039 gnus-summary-limit-to-foo functions, which can help you, | 1819 local mail, but this is both slow for big archives and |
2040 too. | 1820 inconvenient since you are not displaying the found mail |
2041 | 1821 in Gnus. Here comes nnir into action. Nnir is a front end |
2042 | 1822 to search engines like swish-e or swish++ and |
2043 Of course you can also use grep to search through your | 1823 others. You index your mail with one of those search |
2044 local mail, but this is both slow for big archives and | 1824 engines and with the help of nnir you can search trough |
2045 inconvenient since you are not displaying the found mail | 1825 the indexed mail and generate a temporary group with all |
2046 in Gnus. Here comes nnir into action. Nnir is a front end | 1826 messages which met your search criteria. If this sound |
2047 to search engines like swish-e or swish++ and | 1827 cool to you get nnir.el from |
2048 others. You index your mail with one of those search | 1828 @uref{ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/emacs/} |
2049 engines and with the help of nnir you can search trough | 1829 or @uref{ftp://ftp.is.informatik.uni-duisburg.de/pub/src/emacs/}. |
2050 the indexed mail and generate a temporary group with all | 1830 Instructions on how to use it are at the top of the file. |
2051 messages which met your search criteria. If this sound | 1831 |
2052 cool to you get nnir.el from the contrib directory of the Gnus | 1832 @node [6.4] |
2053 distribution or | 1833 @subsubheading Question 6.4 |
2054 @uref{http://quimby.gnus.org/cgi-bin/cvsweb.cgi/~checkout~/gnus/contrib/nnir.el?rev=HEAD&content-type=text/plain} | 1834 |
2055 Instructions on how to use it are at the top of the file. | 1835 How to get rid of old unwanted mail? |
2056 | 1836 |
2057 @ifnottex | 1837 @subsubheading Answer |
2058 @node [6.4], [6.5], [6.3], FAQ 6 - Old messages | 1838 |
2059 @end ifnottex | 1839 You can of course just mark the mail you don't need |
2060 @subsubheading Question 6.4: | 1840 anymore by saying @samp{#} with point |
2061 | 1841 over the mail and then say @samp{B DEL} |
2062 How to get rid of old unwanted mail? | 1842 to get rid of them forever. You could also instead of |
2063 | 1843 actually deleting them, send them to a junk-group by |
2064 | 1844 saying @samp{B m nnml:trash-bin} which |
2065 Answer: | 1845 you clear from time to time, but both are not the intended |
2066 | 1846 way in Gnus. |
2067 You can of course just mark the mail you don't need | 1847 |
2068 anymore by saying @samp{#} with point | 1848 In Gnus, we let mail expire like news expires on a news |
2069 over the mail and then say @samp{B DEL} | 1849 server. That means you tell Gnus the message is |
2070 to get rid of them forever. You could also instead of | 1850 expirable (you tell Gnus "I don't need this mail |
2071 actually deleting them, send them to a junk-group by | 1851 anymore") by saying @samp{E} with point |
2072 saying @samp{B m nnml:trash-bin} which | 1852 over the mail in summary buffer. Now when you leave the |
2073 you clear from time to time, but both are not the intended | 1853 group, Gnus looks at all messages which you marked as |
2074 way in Gnus. | 1854 expirable before and if they are old enough (default is |
2075 | 1855 older than a week) they are deleted. |
2076 | 1856 |
2077 In Gnus, we let mail expire like news expires on a news | 1857 @node [6.5] |
2078 server. That means you tell Gnus the message is | 1858 @subsubheading Question 6.5 |
2079 expirable (you tell Gnus "I don't need this mail | 1859 |
2080 anymore") by saying @samp{E} with point | 1860 I want that all read messages are expired (at least in |
2081 over the mail in summary buffer. Now when you leave the | 1861 some groups). How to do it? |
2082 group, Gnus looks at all messages which you marked as | 1862 |
2083 expirable before and if they are old enough (default is | 1863 @subsubheading Answer |
2084 older than a week) they are deleted. | 1864 |
2085 | 1865 If you want all read messages to be expired (e.g. in |
2086 @ifnottex | 1866 mailing lists where there's an online archive), you've |
2087 @node [6.5], [6.6], [6.4], FAQ 6 - Old messages | 1867 got two choices: auto-expire and |
2088 @end ifnottex | 1868 total-expire. Auto-expire means, that every article |
2089 @subsubheading Question 6.5: | 1869 which has no marks set and is selected for reading is |
2090 | 1870 marked as expirable, Gnus hits @samp{E} |
2091 I want that all read messages are expired (at least in | 1871 for you every time you read a message. Total-expire |
2092 some groups). How to do it? | 1872 follows a slightly different approach, here all article |
2093 | 1873 where the read mark is set are expirable. |
2094 | 1874 |
2095 Answer: | 1875 To activate auto-expire, include auto-expire in the |
2096 | 1876 Group parameters for the group. (Hit @samp{G |
2097 If you want all read messages to be expired (e.g. in | 1877 c} in summary buffer with point over the |
2098 mailing lists where there's an online archive), you've | 1878 group to change group parameters). For total-expire add |
2099 got two choices: auto-expire and | 1879 total-expire to the group-parameters. |
2100 total-expire. Auto-expire means, that every article | 1880 |
2101 which has no marks set and is selected for reading is | 1881 Which method you choose is merely a matter of taste: |
2102 marked as expirable, Gnus hits @samp{E} | 1882 Auto-expire is faster, but it doesn't play together with |
2103 for you every time you read a message. Total-expire | 1883 Adaptive Scoring, so if you want to use this feature, |
2104 follows a slightly different approach, here all article | 1884 you should use total-expire. |
2105 where the read mark is set are expirable. | 1885 |
2106 | 1886 If you want a message to be excluded from expiration in |
2107 | 1887 a group where total or auto expire is active, set either |
2108 To activate auto-expire, include auto-expire in the | 1888 tick (hit @samp{u}) or dormant mark (hit |
2109 Group parameters for the group. (Hit @samp{G | 1889 @samp{u}), when you use auto-expire, you |
2110 c} in summary buffer with point over the | 1890 can also set the read mark (hit |
2111 group to change group parameters). For total-expire add | 1891 @samp{d}). |
2112 total-expire to the group-parameters. | 1892 |
2113 | 1893 @node [6.6] |
2114 | 1894 @subsubheading Question 6.6 |
2115 Which method you choose is merely a matter of taste: | 1895 |
2116 Auto-expire is faster, but it doesn't play together with | 1896 I don't want expiration to delete my mails but to move them |
2117 Adaptive Scoring, so if you want to use this feature, | 1897 to another group. |
2118 you should use total-expire. | 1898 |
2119 | 1899 @subsubheading Answer |
2120 | 1900 |
2121 If you want a message to be excluded from expiration in | 1901 Say something like this in ~/.gnus.el: |
2122 a group where total or auto expire is active, set either | |
2123 tick (hit @samp{u}) or dormant mark (hit | |
2124 @samp{u}), when you use auto-expire, you | |
2125 can also set the read mark (hit | |
2126 @samp{d}). | |
2127 | |
2128 @ifnottex | |
2129 @node [6.6], , [6.5], FAQ 6 - Old messages | |
2130 @end ifnottex | |
2131 @subsubheading Question 6.6: | |
2132 | |
2133 I don't want expiration to delete my mails but to move them | |
2134 to another group. | |
2135 | |
2136 | |
2137 Answer: | |
2138 | |
2139 Say something like this in ~/.gnus: | |
2140 | |
2141 | 1902 |
2142 @example | 1903 @example |
2143 (setq nnmail-expiry-target "nnml:expired") | 1904 (setq nnmail-expiry-target "nnml:expired") |
2144 @end example | 1905 @end example |
2145 | 1906 @noindent |
2146 @noindent | 1907 |
2147 (If you want to change the value of nnmail-expiry-target | 1908 (If you want to change the value of nnmail-expiry-target |
2148 on a per group basis see the question "How can I disable | 1909 on a per group basis see the question "How can I disable |
2149 threading in some (e.g. mail-) groups, or set other | 1910 threading in some (e.g. mail-) groups, or set other |
2150 variables specific for some groups?") | 1911 variables specific for some groups?") |
2151 | 1912 |
2152 | 1913 @node FAQ 7 - Gnus in a dial-up environment |
2153 @ifnottex | |
2154 @node FAQ 7 - Gnus in a dial-up environment, FAQ 8 - Getting help, FAQ 6 - Old messages, Frequently Asked Questions | |
2155 @end ifnottex | |
2156 @subsection Gnus in a dial-up environment | 1914 @subsection Gnus in a dial-up environment |
2157 | 1915 |
2158 @menu | 1916 @menu |
2159 * [7.1]:: I don't have a permanent connection to the net, how can I | 1917 * [7.1]:: I don't have a permanent connection to the net, how can I |
2160 minimize the time I've got to be connected? | 1918 minimize the time I've got to be connected? |
2161 * [7.2]:: So what was this thing about the Agent? | 1919 * [7.2]:: So what was this thing about the Agent? |
2162 * [7.3]:: I want to store article bodies on disk, too. How to do it? | 1920 * [7.3]:: I want to store article bodies on disk, too. How to do it? |
2163 * [7.4]:: How to tell Gnus not to try to send mails / postings while | 1921 * [7.4]:: How to tell Gnus not to try to send mails / postings while |
2164 I'm offline? | 1922 I'm offline? |
2165 @end menu | 1923 @end menu |
2166 | 1924 |
2167 | 1925 @node [7.1] |
2168 @ifnottex | 1926 @subsubheading Question 7.1 |
2169 @node [7.1], [7.2], FAQ 7 - Gnus in a dial-up environment, FAQ 7 - Gnus in a dial-up environment | 1927 |
2170 @end ifnottex | 1928 I don't have a permanent connection to the net, how can |
2171 @subsubheading Question 7.1: | 1929 I minimize the time I've got to be connected? |
2172 | 1930 |
2173 I don't have a permanent connection to the net, how can | 1931 @subsubheading Answer |
2174 I minimize the time I've got to be connected? | 1932 |
2175 | 1933 You've got basically two options: Either you use the |
2176 | 1934 Gnus Agent (see below) for this, or you can install |
2177 Answer: | 1935 programs which fetch your news and mail to your local |
2178 | 1936 disk and Gnus reads the stuff from your local |
2179 You've got basically two options: Either you use the | 1937 machine. |
2180 Gnus Agent (see below) for this, or you can install | 1938 |
2181 programs which fetch your news and mail to your local | 1939 If you want to follow the second approach, you need a |
2182 disk and Gnus reads the stuff from your local | 1940 program which fetches news and offers them to Gnus, a |
2183 machine. | 1941 program which does the same for mail and a program which |
2184 | 1942 receives the mail you write from Gnus and sends them |
2185 | 1943 when you're online. |
2186 If you want to follow the second approach, you need a | 1944 |
2187 program which fetches news and offers them to Gnus, a | 1945 Let's talk about Unix systems first: For the news part, |
2188 program which does the same for mail and a program which | 1946 the easiest solution is a small nntp server like |
2189 receives the mail you write from Gnus and sends them | 1947 @uref{http://www.leafnode.org/, Leafnode} or |
2190 when you're online. | 1948 @uref{http://infa.abo.fi/~patrik/sn/, sn}, |
2191 | 1949 of course you can also install a full featured news |
2192 | 1950 server like |
2193 Let's talk about Unix systems first: For the news part, the easiest | 1951 @uref{http://www.isc.org/products/INN/, inn}. |
2194 solution is a small nntp server like | 1952 Then you want to fetch your Mail, popular choices |
2195 @uref{http://www.leafnode.org/,Leafnode} or | 1953 are @uref{http://www.catb.org/~esr/fetchmail/, fetchmail} |
2196 @uref{http://infa.abo.fi/~patrik/sn/,sn}, of course you can also | 1954 and @uref{http://www.qcc.ca/~charlesc/software/getmail-3.0/, getmail}. |
2197 install a full featured news server like | 1955 You should tell those to write the mail to your disk and |
2198 @uref{http://www.isc.org/products/INN/,inn}. | 1956 Gnus to read it from there. Last but not least the mail |
2199 | 1957 sending part: This can be done with every MTA like |
2200 Then you want to fetch your Mail, popular choices are | 1958 @uref{http://www.sendmail.org/, sendmail}, |
2201 @itemize @bullet | 1959 @uref{http://www.qmail.org/, postfix}, |
2202 @item | 1960 @uref{http://www.exim.org/, exim} or |
2203 @uref{http://www.catb.org/~esr/fetchmail/,fetchmail} and | 1961 @uref{http://www.qmail.org/, qmail}. |
2204 @item | 1962 |
2205 @uref{http://www.qcc.ca/~charlesc/software/getmail-3.0/,getmail}. | 1963 On windows boxes I'd vote for |
2206 @end itemize | 1964 @uref{http://www.tglsoft.de/, Hamster}, |
2207 You should tell those to write the mail to your disk and Gnus to read | 1965 it's a small freeware, open-source program which fetches |
2208 it from there. Last but not least the mail sending part: This can be | 1966 your mail and news from remote servers and offers them |
2209 done with every MTA like @uref{http://www.sendmail.org/,sendmail}, | 1967 to Gnus (or any other mail and/or news reader) via nntp |
2210 @uref{http://www.qmail.org/,postfix}, @uref{http://www.exim.org/,exim} | 1968 respectively POP3 or IMAP. It also includes a smtp |
2211 or @uref{http://www.qmail.org/,qmail}. | 1969 server for receiving mails from Gnus. |
2212 | 1970 |
2213 | 1971 @node [7.2] |
2214 On windows boxes I'd vote for | 1972 @subsubheading Question 7.2 |
2215 @uref{http://www.tglsoft.de/,Hamster}, | 1973 |
2216 it's a small freeware, open-source program which fetches | 1974 So what was this thing about the Agent? |
2217 your mail and news from remote servers and offers them | 1975 |
2218 to Gnus (or any other mail and/or news reader) via nntp | 1976 @subsubheading Answer |
2219 respectively POP3 or IMAP. It also includes a smtp | 1977 |
2220 server for receiving mails from Gnus. | 1978 The Gnus agent is part of Gnus, it allows you to fetch |
2221 | 1979 mail and news and store them on disk for reading them |
2222 @ifnottex | 1980 later when you're offline. It kind of mimics offline |
2223 @node [7.2], [7.3], [7.1], FAQ 7 - Gnus in a dial-up environment | 1981 newsreaders like e.g. Forte Agent. If you want to use |
2224 @end ifnottex | 1982 the Agent place the following in ~/.gnus.el if you are |
2225 @subsubheading Question 7.2: | 1983 still using 5.8.8 or 5.9 (it's the default since 5.10): |
2226 | |
2227 So what was this thing about the Agent? | |
2228 | |
2229 | |
2230 Answer: | |
2231 | |
2232 The Gnus agent is part of Gnus, it allows you to fetch | |
2233 mail and news and store them on disk for reading them | |
2234 later when you're offline. It kind of mimics offline | |
2235 newsreaders like e.g. Forte Agent. If you want to use | |
2236 the Agent place the following in ~/.gnus if you are | |
2237 still using 5.8.8 or 5.9 (it's the default since 5.10): | |
2238 | |
2239 | 1984 |
2240 @example | 1985 @example |
2241 (setq gnus-agent t) | 1986 (setq gnus-agent t) |
2242 @end example | 1987 @end example |
2243 | 1988 @noindent |
2244 | 1989 |
2245 Now you've got to select the servers whose groups can be | 1990 Now you've got to select the servers whose groups can be |
2246 stored locally. To do this, open the server buffer | 1991 stored locally. To do this, open the server buffer |
2247 (that is press @samp{^} while in the | 1992 (that is press @samp{^} while in the |
2248 group buffer). Now select a server by moving point to | 1993 group buffer). Now select a server by moving point to |
2249 the line naming that server. Finally, agentize the | 1994 the line naming that server. Finally, agentize the |
2250 server by typing @samp{J a}. If you | 1995 server by typing @samp{J a}. If you |
2251 make a mistake, or change your mind, you can undo this | 1996 make a mistake, or change your mind, you can undo this |
2252 action by typing @samp{J r}. When | 1997 action by typing @samp{J r}. When |
2253 you're done, type 'q' to return to the group buffer. | 1998 you're done, type 'q' to return to the group buffer. |
2254 Now the next time you enter a group on a agentized | 1999 Now the next time you enter a group on a agentized |
2255 server, the headers will be stored on disk and read from | 2000 server, the headers will be stored on disk and read from |
2256 there the next time you enter the group. | 2001 there the next time you enter the group. |
2257 | 2002 |
2258 @ifnottex | 2003 @node [7.3] |
2259 @node [7.3], [7.4], [7.2], FAQ 7 - Gnus in a dial-up environment | 2004 @subsubheading Question 7.3 |
2260 @end ifnottex | 2005 |
2261 @subsubheading Question 7.3: | 2006 I want to store article bodies on disk, too. How to do it? |
2262 | 2007 |
2263 I want to store article bodies on disk, too. How to do it? | 2008 @subsubheading Answer |
2264 | 2009 |
2265 | 2010 You can tell the agent to automatically fetch the bodies |
2266 Answer: | 2011 of articles which fulfill certain predicates, this is |
2267 | 2012 done in a special buffer which can be reached by |
2268 You can tell the agent to automatically fetch the bodies | 2013 saying @samp{J c} in group |
2269 of articles which fulfill certain predicates, this is | 2014 buffer. Please refer to the documentation for |
2270 done in a special buffer which can be reached by | 2015 information which predicates are possible and how |
2271 saying @samp{J c} in group | 2016 exactly to do it. |
2272 buffer. Please refer to the documentation for | 2017 |
2273 information which predicates are possible and how | 2018 Further on you can tell the agent manually which |
2274 exactly to do it. | 2019 articles to store on disk. There are two ways to do |
2275 | 2020 this: Number one: In the summary buffer, process mark a |
2276 | 2021 set of articles that shall be stored in the agent by |
2277 Further on you can tell the agent manually which | 2022 saying @samp{#} with point over the |
2278 articles to store on disk. There are two ways to do | 2023 article and then type @samp{J s}. The |
2279 this: Number one: In the summary buffer, process mark a | 2024 other possibility is to set, again in the summary |
2280 set of articles that shall be stored in the agent by | 2025 buffer, downloadable (%) marks for the articles you |
2281 saying @samp{#} with point over the | 2026 want by typing @samp{@@} with point over |
2282 article and then type @samp{J s}. The | 2027 the article and then typing @samp{J u}. |
2283 other possibility is to set, again in the summary | 2028 What's the difference? Well, process marks are erased as |
2284 buffer, downloadable (%) marks for the articles you | 2029 soon as you exit the summary buffer while downloadable |
2285 want by typing @samp{@@} with point over | 2030 marks are permanent. You can actually set downloadable |
2286 the article and then typing @samp{J u}. | 2031 marks in several groups then use fetch session ('J s' in |
2287 What's the difference? Well, process marks are erased as | 2032 the GROUP buffer) to fetch all of those articles. The |
2288 soon as you exit the summary buffer while downloadable | 2033 only downside is that fetch session also fetches all of |
2289 marks are permanent. You can actually set downloadable | 2034 the headers for every selected group on an agentized |
2290 marks in several groups then use fetch session ('J s' in | 2035 server. Depending on the volume of headers, the initial |
2291 the GROUP buffer) to fetch all of those articles. The | 2036 fetch session could take hours. |
2292 only downside is that fetch session also fetches all of | 2037 |
2293 the headers for every selected group on an agentized | 2038 @node [7.4] |
2294 server. Depending on the volume of headers, the initial | 2039 @subsubheading Question 7.4 |
2295 fetch session could take hours. | 2040 |
2296 | 2041 How to tell Gnus not to try to send mails / postings |
2297 @ifnottex | 2042 while I'm offline? |
2298 @node [7.4], , [7.3], FAQ 7 - Gnus in a dial-up environment | 2043 |
2299 @end ifnottex | 2044 @subsubheading Answer |
2300 @subsubheading Question 7.4: | 2045 |
2301 | 2046 All you've got to do is to tell Gnus when you are online |
2302 How to tell Gnus not to try to send mails / postings | 2047 (plugged) and when you are offline (unplugged), the rest |
2303 while I'm offline? | 2048 works automatically. You can toggle plugged/unplugged |
2304 | 2049 state by saying @samp{J j} in group |
2305 | 2050 buffer. To start Gnus unplugged say @samp{M-x |
2306 Answer: | 2051 gnus-unplugged} instead of |
2307 | 2052 @samp{M-x gnus}. Note that for this to |
2308 All you've got to do is to tell Gnus when you are online | 2053 work, the agent must be active. |
2309 (plugged) and when you are offline (unplugged), the rest | 2054 |
2310 works automatically. You can toggle plugged/unplugged | 2055 @node FAQ 8 - Getting help |
2311 state by saying @samp{J j} in group | |
2312 buffer. To start Gnus unplugged say @samp{M-x | |
2313 gnus-unplugged} instead of | |
2314 @samp{M-x gnus}. Note that for this to | |
2315 work, the agent must be active. | |
2316 | |
2317 | |
2318 @ifnottex | |
2319 @node FAQ 8 - Getting help, FAQ 9 - Tuning Gnus, FAQ 7 - Gnus in a dial-up environment, Frequently Asked Questions | |
2320 @end ifnottex | |
2321 @subsection Getting help | 2056 @subsection Getting help |
2322 | 2057 |
2323 @menu | 2058 @menu |
2324 * [8.1]:: How to find information and help inside Emacs? | 2059 * [8.1]:: How to find information and help inside Emacs? |
2325 * [8.2]:: I can't find anything in the Gnus manual about X | 2060 * [8.2]:: I can't find anything in the Gnus manual about X (e.g. |
2326 (e.g. attachments, PGP, MIME...), is it not documented? | 2061 attachments, PGP, MIME...), is it not documented? |
2327 * [8.3]:: Which websites should I know? | 2062 * [8.3]:: Which websites should I know? |
2328 * [8.4]:: Which mailing lists and newsgroups are there? | 2063 * [8.4]:: Which mailing lists and newsgroups are there? |
2329 * [8.5]:: Where to report bugs? | 2064 * [8.5]:: Where to report bugs? |
2330 * [8.6]:: I need real-time help, where to find it? | 2065 * [8.6]:: I need real-time help, where to find it? |
2331 @end menu | 2066 @end menu |
2332 | 2067 |
2333 @ifnottex | 2068 @node [8.1] |
2334 @node [8.1], [8.2], FAQ 8 - Getting help, FAQ 8 - Getting help | 2069 @subsubheading Question 8.1 |
2335 @end ifnottex | 2070 |
2336 @subsubheading Question 8.1: | 2071 How to find information and help inside Emacs? |
2337 | 2072 |
2338 How to find information and help inside Emacs? | 2073 @subsubheading Answer |
2339 | 2074 |
2340 | 2075 The first stop should be the Gnus manual (Say |
2341 Answer: | 2076 @samp{C-h i d m Gnus RET} to start the |
2342 | 2077 Gnus manual, then walk through the menus or do a |
2343 The first stop should be the Gnus manual (Say | 2078 full-text search with @samp{s}). Then |
2344 @samp{C-h i d m Gnus RET} to start the | 2079 there are the general Emacs help commands starting with |
2345 Gnus manual, then walk through the menus or do a | 2080 C-h, type @samp{C-h ? ?} to get a list |
2346 full-text search with @samp{s}). Then | 2081 of all available help commands and their meaning. Finally |
2347 there are the general Emacs help commands starting with | 2082 @samp{M-x apropos-command} lets you |
2348 C-h, type @samp{C-h ? ?} to get a list | 2083 search through all available functions and @samp{M-x |
2349 of all available help commands and their meaning. Finally | 2084 apropos} searches the bound variables. |
2350 @samp{M-x apropos-command} lets you | 2085 |
2351 search through all available functions and @samp{M-x | 2086 @node [8.2] |
2352 apropos} searches the bound variables. | 2087 @subsubheading Question 8.2 |
2353 | 2088 |
2354 @ifnottex | 2089 I can't find anything in the Gnus manual about X |
2355 @node [8.2], [8.3], [8.1], FAQ 8 - Getting help | 2090 (e.g. attachments, PGP, MIME...), is it not documented? |
2356 @end ifnottex | 2091 |
2357 @subsubheading Question 8.2: | 2092 @subsubheading Answer |
2358 | 2093 |
2359 I can't find anything in the Gnus manual about X | 2094 There's not only the Gnus manual but also the manuals |
2360 (e.g. attachments, PGP, MIME...), is it not documented? | 2095 for message, emacs-mime, sieve and pgg. Those packages |
2361 | 2096 are distributed with Gnus and used by Gnus but aren't |
2362 | 2097 really part of core Gnus, so they are documented in |
2363 Answer: | 2098 different info files, you should have a look in those |
2364 | 2099 manuals, too. |
2365 There's not only the Gnus manual but also the manuals | 2100 |
2366 for message, emacs-mime, sieve and pgg. Those packages | 2101 @node [8.3] |
2367 are distributed with Gnus and used by Gnus but aren't | 2102 @subsubheading Question 8.3 |
2368 really part of core Gnus, so they are documented in | 2103 |
2369 different info files, you should have a look in those | 2104 Which websites should I know? |
2370 manuals, too. | 2105 |
2371 | 2106 @subsubheading Answer |
2372 @ifnottex | 2107 |
2373 @node [8.3], [8.4], [8.2], FAQ 8 - Getting help | 2108 The two most important ones are the |
2374 @end ifnottex | 2109 @uref{http://www.gnus.org, official Gnus website}. |
2375 @subsubheading Question 8.3: | 2110 and it's sister site |
2376 | 2111 @uref{http://my.gnus.org, my.gnus.org (MGO)}, |
2377 Which websites should I know? | 2112 hosting an archive of lisp snippets, howtos, a (not |
2378 | 2113 really finished) tutorial and this FAQ. |
2379 | 2114 |
2380 Answer: | 2115 Tell me about other sites which are interesting. |
2381 | 2116 |
2382 The two most important ones are the | 2117 @node [8.4] |
2383 @uref{http://www.gnus.org,official Gnus website}. | 2118 @subsubheading Question 8.4 |
2384 and it's sister site | 2119 |
2385 @uref{http://my.gnus.org,my.gnus.org (MGO)}, | 2120 Which mailing lists and newsgroups are there? |
2386 hosting an archive of lisp snippets, howtos, a (not | 2121 |
2387 really finished) tutorial and this FAQ. | 2122 @subsubheading Answer |
2388 | 2123 |
2389 | 2124 There's the newsgroup gnu.emacs.gnus (pull it from |
2390 Tell me about other sites which are interesting. | 2125 e.g. news.gnus.org) which deals with general questions and the |
2391 | 2126 ding mailing list (ding@@gnus.org) dealing with development of |
2392 @ifnottex | 2127 Gnus. You can read the ding list via NNTP, too under the name |
2393 @node [8.4], [8.5], [8.3], FAQ 8 - Getting help | 2128 gmane.emacs.gnus.general from news.gmane.org. |
2394 @end ifnottex | 2129 |
2395 @subsubheading Question 8.4: | 2130 If you want to stay in the big8, |
2396 | 2131 news.software.newssreaders is also read by some Gnus |
2397 Which mailing lists and newsgroups are there? | 2132 users (but chances for qualified help are much better in |
2398 | 2133 the above groups) and if you speak German, there's |
2399 | 2134 de.comm.software.gnus. |
2400 Answer: | 2135 |
2401 | 2136 @node [8.5] |
2402 There's the newsgroup gnu.emacs.gnus (pull it from | 2137 @subsubheading Question 8.5 |
2403 e.g. news.gnus.org) which deals with general questions | 2138 |
2404 and the ding mailing list (ding@@gnus.org) dealing with | 2139 Where to report bugs? |
2405 development of Gnus. You can read the ding list via | 2140 |
2406 NNTP, too under the name gnus.ding from news.gnus.org. | 2141 @subsubheading Answer |
2407 | 2142 |
2408 | 2143 Say @samp{M-x gnus-bug}, this will start |
2409 If you want to stay in the big8, | 2144 a message to the |
2410 news.software.newssreaders is also read by some Gnus | 2145 @email{bugs@@gnus.org, gnus bug mailing list} |
2411 users (but chances for qualified help are much better in | 2146 including information about your environment which make |
2412 the above groups) and if you speak German, there's | 2147 it easier to help you. |
2413 de.comm.software.gnus. | 2148 |
2414 | 2149 @node [8.6] |
2415 @ifnottex | 2150 @subsubheading Question 8.6 |
2416 @node [8.5], [8.6], [8.4], FAQ 8 - Getting help | 2151 |
2417 @end ifnottex | 2152 I need real-time help, where to find it? |
2418 @subsubheading Question 8.5: | 2153 |
2419 | 2154 @subsubheading Answer |
2420 Where to report bugs? | 2155 |
2421 | 2156 Point your IRC client to irc.my.gnus.org channel |
2422 | 2157 #mygnus. Don't be afraid if people there speak German, |
2423 Answer: | 2158 they are willing and capable of switching to |
2424 | 2159 English when people from outside Germany enter. |
2425 Say @samp{M-x gnus-bug}, this will start a message to the | 2160 |
2426 @email{bugs@@gnus.org,gnus bug mailing list} including information | 2161 @node FAQ 9 - Tuning Gnus |
2427 about your environment which make it easier to help you. | |
2428 | |
2429 @ifnottex | |
2430 @node [8.6], , [8.5], FAQ 8 - Getting help | |
2431 @end ifnottex | |
2432 @subsubheading Question 8.6: | |
2433 | |
2434 I need real-time help, where to find it? | |
2435 | |
2436 | |
2437 Answer: | |
2438 | |
2439 Point your IRC client to irc.my.gnus.org channel | |
2440 #mygnus. Don't be afraid if people there speak German, | |
2441 they are willing and capable of switching to | |
2442 English when people from outside Germany enter. | |
2443 | |
2444 | |
2445 @ifnottex | |
2446 @node FAQ 9 - Tuning Gnus, FAQ - Glossary, FAQ 8 - Getting help, Frequently Asked Questions | |
2447 @end ifnottex | |
2448 @subsection Tuning Gnus | 2162 @subsection Tuning Gnus |
2449 | 2163 |
2450 @menu | 2164 @menu |
2451 * [9.1]:: Starting Gnus is really slow, how to speed it up? | 2165 * [9.1]:: Starting Gnus is really slow, how to speed it up? |
2452 * [9.2]:: How to speed up the process of entering a group? | 2166 * [9.2]:: How to speed up the process of entering a group? |
2453 * [9.3]:: Sending mail becomes slower and slower, what's up? | 2167 * [9.3]:: Sending mail becomes slower and slower, what's up? |
2454 @end menu | 2168 @end menu |
2455 | 2169 |
2456 @ifnottex | 2170 @node [9.1] |
2457 @node [9.1], [9.2], FAQ 9 - Tuning Gnus, FAQ 9 - Tuning Gnus | 2171 @subsubheading Question 9.1 |
2458 @end ifnottex | 2172 |
2459 @subsubheading Question 9.1: | 2173 Starting Gnus is really slow, how to speed it up? |
2460 | 2174 |
2461 Starting Gnus is really slow, how to speed it up? | 2175 @subsubheading Answer |
2462 | 2176 |
2463 | 2177 The reason for this could be the way Gnus reads it's |
2464 Answer: | 2178 active file, see the node "The Active File" in the Gnus |
2465 | 2179 manual for things you might try to speed the process up. |
2466 The reason for this could be the way Gnus reads it's | 2180 An other idea would be to byte compile your ~/.gnus.el (say |
2467 active file, see the node "The Active File" in the Gnus | 2181 @samp{M-x byte-compile-file RET ~/.gnus.el |
2468 manual for things you might try to speed the process up. | 2182 RET} to do it). Finally, if you have require |
2469 An other idea would be to byte compile your ~/.gnus (say | 2183 statements in your .gnus, you could replace them with |
2470 @samp{M-x byte-compile-file RET ~/.gnus | 2184 eval-after-load, which loads the stuff not at startup |
2471 RET} to do it). Finally, if you have require | 2185 time, but when it's needed. Say you've got this in your |
2472 statements in your .gnus, you could replace them with | 2186 ~/.gnus.el: |
2473 eval-after-load, which loads the stuff not at startup | |
2474 time, but when it's needed. Say you've got this in your | |
2475 ~/.gnus: | |
2476 | |
2477 | 2187 |
2478 @example | 2188 @example |
2479 (require 'message) | 2189 (require 'message) |
2480 (add-to-list 'message-syntax-checks '(sender . disabled)) | 2190 (add-to-list 'message-syntax-checks '(sender . disabled)) |
2481 @end example | 2191 @end example |
2482 | 2192 @noindent |
2483 @noindent | 2193 |
2484 then as soon as you start Gnus, message.el is loaded. If | 2194 then as soon as you start Gnus, message.el is loaded. If |
2485 you replace it with | 2195 you replace it with |
2486 | |
2487 | 2196 |
2488 @example | 2197 @example |
2489 (eval-after-load "message" | 2198 (eval-after-load "message" |
2490 '(add-to-list 'message-syntax-checks '(sender . disabled))) | 2199 '(add-to-list 'message-syntax-checks '(sender . disabled))) |
2491 @end example | 2200 @end example |
2492 | 2201 @noindent |
2493 @noindent | 2202 |
2494 it's loaded when it's needed. | 2203 it's loaded when it's needed. |
2204 | |
2205 @node [9.2] | |
2206 @subsubheading Question 9.2 | |
2207 | |
2208 How to speed up the process of entering a group? | |
2209 | |
2210 @subsubheading Answer | |
2211 | |
2212 A speed killer is setting the variable | |
2213 gnus-fetch-old-headers to anything different from nil, | |
2214 so don't do this if speed is an issue. To speed up | |
2215 building of summary say | |
2216 | |
2217 @example | |
2218 (gnus-compile) | |
2219 @end example | |
2220 @noindent | |
2221 | |
2222 at the bottom of your ~/.gnus.el, this will make gnus | |
2223 byte-compile things like | |
2224 gnus-summary-line-format. | |
2225 then you could increase the value of gc-cons-threshold | |
2226 by saying something like | |
2227 | |
2228 @example | |
2229 (setq gc-cons-threshold 3500000) | |
2230 @end example | |
2231 @noindent | |
2232 | |
2233 in ~/.emacs. If you don't care about width of CJK | |
2234 characters or use Gnus 5.10 or younger together with a | |
2235 recent GNU Emacs, you should say | |
2236 | |
2237 @example | |
2238 (setq gnus-use-correct-string-widths nil) | |
2239 @end example | |
2240 @noindent | |
2495 | 2241 |
2496 @ifnottex | 2242 in ~/.gnus.el (thanks to Jesper harder for the last |
2497 @node [9.2], [9.3], [9.1], FAQ 9 - Tuning Gnus | 2243 two suggestions). Finally if you are still using 5.8.8 |
2498 @end ifnottex | 2244 or 5.9 and experience speed problems with summary |
2499 @subsubheading Question 9.2: | 2245 buffer generation, you definitely should update to |
2500 | 2246 5.10 since there quite some work on improving it has |
2501 How to speed up the process of entering a group? | 2247 been done. |
2502 | 2248 |
2503 | 2249 @node [9.3] |
2504 Answer: | 2250 @subsubheading Question 9.3 |
2505 | 2251 |
2506 A speed killer is setting the variable | 2252 Sending mail becomes slower and slower, what's up? |
2507 gnus-fetch-old-headers to anything different from nil, | 2253 |
2508 so don't do this if speed is an issue. To speed up | 2254 @subsubheading Answer |
2509 building of summary say | 2255 |
2510 | 2256 The reason could be that you told Gnus to archive the |
2511 | 2257 messages you wrote by setting |
2512 @example | 2258 gnus-message-archive-group. Try to use a nnml group |
2513 (gnus-compile) | 2259 instead of an archive group, this should bring you back |
2514 @end example | 2260 to normal speed. |
2515 | 2261 |
2516 @noindent | 2262 @node FAQ - Glossary |
2517 at the bottom of your ~/.gnus, this will make gnus | |
2518 byte-compile things like | |
2519 gnus-summary-line-format. | |
2520 then you could increase the value of gc-cons-threshold | |
2521 by saying something like | |
2522 | |
2523 | |
2524 @example | |
2525 (setq gc-cons-threshold 3500000) | |
2526 @end example | |
2527 | |
2528 @noindent | |
2529 in ~/.emacs. If you don't care about width of CJK | |
2530 characters or use Gnus 5.10 or younger together with a | |
2531 recent GNU Emacs, you should say | |
2532 | |
2533 | |
2534 @example | |
2535 (setq gnus-use-correct-string-widths nil) | |
2536 @end example | |
2537 | |
2538 | |
2539 @noindent | |
2540 in ~/.gnus (thanks to Jesper harder for the last | |
2541 two suggestions). Finally if you are still using 5.8.8 | |
2542 or 5.9 and experience speed problems with summary | |
2543 buffer generation, you definitely should update to | |
2544 5.10 since there quite some work on improving it has | |
2545 been done. | |
2546 | |
2547 @ifnottex | |
2548 @node [9.3], , [9.2], FAQ 9 - Tuning Gnus | |
2549 @end ifnottex | |
2550 @subsubheading Question 9.3: | |
2551 | |
2552 Sending mail becomes slower and slower, what's up? | |
2553 | |
2554 | |
2555 Answer: | |
2556 | |
2557 The reason could be that you told Gnus to archive the | |
2558 messages you wrote by setting | |
2559 gnus-message-archive-group. Try to use a nnml group | |
2560 instead of an archive group, this should bring you back | |
2561 to normal speed. | |
2562 | |
2563 | |
2564 @ifnottex | |
2565 @node FAQ - Glossary, , FAQ 9 - Tuning Gnus, Frequently Asked Questions | |
2566 @end ifnottex | |
2567 @subsection Glossary | 2263 @subsection Glossary |
2568 | 2264 |
2569 @table @dfn | 2265 @table @dfn |
2570 | 2266 |
2571 @item ~/.gnus | 2267 @item ~/.gnus.el |
2572 When the term ~/.gnus is used it just means your Gnus | 2268 When the term ~/.gnus.el is used it just means your Gnus |
2573 configuration file. You might as well call it ~/.gnus.el or | 2269 configuration file. You might as well call it ~/.gnus or |
2574 specify another name. | 2270 specify another name. |
2575 | |
2576 | 2271 |
2577 @item Back End | 2272 @item Back End |
2578 In Gnus terminology a back end is a virtual server, a layer | 2273 In Gnus terminology a back end is a virtual server, a layer |
2579 between core Gnus and the real NNTP-, POP3-, IMAP- or | 2274 between core Gnus and the real NNTP-, POP3-, IMAP- or |
2580 whatever-server which offers Gnus a standardized interface | 2275 whatever-server which offers Gnus a standardized interface |
2581 to functions like "get message", "get Headers" etc. | 2276 to functions like "get message", "get Headers" etc. |
2582 | |
2583 | 2277 |
2584 @item Emacs | 2278 @item Emacs |
2585 When the term Emacs is used in this FAQ, it means either GNU | 2279 When the term Emacs is used in this FAQ, it means either GNU |
2586 Emacs or XEmacs. | 2280 Emacs or XEmacs. |
2587 | |
2588 | 2281 |
2589 @item Message | 2282 @item Message |
2590 In this FAQ message means a either a mail or a posting to a | 2283 In this FAQ message means a either a mail or a posting to a |
2591 Usenet Newsgroup or to some other fancy back end, no matter | 2284 Usenet Newsgroup or to some other fancy back end, no matter |
2592 of which kind it is. | 2285 of which kind it is. |
2593 | |
2594 | 2286 |
2595 @item MUA | 2287 @item MUA |
2596 MUA is an acronym for Mail User Agent, it's the program you | 2288 MUA is an acronym for Mail User Agent, it's the program you |
2597 use to read and write e-mails. | 2289 use to read and write e-mails. |
2598 | |
2599 | 2290 |
2600 @item NUA | 2291 @item NUA |
2601 NUA is an acronym for News User Agent, it's the program you | 2292 NUA is an acronym for News User Agent, it's the program you |
2602 use to read and write Usenet news. | 2293 use to read and write Usenet news. |
2603 | 2294 |
2604 @end table | 2295 @end table |
2605 | 2296 |
2606 @c @bye | |
2607 | |
2608 @ignore | 2297 @ignore |
2609 arch-tag: 64dc5692-edb4-4848-a965-7aa0181acbb8 | 2298 arch-tag: 64dc5692-edb4-4848-a965-7aa0181acbb8 |
2610 @end ignore | 2299 @end ignore |