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