7fa00c37403f6213c13e93f7c20f12c3070190d1
[gnus] / texi / gnus-faq.texi
1 @c \input texinfo @c -*-texinfo-*-
2 @c Uncomment 1st line before texing this file alone.
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
9 @setfilename gnus-faq.info
10 @settitle Frequently Asked Questions
11 @c %**end of header
12 @c
13
14 @node Frequently Asked Questions
15 @section Frequently Asked Questions
16
17 @menu
18 * FAQ - Changes::                           
19 * FAQ - Introduction::                       About Gnus and this FAQ.
20 * FAQ 1 - Installation FAQ::                 Installation of Gnus.
21 * FAQ 2 - Startup / Group buffer::           Start up questions and the
22                                              first buffer Gnus shows you.
23 * FAQ 3 - Getting Messages::                 Making Gnus read your mail
24                                              and news.
25 * FAQ 4 - Reading messages::                 How to efficiently read
26                                              messages.
27 * FAQ 5 - Composing messages::               Composing mails or Usenet
28                                              postings.
29 * FAQ 6 - Old messages::                     Importing, archiving,
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.
37 @end menu
38
39 @subheading Abstract
40
41 This is the new Gnus Frequently Asked Questions list.
42 If you have a Web browser, the official hypertext version is at
43 @uref{http://my.gnus.org/FAQ/},
44 the Docbook source is available from
45 @uref{http://sourceforge.net/projects/gnus/, http://sourceforge.net}.
46
47 Please submit features and suggestions to the 
48 @email{faq-discuss@@my.gnus.org, FAQ discussion list}.
49 The list is protected against junk mail with
50 @uref{http://smarden.org/qconfirm/index.html, qconfirm}. As
51 a subscriber, your submissions will automatically pass.  You can
52 also subscribe to the list by sending a blank email to
53 @email{faq-discuss-subscribe@@my.gnus.org, faq-discuss-subscribe@@my.gnus.org}
54 and @uref{http://mail1.kens.com/cgi-bin/ezmlm-browse?command=monthbythread%26list=faq-discuss, browse
55 the archive (BROKEN)}.
56
57 @node FAQ - Changes
58 @subheading Changes
59
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
71
72 This is the Gnus Frequently Asked Questions list.
73
74 Gnus is a Usenet Newsreader and Electronic Mail User Agent implemented
75 as a part of Emacs. It's been around in some form for almost a decade
76 now, and has been distributed as a standard part of Emacs for much of
77 that time. Gnus 5 is the latest (and greatest) incarnation. The
78 original version was called GNUS, and was written by Masanobu UMEDA.
79 When autumn crept up in '94, Lars Magne Ingebrigtsen grew bored and
80 decided to rewrite Gnus.
81
82 Its biggest strength is the fact that it is extremely
83 customizable. It is somewhat intimidating at first glance, but
84 most of the complexity can be ignored until you're ready to take
85 advantage of it. If you receive a reasonable volume of e-mail
86 (you're on various mailing lists), or you would like to read
87 high-volume mailing lists but cannot keep up with them, or read
88 high volume newsgroups or are just bored, then Gnus is what you
89 want.
90
91 This FAQ was maintained by Justin Sheehy until March 2002. He
92 would like to thank Steve Baur and Per Abrahamsen for doing a wonderful
93 job with this FAQ before him. We would like to do the same - thanks,
94 Justin!
95
96 If you have a Web browser, the official hypertext version is at:
97 @uref{http://my.gnus.org/FAQ/}.
98 This version is much nicer than the unofficial hypertext
99 versions that are archived at Utrecht, Oxford, Smart Pages, Ohio
100 State, and other FAQ archives. See the resources question below
101 if you want information on obtaining it in another format.
102
103 The information contained here was compiled with the assistance
104 of the Gnus development mailing list, and any errors or
105 misprints are the my.gnus.org team's fault, sorry.
106
107 @node FAQ 1 - Installation FAQ
108 @subsection Installation FAQ
109
110 @menu
111 * [1.1]::    What is the latest version of Gnus?
112 * [1.2]::    What's new in 5.10?
113 * [1.3]::    Where and how to get Gnus?
114 * [1.4]::    What to do with the tarball now?
115 * [1.5]::    I sometimes read references to No Gnus and Oort Gnus, what
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?
119 @end menu
120
121 @node [1.1]
122 @subsubheading Question 1.1
123
124 What is the latest version of Gnus?
125
126 @subsubheading Answer
127
128 Jingle please: Gnus 5.10 is released, get it while it's
129 hot! As well as the step in version number is rather
130 small, Gnus 5.10 has tons of new features which you
131 shouldn't miss. The current release (5.10.6) should be at
132 least as stable as the latest release of the 5.8 series.
133
134 @node [1.2]
135 @subsubheading Question 1.2
136
137 What's new in 5.10?
138
139 @subsubheading Answer
140
141 First of all, you should have a look into the file
142 GNUS-NEWS in the toplevel directory of the Gnus tarball,
143 there the most important changes are listed. Here's a
144 short list of the changes I find especially
145 important/interesting:
146
147 @itemize @bullet
148
149 @item
150 Major rewrite of the Gnus agent, Gnus agent is now
151 active by default.
152
153 @item
154 Many new article washing functions for dealing with
155 ugly formatted articles.
156
157 @item
158 Anti Spam features.
159
160 @item
161 Message-utils now included in Gnus.
162
163 @item
164 New format specifiers for summary lines, e.g. %B for
165 a complex trn-style thread tree.
166 @end itemize
167
168 @node [1.3]
169 @subsubheading Question 1.3
170
171 Where and how to get Gnus?
172
173 @subsubheading Answer
174
175 The latest released version of Gnus isn't included in
176 Emacs 21, therefor you should get the Gnus tarball from
177 @uref{http://www.gnus.org/dist/gnus.tar.gz}
178 or via anonymous FTP from 
179 @uref{ftp://ftp.gnus.org/pub/gnus/gnus.tar.gz}.
180 If you use XEmacs instead of Emacs you can use XEmacs'
181 package system instead.
182
183 @node [1.4]
184 @subsubheading Question 1.4
185
186 What to do with the tarball now?
187
188 @subsubheading Answer
189
190 Untar it via @samp{tar xvzf gnus.tar.gz} and do the common 
191 @samp{./configure; make; make install} circle.
192 (under MS-Windows either get the Cygwin environment from
193 @uref{http://www.cygwin.com}
194 which allows you to do what's described above or unpack the
195 tarball with some packer (e.g. Winace from
196 @uref{http://www.winace.com})
197 and use the batch-file make.bat included in the tarball to install
198 Gnus.) If you don't want to (or aren't allowed to) install Gnus
199 system-wide, you can install it in your home directory and add the
200 following lines to your ~/.xemacs/init.el or ~/.emacs:
201
202 @example
203 (add-to-list 'load-path "/path/to/gnus/lisp")
204 (if (featurep 'xemacs)
205     (add-to-list 'Info-directory-list "/path/to/gnus/texi/")
206   (add-to-list 'Info-default-directory-list "/path/to/gnus/texi/"))
207 @end example
208 @noindent
209
210 Make sure that you don't have any Gnus related stuff
211 before this line, on MS Windows use something like
212 "C:/path/to/lisp" (yes, "/").
213
214 @node [1.5]
215 @subsubheading Question 1.5
216
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
231
232 Which version of Emacs do I need?
233
234 @subsubheading Answer
235
236 Gnus 5.10 requires an Emacs version that is greater than or equal
237 to Emacs 20.7 or XEmacs 21.1.
238 The development versions of Gnus (aka No Gnus) requires Emacs 21
239 or XEmacs 21.4.
240
241 @node [1.7]
242 @subsubheading Question 1.7
243
244 How do I run Gnus on both Emacs and XEmacs?
245
246 @subsubheading Answer
247
248 You can't use the same copy of Gnus in both as the Lisp
249 files are byte-compiled to a format which is different
250 depending on which Emacs did the compilation. Get one copy
251 of Gnus for Emacs and one for XEmacs.
252
253 @node FAQ 2 - Startup / Group buffer
254 @subsection Startup / Group buffer
255
256 @menu
257 * [2.1]::    Every time I start Gnus I get a message "Gnus auto-save
258              file exists. Do you want to read it?", what does this mean and
259              how to prevent it?
260 * [2.2]::    Gnus doesn't remember which groups I'm subscribed to,
261              what's this?
262 * [2.3]::    How to change the format of the lines in Group buffer?
263 * [2.4]::    My group buffer becomes a bit crowded, is there a way to
264              sort my groups into categories so I can easier browse through
265              them?
266 * [2.5]::    How to manually sort the groups in Group buffer? How to
267              sort the groups in a topic?
268 @end menu
269
270 @node [2.1]
271 @subsubheading Question 2.1
272
273 Every time I start Gnus I get a message "Gnus auto-save
274 file exists. Do you want to read it?", what does this mean
275 and how to prevent it?
276
277 @subsubheading Answer
278
279 This message means that the last time you used Gnus, it
280 wasn't properly exited and therefor couldn't write its
281 informations to disk (e.g. which messages you read), you
282 are now asked if you want to restore those informations
283 from the auto-save file.
284
285 To prevent this message make sure you exit Gnus
286 via @samp{q} in group buffer instead of
287 just killing Emacs.
288
289 @node [2.2]
290 @subsubheading Question 2.2
291
292 Gnus doesn't remember which groups I'm subscribed to,
293 what's this?
294
295 @subsubheading Answer
296
297 You get the message described in the q/a pair above while
298 starting Gnus, right? It's an other symptom for the same
299 problem, so read the answer above.
300
301 @node [2.3]
302 @subsubheading Question 2.3
303
304 How to change the format of the lines in Group buffer?
305
306 @subsubheading Answer
307
308 You've got to tweak the value of the variable
309 gnus-group-line-format. See the manual node "Group Line
310 Specification" for information on how to do this. An
311 example for this (guess from whose .gnus :-)):
312
313 @example
314 (setq gnus-group-line-format "%P%M%S[%5t]%5y : %(%g%)\n")
315 @end example
316 @noindent
317
318 @node [2.4]
319 @subsubheading Question 2.4
320
321 My group buffer becomes a bit crowded, is there a way to
322 sort my groups into categories so I can easier browse
323 through them?
324
325 @subsubheading Answer
326
327 Gnus offers the topic mode, it allows you to sort your
328 groups in, well, topics, e.g. all groups dealing with
329 Linux under the topic linux, all dealing with music under
330 the topic music and all dealing with scottish music under
331 the topic scottish which is a subtopic of music.
332
333 To enter topic mode, just hit t while in Group buffer. Now
334 you can use @samp{T n} to create a topic
335 at point and @samp{T m} to move a group to
336 a specific topic. For more commands see the manual or the
337 menu. You might want to include the %P specifier at the
338 beginning of your gnus-group-line-format variable to have
339 the groups nicely indented.
340
341 @node [2.5]
342 @subsubheading Question 2.5
343
344 How to manually sort the groups in Group buffer? How to
345 sort the groups in a topic?
346
347 @subsubheading Answer
348
349 Move point over the group you want to move and
350 hit @samp{C-k}, now move point to the
351 place where you want the group to be and
352 hit @samp{C-y}.
353
354 @node FAQ 3 - Getting Messages
355 @subsection Getting Messages
356
357 @menu
358 * [3.1]::     I just installed Gnus, started it via  @samp{M-x gnus} 
359               but it only says "nntp (news) open error", what to do?
360 * [3.2]::     I'm working under Windows and have no idea what ~/.gnus.el
361               means.
362 * [3.3]::     My news server requires authentication, how to store user
363               name and password on disk?
364 * [3.4]::     Gnus seems to start up OK, but I can't find out how to
365               subscribe to a group.
366 * [3.5]::     Gnus doesn't show all groups / Gnus says I'm not allowed
367               to post on this server as well as I am, what's that?
368 * [3.6]::     I want Gnus to fetch news from several servers, is this
369               possible?
370 * [3.7]::     And how about local spool files?
371 * [3.8]::     OK, reading news works now, but I want to be able to read
372               my mail with Gnus, too. How to do it?
373 * [3.9]::     And what about IMAP?
374 * [3.10]::    At the office we use one of those MS Exchange servers, can
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?
378 @end menu
379
380 @node [3.1]
381 @subsubheading Question 3.1
382
383 I just installed Gnus, started it via 
384 @samp{M-x gnus} 
385 but it only says "nntp (news) open error", what to do?
386
387 @subsubheading Answer
388
389 You've got to tell Gnus where to fetch the news from. Read
390 the documentation for information on how to do this. As a
391 first start, put those lines in ~/.gnus.el:
392
393 @example
394 (setq gnus-select-method '(nntp "news.yourprovider.net"))
395 (setq user-mail-address "you@@yourprovider.net")
396 (setq user-full-name "Your Name")
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
498  
499 to the line for those servers in ~/.authinfo.
500
501 @node [3.6]
502 @subsubheading Question 3.6
503
504 I want Gnus to fetch news from several servers, is this possible?
505
506 @subsubheading Answer
507
508 Of course. You can specify more sources for articles in the
509 variable gnus-secondary-select-methods. Add something like
510 this in ~/.gnus.el:
511
512 @example
513 (add-to-list 'gnus-secondary-select-methods
514              '(nntp "news.yourSecondProvider.net"))
515 (add-to-list 'gnus-secondary-select-methods
516              '(nntp "news.yourThirdProvider.net"))
517 @end example
518 @noindent
519
520 @node [3.7]
521 @subsubheading Question 3.7
522
523 And how about local spool files?
524
525 @subsubheading Answer
526
527 No problem, this is just one more select method called
528 nnspool, so you want this:
529
530 @example
531 (add-to-list 'gnus-secondary-select-methods '(nnspool ""))
532 @end example
533 @noindent
534
535 Or this if you don't want an NNTP Server as primary news source:
536
537 @example
538 (setq gnus-select-method '(nnspool ""))
539 @end example
540 @noindent
541
542 Gnus will look for the spool file in /usr/spool/news, if you
543 want something different, change the line above t