(Colors X): Say "-rv" instead of "-r", for consistency.
[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
103compatible, but not downward compatible.
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@*
133@file{http://www.ifi.uio.no/~larsi/ding.html}.
134
97878c08 135Gnus has a write up in the X Applications FAQ at@*
6bf7aab6
DL
136@file{http://www.ee.ryerson.ca:8080/~elf/xapps/Q-III.html}.
137
138The Gnus manual is also available on the World Wide Web. The canonical
139source is in Norway at@*
140@file{http://www.ifi.uio.no/~larsi/ding-manual/gnus_toc.html}.
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.
161
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.
280
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"
309 ("\\<\\(make\\|fast\\|big\\)\\s-*\\(money\\|cash\\|bucks?\\)\\>" -1000 nil r)
310 ("$$$$" -1000 nil s)))
311@end lisp
312
313@item
314From ``Per Abrahamsen'' <abraham@@dina.kvl.dk>@*
315@lisp
316(("subject"
317 ;; CAPS OF THE WORLD, UNITE
318 ("^..[^a-z]+$" -1 nil R)
319 ;; $$$ Make Money $$$ (Try work)
320 ("$" -1 nil s)
321 ;; I'm important! And I have exclamation marks to prove it!
322 ("!" -1 nil s)))
323@end lisp
324
325@item
326From ``heddy boubaker'' <boubaker@@cenatls.cena.dgac.fr>@*
327I would like to contribute with mine.
328@lisp
329(
330 (read-only t)
331 ("subject"
332 ;; ALL CAPS SUBJECTS
333 ("^\\([Rr][Ee]: +\\)?[^a-z]+$" -1 nil R)
334 ;; $$$ Make Money $$$
335 ("$$" -10 nil s)
336 ;; Empty subjects are worthless!
337 ("^ *\\([(<]none[>)]\\|(no subject\\( given\\)?)\\)? *$" -10 nil r)
338 ;; Sometimes interesting announces occur!
339 ("ANN?OU?NC\\(E\\|ING\\)" +10 nil r)
340 ;; Some people think they're on mailing lists
341 ("\\(un\\)?sub?scribe" -100 nil r)
342 ;; Stop Micro$oft NOW!!
343 ("\\(m\\(icro\\)?[s$]\\(oft\\|lot\\)?-?\\)?wind?\\(ows\\|aube\\|oze\\)?[- ]*\\('?95\\|NT\\|3[.]1\\|32\\)" -1001 nil r)
344 ;; I've nothing to buy
345 ("\\(for\\|4\\)[- ]*sale" -100 nil r)
346 ;; SELF-DISCIPLINED people
347 ("\\[[^a-z0-9 \t\n][^a-z0-9 \t\n]\\]" +100 nil r)
348 )
349 ("from"
350 ;; To keep track of posters from my site
351 (".dgac.fr" +1000 nil s))
352 ("followup"
353 ;; Keep track of answers to my posts
354 ("boubaker" +1000 nil s))
355 ("lines"
356 ;; Some people have really nothing to say!!
357 (1 -10 nil <=))
358 (mark -100)
359 (expunge -1000)
360 )
361@end lisp
362
363@item
364From ``Christopher Jones'' <cjones@@au.oracle.com>@*
365The sample @file{all.SCORE} files from Per and boubaker could be
366augmented with:
367@lisp
368 (("subject"
369 ;; No junk mail please!
370 ("please ignore" -500 nil s)
371 ("test" -500 nil e))
372 )
373@end lisp
374
375@item
376From ``Brian Edmonds'' <edmonds@@cs.ubc.ca>@*
377Augment any of the above with a fast method of scoring down
378excessively cross posted articles.
379@lisp
380 ("xref"
381 ;; the more cross posting, the exponentially worse the article
382 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+" -1 nil r)
383 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -2 nil r)
384 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -4 nil r)
385 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -8 nil r)
386 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -16 nil r)
387 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -32 nil r)
388 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -64 nil r)
389 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -128 nil r)
390 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -256 nil r)
391 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+" -512 nil r))
392@end lisp
393
394@end enumerate
395
396
397@item
398Q2.5 What do I use to yank-through when replying?
399
400You should probably reply and followup with @kbd{R} and @kbd{F}, instead
401of @kbd{r} and @kbd{f}, which solves your problem. But you could try
402something like:
403
404@example
405(defconst mail-yank-ignored-headers
406 "^.*:"
407 "Delete these headers from old message when it's inserted in a reply.")
408@end example
409
410
411@item
412Q2.6 I don't like the default WWW browser
413
414Now when choosing an URL Gnus starts up a W3 buffer, I would like it
415to always use Netscape (I don't browse in text-mode ;-).
416
417@enumerate
418@item
419Activate `Customize...' from the `Help' menu.
420
421@item
422Scroll down to the `WWW Browser' field.
423
424@item
425Click `mouse-2' on `WWW Browser'.
426
427@item
428Select `Netscape' from the pop up menu.
429
430@item
431Press `C-c C-c'
432
433@end enumerate
434
435If you are using XEmacs then to specify Netscape do
436@lisp
437 (setq gnus-button-url 'gnus-netscape-open-url)
438@end lisp
439
440
441@item
442Q2.7 What, if any, relation is between ``ask-server'' and ``(setq
443gnus-read-active-file 'some)''?
444
445In order for Gnus to show you the complete list of newsgroups, it will
446either have to either store the list locally, or ask the server to
447transmit the list. You enable the first with
448
449@lisp
450 (setq gnus-save-killed-list t)
451@end lisp
452
453and the second with
454
455@lisp
456 (setq gnus-read-active-file t)
457@end lisp
458
459If both are disabled, Gnus will not know what newsgroups exists. There
460is no option to get the list by casting a spell.
461
462
463@item
464Q2.8 Moving between groups is slow.
465
466Per Abrahamsen <abraham@@dina.kvl.dk> writes:@*
467
468Do you call @code{define-key} or something like that in one of the
469summary mode hooks? This would force Emacs to recalculate the keyboard
470shortcuts. Removing the call should speed up @kbd{M-x gnus-summary-mode
471RET} by a couple of orders of magnitude. You can use
472
473@lisp
474(define-key gnus-summary-mode-map KEY COMMAND)
475@end lisp
476
477in your @file{.gnus} instead.
478
479@end itemize
480
481
482@node Reading News FAQ
483@subsection Reading News
484
485@itemize @bullet
486@item
487Q3.1 How do I convert my kill files to score files?
488
489A kill-to-score translator was written by Ethan Bradford
490<ethanb@@ptolemy.astro.washington.edu>. It is available from@*
491@file{http://baugi.ifi.uio.no/~larsi/ding-various/gnus-kill-to-score.el}.
492
493
494@item
495Q3.2 My news server has a lot of groups, and killing groups is painfully
496slow.
497
498Don't do that then. The best way to get rid of groups that should be
499dead is to edit your newsrc directly. This problem will be addressed
500in the near future.
501
502
503@item
504Q3.3 How do I use an NNTP server with authentication?
505
506Put the following into your .gnus:
507@lisp
508 (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
509@end lisp
510
511
512@item
513Q3.4 Not reading the first article.
514
515How do I avoid reading the first article when a group is selected?
516
517@enumerate
518@item
519Use @kbd{RET} to select the group instead of @kbd{SPC}.
520
521@item
522@code{(setq gnus-auto-select first nil)}
523
524@item
525Luis Fernandes <elf@@mailhost.ee.ryerson.ca>writes:@*
526This is what I use...customize as necessary...
527
528@lisp
529;;; Don't auto-select first article if reading sources, or archives or
530;;; jobs postings, etc. and just display the summary buffer
531(add-hook 'gnus-select-group-hook
bd579c15
GM
532 (function
533 (lambda ()
534 (cond ((string-match "sources" gnus-newsgroup-name)
535 (setq gnus-auto-select-first nil))
536 ((string-match "jobs" gnus-newsgroup-name)
537 (setq gnus-auto-select-first nil))
538 ((string-match "comp\\.archives" gnus-newsgroup-name)
539 (setq gnus-auto-select-first nil))
540 ((string-match "reviews" gnus-newsgroup-name)
541 (setq gnus-auto-select-first nil))
542 ((string-match "announce" gnus-newsgroup-name)
543 (setq gnus-auto-select-first nil))
544 ((string-match "binaries" gnus-newsgroup-name)
545 (setq gnus-auto-select-first nil))
546 (t
547 (setq gnus-auto-select-first t))))))
6bf7aab6
DL
548@end lisp
549
550@item
551Per Abrahamsen <abraham@@dina.kvl.dk> writes:@*
552Another possibility is to create an @file{all.binaries.all.SCORE} file
553like this:
554
555@lisp
556((local
557 (gnus-auto-select-first nil)))
558@end lisp
559
560and insert
561@lisp
562 (setq gnus-auto-select-first t)
563@end lisp
564
565in your @file{.gnus}.
566
567@end enumerate
568
569@item
570Q3.5 Why aren't BBDB known posters marked in the summary buffer?
571
572Brian Edmonds <edmonds@@cs.ubc.ca> writes:@*
573Due to changes in Gnus 5.0, @file{bbdb-gnus.el} no longer marks known
574posters in the summary buffer. An updated version, @file{gnus-bbdb.el}
575is available at the locations listed below. This package also supports
576autofiling of incoming mail to folders specified in the BBDB. Extensive
577instructions are included as comments in the file.
578
579Send mail to @file{majordomo@@edmonds.home.cs.ubc.ca} with the following
580line in the body of the message: @emph{get misc gnus-bbdb.el}.
581
582Or get it from the World Wide Web:@*
583@file{http://www.cs.ubc.ca/spider/edmonds/gnus-bbdb.el}.
584
585@end itemize
586
587
588@node Reading Mail FAQ
589@subsection Reading Mail
590
591@itemize @bullet
592@item
593Q4.1 What does the message ``Buffer has changed on disk'' mean in a mail
594group?
595
596Your filter program should not deliver mail directly to your folders,
597instead it should put the mail into spool files. Gnus will then move
598the mail safely from the spool files into the folders. This will
599eliminate the problem. Look it up in the manual, in the section
600entitled ``Mail & Procmail''.
601
602
603@item
604Q4.2 How do you make articles un-expirable?
605
606I am using nnml to read news and have used
607@code{gnus-auto-expirable-newsgroups} to automagically expire articles
608in some groups (Gnus being one of them). Sometimes there are
609interesting articles in these groups that I want to keep. Is there any
610way of explicitly marking an article as un-expirable - that is mark it
611as read but not expirable?
612
613Use @kbd{u}, @kbd{!}, @kbd{d} or @kbd{M-u} in the summary buffer. You
614just remove the @kbd{E} mark by setting some other mark. It's not
615necessary to tick the articles.
616
617
618@item
619Q4.3 How do I delete bogus nnml: groups?
620
621My problem is that I have various mail (nnml) groups generated while
622experimenting with Gnus. How do I remove them now? Setting the level to
6239 does not help. Also @code{gnus-group-check-bogus-groups} does not
624recognize them.
625
626Removing mail groups is tricky at the moment. (It's on the to-do list,
627though.) You basically have to kill the groups in Gnus, shut down Gnus,
628edit the active file to exclude these groups, and probably remove the
629nnml directories that contained these groups as well. Then start Gnus
630back up again.
631
632
633@item
634Q4.4 What happened to my new mail groups?
635
636I got new mail, but I have
637never seen the groups they should have been placed in.
638
639They are probably there, but as zombies. Press @kbd{A z} to list
640zombie groups, and then subscribe to the groups you want with @kbd{u}.
641This is all documented quite nicely in the user's manual.
642
643
644@item
645Q4.5 Not scoring mail groups
646
647How do you @emph{totally} turn off scoring in mail groups?
648
649Use an nnbabyl:all.SCORE (or nnmh, or nnml, or whatever) file containing:
650
651@example
652((adapt ignore)
653 (local (gnus-use-scoring nil))
654 (exclude-files "all.SCORE"))
655@end example
656
657@end itemize
658
659