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