Trailing whitespace deleted.
[bpt/emacs.git] / man / gnus-faq.texi
CommitLineData
bd579c15 1@c Insert "\input texinfo" at 1st line before texing this file alone.
6bf7aab6 2@c -*-texinfo-*-
bd579c15
GM
3@c Copyright (C) 1995, 98, 99, 2000 Free Software Foundation, Inc.
4@setfilename ../info/gnus-faq.info
6bf7aab6
DL
5
6@node Frequently Asked Questions
7@section Frequently Asked Questions
8
9This is the Gnus Frequently Asked Questions list.
10If you have a Web browser, the official hypertext version is at
bd579c15 11@file{http://www.ccs.neu.edu/software/gnus/}, and has
6bf7aab6
DL
12probably been updated since you got this manual.
13
14@menu
15* Installation FAQ:: Installation of Gnus.
16* Customization FAQ:: Customizing Gnus.
17* Reading News FAQ:: News Reading Questions.
18* Reading Mail FAQ:: Mail Reading Questions.
19@end menu
20
21
22@node Installation FAQ
23@subsection Installation
24
25@itemize @bullet
26@item
27Q1.1 What is the latest version of Gnus?
28
29The latest (and greatest) version is 5.0.10. You might also run
30across something called @emph{September Gnus}. September Gnus
31is the alpha version of the next major release of Gnus. It is currently
32not stable enough to run unless you are prepared to debug lisp.
33
34@item
35Q1.2 Where do I get Gnus?
36
37Any of the following locations:
38
39@itemize @minus
40@item
41@file{ftp://ftp.ifi.uio.no/pub/emacs/gnus/gnus.tar.gz}
42
43@item
44@file{ftp://ftp.pilgrim.umass.edu/pub/misc/ding/}
45
46@item
47@file{gopher://gopher.pilgrim.umass.edu/11/pub/misc/ding/}
48
49@item
50@file{ftp://aphrodite.nectar.cs.cmu.edu/pub/ding-gnus/}
51
52@item
53@file{ftp://ftp.solace.mh.se:/pub/gnu/elisp/}
54
55@end itemize
56
57@item
58Q1.3 Which version of Emacs do I need?
59
60At least GNU Emacs 19.28, or XEmacs 19.12 is recommended. GNU Emacs
6119.25 has been reported to work under certain circumstances, but it
62doesn't @emph{officially} work on it. 19.27 has also been reported to
63work. Gnus has been reported to work under OS/2 as well as Unix.
64
65
66@item
67Q1.4 Where is timezone.el?
68
69Upgrade to XEmacs 19.13. In earlier versions of XEmacs this file was
70placed with Gnus 4.1.3, but that has been corrected.
71
72
73@item
74Q1.5 When I run Gnus on XEmacs 19.13 I get weird error messages.
75
76You're running an old version of Gnus. Upgrade to at least version
775.0.4.
78
79
80@item
81Q1.6 How do I unsubscribe from the Mailing List?
82
83Send an e-mail message to @file{ding-request@@ifi.uio.no} with the magic word
84@emph{unsubscribe} somewhere in it, and you will be removed.
85
86If you are reading the digest version of the list, send an e-mail message
87to @*
88@file{ding-rn-digests-d-request@@moe.shore.net}
89with @emph{unsubscribe} as the subject and you will be removed.
90
91
92@item
93Q1.7 How do I run Gnus on both Emacs and XEmacs?
94
95The basic answer is to byte-compile under XEmacs, and then you can
96run under either Emacsen. There is, however, a potential version
97problem with easymenu.el with Gnu Emacs prior to 19.29.
98
99Per Abrahamsen <abraham@@dina.kvl.dk> writes :@*
100The internal easymenu.el interface changed between 19.28 and 19.29 in
101order to make it possible to create byte compiled files that can be
102shared between Gnu Emacs and XEmacs. The change is upward
177c0ea7 103compatible, but not downward compatible.
6bf7aab6
DL
104This gives the following compatibility table:
105
106@example
107Compiled with: | Can be used with:
108----------------+--------------------------------------
10919.28 | 19.28 19.29
11019.29 | 19.29 XEmacs
111XEmacs | 19.29 XEmacs
112@end example
113
114If you have Gnu Emacs 19.28 or earlier, or XEmacs 19.12 or earlier, get
115a recent version of auc-menu.el from
116@file{ftp://ftp.iesd.auc.dk/pub/emacs-lisp/auc-menu.el}, and install it
117under the name easymenu.el somewhere early in your load path.
118
119
120@item
121Q1.8 What resources are available?
122
123There is the newsgroup Gnu.emacs.gnus. Discussion of Gnus 5.x is now
124taking place there. There is also a mailing list, send mail to
125@file{ding-request@@ifi.uio.no} with the magic word @emph{subscribe}
126somewhere in it.
127
128@emph{NOTE:} the traffic on this list is heavy so you may not want to be
129on it (unless you use Gnus as your mailer reader, that is). The mailing
130list is mainly for developers and testers.
131
132Gnus has a home World Wide Web page at@*
1f706e2f 133@file{http://www.gnus.org/}.
177c0ea7 134
97878c08 135Gnus has a write up in the X Applications FAQ at@*
6bf7aab6 136@file{http://www.ee.ryerson.ca:8080/~elf/xapps/Q-III.html}.
177c0ea7 137
6bf7aab6
DL
138The Gnus manual is also available on the World Wide Web. The canonical
139source is in Norway at@*
1f706e2f 140@file{http://www.gnus.org/manual/gnus_toc.html}.
6bf7aab6
DL
141
142There are three mirrors in the United States:
143@enumerate
144@item
145@file{http://www.miranova.com/gnus-man/}
146
147@item
148@file{http://www.pilgrim.umass.edu/pub/misc/ding/manual/gnus_toc.html}
149
150@item
151@file{http://www.rtd.com/~woo/gnus/}
152
153@end enumerate
154
155PostScript copies of the Gnus Reference card are available from@*
156@file{ftp://ftp.cs.ualberta.ca/pub/oolog/gnus/}. They are mirrored at@*
157@file{ftp://ftp.pilgrim.umass.edu/pub/misc/ding/refcard/} in the
158United States. And@*
159@file{ftp://marvin.fkphy.uni-duesseldorf.de/pub/gnus/}
160in Germany.
177c0ea7 161
6bf7aab6
DL
162An online version of the Gnus FAQ is available at@*
163@file{http://www.miranova.com/~steve/gnus-faq.html}. Off-line formats
164are also available:@*
165ASCII: @file{ftp://ftp.miranova.com/pub/gnus/gnus-faq}@*
166PostScript: @file{ftp://ftp.miranova.com/pub/gnus/gnus-faq.ps}.
167
168
169@item
170Q1.9 Gnus hangs on connecting to NNTP server
171
172I am running XEmacs on SunOS and Gnus prints a message about Connecting
173to NNTP server and then just hangs.
174
175Ben Wing <wing@@netcom.com> writes :@*
176I wonder if you're hitting the infamous @emph{libresolv} problem.
177The basic problem is that under SunOS you can compile either
178with DNS or NIS name lookup libraries but not both. Try
179substituting the IP address and see if that works; if so, you
180need to download the sources and recompile.
181
182
183@item
184Q1.10 Mailcrypt 3.4 doesn't work
185
bd579c15 186This problem is verified to still exist in Gnus 5.0.9 and Mailcrypt 3.4.
6bf7aab6
DL
187The answer comes from Peter Arius
188<arius@@immd2.informatik.uni-erlangen.de>.
189
190I found out that mailcrypt uses
191@code{gnus-eval-in-buffer-window}, which is a macro.
192It seems as if you have
193compiled mailcrypt with plain old GNUS in load path, and the XEmacs byte
194compiler has inserted that macro definition into
195@file{mc-toplev.elc}.
196The solution is to recompile @file{mc-toplev.el} with Gnus 5 in
197load-path, and it works fine.
198
199Steve Baur <steve@@miranova.com> adds :@*
200The problem also manifests itself if neither GNUS 4 nor Gnus 5 is in the
201load-path.
202
203
204@item
205Q1.11 What other packages work with Gnus?
206
207@itemize @minus
208@item
209Mailcrypt.
210
211Mailcrypt is an Emacs interface to PGP. It works, it installs
212without hassle, and integrates very easily. Mailcrypt can be
213obtained from@*
214@file{ftp://cag.lcs.mit.edu/pub/patl/mailcrypt-3.4.tar.gz}.
215
216@item
bd579c15 217Tools for Mime.
6bf7aab6 218
bd579c15 219Tools for Mime is an Emacs MUA interface to MIME. Installation is
6bf7aab6
DL
220a two-step process unlike most other packages, so you should
221be prepared to move the byte-compiled code somewhere. There
222are currently two versions of this package available. It can
223be obtained from@*
224@file{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/}.
225Be sure to apply the supplied patch. It works with Gnus through
226version 5.0.9. In order for all dependencies to work correctly
227the load sequence is as follows:
228@lisp
229 (load "tm-setup")
230 (load "gnus")
231 (load "mime-compose")
232@end lisp
233
234@emph{NOTE:} Loading the package disables citation highlighting by
235default. To get the old behavior back, use the @kbd{M-t} command.
236
237@end itemize
238
239@end itemize
240
241
242@node Customization FAQ
243@subsection Customization
244
245@itemize @bullet
246@item
247Q2.1 Custom Edit does not work under XEmacs
248
249The custom package has not been ported to XEmacs.
250
251
252@item
253Q2.2 How do I quote messages?
254
255I see lots of messages with quoted material in them. I am wondering
256how to have Gnus do it for me.
257
258This is Gnus, so there are a number of ways of doing this. You can use
259the built-in commands to do this. There are the @kbd{F} and @kbd{R}
260keys from the summary buffer which automatically include the article
261being responded to. These commands are also selectable as @i{Followup
262and Yank} and @i{Reply and Yank} in the Post menu.
263
264@kbd{C-c C-y} grabs the previous message and prefixes each line with
265@code{ail-indentation-spaces} spaces or @code{mail-yank-prefix} if that is
266non-nil, unless you have set your own @code{mail-citation-hook}, which will
bd579c15 267be called to do the job.
6bf7aab6
DL
268
269You might also consider the Supercite package, which allows for pretty
270arbitrarily complex quoting styles. Some people love it, some people
271hate it.
272
273
274@item
275Q2.3 How can I keep my nnvirtual:* groups sorted?
276
277How can I most efficiently arrange matters so as to keep my nnvirtual:*
278(etc) groups at the top of my group selection buffer, whilst keeping
279everything sorted in alphabetical order.
177c0ea7 280
6bf7aab6
DL
281If you don't subscribe often to new groups then the easiest way is to
282first sort the groups and then manually kill and yank the virtuals
283wherever you want them.
284
285
286@item
287Q2.4 Any good suggestions on stuff for an all.SCORE file?
288
289Here is a collection of suggestions from the Gnus mailing list.
290
291@enumerate
292@item
293From ``Dave Disser'' <disser@@sdd.hp.com>@*
294I like blasting anything without lowercase letters. Weeds out most of
295the make $$ fast, as well as the lame titles like ``IBM'' and ``HP-UX''
296with no further description.
297@lisp
298 (("Subject"
299 ("^\\(Re: \\)?[^a-z]*$" -200 nil R)))
300@end lisp
301
302@item
303From ``Peter Arius'' <arius@@immd2.informatik.uni-erlangen.de>@*
304The most vital entries in my (still young) all.SCORE:
305@lisp
306(("xref"
307 ("alt.fan.oj-simpson" -1000 nil s))
308 ("subject"
9f6f3089 309 (concat "\\<\\(make\\|fast\\|big\\)\\s-*"
177c0ea7 310 "\\(money\\|cash\\|bucks?\\)\\>"
9f6f3089 311 -1000 nil r)
6bf7aab6
DL
312 ("$$$$" -1000 nil s)))
313@end lisp
314
315@item
316From ``Per Abrahamsen'' <abraham@@dina.kvl.dk>@*
317@lisp
318(("subject"
319 ;; CAPS OF THE WORLD, UNITE
320 ("^..[^a-z]+$" -1 nil R)
321 ;; $$$ Make Money $$$ (Try work)
322 ("$" -1 nil s)
323 ;; I'm important! And I have exclamation marks to prove it!
324 ("!" -1 nil s)))
325@end lisp
326
327@item
328From ``heddy boubaker'' <boubaker@@cenatls.cena.dgac.fr>@*
329I would like to contribute with mine.
330@lisp
331(
332 (read-only t)
333 ("subject"
334 ;; ALL CAPS SUBJECTS
335 ("^\\([Rr][Ee]: +\\)?[^a-z]+$" -1 nil R)
336 ;; $$$ Make Money $$$
337 ("$$" -10 nil s)
338 ;; Empty subjects are worthless!
177c0ea7 339 ("^ *\\([(<]none[>)]\\|(no subject\\( given\\)?)\\)? *$"
9f6f3089 340 -10 nil r)
6bf7aab6
DL
341 ;; Sometimes interesting announces occur!
342 ("ANN?OU?NC\\(E\\|ING\\)" +10 nil r)
343 ;; Some people think they're on mailing lists
344 ("\\(un\\)?sub?scribe" -100 nil r)
345 ;; Stop Micro$oft NOW!!
9f6f3089
EZ
346 ;; ("concat" used to avoid overfull box.)
347 (concat "\\(m\\(icro\\)?[s$]\\(oft\\|lot\\)?-?\\)?"
348 "wind?\\(ows\\|aube\\|oze\\)?[- ]*"
349 "\\('?95\\|NT\\|3[.]1\\|32\\)" -1001 nil r)
6bf7aab6
DL
350 ;; I've nothing to buy
351 ("\\(for\\|4\\)[- ]*sale" -100 nil r)
352 ;; SELF-DISCIPLINED people
353 ("\\[[^a-z0-9 \t\n][^a-z0-9 \t\n]\\]" +100 nil r)
354 )
355 ("from"
356 ;; To keep track of posters from my site
357 (".dgac.fr" +1000 nil s))
358 ("followup"
359 ;; Keep track of answers to my posts
360 ("boubaker" +1000 nil s))
361 ("lines"
362 ;; Some people have really nothing to say!!
363 (1 -10 nil <=))
364 (mark -100)
365 (expunge -1000)
366 )
367@end lisp
368
369@item
370From ``Christopher Jones'' <cjones@@au.oracle.com>@*
371The sample @file{all.SCORE} files from Per and boubaker could be
372augmented with:
373@lisp
374 (("subject"
375 ;; No junk mail please!
376 ("please ignore" -500 nil s)
377 ("test" -500 nil e))
378 )
379@end lisp
380
381@item
382From ``Brian Edmonds'' <edmonds@@cs.ubc.ca>@*
383Augment any of the above with a fast method of scoring down
384excessively cross posted articles.
385@lisp
386 ("xref"
387 ;; the more cross posting, the exponentially worse the article
388 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+" -1 nil r)
389 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -2 nil r)
390 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -4 nil r)
391 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -8 nil r)
9f6f3089
EZ
392 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
393 -16 nil r)
394 (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
395 " \\S-+ \\S-+"
396 -32 nil r)
397 (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
398 " \\S-+ \\S-+ \\S-+" -64 nil r)
399 (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
400 " \\S-+ \\S-+ \\S-+ \\S-+" -128 nil r)
401 (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
402 " \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -256 nil r)
403 (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
404 " \\S-+" \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -512 nil r))
6bf7aab6
DL
405@end lisp
406
407@end enumerate
408
409
410@item
411Q2.5 What do I use to yank-through when replying?
412
413You should probably reply and followup with @kbd{R} and @kbd{F}, instead
414of @kbd{r} and @kbd{f}, which solves your problem. But you could try
415something like:
416
417@example
418(defconst mail-yank-ignored-headers
419 "^.*:"
9f6f3089 420 "Delete these headers from message when it's inserted in reply.")
6bf7aab6
DL
421@end example
422
423
424@item
425Q2.6 I don't like the default WWW browser
426
427Now when choosing an URL Gnus starts up a W3 buffer, I would like it
428to always use Netscape (I don't browse in text-mode ;-).
429
430@enumerate
431@item
432Activate `Customize...' from the `Help' menu.
433
434@item
435Scroll down to the `WWW Browser' field.
436
437@item
438Click `mouse-2' on `WWW Browser'.
439
440@item
441Select `Netscape' from the pop up menu.
442
443@item
444Press `C-c C-c'
445
446@end enumerate
447
448If you are using XEmacs then to specify Netscape do
449@lisp
450 (setq gnus-button-url 'gnus-netscape-open-url)
451@end lisp
452
453
454@item
455Q2.7 What, if any, relation is between ``ask-server'' and ``(setq
456gnus-read-active-file 'some)''?
457
458In order for Gnus to show you the complete list of newsgroups, it will
459either have to either store the list locally, or ask the server to
460transmit the list. You enable the first with
461
462@lisp
463 (setq gnus-save-killed-list t)
464@end lisp
465
466and the second with
467
468@lisp
469 (setq gnus-read-active-file t)
470@end lisp
471
472If both are disabled, Gnus will not know what newsgroups exists. There
473is no option to get the list by casting a spell.
474
475
476@item
477Q2.8 Moving between groups is slow.
478
479Per Abrahamsen <abraham@@dina.kvl.dk> writes:@*
480
481Do you call @code{define-key} or something like that in one of the
482summary mode hooks? This would force Emacs to recalculate the keyboard
483shortcuts. Removing the call should speed up @kbd{M-x gnus-summary-mode
484RET} by a couple of orders of magnitude. You can use
485
486@lisp
487(define-key gnus-summary-mode-map KEY COMMAND)
488@end lisp
489
490in your @file{.gnus} instead.
491
492@end itemize
493
494
495@node Reading News FAQ
496@subsection Reading News
497
498@itemize @bullet
499@item
500Q3.1 How do I convert my kill files to score files?
501
9f6f3089
EZ
502@email{ethanb@@ptolemy.astro.washington.edu, Ethan Bradford} write a
503kill-to-score translator. It is available from@*
6bf7aab6
DL
504@file{http://baugi.ifi.uio.no/~larsi/ding-various/gnus-kill-to-score.el}.
505
506
507@item
508Q3.2 My news server has a lot of groups, and killing groups is painfully
509slow.
510
511Don't do that then. The best way to get rid of groups that should be
512dead is to edit your newsrc directly. This problem will be addressed
513in the near future.
514
515
516@item
517Q3.3 How do I use an NNTP server with authentication?
518
519Put the following into your .gnus:
520@lisp
521 (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
522@end lisp
523
524
525@item
526Q3.4 Not reading the first article.
527
528How do I avoid reading the first article when a group is selected?
529
530@enumerate
531@item
532Use @kbd{RET} to select the group instead of @kbd{SPC}.
533
534@item
535@code{(setq gnus-auto-select first nil)}
536
537@item
538Luis Fernandes <elf@@mailhost.ee.ryerson.ca>writes:@*
539This is what I use...customize as necessary...
540
541@lisp
9f6f3089
EZ
542;;; Don't auto-select first article if reading sources, or
543;;; archives or jobs postings, etc. and just display the
544;;; summary buffer
6bf7aab6 545(add-hook 'gnus-select-group-hook
bd579c15
GM
546 (function
547 (lambda ()
548 (cond ((string-match "sources" gnus-newsgroup-name)
549 (setq gnus-auto-select-first nil))
550 ((string-match "jobs" gnus-newsgroup-name)
551 (setq gnus-auto-select-first nil))
552 ((string-match "comp\\.archives" gnus-newsgroup-name)
553 (setq gnus-auto-select-first nil))
554 ((string-match "reviews" gnus-newsgroup-name)
555 (setq gnus-auto-select-first nil))
556 ((string-match "announce" gnus-newsgroup-name)
557 (setq gnus-auto-select-first nil))
558 ((string-match "binaries" gnus-newsgroup-name)
559 (setq gnus-auto-select-first nil))
560 (t
561 (setq gnus-auto-select-first t))))))
6bf7aab6
DL
562@end lisp
563
564@item
565Per Abrahamsen <abraham@@dina.kvl.dk> writes:@*
566Another possibility is to create an @file{all.binaries.all.SCORE} file
567like this:
568
569@lisp
570((local
571 (gnus-auto-select-first nil)))
572@end lisp
573
177c0ea7 574and insert
6bf7aab6
DL
575@lisp
576 (setq gnus-auto-select-first t)
577@end lisp
578
579in your @file{.gnus}.
580
581@end enumerate
582
583@item
584Q3.5 Why aren't BBDB known posters marked in the summary buffer?
585
586Brian Edmonds <edmonds@@cs.ubc.ca> writes:@*
587Due to changes in Gnus 5.0, @file{bbdb-gnus.el} no longer marks known
588posters in the summary buffer. An updated version, @file{gnus-bbdb.el}
589is available at the locations listed below. This package also supports
590autofiling of incoming mail to folders specified in the BBDB. Extensive
591instructions are included as comments in the file.
592
593Send mail to @file{majordomo@@edmonds.home.cs.ubc.ca} with the following
594line in the body of the message: @emph{get misc gnus-bbdb.el}.
595
596Or get it from the World Wide Web:@*
597@file{http://www.cs.ubc.ca/spider/edmonds/gnus-bbdb.el}.
598
599@end itemize
600
601
602@node Reading Mail FAQ
603@subsection Reading Mail
604
605@itemize @bullet
606@item
607Q4.1 What does the message ``Buffer has changed on disk'' mean in a mail
608group?
609
610Your filter program should not deliver mail directly to your folders,
611instead it should put the mail into spool files. Gnus will then move
612the mail safely from the spool files into the folders. This will
613eliminate the problem. Look it up in the manual, in the section
614entitled ``Mail & Procmail''.
615
616
617@item
618Q4.2 How do you make articles un-expirable?
619
620I am using nnml to read news and have used
621@code{gnus-auto-expirable-newsgroups} to automagically expire articles
622in some groups (Gnus being one of them). Sometimes there are
623interesting articles in these groups that I want to keep. Is there any
624way of explicitly marking an article as un-expirable - that is mark it
625as read but not expirable?
626
627Use @kbd{u}, @kbd{!}, @kbd{d} or @kbd{M-u} in the summary buffer. You
628just remove the @kbd{E} mark by setting some other mark. It's not
629necessary to tick the articles.
630
631
632@item
633Q4.3 How do I delete bogus nnml: groups?
634
635My problem is that I have various mail (nnml) groups generated while
636experimenting with Gnus. How do I remove them now? Setting the level to
6379 does not help. Also @code{gnus-group-check-bogus-groups} does not
638recognize them.
639
640Removing mail groups is tricky at the moment. (It's on the to-do list,
641though.) You basically have to kill the groups in Gnus, shut down Gnus,
642edit the active file to exclude these groups, and probably remove the
643nnml directories that contained these groups as well. Then start Gnus
644back up again.
645
646
647@item
648Q4.4 What happened to my new mail groups?
649
650I got new mail, but I have
651never seen the groups they should have been placed in.
652
653They are probably there, but as zombies. Press @kbd{A z} to list
654zombie groups, and then subscribe to the groups you want with @kbd{u}.
655This is all documented quite nicely in the user's manual.
656
657
658@item
659Q4.5 Not scoring mail groups
660
661How do you @emph{totally} turn off scoring in mail groups?
662
663Use an nnbabyl:all.SCORE (or nnmh, or nnml, or whatever) file containing:
664
665@example
666((adapt ignore)
667 (local (gnus-use-scoring nil))
668 (exclude-files "all.SCORE"))
669@end example
670
671@end itemize
672
673