1 @c Insert "\input texinfo" at 1st line before texing this file alone.
3 @c Copyright (C) 1995, 98, 99, 2000 Free Software Foundation, Inc.
4 @setfilename ../info/gnus-faq.info
6 @node Frequently Asked Questions
7 @section Frequently Asked Questions
9 This is the Gnus Frequently Asked Questions list.
10 If you have a Web browser, the official hypertext version is at
11 @file{http://www.ccs.neu.edu/software/gnus/}, and has
12 probably been updated since you got this manual.
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.
22 @node Installation FAQ
23 @subsection Installation
27 Q1.1 What is the latest version of Gnus?
29 The latest (and greatest) version is 5.0.10. You might also run
30 across something called @emph{September Gnus}. September Gnus
31 is the alpha version of the next major release of Gnus. It is currently
32 not stable enough to run unless you are prepared to debug lisp.
35 Q1.2 Where do I get Gnus?
37 Any of the following locations:
41 @file{ftp://ftp.ifi.uio.no/pub/emacs/gnus/gnus.tar.gz}
44 @file{ftp://ftp.pilgrim.umass.edu/pub/misc/ding/}
47 @file{gopher://gopher.pilgrim.umass.edu/11/pub/misc/ding/}
50 @file{ftp://aphrodite.nectar.cs.cmu.edu/pub/ding-gnus/}
53 @file{ftp://ftp.solace.mh.se:/pub/gnu/elisp/}
58 Q1.3 Which version of Emacs do I need?
60 At least GNU Emacs 19.28, or XEmacs 19.12 is recommended. GNU Emacs
61 19.25 has been reported to work under certain circumstances, but it
62 doesn't @emph{officially} work on it. 19.27 has also been reported to
63 work. Gnus has been reported to work under OS/2 as well as Unix.
67 Q1.4 Where is timezone.el?
69 Upgrade to XEmacs 19.13. In earlier versions of XEmacs this file was
70 placed with Gnus 4.1.3, but that has been corrected.
74 Q1.5 When I run Gnus on XEmacs 19.13 I get weird error messages.
76 You're running an old version of Gnus. Upgrade to at least version
81 Q1.6 How do I unsubscribe from the Mailing List?
83 Send 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.
86 If you are reading the digest version of the list, send an e-mail message
88 @file{ding-rn-digests-d-request@@moe.shore.net}
89 with @emph{unsubscribe} as the subject and you will be removed.
93 Q1.7 How do I run Gnus on both Emacs and XEmacs?
95 The basic answer is to byte-compile under XEmacs, and then you can
96 run under either Emacsen. There is, however, a potential version
97 problem with easymenu.el with Gnu Emacs prior to 19.29.
99 Per Abrahamsen <abraham@@dina.kvl.dk> writes :@*
100 The internal easymenu.el interface changed between 19.28 and 19.29 in
101 order to make it possible to create byte compiled files that can be
102 shared between Gnu Emacs and XEmacs. The change is upward
103 compatible, but not downward compatible.
104 This gives the following compatibility table:
107 Compiled with: | Can be used with:
108 ----------------+--------------------------------------
111 XEmacs | 19.29 XEmacs
114 If you have Gnu Emacs 19.28 or earlier, or XEmacs 19.12 or earlier, get
115 a recent version of auc-menu.el from
116 @file{ftp://ftp.iesd.auc.dk/pub/emacs-lisp/auc-menu.el}, and install it
117 under the name easymenu.el somewhere early in your load path.
121 Q1.8 What resources are available?
123 There is the newsgroup Gnu.emacs.gnus. Discussion of Gnus 5.x is now
124 taking place there. There is also a mailing list, send mail to
125 @file{ding-request@@ifi.uio.no} with the magic word @emph{subscribe}
128 @emph{NOTE:} the traffic on this list is heavy so you may not want to be
129 on it (unless you use Gnus as your mailer reader, that is). The mailing
130 list is mainly for developers and testers.
132 Gnus has a home World Wide Web page at@*
133 @file{http://www.ifi.uio.no/~larsi/ding.html}.
135 Gnus has a write up in the X Applications FAQ at@*
136 @file{http://www.ee.ryerson.ca:8080/~elf/xapps/Q-III.html}.
138 The Gnus manual is also available on the World Wide Web. The canonical
139 source is in Norway at@*
140 @file{http://www.ifi.uio.no/~larsi/ding-manual/gnus_toc.html}.
142 There are three mirrors in the United States:
145 @file{http://www.miranova.com/gnus-man/}
148 @file{http://www.pilgrim.umass.edu/pub/misc/ding/manual/gnus_toc.html}
151 @file{http://www.rtd.com/~woo/gnus/}
155 PostScript 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
159 @file{ftp://marvin.fkphy.uni-duesseldorf.de/pub/gnus/}
162 An online version of the Gnus FAQ is available at@*
163 @file{http://www.miranova.com/~steve/gnus-faq.html}. Off-line formats
164 are also available:@*
165 ASCII: @file{ftp://ftp.miranova.com/pub/gnus/gnus-faq}@*
166 PostScript: @file{ftp://ftp.miranova.com/pub/gnus/gnus-faq.ps}.
170 Q1.9 Gnus hangs on connecting to NNTP server
172 I am running XEmacs on SunOS and Gnus prints a message about Connecting
173 to NNTP server and then just hangs.
175 Ben Wing <wing@@netcom.com> writes :@*
176 I wonder if you're hitting the infamous @emph{libresolv} problem.
177 The basic problem is that under SunOS you can compile either
178 with DNS or NIS name lookup libraries but not both. Try
179 substituting the IP address and see if that works; if so, you
180 need to download the sources and recompile.
184 Q1.10 Mailcrypt 3.4 doesn't work
186 This problem is verified to still exist in Gnus 5.0.9 and Mailcrypt 3.4.
187 The answer comes from Peter Arius
188 <arius@@immd2.informatik.uni-erlangen.de>.
190 I found out that mailcrypt uses
191 @code{gnus-eval-in-buffer-window}, which is a macro.
192 It seems as if you have
193 compiled mailcrypt with plain old GNUS in load path, and the XEmacs byte
194 compiler has inserted that macro definition into
195 @file{mc-toplev.elc}.
196 The solution is to recompile @file{mc-toplev.el} with Gnus 5 in
197 load-path, and it works fine.
199 Steve Baur <steve@@miranova.com> adds :@*
200 The problem also manifests itself if neither GNUS 4 nor Gnus 5 is in the
205 Q1.11 What other packages work with Gnus?
211 Mailcrypt is an Emacs interface to PGP. It works, it installs
212 without hassle, and integrates very easily. Mailcrypt can be
214 @file{ftp://cag.lcs.mit.edu/pub/patl/mailcrypt-3.4.tar.gz}.
219 Tools for Mime is an Emacs MUA interface to MIME. Installation is
220 a two-step process unlike most other packages, so you should
221 be prepared to move the byte-compiled code somewhere. There
222 are currently two versions of this package available. It can
224 @file{ftp://ftp.jaist.ac.jp/pub/GNU/elisp/}.
225 Be sure to apply the supplied patch. It works with Gnus through
226 version 5.0.9. In order for all dependencies to work correctly
227 the load sequence is as follows:
231 (load "mime-compose")
234 @emph{NOTE:} Loading the package disables citation highlighting by
235 default. To get the old behavior back, use the @kbd{M-t} command.
242 @node Customization FAQ
243 @subsection Customization
247 Q2.1 Custom Edit does not work under XEmacs
249 The custom package has not been ported to XEmacs.
253 Q2.2 How do I quote messages?
255 I see lots of messages with quoted material in them. I am wondering
256 how to have Gnus do it for me.
258 This is Gnus, so there are a number of ways of doing this. You can use
259 the built-in commands to do this. There are the @kbd{F} and @kbd{R}
260 keys from the summary buffer which automatically include the article
261 being responded to. These commands are also selectable as @i{Followup
262 and Yank} and @i{Reply and Yank} in the Post menu.
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
266 non-nil, unless you have set your own @code{mail-citation-hook}, which will
267 be called to do the job.
269 You might also consider the Supercite package, which allows for pretty
270 arbitrarily complex quoting styles. Some people love it, some people
275 Q2.3 How can I keep my nnvirtual:* groups sorted?
277 How 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
279 everything sorted in alphabetical order.
281 If you don't subscribe often to new groups then the easiest way is to
282 first sort the groups and then manually kill and yank the virtuals
283 wherever you want them.
287 Q2.4 Any good suggestions on stuff for an all.SCORE file?
289 Here is a collection of suggestions from the Gnus mailing list.
293 From ``Dave Disser'' <disser@@sdd.hp.com>@*
294 I like blasting anything without lowercase letters. Weeds out most of
295 the make $$ fast, as well as the lame titles like ``IBM'' and ``HP-UX''
296 with no further description.
299 ("^\\(Re: \\)?[^a-z]*$" -200 nil R)))
303 From ``Peter Arius'' <arius@@immd2.informatik.uni-erlangen.de>@*
304 The most vital entries in my (still young) all.SCORE:
307 ("alt.fan.oj-simpson" -1000 nil s))
309 (concat "\\<\\(make\\|fast\\|big\\)\\s-*"
310 "\\(money\\|cash\\|bucks?\\)\\>"
312 ("$$$$" -1000 nil s)))
316 From ``Per Abrahamsen'' <abraham@@dina.kvl.dk>@*
319 ;; CAPS OF THE WORLD, UNITE
320 ("^..[^a-z]+$" -1 nil R)
321 ;; $$$ Make Money $$$ (Try work)
323 ;; I'm important! And I have exclamation marks to prove it!
328 From ``heddy boubaker'' <boubaker@@cenatls.cena.dgac.fr>@*
329 I would like to contribute with mine.
335 ("^\\([Rr][Ee]: +\\)?[^a-z]+$" -1 nil R)
336 ;; $$$ Make Money $$$
338 ;; Empty subjects are worthless!
339 ("^ *\\([(<]none[>)]\\|(no subject\\( given\\)?)\\)? *$"
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!!
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)
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)
356 ;; To keep track of posters from my site
357 (".dgac.fr" +1000 nil s))
359 ;; Keep track of answers to my posts
360 ("boubaker" +1000 nil s))
362 ;; Some people have really nothing to say!!
370 From ``Christopher Jones'' <cjones@@au.oracle.com>@*
371 The sample @file{all.SCORE} files from Per and boubaker could be
375 ;; No junk mail please!
376 ("please ignore" -500 nil s)
382 From ``Brian Edmonds'' <edmonds@@cs.ubc.ca>@*
383 Augment any of the above with a fast method of scoring down
384 excessively cross posted articles.
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)
392 ("^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
394 (concat "^xref: \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+ \\S-+"
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))
411 Q2.5 What do I use to yank-through when replying?
413 You should probably reply and followup with @kbd{R} and @kbd{F}, instead
414 of @kbd{r} and @kbd{f}, which solves your problem. But you could try
418 (defconst mail-yank-ignored-headers
420 "Delete these headers from message when it's inserted in reply.")
425 Q2.6 I don't like the default WWW browser
427 Now when choosing an URL Gnus starts up a W3 buffer, I would like it
428 to always use Netscape (I don't browse in text-mode ;-).
432 Activate `Customize...' from the `Help' menu.
435 Scroll down to the `WWW Browser' field.
438 Click `mouse-2' on `WWW Browser'.
441 Select `Netscape' from the pop up menu.
448 If you are using XEmacs then to specify Netscape do
450 (setq gnus-button-url 'gnus-netscape-open-url)
455 Q2.7 What, if any, relation is between ``ask-server'' and ``(setq
456 gnus-read-active-file 'some)''?
458 In order for Gnus to show you the complete list of newsgroups, it will
459 either have to either store the list locally, or ask the server to
460 transmit the list. You enable the first with
463 (setq gnus-save-killed-list t)
469 (setq gnus-read-active-file t)
472 If both are disabled, Gnus will not know what newsgroups exists. There
473 is no option to get the list by casting a spell.
477 Q2.8 Moving between groups is slow.
479 Per Abrahamsen <abraham@@dina.kvl.dk> writes:@*
481 Do you call @code{define-key} or something like that in one of the
482 summary mode hooks? This would force Emacs to recalculate the keyboard
483 shortcuts. Removing the call should speed up @kbd{M-x gnus-summary-mode
484 RET} by a couple of orders of magnitude. You can use
487 (define-key gnus-summary-mode-map KEY COMMAND)
490 in your @file{.gnus} instead.
495 @node Reading News FAQ
496 @subsection Reading News
500 Q3.1 How do I convert my kill files to score files?
502 @email{ethanb@@ptolemy.astro.washington.edu, Ethan Bradford} write a
503 kill-to-score translator. It is available from@*
504 @file{http://baugi.ifi.uio.no/~larsi/ding-various/gnus-kill-to-score.el}.
508 Q3.2 My news server has a lot of groups, and killing groups is painfully
511 Don't do that then. The best way to get rid of groups that should be
512 dead is to edit your newsrc directly. This problem will be addressed
517 Q3.3 How do I use an NNTP server with authentication?
519 Put the following into your .gnus:
521 (add-hook 'nntp-server-opened-hook 'nntp-send-authinfo)
526 Q3.4 Not reading the first article.
528 How do I avoid reading the first article when a group is selected?
532 Use @kbd{RET} to select the group instead of @kbd{SPC}.
535 @code{(setq gnus-auto-select first nil)}
538 Luis Fernandes <elf@@mailhost.ee.ryerson.ca>writes:@*
539 This is what I use...customize as necessary...
542 ;;; Don't auto-select first article if reading sources, or
543 ;;; archives or jobs postings, etc. and just display the
545 (add-hook 'gnus-select-group-hook
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))
561 (setq gnus-auto-select-first t))))))
565 Per Abrahamsen <abraham@@dina.kvl.dk> writes:@*
566 Another possibility is to create an @file{all.binaries.all.SCORE} file
571 (gnus-auto-select-first nil)))
576 (setq gnus-auto-select-first t)
579 in your @file{.gnus}.
584 Q3.5 Why aren't BBDB known posters marked in the summary buffer?
586 Brian Edmonds <edmonds@@cs.ubc.ca> writes:@*
587 Due to changes in Gnus 5.0, @file{bbdb-gnus.el} no longer marks known
588 posters in the summary buffer. An updated version, @file{gnus-bbdb.el}
589 is available at the locations listed below. This package also supports
590 autofiling of incoming mail to folders specified in the BBDB. Extensive
591 instructions are included as comments in the file.
593 Send mail to @file{majordomo@@edmonds.home.cs.ubc.ca} with the following
594 line in the body of the message: @emph{get misc gnus-bbdb.el}.
596 Or get it from the World Wide Web:@*
597 @file{http://www.cs.ubc.ca/spider/edmonds/gnus-bbdb.el}.
602 @node Reading Mail FAQ
603 @subsection Reading Mail
607 Q4.1 What does the message ``Buffer has changed on disk'' mean in a mail
610 Your filter program should not deliver mail directly to your folders,
611 instead it should put the mail into spool files. Gnus will then move
612 the mail safely from the spool files into the folders. This will
613 eliminate the problem. Look it up in the manual, in the section
614 entitled ``Mail & Procmail''.
618 Q4.2 How do you make articles un-expirable?
620 I am using nnml to read news and have used
621 @code{gnus-auto-expirable-newsgroups} to automagically expire articles
622 in some groups (Gnus being one of them). Sometimes there are
623 interesting articles in these groups that I want to keep. Is there any
624 way of explicitly marking an article as un-expirable - that is mark it
625 as read but not expirable?
627 Use @kbd{u}, @kbd{!}, @kbd{d} or @kbd{M-u} in the summary buffer. You
628 just remove the @kbd{E} mark by setting some other mark. It's not
629 necessary to tick the articles.
633 Q4.3 How do I delete bogus nnml: groups?
635 My problem is that I have various mail (nnml) groups generated while
636 experimenting with Gnus. How do I remove them now? Setting the level to
637 9 does not help. Also @code{gnus-group-check-bogus-groups} does not
640 Removing mail groups is tricky at the moment. (It's on the to-do list,
641 though.) You basically have to kill the groups in Gnus, shut down Gnus,
642 edit the active file to exclude these groups, and probably remove the
643 nnml directories that contained these groups as well. Then start Gnus
648 Q4.4 What happened to my new mail groups?
650 I got new mail, but I have
651 never seen the groups they should have been placed in.
653 They are probably there, but as zombies. Press @kbd{A z} to list
654 zombie groups, and then subscribe to the groups you want with @kbd{u}.
655 This is all documented quite nicely in the user's manual.
659 Q4.5 Not scoring mail groups
661 How do you @emph{totally} turn off scoring in mail groups?
663 Use an nnbabyl:all.SCORE (or nnmh, or nnml, or whatever) file containing:
667 (local (gnus-use-scoring nil))
668 (exclude-files "all.SCORE"))