2001-10-17 21:00:00 ShengHuo ZHU <zsh@cs.rochester.edu>
[gnus] / texi / gnus.texi
1 \input texinfo                  @c -*-texinfo-*-  -*- coding: iso-latin-1 -*-
2
3 @setfilename gnus
4 @settitle Gnus Manual
5 @synindex fn cp
6 @synindex vr cp
7 @synindex pg cp
8 @dircategory Emacs
9 @direntry
10 * Gnus: (gnus).         The newsreader Gnus.
11 @end direntry
12 @iftex
13 @finalout
14 @end iftex
15 @setchapternewpage odd
16
17 @iftex
18 @iflatex
19 \documentclass[twoside,a4paper,openright,11pt]{book}
20 \usepackage[latin1]{inputenc}
21 \usepackage{pagestyle}
22 \usepackage{epsfig}
23 \usepackage{pixidx}
24 \input{gnusconfig.tex}
25
26 \ifx\pdfoutput\undefined
27 \else
28 \usepackage[pdftex,bookmarks]{hyperref}
29 \pdfcompresslevel=9
30 \fi
31
32 \makeindex
33 \begin{document}
34
35 \newcommand{\gnusversionname}{Oort Gnus v.}
36 \newcommand{\gnuschaptername}{}
37 \newcommand{\gnussectionname}{}
38
39 \newcommand{\gnusbackslash}{/}
40
41 \newcommand{\gnusref}[1]{``#1'' on page \pageref{#1}}
42 \ifx\pdfoutput\undefined
43 \newcommand{\gnusuref}[1]{\gnustt{#1}}
44 \else
45 \newcommand{\gnusuref}[1]{\href{#1}{\gnustt{#1}}}
46 \fi
47 \newcommand{\gnusxref}[1]{See ``#1'' on page \pageref{#1}}
48 \newcommand{\gnuspxref}[1]{see ``#1'' on page \pageref{#1}}
49
50 \newcommand{\gnuskindex}[1]{\index{#1}}
51 \newcommand{\gnusindex}[1]{\index{#1}}
52
53 \newcommand{\gnustt}[1]{{\gnusselectttfont{}#1}}
54 \newcommand{\gnuscode}[1]{\gnustt{#1}}
55 \newcommand{\gnussamp}[1]{``{\fontencoding{OT1}\gnusselectttfont{}#1}''}
56 \newcommand{\gnuslisp}[1]{\gnustt{#1}}
57 \newcommand{\gnuskbd}[1]{`\gnustt{#1}'}
58 \newcommand{\gnusfile}[1]{`\gnustt{#1}'}
59 \newcommand{\gnusdfn}[1]{\textit{#1}}
60 \newcommand{\gnusi}[1]{\textit{#1}}
61 \newcommand{\gnusstrong}[1]{\textbf{#1}}
62 \newcommand{\gnusemph}[1]{\textit{#1}}
63 \newcommand{\gnusvar}[1]{{\fontsize{10pt}{10}\selectfont\textsl{\textsf{#1}}}}
64 \newcommand{\gnussc}[1]{\textsc{#1}}
65 \newcommand{\gnustitle}[1]{{\huge\textbf{#1}}}
66 \newcommand{\gnusversion}[1]{{\small\textit{#1}}}
67 \newcommand{\gnusauthor}[1]{{\large\textbf{#1}}}
68 \newcommand{\gnusresult}[1]{\gnustt{=> #1}}
69
70 \newcommand{\gnusbullet}{{${\bullet}$}}
71 \newcommand{\gnusdollar}{\$}
72 \newcommand{\gnusampersand}{\&}
73 \newcommand{\gnuspercent}{\%}
74 \newcommand{\gnushash}{\#}
75 \newcommand{\gnushat}{\symbol{"5E}}
76 \newcommand{\gnusunderline}{\symbol{"5F}}
77 \newcommand{\gnusnot}{$\neg$}
78 \newcommand{\gnustilde}{\symbol{"7E}}
79 \newcommand{\gnusless}{{$<$}}
80 \newcommand{\gnusgreater}{{$>$}}
81 \newcommand{\gnusbraceleft}{{$>$}}
82 \newcommand{\gnusbraceright}{{$>$}}
83
84 \newcommand{\gnushead}{\raisebox{-1cm}{\epsfig{figure=ps/gnus-head,height=1cm}}}
85 \newcommand{\gnusinteresting}{
86 \marginpar[\mbox{}\hfill\gnushead]{\gnushead}
87 }
88
89 \newcommand{\gnuscleardoublepage}{\ifodd\count0\mbox{}\clearpage\thispagestyle{empty}\mbox{}\clearpage\else\clearpage\fi}
90
91 \newcommand{\gnuspagechapter}[1]{
92 {\mbox{}}
93 }
94
95 \newdimen{\gnusdimen}
96 \gnusdimen 0pt
97
98 \newcommand{\gnuschapter}[2]{
99 \gnuscleardoublepage
100 \ifdim \gnusdimen = 0pt\setcounter{page}{1}\pagestyle{gnus}\pagenumbering{arabic} \gnusdimen 1pt\fi
101 \chapter{#2}
102 \renewcommand{\gnussectionname}{}
103 \renewcommand{\gnuschaptername}{#2}
104 \thispagestyle{empty}
105 \hspace*{-2cm}
106 \begin{picture}(500,500)(0,0)
107 \put(480,350){\makebox(0,0)[tr]{#1}}
108 \put(40,300){\makebox(500,50)[bl]{{\Huge\bf{#2}}}}
109 \end{picture}
110 \clearpage
111 }
112
113 \newcommand{\gnusfigure}[3]{
114 \begin{figure}
115 \mbox{}\ifodd\count0\hspace*{-0.8cm}\else\hspace*{-3cm}\fi\begin{picture}(440,#2)
116 #3
117 \end{picture}
118 \caption{#1}
119 \end{figure}
120 }
121
122 \newcommand{\gnusicon}[1]{
123 \marginpar[\mbox{}\hfill\raisebox{-1.5cm}{\epsfig{figure=ps/#1-up,height=1.5cm}}]{\raisebox{-1cm}{\epsfig{figure=ps/#1-up,height=1cm}}}
124 }
125
126 \newcommand{\gnuspicon}[1]{
127 \margindex{\epsfig{figure=#1,width=2cm}}
128 }
129
130 \newcommand{\gnusxface}[2]{
131 \margindex{\epsfig{figure=#1,width=1cm}\epsfig{figure=#2,width=1cm}}
132 }
133
134 \newcommand{\gnussmiley}[2]{
135 \margindex{\makebox[2cm]{\hfill\epsfig{figure=#1,width=0.5cm}\hfill\epsfig{figure=#2,width=0.5cm}\hfill}}
136 }
137
138 \newcommand{\gnusitemx}[1]{\mbox{}\vspace*{-\itemsep}\vspace*{-\parsep}\item#1}
139
140 \newcommand{\gnussection}[1]{
141 \renewcommand{\gnussectionname}{#1}
142 \section{#1}
143 }
144
145 \newenvironment{codelist}%
146 {\begin{list}{}{
147 }
148 }{\end{list}}
149
150 \newenvironment{kbdlist}%
151 {\begin{list}{}{
152 \labelwidth=0cm
153 }
154 }{\end{list}}
155
156 \newenvironment{dfnlist}%
157 {\begin{list}{}{
158 }
159 }{\end{list}}
160
161 \newenvironment{stronglist}%
162 {\begin{list}{}{
163 }
164 }{\end{list}}
165
166 \newenvironment{samplist}%
167 {\begin{list}{}{
168 }
169 }{\end{list}}
170
171 \newenvironment{varlist}%
172 {\begin{list}{}{
173 }
174 }{\end{list}}
175
176 \newenvironment{emphlist}%
177 {\begin{list}{}{
178 }
179 }{\end{list}}
180
181 \newlength\gnusheadtextwidth
182 \setlength{\gnusheadtextwidth}{\headtextwidth}
183 \addtolength{\gnusheadtextwidth}{1cm}
184
185 \newpagestyle{gnuspreamble}%
186 {
187 {
188 \ifodd\count0
189 {
190 \hspace*{-0.23cm}\underline{\makebox[\gnusheadtextwidth]{\mbox{}}\textbf{\hfill\roman{page}}}
191 }
192 \else
193 {
194 \hspace*{-3.25cm}\underline{\makebox[\gnusheadtextwidth]{\textbf{\roman{page}\hfill\mbox{}}}
195 }
196 }
197 \fi
198 }
199 }
200 {
201 \ifodd\count0
202 \mbox{} \hfill
203 \raisebox{-0.5cm}{\epsfig{figure=ps/gnus-big-logo,height=1cm}}
204 \else
205 \raisebox{-0.5cm}{\epsfig{figure=ps/gnus-big-logo,height=1cm}}
206 \hfill \mbox{}
207 \fi
208 }
209
210 \newpagestyle{gnusindex}%
211 {
212 {
213 \ifodd\count0
214 {
215 \hspace*{-0.23cm}\underline{\makebox[\gnusheadtextwidth]{\textbf{\gnuschaptername\hfill\arabic{page}}}}
216 }
217 \else
218 {
219 \hspace*{-3.25cm}\underline{\makebox[\gnusheadtextwidth]{\textbf{\arabic{page}\hfill\gnuschaptername}}}
220 }
221 \fi
222 }
223 }
224 {
225 \ifodd\count0
226 \mbox{} \hfill
227 \raisebox{-0.5cm}{\epsfig{figure=ps/gnus-big-logo,height=1cm}}
228 \else
229 \raisebox{-0.5cm}{\epsfig{figure=ps/gnus-big-logo,height=1cm}}
230 \hfill \mbox{}
231 \fi
232 }
233
234 \newpagestyle{gnus}%
235 {
236 {
237 \ifodd\count0
238 {
239 \makebox[12cm]{\hspace*{3.1cm}\underline{\makebox[\gnusheadtextwidth]{\textbf{\arabic{chapter}.\arabic{section}} \textbf{\gnussectionname\hfill\arabic{page}}}}}
240 }
241 \else
242 {
243 \makebox[12cm]{\hspace*{-2.95cm}\underline{\makebox[\gnusheadtextwidth]{\textbf{\arabic{page}\hfill\gnuschaptername}}}}
244 }
245 \fi
246 }
247 }
248 {
249 \ifodd\count0
250 \mbox{} \hfill
251 \raisebox{-0.5cm}{\epsfig{figure=ps/gnus-big-logo,height=1cm}}
252 \else
253 \raisebox{-0.5cm}{\epsfig{figure=ps/gnus-big-logo,height=1cm}}
254 \hfill \mbox{}
255 \fi
256 }
257
258 \pagenumbering{roman}
259 \pagestyle{gnuspreamble}
260
261 @end iflatex
262 @end iftex
263
264 @iftex
265 @iflatex
266 \begin{titlepage}
267 {
268
269 %\addtolength{\oddsidemargin}{-5cm}
270 %\addtolength{\evensidemargin}{-5cm}
271 \parindent=0cm
272 \addtolength{\textheight}{2cm}
273
274 \gnustitle{\gnustitlename}\hfill\gnusversion{\gnusversionname}\\
275 \rule{15cm}{1mm}\\
276 \vfill
277 \hspace*{0cm}\epsfig{figure=ps/gnus-big-logo,height=15cm}
278 \vfill
279 \rule{15cm}{1mm}\\
280 \gnusauthor{by Lars Magne Ingebrigtsen}
281 \newpage
282 }
283
284 \mbox{}
285 \vfill
286
287 \thispagestyle{empty}
288
289 Copyright \copyright{} 1995, 1996, 1997, 1998, 1999, 2000, 2001
290 Free Software Foundation, Inc.
291
292
293 Permission is granted to copy, distribute and/or modify this document
294 under the terms of the GNU Free Documentation License, Version 1.1 or
295 any later version published by the Free Software Foundation; with no
296 Invariant Sections, with the Front-Cover texts being ``A GNU
297 Manual'', and with the Back-Cover Texts as in (a) below.  A copy of the
298 license is included in the section entitled ``GNU Free Documentation
299 License'' in the Emacs manual.
300
301 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
302 this GNU Manual, like GNU software.  Copies published by the Free
303 Software Foundation raise funds for GNU development.''
304
305 This document is part of a collection distributed under the GNU Free
306 Documentation License.  If you want to distribute this document
307 separately from the collection, you can do so by adding a copy of the
308 license to the document, as described in section 6 of the license.
309 \newpage
310 \end{titlepage}
311 @end iflatex
312 @end iftex
313
314 @ifnottex
315
316 This file documents Gnus, the GNU Emacs newsreader.
317
318 Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001 
319         Free Software Foundation, Inc.
320
321 Permission is granted to copy, distribute and/or modify this document
322 under the terms of the GNU Free Documentation License, Version 1.1 or
323 any later version published by the Free Software Foundation; with the
324 Invariant Sections being none, with the Front-Cover texts being ``A GNU
325 Manual'', and with the Back-Cover Texts as in (a) below.  A copy of the
326 license is included in the section entitled ``GNU Free Documentation
327 License'' in the Emacs manual.
328
329 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
330 this GNU Manual, like GNU software.  Copies published by the Free
331 Software Foundation raise funds for GNU development.''
332
333 This document is part of a collection distributed under the GNU Free
334 Documentation License.  If you want to distribute this document
335 separately from the collection, you can do so by adding a copy of the
336 license to the document, as described in section 6 of the license.
337 @end ifnottex
338
339 @tex
340
341 @titlepage
342 @title Gnus Manual
343
344 @author by Lars Magne Ingebrigtsen
345 @page
346
347 @vskip 0pt plus 1filll
348 Copyright @copyright{} 1995, 1996, 1997, 1998, 1999, 2000, 2001
349         Free Software Foundation, Inc.
350
351 Permission is granted to copy, distribute and/or modify this document
352 under the terms of the GNU Free Documentation License, Version 1.1 or
353 any later version published by the Free Software Foundation; with no
354 Invariant Sections, with the Front-Cover texts being ``A GNU
355 Manual'', and with the Back-Cover Texts as in (a) below.  A copy of the
356 license is included in the section entitled ``GNU Free Documentation
357 License'' in the Emacs manual.
358
359 (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
360 this GNU Manual, like GNU software.  Copies published by the Free
361 Software Foundation raise funds for GNU development.''
362
363 This document is part of a collection distributed under the GNU Free
364 Documentation License.  If you want to distribute this document
365 separately from the collection, you can do so by adding a copy of the
366 license to the document, as described in section 6 of the license.
367
368 @end titlepage
369 @page
370
371 @end tex
372
373
374 @node Top
375 @top The Gnus Newsreader
376
377 @ifinfo
378
379 You can read news (and mail) from within Emacs by using Gnus.  The news
380 can be gotten by any nefarious means you can think of---@sc{nntp}, local
381 spool or your mbox file.  All at the same time, if you want to push your
382 luck.
383
384 This manual corresponds to Oort Gnus v.
385
386 @end ifinfo
387
388 @iftex
389
390 @iflatex
391 \tableofcontents
392 \gnuscleardoublepage
393 @end iflatex
394
395 Gnus is the advanced, self-documenting, customizable, extensible
396 unreal-time newsreader for GNU Emacs.
397
398 Oops.  That sounds oddly familiar, so let's start over again to avoid
399 being accused of plagiarism:
400
401 Gnus is a message-reading laboratory.  It will let you look at just
402 about anything as if it were a newsgroup.  You can read mail with it,
403 you can browse directories with it, you can @code{ftp} with it---you
404 can even read news with it!
405
406 Gnus tries to empower people who read news the same way Emacs empowers
407 people who edit text.  Gnus sets no limits to what the user should be
408 allowed to do.  Users are encouraged to extend Gnus to make it behave
409 like they want it to behave.  A program should not control people;
410 people should be empowered to do what they want by using (or abusing)
411 the program.
412
413 @end iftex
414
415 @menu
416 * Starting Up::                 Finding news can be a pain.
417 * Group Buffer::                Selecting, subscribing and killing groups.
418 * Summary Buffer::              Reading, saving and posting articles.
419 * Article Buffer::              Displaying and handling articles.
420 * Composing Messages::          Information on sending mail and news.
421 * Select Methods::              Gnus reads all messages from various select methods.
422 * Scoring::                     Assigning values to articles.
423 * Various::                     General purpose settings.
424 * The End::                     Farewell and goodbye.
425 * Appendices::                  Terminology, Emacs intro, FAQ, History, Internals.
426 * Index::                       Variable, function and concept index.
427 * Key Index::                   Key Index.
428
429 @detailmenu
430  --- The Detailed Node Listing ---
431
432 Starting Gnus
433
434 * Finding the News::            Choosing a method for getting news.
435 * The First Time::              What does Gnus do the first time you start it?
436 * The Server is Down::          How can I read my mail then?
437 * Slave Gnusae::                You can have more than one Gnus active at a time.
438 * Fetching a Group::            Starting Gnus just to read a group.
439 * New Groups::                  What is Gnus supposed to do with new groups?
440 * Changing Servers::            You may want to move from one server to another.
441 * Startup Files::               Those pesky startup files---@file{.newsrc}.
442 * Auto Save::                   Recovering from a crash.
443 * The Active File::             Reading the active file over a slow line Takes Time.
444 * Startup Variables::           Other variables you might change.
445
446 New Groups
447
448 * Checking New Groups::         Determining what groups are new.
449 * Subscription Methods::        What Gnus should do with new groups.
450 * Filtering New Groups::        Making Gnus ignore certain new groups.
451
452 Group Buffer
453
454 * Group Buffer Format::         Information listed and how you can change it.
455 * Group Maneuvering::           Commands for moving in the group buffer.
456 * Selecting a Group::           Actually reading news.
457 * Subscription Commands::       Unsubscribing, killing, subscribing.
458 * Group Data::                  Changing the info for a group.
459 * Group Levels::                Levels? What are those, then?
460 * Group Score::                 A mechanism for finding out what groups you like.
461 * Marking Groups::              You can mark groups for later processing.
462 * Foreign Groups::              Creating and editing groups.
463 * Group Parameters::            Each group may have different parameters set.
464 * Listing Groups::              Gnus can list various subsets of the groups.
465 * Sorting Groups::              Re-arrange the group order.
466 * Group Maintenance::           Maintaining a tidy @file{.newsrc} file.
467 * Browse Foreign Server::       You can browse a server.  See what it has to offer.
468 * Exiting Gnus::                Stop reading news and get some work done.
469 * Group Topics::                A folding group mode divided into topics.
470 * Misc Group Stuff::            Other stuff that you can to do.
471
472 Group Buffer Format
473
474 * Group Line Specification::    Deciding how the group buffer is to look.
475 * Group Modeline Specification::  The group buffer modeline.
476 * Group Highlighting::          Having nice colors in the group buffer.
477
478 Group Topics
479
480 * Topic Variables::             How to customize the topics the Lisp Way.
481 * Topic Commands::              Interactive E-Z commands.
482 * Topic Sorting::               Sorting each topic individually.
483 * Topic Topology::              A map of the world.
484 * Topic Parameters::            Parameters that apply to all groups in a topic.
485
486 Misc Group Stuff
487
488 * Scanning New Messages::       Asking Gnus to see whether new messages have arrived.
489 * Group Information::           Information and help on groups and Gnus.
490 * Group Timestamp::             Making Gnus keep track of when you last read a group.
491 * File Commands::               Reading and writing the Gnus files.
492
493 Summary Buffer
494
495 * Summary Buffer Format::       Deciding how the summary buffer is to look.
496 * Summary Maneuvering::         Moving around the summary buffer.
497 * Choosing Articles::           Reading articles.
498 * Paging the Article::          Scrolling the current article.
499 * Reply Followup and Post::     Posting articles.
500 * Delayed Articles::            
501 * Marking Articles::            Marking articles as read, expirable, etc.
502 * Limiting::                    You can limit the summary buffer.
503 * Threading::                   How threads are made.
504 * Sorting the Summary Buffer::  How articles and threads are sorted.
505 * Asynchronous Fetching::       Gnus might be able to pre-fetch articles.
506 * Article Caching::             You may store articles in a cache.
507 * Persistent Articles::         Making articles expiry-resistant.
508 * Article Backlog::             Having already read articles hang around.
509 * Saving Articles::             Ways of customizing article saving.
510 * Decoding Articles::           Gnus can treat series of (uu)encoded articles.
511 * Article Treatment::           The article buffer can be mangled at will.
512 * MIME Commands::               Doing MIMEy things with the articles.
513 * Charsets::                    Character set issues.
514 * Article Commands::            Doing various things with the article buffer.
515 * Summary Sorting::             Sorting the summary buffer in various ways.
516 * Finding the Parent::          No child support? Get the parent.
517 * Alternative Approaches::      Reading using non-default summaries.
518 * Tree Display::                A more visual display of threads.
519 * Mail Group Commands::         Some commands can only be used in mail groups.
520 * Various Summary Stuff::       What didn't fit anywhere else.
521 * Exiting the Summary Buffer::  Returning to the Group buffer,
522                                 or reselecting the current group.
523 * Crosspost Handling::          How crossposted articles are dealt with.
524 * Duplicate Suppression::       An alternative when crosspost handling fails.
525 * Security::                    Decrypt and Verify.
526 * Mailing List::                Mailing list minor mode.
527
528 Summary Buffer Format
529
530 * Summary Buffer Lines::        You can specify how summary lines should look.
531 * To From Newsgroups::          How to not display your own name.
532 * Summary Buffer Mode Line::    You can say how the mode line should look.
533 * Summary Highlighting::        Making the summary buffer all pretty and nice.
534
535 Choosing Articles
536
537 * Choosing Commands::           Commands for choosing articles.
538 * Choosing Variables::          Variables that influence these commands.
539
540 Reply, Followup and Post
541
542 * Summary Mail Commands::       Sending mail.
543 * Summary Post Commands::       Sending news.
544 * Summary Message Commands::    Other Message-related commands.
545 * Canceling and Superseding::   
546
547 Marking Articles
548
549 * Unread Articles::             Marks for unread articles.
550 * Read Articles::               Marks for read articles.
551 * Other Marks::                 Marks that do not affect readedness.
552 * Setting Marks::               
553 * Generic Marking Commands::    
554 * Setting Process Marks::       
555
556 Marking Articles
557
558 * Setting Marks::             How to set and remove marks.
559 * Generic Marking Commands::  How to customize the marking.
560 * Setting Process Marks::     How to mark articles for later processing.
561
562 Threading
563
564 * Customizing Threading::       Variables you can change to affect the threading.
565 * Thread Commands::             Thread based commands in the summary buffer.
566
567 Customizing Threading
568
569 * Loose Threads::               How Gnus gathers loose threads into bigger threads.
570 * Filling In Threads::          Making the threads displayed look fuller.
571 * More Threading::              Even more variables for fiddling with threads.
572 * Low-Level Threading::         You thought it was over... but you were wrong!
573
574 Decoding Articles
575
576 * Uuencoded Articles::          Uudecode articles.
577 * Shell Archives::              Unshar articles.
578 * PostScript Files::            Split PostScript.
579 * Other Files::                 Plain save and binhex.
580 * Decoding Variables::          Variables for a happy decoding.
581 * Viewing Files::               You want to look at the result of the decoding?
582
583 Decoding Variables
584
585 * Rule Variables::              Variables that say how a file is to be viewed.
586 * Other Decode Variables::      Other decode variables.
587 * Uuencoding and Posting::      Variables for customizing uuencoding.
588
589 Article Treatment
590
591 * Article Highlighting::        You want to make the article look like fruit salad.
592 * Article Fontisizing::         Making emphasized text look nice.
593 * Article Hiding::              You also want to make certain info go away.
594 * Article Washing::             Lots of way-neat functions to make life better.
595 * Article Buttons::             Click on URLs, Message-IDs, addresses and the like.
596 * Article Date::                Grumble, UT!
597 * Article Signature::           What is a signature?
598 * Article Miscellania::         Various other stuff.
599
600 Alternative Approaches
601
602 * Pick and Read::               First mark articles and then read them.
603 * Binary Groups::               Auto-decode all articles.
604
605 Various Summary Stuff
606
607 * Summary Group Information::   Information oriented commands.
608 * Searching for Articles::      Multiple article commands.
609 * Summary Generation Commands::  
610 * Really Various Summary Commands::  Those pesky non-conformant commands.
611
612 Article Buffer
613
614 * Hiding Headers::              Deciding what headers should be displayed.
615 * Using MIME::                  Pushing articles through @sc{mime} before reading them.
616 * Customizing Articles::        Tailoring the look of the articles.
617 * Article Keymap::              Keystrokes available in the article buffer.
618 * Misc Article::                Other stuff.
619
620 Composing Messages
621
622 * Mail::                        Mailing and replying.
623 * Posting Server::              What server should you post via?
624 * Mail and Post::               Mailing and posting at the same time.
625 * Archived Messages::           Where Gnus stores the messages you've sent.
626 * Posting Styles::              An easier way to specify who you are.
627 * Drafts::                      Postponing messages and rejected messages.
628 * Rejected Articles::           What happens if the server doesn't like your article?
629 * Using GPG::                   How to use GPG and MML to sign and encrypt messages
630
631 Select Methods
632
633 * Server Buffer::               Making and editing virtual servers.
634 * Getting News::                Reading USENET news with Gnus.
635 * Getting Mail::                Reading your personal mail with Gnus.
636 * Browsing the Web::            Getting messages from a plethora of Web sources.
637 * IMAP::                        Using Gnus as a @sc{imap} client.
638 * Other Sources::               Reading directories, files, SOUP packets.
639 * Combined Groups::             Combining groups into one group.
640 * Gnus Unplugged::              Reading news and mail offline.
641
642 Server Buffer
643
644 * Server Buffer Format::        You can customize the look of this buffer.
645 * Server Commands::             Commands to manipulate servers.
646 * Example Methods::             Examples server specifications.
647 * Creating a Virtual Server::   An example session.
648 * Server Variables::            Which variables to set.
649 * Servers and Methods::         You can use server names as select methods.
650 * Unavailable Servers::         Some servers you try to contact may be down.
651
652 Getting News
653
654 * NNTP::                        Reading news from an @sc{nntp} server.
655 * News Spool::                  Reading news from the local spool.
656
657 @sc{nntp}
658
659 * Direct Functions::            Connecting directly to the server.
660 * Indirect Functions::          Connecting indirectly to the server.
661 * Common Variables::            Understood by several connection functions.
662
663 Getting Mail
664
665 * Mail in a Newsreader::        Important introductory notes.
666 * Getting Started Reading Mail::  A simple cookbook example.
667 * Splitting Mail::              How to create mail groups.
668 * Mail Sources::                How to tell Gnus where to get mail from.
669 * Mail Back End Variables::     Variables for customizing mail handling.
670 * Fancy Mail Splitting::        Gnus can do hairy splitting of incoming mail.
671 * Group Mail Splitting::        Use group customize to drive mail splitting.
672 * Incorporating Old Mail::      What about the old mail you have?
673 * Expiring Mail::               Getting rid of unwanted mail.
674 * Washing Mail::                Removing gruft from the mail you get.
675 * Duplicates::                  Dealing with duplicated mail.
676 * Not Reading Mail::            Using mail back ends for reading other files.
677 * Choosing a Mail Back End::    Gnus can read a variety of mail formats.
678 * Archiving Mail::              How to backup your mail.
679
680 Mail Sources
681
682 * Mail Source Specifiers::      How to specify what a mail source is.
683 * Mail Source Customization::   Some variables that influence things.
684 * Fetching Mail::               Using the mail source specifiers.
685
686 Choosing a Mail Back End
687
688 * Unix Mail Box::               Using the (quite) standard Un*x mbox.
689 * Rmail Babyl::                 Emacs programs use the rmail babyl format.
690 * Mail Spool::                  Store your mail in a private spool?
691 * MH Spool::                    An mhspool-like back end.
692 * Mail Folders::                Having one file for each group.
693 * Comparing Mail Back Ends::    An in-depth looks at pros and cons.
694
695 Browsing the Web
696
697 * Web Searches::                Creating groups from articles that match a string.
698 * Slashdot::                    Reading the Slashdot comments.
699 * Ultimate::                    The Ultimate Bulletin Board systems.
700 * Web Archive::                 Reading mailing list archived on web.
701 * RSS::                         Reading RDF site summary.
702 * Customizing w3::              Doing stuff to Emacs/w3 from Gnus.
703
704 @sc{imap}
705
706 * Splitting in IMAP::           Splitting mail with nnimap.
707 * Editing IMAP ACLs::           Limiting/enabling other users access to a mailbox.
708 * Expunging mailboxes::         Equivalent of a "compress mailbox" button.
709
710 Other Sources
711
712 * Directory Groups::            You can read a directory as if it was a newsgroup.
713 * Anything Groups::             Dired?  Who needs dired?
714 * Document Groups::             Single files can be the basis of a group.
715 * SOUP::                        Reading @sc{soup} packets ``offline''.
716 * Mail-To-News Gateways::       Posting articles via mail-to-news gateways.
717
718 Document Groups
719
720 * Document Server Internals::   How to add your own document types.
721
722 SOUP
723
724 * SOUP Commands::               Commands for creating and sending @sc{soup} packets
725 * SOUP Groups::                 A back end for reading @sc{soup} packets.
726 * SOUP Replies::                How to enable @code{nnsoup} to take over mail and news.
727
728 Combined Groups
729
730 * Virtual Groups::              Combining articles from many groups.
731 * Kibozed Groups::              Looking through parts of the newsfeed for articles.
732
733 Gnus Unplugged
734
735 * Agent Basics::                How it all is supposed to work.
736 * Agent Categories::            How to tell the Gnus Agent what to download.
737 * Agent Commands::              New commands for all the buffers.
738 * Agent Expiry::                How to make old articles go away.
739 * Agent and IMAP::              How to use the Agent with IMAP.
740 * Outgoing Messages::           What happens when you post/mail something?
741 * Agent Variables::             Customizing is fun.
742 * Example Setup::               An example @file{.gnus.el} file for offline people.
743 * Batching Agents::             How to fetch news from a @code{cron} job.
744 * Agent Caveats::               What you think it'll do and what it does.
745
746 Agent Categories
747
748 * Category Syntax::             What a category looks like.
749 * Category Buffer::             A buffer for maintaining categories.
750 * Category Variables::          Customize'r'Us.
751
752 Agent Commands
753
754 * Group Agent Commands::        
755 * Summary Agent Commands::      
756 * Server Agent Commands::       
757
758 Scoring
759
760 * Summary Score Commands::      Adding score entries for the current group.
761 * Group Score Commands::        General score commands.
762 * Score Variables::             Customize your scoring.  (My, what terminology).
763 * Score File Format::           What a score file may contain.
764 * Score File Editing::          You can edit score files by hand as well.
765 * Adaptive Scoring::            Big Sister Gnus knows what you read.
766 * Home Score File::             How to say where new score entries are to go.
767 * Followups To Yourself::       Having Gnus notice when people answer you.
768 * Scoring On Other Headers::    Scoring on non-standard headers.
769 * Scoring Tips::                How to score effectively.
770 * Reverse Scoring::             That problem child of old is not problem.
771 * Global Score Files::          Earth-spanning, ear-splitting score files.
772 * Kill Files::                  They are still here, but they can be ignored.
773 * Converting Kill Files::       Translating kill files to score files.
774 * GroupLens::                   Getting predictions on what you like to read.
775 * Advanced Scoring::            Using logical expressions to build score rules.
776 * Score Decays::                It can be useful to let scores wither away.
777
778 GroupLens
779
780 * Using GroupLens::             How to make Gnus use GroupLens.
781 * Rating Articles::             Letting GroupLens know how you rate articles.
782 * Displaying Predictions::      Displaying predictions given by GroupLens.
783 * GroupLens Variables::         Customizing GroupLens.
784
785 Advanced Scoring
786
787 * Advanced Scoring Syntax::     A definition.
788 * Advanced Scoring Examples::   What they look like.
789 * Advanced Scoring Tips::       Getting the most out of it.
790
791 Various
792
793 * Process/Prefix::              A convention used by many treatment commands.
794 * Interactive::                 Making Gnus ask you many questions.
795 * Symbolic Prefixes::           How to supply some Gnus functions with options.
796 * Formatting Variables::        You can specify what buffers should look like.
797 * Window Layout::               Configuring the Gnus buffer windows.
798 * Faces and Fonts::             How to change how faces look.
799 * Compilation::                 How to speed Gnus up.
800 * Mode Lines::                  Displaying information in the mode lines.
801 * Highlighting and Menus::      Making buffers look all nice and cozy.
802 * Buttons::                     Get tendinitis in ten easy steps!
803 * Daemons::                     Gnus can do things behind your back.
804 * NoCeM::                       How to avoid spam and other fatty foods.
805 * Undo::                        Some actions can be undone.
806 * Moderation::                  What to do if you're a moderator.
807 * XEmacs Enhancements::         There are more pictures and stuff under XEmacs.
808 * Fuzzy Matching::              What's the big fuzz?
809 * Thwarting Email Spam::        A how-to on avoiding unsolicited commercial email.
810 * Various Various::             Things that are really various.
811
812 Formatting Variables
813
814 * Formatting Basics::           A formatting variable is basically a format string.
815 * Mode Line Formatting::        Some rules about mode line formatting variables.
816 * Advanced Formatting::         Modifying output in various ways.
817 * User-Defined Specs::          Having Gnus call your own functions.
818 * Formatting Fonts::            Making the formatting look colorful and nice.
819 * Positioning Point::           Moving point to a position after an operation.
820 * Tabulation::                  Tabulating your output.
821 * Wide Characters::             Dealing with wide characters.
822
823 XEmacs Enhancements
824
825 * Picons::                      How to display pictures of what your reading.
826 * Smileys::                     Show all those happy faces the way they were meant to be shown.
827 * Toolbar::                     Click'n'drool.
828 * XVarious::                    Other XEmacsy Gnusey variables.
829
830 Picons
831
832 * Picon Basics::                What are picons and How do I get them.
833 * Picon Requirements::          Don't go further if you aren't using XEmacs.
834 * Easy Picons::                 Displaying Picons---the easy way.
835 * Hard Picons::                 The way you should do it.  You'll learn something.
836 * Picon Useless Configuration::  Other variables you can trash/tweak/munge/play with.
837
838 Appendices
839
840 * History::                     How Gnus got where it is today.
841 * On Writing Manuals::          Why this is not a beginner's guide.
842 * Terminology::                 We use really difficult, like, words here.
843 * Customization::               Tailoring Gnus to your needs.
844 * Troubleshooting::             What you might try if things do not work.
845 * Gnus Reference Guide::        Rilly, rilly technical stuff.
846 * Emacs for Heathens::          A short introduction to Emacsian terms.
847
848 History
849
850 * Gnus Versions::               What Gnus versions have been released.
851 * Other Gnus Versions::         Other Gnus versions that also have been released.
852 * Why?::                        What's the point of Gnus?
853 * Compatibility::               Just how compatible is Gnus with @sc{gnus}?
854 * Conformity::                  Gnus tries to conform to all standards.
855 * Emacsen::                     Gnus can be run on a few modern Emacsen.
856 * Gnus Development::            How Gnus is developed.
857 * Contributors::                Oodles of people.
858 * New Features::                Pointers to some of the new stuff in Gnus.
859
860 New Features
861
862 * ding Gnus::                   New things in Gnus 5.0/5.1, the first new Gnus.
863 * September Gnus::              The Thing Formally Known As Gnus 5.2/5.3.
864 * Red Gnus::                    Third time best---Gnus 5.4/5.5.
865 * Quassia Gnus::                Two times two is four, or Gnus 5.6/5.7.
866 * Pterodactyl Gnus::            Pentad also starts with P, AKA Gnus 5.8/5.9.
867
868 Customization
869
870 * Slow/Expensive Connection::   You run a local Emacs and get the news elsewhere.
871 * Slow Terminal Connection::    You run a remote Emacs.
872 * Little Disk Space::           You feel that having large setup files is icky.
873 * Slow Machine::                You feel like buying a faster machine.
874
875 Gnus Reference Guide
876
877 * Gnus Utility Functions::      Common functions and variable to use.
878 * Back End Interface::          How Gnus communicates with the servers.
879 * Score File Syntax::           A BNF definition of the score file standard.
880 * Headers::                     How Gnus stores headers internally.
881 * Ranges::                      A handy format for storing mucho numbers.
882 * Group Info::                  The group info format.
883 * Extended Interactive::        Symbolic prefixes and stuff.
884 * Emacs/XEmacs Code::           Gnus can be run under all modern Emacsen.
885 * Various File Formats::        Formats of files that Gnus use.
886
887 Back End Interface
888
889 * Required Back End Functions:: Functions that must be implemented.
890 * Optional Back End Functions:: Functions that need not be implemented.
891 * Error Messaging::             How to get messages and report errors.
892 * Writing New Back Ends::       Extending old back ends.
893 * Hooking New Back Ends Into Gnus::  What has to be done on the Gnus end.
894 * Mail-like Back Ends::         Some tips on mail back ends.
895
896 Various File Formats
897
898 * Active File Format::          Information on articles and groups available.
899 * Newsgroups File Format::      Group descriptions.
900
901 Emacs for Heathens
902
903 * Keystrokes::                  Entering text and executing commands.
904 * Emacs Lisp::                  The built-in Emacs programming language.
905
906 @end detailmenu
907 @end menu
908
909 @node Starting Up
910 @chapter Starting Gnus
911 @cindex starting up
912
913 @kindex M-x gnus
914 @findex gnus
915 If your system administrator has set things up properly, starting Gnus
916 and reading news is extremely easy---you just type @kbd{M-x gnus} in
917 your Emacs.
918
919 @findex gnus-other-frame
920 @kindex M-x gnus-other-frame
921 If you want to start Gnus in a different frame, you can use the command
922 @kbd{M-x gnus-other-frame} instead.
923
924 If things do not go smoothly at startup, you have to twiddle some
925 variables in your @file{~/.gnus} file.  This file is similar to
926 @file{~/.emacs}, but is read when gnus starts.
927
928 If you puzzle at any terms used in this manual, please refer to the
929 terminology section (@pxref{Terminology}).
930
931 @menu
932 * Finding the News::            Choosing a method for getting news.
933 * The First Time::              What does Gnus do the first time you start it?
934 * The Server is Down::          How can I read my mail then?
935 * Slave Gnusae::                You can have more than one Gnus active at a time.
936 * Fetching a Group::            Starting Gnus just to read a group.
937 * New Groups::                  What is Gnus supposed to do with new groups?
938 * Changing Servers::            You may want to move from one server to another.
939 * Startup Files::               Those pesky startup files---@file{.newsrc}.
940 * Auto Save::                   Recovering from a crash.
941 * The Active File::             Reading the active file over a slow line Takes Time.
942 * Startup Variables::           Other variables you might change.
943 @end menu
944
945
946 @node Finding the News
947 @section Finding the News
948 @cindex finding news
949
950 @vindex gnus-select-method
951 @c @head
952 The @code{gnus-select-method} variable says where Gnus should look for
953 news.  This variable should be a list where the first element says
954 @dfn{how} and the second element says @dfn{where}.  This method is your
955 native method.  All groups not fetched with this method are
956 foreign groups.
957
958 For instance, if the @samp{news.somewhere.edu} @sc{nntp} server is where
959 you want to get your daily dosage of news from, you'd say:
960
961 @lisp
962 (setq gnus-select-method '(nntp "news.somewhere.edu"))
963 @end lisp
964
965 If you want to read directly from the local spool, say:
966
967 @lisp
968 (setq gnus-select-method '(nnspool ""))
969 @end lisp
970
971 If you can use a local spool, you probably should, as it will almost
972 certainly be much faster.
973
974 @vindex gnus-nntpserver-file
975 @cindex NNTPSERVER
976 @cindex @sc{nntp} server
977 If this variable is not set, Gnus will take a look at the
978 @code{NNTPSERVER} environment variable.  If that variable isn't set,
979 Gnus will see whether @code{gnus-nntpserver-file}
980 (@file{/etc/nntpserver} by default) has any opinions on the matter.  If
981 that fails as well, Gnus will try to use the machine running Emacs as an @sc{nntp} server.  That's a long shot, though.
982
983 @vindex gnus-nntp-server
984 If @code{gnus-nntp-server} is set, this variable will override
985 @code{gnus-select-method}.  You should therefore set
986 @code{gnus-nntp-server} to @code{nil}, which is what it is by default.
987
988 @vindex gnus-secondary-servers
989 @vindex gnus-nntp-server
990 You can also make Gnus prompt you interactively for the name of an
991 @sc{nntp} server.  If you give a non-numerical prefix to @code{gnus}
992 (i.e., @kbd{C-u M-x gnus}), Gnus will let you choose between the servers
993 in the @code{gnus-secondary-servers} list (if any).  You can also just
994 type in the name of any server you feel like visiting.  (Note that this
995 will set @code{gnus-nntp-server}, which means that if you then @kbd{M-x
996 gnus} later in the same Emacs session, Gnus will contact the same
997 server.)
998
999 @findex gnus-group-browse-foreign-server
1000 @kindex B (Group)
1001 However, if you use one @sc{nntp} server regularly and are just
1002 interested in a couple of groups from a different server, you would be
1003 better served by using the @kbd{B} command in the group buffer.  It will
1004 let you have a look at what groups are available, and you can subscribe
1005 to any of the groups you want to.  This also makes @file{.newsrc}
1006 maintenance much tidier.  @xref{Foreign Groups}.
1007
1008 @vindex gnus-secondary-select-methods
1009 @c @head
1010 A slightly different approach to foreign groups is to set the
1011 @code{gnus-secondary-select-methods} variable.  The select methods
1012 listed in this variable are in many ways just as native as the
1013 @code{gnus-select-method} server.  They will also be queried for active
1014 files during startup (if that's required), and new newsgroups that
1015 appear on these servers will be subscribed (or not) just as native
1016 groups are.
1017
1018 For instance, if you use the @code{nnmbox} back end to read your mail,
1019 you would typically set this variable to
1020
1021 @lisp
1022 (setq gnus-secondary-select-methods '((nnmbox "")))
1023 @end lisp
1024
1025
1026 @node The First Time
1027 @section The First Time
1028 @cindex first time usage
1029
1030 If no startup files exist, Gnus will try to determine what groups should
1031 be subscribed by default.
1032
1033 @vindex gnus-default-subscribed-newsgroups
1034 If the variable @code{gnus-default-subscribed-newsgroups} is set, Gnus
1035 will subscribe you to just those groups in that list, leaving the rest
1036 killed.  Your system administrator should have set this variable to
1037 something useful.
1038
1039 Since she hasn't, Gnus will just subscribe you to a few arbitrarily
1040 picked groups (i.e., @samp{*.newusers}).  (@dfn{Arbitrary} is defined
1041 here as @dfn{whatever Lars thinks you should read}.)
1042
1043 You'll also be subscribed to the Gnus documentation group, which should
1044 help you with most common problems.
1045
1046 If @code{gnus-default-subscribed-newsgroups} is @code{t}, Gnus will just
1047 use the normal functions for handling new groups, and not do anything
1048 special.
1049
1050
1051 @node The Server is Down
1052 @section The Server is Down
1053 @cindex server errors
1054
1055 If the default server is down, Gnus will understandably have some
1056 problems starting.  However, if you have some mail groups in addition to
1057 the news groups, you may want to start Gnus anyway.
1058
1059 Gnus, being the trusting sort of program, will ask whether to proceed
1060 without a native select method if that server can't be contacted.  This
1061 will happen whether the server doesn't actually exist (i.e., you have
1062 given the wrong address) or the server has just momentarily taken ill
1063 for some reason or other.  If you decide to continue and have no foreign
1064 groups, you'll find it difficult to actually do anything in the group
1065 buffer.  But, hey, that's your problem.  Blllrph!
1066
1067 @findex gnus-no-server
1068 @kindex M-x gnus-no-server
1069 @c @head
1070 If you know that the server is definitely down, or you just want to read
1071 your mail without bothering with the server at all, you can use the
1072 @code{gnus-no-server} command to start Gnus.  That might come in handy
1073 if you're in a hurry as well.  This command will not attempt to contact
1074 your primary server---instead, it will just activate all groups on level
1075 1 and 2.  (You should preferably keep no native groups on those two
1076 levels.) Also @pxref{Group Levels}.
1077
1078
1079 @node Slave Gnusae
1080 @section Slave Gnusae
1081 @cindex slave
1082
1083 You might want to run more than one Emacs with more than one Gnus at the
1084 same time.  If you are using different @file{.newsrc} files (e.g., if you
1085 are using the two different Gnusae to read from two different servers),
1086 that is no problem whatsoever.  You just do it.
1087
1088 The problem appears when you want to run two Gnusae that use the same
1089 @code{.newsrc} file.
1090
1091 To work around that problem some, we here at the Think-Tank at the Gnus
1092 Towers have come up with a new concept: @dfn{Masters} and
1093 @dfn{slaves}.  (We have applied for a patent on this concept, and have
1094 taken out a copyright on those words.  If you wish to use those words in
1095 conjunction with each other, you have to send $1 per usage instance to
1096 me.  Usage of the patent (@dfn{Master/Slave Relationships In Computer
1097 Applications}) will be much more expensive, of course.)
1098
1099 Anyway, you start one Gnus up the normal way with @kbd{M-x gnus} (or
1100 however you do it).  Each subsequent slave Gnusae should be started with
1101 @kbd{M-x gnus-slave}.  These slaves won't save normal @file{.newsrc}
1102 files, but instead save @dfn{slave files} that contain information only
1103 on what groups have been read in the slave session.  When a master Gnus
1104 starts, it will read (and delete) these slave files, incorporating all
1105 information from them.  (The slave files will be read in the sequence
1106 they were created, so the latest changes will have precedence.)
1107
1108 Information from the slave files has, of course, precedence over the
1109 information in the normal (i.e., master) @code{.newsrc} file.
1110
1111
1112 @node Fetching a Group
1113 @section Fetching a Group
1114 @cindex fetching a group
1115
1116 @findex gnus-fetch-group
1117 It is sometimes convenient to be able to just say ``I want to read this
1118 group and I don't care whether Gnus has been started or not''.  This is
1119 perhaps more useful for people who write code than for users, but the
1120 command @code{gnus-fetch-group} provides this functionality in any case.
1121 It takes the group name as a parameter.
1122
1123
1124 @node New Groups
1125 @section New Groups
1126 @cindex new groups
1127 @cindex subscription
1128
1129 @vindex gnus-check-new-newsgroups
1130 If you are satisfied that you really never want to see any new groups,
1131 you can set @code{gnus-check-new-newsgroups} to @code{nil}.  This will
1132 also save you some time at startup.  Even if this variable is
1133 @code{nil}, you can always subscribe to the new groups just by pressing
1134 @kbd{U} in the group buffer (@pxref{Group Maintenance}).  This variable
1135 is @code{ask-server} by default.  If you set this variable to
1136 @code{always}, then Gnus will query the back ends for new groups even
1137 when you do the @kbd{g} command (@pxref{Scanning New Messages}).
1138
1139 @menu
1140 * Checking New Groups::         Determining what groups are new.
1141 * Subscription Methods::        What Gnus should do with new groups.
1142 * Filtering New Groups::        Making Gnus ignore certain new groups.
1143 @end menu
1144
1145
1146 @node Checking New Groups
1147 @subsection Checking New Groups
1148
1149 Gnus normally determines whether a group is new or not by comparing the
1150 list of groups from the active file(s) with the lists of subscribed and
1151 dead groups.  This isn't a particularly fast method.  If
1152 @code{gnus-check-new-newsgroups} is @code{ask-server}, Gnus will ask the
1153 server for new groups since the last time.  This is both faster and
1154 cheaper.  This also means that you can get rid of the list of killed
1155 groups altogether, so you may set @code{gnus-save-killed-list} to
1156 @code{nil}, which will save time both at startup, at exit, and all over.
1157 Saves disk space, too.  Why isn't this the default, then?
1158 Unfortunately, not all servers support this command.
1159
1160 I bet I know what you're thinking now: How do I find out whether my
1161 server supports @code{ask-server}?  No?  Good, because I don't have a
1162 fail-safe answer.  I would suggest just setting this variable to
1163 @code{ask-server} and see whether any new groups appear within the next
1164 few days.  If any do, then it works.  If none do, then it doesn't
1165 work.  I could write a function to make Gnus guess whether the server
1166 supports @code{ask-server}, but it would just be a guess.  So I won't.
1167 You could @code{telnet} to the server and say @code{HELP} and see
1168 whether it lists @samp{NEWGROUPS} among the commands it understands.  If
1169 it does, then it might work.  (But there are servers that lists
1170 @samp{NEWGROUPS} without supporting the function properly.)
1171
1172 This variable can also be a list of select methods.  If so, Gnus will
1173 issue an @code{ask-server} command to each of the select methods, and
1174 subscribe them (or not) using the normal methods.  This might be handy
1175 if you are monitoring a few servers for new groups.  A side effect is
1176 that startup will take much longer, so you can meditate while waiting.
1177 Use the mantra ``dingnusdingnusdingnus'' to achieve permanent bliss.
1178
1179
1180 @node Subscription Methods
1181 @subsection Subscription Methods
1182
1183 @vindex gnus-subscribe-newsgroup-method
1184 What Gnus does when it encounters a new group is determined by the
1185 @code{gnus-subscribe-newsgroup-method} variable.
1186
1187 This variable should contain a function.  This function will be called
1188 with the name of the new group as the only parameter.
1189
1190 Some handy pre-fab functions are:
1191
1192 @table @code
1193
1194 @item gnus-subscribe-zombies
1195 @vindex gnus-subscribe-zombies
1196 Make all new groups zombies.  This is the default.  You can browse the
1197 zombies later (with @kbd{A z}) and either kill them all off properly
1198 (with @kbd{S z}), or subscribe to them (with @kbd{u}).
1199
1200 @item gnus-subscribe-randomly
1201 @vindex gnus-subscribe-randomly
1202 Subscribe all new groups in arbitrary order.  This really means that all
1203 new groups will be added at ``the top'' of the group buffer.
1204
1205 @item gnus-subscribe-alphabetically
1206 @vindex gnus-subscribe-alphabetically
1207 Subscribe all new groups in alphabetical order.
1208
1209 @item gnus-subscribe-hierarchically
1210 @vindex gnus-subscribe-hierarchically
1211 Subscribe all new groups hierarchically.  The difference between this
1212 function and @code{gnus-subscribe-alphabetically} is slight.
1213 @code{gnus-subscribe-alphabetically} will subscribe new groups in a strictly
1214 alphabetical fashion, while this function will enter groups into its
1215 hierarchy.  So if you want to have the @samp{rec} hierarchy before the
1216 @samp{comp} hierarchy, this function will not mess that configuration
1217 up.  Or something like that.
1218
1219 @item gnus-subscribe-interactively
1220 @vindex gnus-subscribe-interactively
1221 Subscribe new groups interactively.  This means that Gnus will ask
1222 you about @strong{all} new groups.  The groups you choose to subscribe
1223 to will be subscribed hierarchically.
1224
1225 @item gnus-subscribe-killed
1226 @vindex gnus-subscribe-killed
1227 Kill all new groups.
1228
1229 @item gnus-subscribe-topics
1230 @vindex gnus-subscribe-topics
1231 Put the groups into the topic that has a matching @code{subscribe} topic
1232 parameter (@pxref{Topic Parameters}).  For instance, a @code{subscribe}
1233 topic parameter that looks like
1234
1235 @example
1236 "nnslashdot"
1237 @end example
1238
1239 will mean that all groups that match that regex will be subscribed under
1240 that topic.
1241
1242 If no topics match the groups, the groups will be subscribed in the
1243 top-level topic.
1244
1245 @end table
1246
1247 @vindex gnus-subscribe-hierarchical-interactive
1248 A closely related variable is
1249 @code{gnus-subscribe-hierarchical-interactive}.  (That's quite a
1250 mouthful.)  If this variable is non-@code{nil}, Gnus will ask you in a
1251 hierarchical fashion whether to subscribe to new groups or not.  Gnus
1252 will ask you for each sub-hierarchy whether you want to descend the
1253 hierarchy or not.
1254
1255 One common mistake is to set the variable a few paragraphs above
1256 (@code{gnus-subscribe-newsgroup-method}) to
1257 @code{gnus-subscribe-hierarchical-interactive}.  This is an error.  This
1258 will not work.  This is ga-ga.  So don't do it.
1259
1260
1261 @node Filtering New Groups
1262 @subsection Filtering New Groups
1263
1264 A nice and portable way to control which new newsgroups should be
1265 subscribed (or ignored) is to put an @dfn{options} line at the start of
1266 the @file{.newsrc} file.  Here's an example:
1267
1268 @example
1269 options -n !alt.all !rec.all sci.all
1270 @end example
1271
1272 @vindex gnus-subscribe-options-newsgroup-method
1273 This line obviously belongs to a serious-minded intellectual scientific
1274 person (or she may just be plain old boring), because it says that all
1275 groups that have names beginning with @samp{alt} and @samp{rec} should
1276 be ignored, and all groups with names beginning with @samp{sci} should
1277 be subscribed.  Gnus will not use the normal subscription method for
1278 subscribing these groups.
1279 @code{gnus-subscribe-options-newsgroup-method} is used instead.  This
1280 variable defaults to @code{gnus-subscribe-alphabetically}.
1281
1282 @vindex gnus-options-not-subscribe
1283 @vindex gnus-options-subscribe
1284 If you don't want to mess with your @file{.newsrc} file, you can just
1285 set the two variables @code{gnus-options-subscribe} and
1286 @code{gnus-options-not-subscribe}.  These two variables do exactly the
1287 same as the @file{.newsrc} @samp{options -n} trick.  Both are regexps,
1288 and if the new group matches the former, it will be unconditionally
1289 subscribed, and if it matches the latter, it will be ignored.
1290
1291 @vindex gnus-auto-subscribed-groups
1292 Yet another variable that meddles here is
1293 @code{gnus-auto-subscribed-groups}.  It works exactly like
1294 @code{gnus-options-subscribe}, and is therefore really superfluous, but I
1295 thought it would be nice to have two of these.  This variable is more
1296 meant for setting some ground rules, while the other variable is used
1297 more for user fiddling.  By default this variable makes all new groups
1298 that come from mail back ends (@code{nnml}, @code{nnbabyl},
1299 @code{nnfolder}, @code{nnmbox}, and @code{nnmh}) subscribed.  If you
1300 don't like that, just set this variable to @code{nil}.
1301
1302 New groups that match this regexp are subscribed using
1303 @code{gnus-subscribe-options-newsgroup-method}.
1304
1305
1306 @node Changing Servers
1307 @section Changing Servers
1308 @cindex changing servers
1309
1310 Sometimes it is necessary to move from one @sc{nntp} server to another.
1311 This happens very rarely, but perhaps you change jobs, or one server is
1312 very flaky and you want to use another.
1313
1314 Changing the server is pretty easy, right?  You just change
1315 @code{gnus-select-method} to point to the new server?
1316
1317 @emph{Wrong!}
1318
1319 Article numbers are not (in any way) kept synchronized between different
1320 @sc{nntp} servers, and the only way Gnus keeps track of what articles
1321 you have read is by keeping track of article numbers.  So when you
1322 change @code{gnus-select-method}, your @file{.newsrc} file becomes
1323 worthless.
1324
1325 Gnus provides a few functions to attempt to translate a @file{.newsrc}
1326 file from one server to another.  They all have one thing in
1327 common---they take a looong time to run.  You don't want to use these
1328 functions more than absolutely necessary.
1329
1330 @kindex M-x gnus-change-server
1331 @findex gnus-change-server
1332 If you have access to both servers, Gnus can request the headers for all
1333 the articles you have read and compare @code{Message-ID}s and map the
1334 article numbers of the read articles and article marks.  The @kbd{M-x
1335 gnus-change-server} command will do this for all your native groups.  It
1336 will prompt for the method you want to move to.
1337
1338 @kindex M-x gnus-group-move-group-to-server
1339 @findex gnus-group-move-group-to-server
1340 You can also move individual groups with the @kbd{M-x
1341 gnus-group-move-group-to-server} command.  This is useful if you want to
1342 move a (foreign) group from one server to another.
1343
1344 @kindex M-x gnus-group-clear-data-on-native-groups
1345 @findex gnus-group-clear-data-on-native-groups
1346 If you don't have access to both the old and new server, all your marks
1347 and read ranges have become worthless.  You can use the @kbd{M-x
1348 gnus-group-clear-data-on-native-groups} command to clear out all data
1349 that you have on your native groups.  Use with caution.
1350
1351 After changing servers, you @strong{must} move the cache hierarchy away,
1352 since the cached articles will have wrong article numbers, which will
1353 affect which articles Gnus thinks are read.
1354
1355
1356 @node Startup Files
1357 @section Startup Files
1358 @cindex startup files
1359 @cindex .newsrc
1360 @cindex .newsrc.el
1361 @cindex .newsrc.eld
1362
1363 Now, you all know about the @file{.newsrc} file.  All subscription
1364 information is traditionally stored in this file.
1365
1366 Things got a bit more complicated with @sc{gnus}.  In addition to
1367 keeping the @file{.newsrc} file updated, it also used a file called
1368 @file{.newsrc.el} for storing all the information that didn't fit into
1369 the @file{.newsrc} file.  (Actually, it also duplicated everything in
1370 the @file{.newsrc} file.)  @sc{gnus} would read whichever one of these
1371 files was the most recently saved, which enabled people to swap between
1372 @sc{gnus} and other newsreaders.
1373
1374 That was kinda silly, so Gnus went one better: In addition to the
1375 @file{.newsrc} and @file{.newsrc.el} files, Gnus also has a file called
1376 @file{.newsrc.eld}.  It will read whichever of these files that are most
1377 recent, but it will never write a @file{.newsrc.el} file.  You should
1378 never delete the @file{.newsrc.eld} file---it contains much information
1379 not stored in the @file{.newsrc} file.
1380
1381 @vindex gnus-save-newsrc-file
1382 @vindex gnus-read-newsrc-file
1383 You can turn off writing the @file{.newsrc} file by setting
1384 @code{gnus-save-newsrc-file} to @code{nil}, which means you can delete
1385 the file and save some space, as well as exiting from Gnus faster.
1386 However, this will make it impossible to use other newsreaders than
1387 Gnus.  But hey, who would want to, right?  Similarly, setting
1388 @code{gnus-read-newsrc-file} to @code{nil} makes Gnus ignore the
1389 @file{.newsrc} file and any @file{.newsrc-SERVER} files, which is
1390 convenient if you have a tendency to use Netscape once in a while.
1391
1392 @vindex gnus-save-killed-list
1393 If @code{gnus-save-killed-list} (default @code{t}) is @code{nil}, Gnus
1394 will not save the list of killed groups to the startup file.  This will
1395 save both time (when starting and quitting) and space (on disk).  It
1396 will also mean that Gnus has no record of what groups are new or old,
1397 so the automatic new groups subscription methods become meaningless.
1398 You should always set @code{gnus-check-new-newsgroups} to @code{nil} or
1399 @code{ask-server} if you set this variable to @code{nil} (@pxref{New
1400 Groups}).  This variable can also be a regular expression.  If that's
1401 the case, remove all groups that do not match this regexp before
1402 saving.  This can be useful in certain obscure situations that involve
1403 several servers where not all servers support @code{ask-server}.
1404
1405 @vindex gnus-startup-file
1406 The @code{gnus-startup-file} variable says where the startup files are.
1407 The default value is @file{~/.newsrc}, with the Gnus (El Dingo) startup
1408 file being whatever that one is, with a @samp{.eld} appended.
1409
1410 @vindex gnus-save-newsrc-hook
1411 @vindex gnus-save-quick-newsrc-hook
1412 @vindex gnus-save-standard-newsrc-hook
1413 @code{gnus-save-newsrc-hook} is called before saving any of the newsrc
1414 files, while @code{gnus-save-quick-newsrc-hook} is called just before
1415 saving the @file{.newsrc.eld} file, and
1416 @code{gnus-save-standard-newsrc-hook} is called just before saving the
1417 @file{.newsrc} file.  The latter two are commonly used to turn version
1418 control on or off.  Version control is on by default when saving the
1419 startup files.  If you want to turn backup creation off, say something like:
1420
1421 @lisp
1422 (defun turn-off-backup ()
1423   (set (make-local-variable 'backup-inhibited) t))
1424
1425 (add-hook 'gnus-save-quick-newsrc-hook 'turn-off-backup)
1426 (add-hook 'gnus-save-standard-newsrc-hook 'turn-off-backup)
1427 @end lisp
1428
1429 @vindex gnus-init-file
1430 When Gnus starts, it will read the @code{gnus-site-init-file}
1431 (@file{.../site-lisp/gnus} by default) and @code{gnus-init-file}
1432 (@file{~/.gnus} by default) files.  These are normal Emacs Lisp files
1433 and can be used to avoid cluttering your @file{~/.emacs} and
1434 @file{site-init} files with Gnus stuff.  Gnus will also check for files
1435 with the same names as these, but with @file{.elc} and @file{.el}
1436 suffixes.  In other words, if you have set @code{gnus-init-file} to
1437 @file{~/.gnus}, it will look for @file{~/.gnus.elc}, @file{~/.gnus.el},
1438 and finally @file{~/.gnus} (in this order).
1439
1440
1441
1442 @node Auto Save
1443 @section Auto Save
1444 @cindex dribble file
1445 @cindex auto-save
1446
1447 Whenever you do something that changes the Gnus data (reading articles,
1448 catching up, killing/subscribing groups), the change is added to a
1449 special @dfn{dribble buffer}.  This buffer is auto-saved the normal
1450 Emacs way.  If your Emacs should crash before you have saved the
1451 @file{.newsrc} files, all changes you have made can be recovered from
1452 this file.
1453
1454 If Gnus detects this file at startup, it will ask the user whether to
1455 read it.  The auto save file is deleted whenever the real startup file is
1456 saved.
1457
1458 @vindex gnus-use-dribble-file
1459 If @code{gnus-use-dribble-file} is @code{nil}, Gnus won't create and
1460 maintain a dribble buffer.  The default is @code{t}.
1461
1462 @vindex gnus-dribble-directory
1463 Gnus will put the dribble file(s) in @code{gnus-dribble-directory}.  If
1464 this variable is @code{nil}, which it is by default, Gnus will dribble
1465 into the directory where the @file{.newsrc} file is located.  (This is
1466 normally the user's home directory.)  The dribble file will get the same
1467 file permissions as the @code{.newsrc} file.
1468
1469 @vindex gnus-always-read-dribble-file
1470 If @code{gnus-always-read-dribble-file} is non-@code{nil}, Gnus will
1471 read the dribble file on startup without querying the user.
1472
1473
1474 @node The Active File
1475 @section The Active File
1476 @cindex active file
1477 @cindex ignored groups
1478
1479 When Gnus starts, or indeed whenever it tries to determine whether new
1480 articles have arrived, it reads the active file.  This is a very large
1481 file that lists all the active groups and articles on the server.
1482
1483 @vindex gnus-ignored-newsgroups
1484 Before examining the active file, Gnus deletes all lines that match the
1485 regexp @code{gnus-ignored-newsgroups}.  This is done primarily to reject
1486 any groups with bogus names, but you can use this variable to make Gnus
1487 ignore hierarchies you aren't ever interested in.  However, this is not
1488 recommended.  In fact, it's highly discouraged.  Instead, @pxref{New
1489 Groups} for an overview of other variables that can be used instead.
1490
1491 @c This variable is
1492 @c @code{nil} by default, and will slow down active file handling somewhat
1493 @c if you set it to anything else.
1494
1495 @vindex gnus-read-active-file
1496 @c @head
1497 The active file can be rather Huge, so if you have a slow network, you
1498 can set @code{gnus-read-active-file} to @code{nil} to prevent Gnus from
1499 reading the active file.  This variable is @code{some} by default.
1500
1501 Gnus will try to make do by getting information just on the groups that
1502 you actually subscribe to.
1503
1504 Note that if you subscribe to lots and lots of groups, setting this
1505 variable to @code{nil} will probably make Gnus slower, not faster.  At
1506 present, having this variable @code{nil} will slow Gnus down
1507 considerably, unless you read news over a 2400 baud modem.
1508
1509 This variable can also have the value @code{some}.  Gnus will then
1510 attempt to read active info only on the subscribed groups.  On some
1511 servers this is quite fast (on sparkling, brand new INN servers that
1512 support the @code{LIST ACTIVE group} command), on others this isn't fast
1513 at all.  In any case, @code{some} should be faster than @code{nil}, and
1514 is certainly faster than @code{t} over slow lines.
1515
1516 Some news servers (old versions of Leafnode and old versions of INN, for
1517 instance) do not support the @code{LIST ACTIVE group}.  For these
1518 servers, @code{nil} is probably the most efficient value for this
1519 variable.
1520
1521 If this variable is @code{nil}, Gnus will ask for group info in total
1522 lock-step, which isn't very fast.  If it is @code{some} and you use an
1523 @sc{nntp} server, Gnus will pump out commands as fast as it can, and
1524 read all the replies in one swoop.  This will normally result in better
1525 performance, but if the server does not support the aforementioned
1526 @code{LIST ACTIVE group} command, this isn't very nice to the server.
1527
1528 If you think that starting up Gnus takes too long, try all the three
1529 different values for this variable and see what works best for you.
1530
1531 In any case, if you use @code{some} or @code{nil}, you should definitely
1532 kill all groups that you aren't interested in to speed things up.
1533
1534 Note that this variable also affects active file retrieval from
1535 secondary select methods.
1536
1537
1538 @node Startup Variables
1539 @section Startup Variables
1540
1541 @table @code
1542
1543 @item gnus-load-hook
1544 @vindex gnus-load-hook
1545 A hook run while Gnus is being loaded.  Note that this hook will
1546 normally be run just once in each Emacs session, no matter how many
1547 times you start Gnus.
1548
1549 @item gnus-before-startup-hook
1550 @vindex gnus-before-startup-hook
1551 A hook run after starting up Gnus successfully.
1552
1553 @item gnus-startup-hook
1554 @vindex gnus-startup-hook
1555 A hook run as the very last thing after starting up Gnus
1556
1557 @item gnus-started-hook
1558 @vindex gnus-started-hook
1559 A hook that is run as the very last thing after starting up Gnus
1560 successfully.
1561
1562 @item gnus-setup-news-hook
1563 @vindex gnus-setup-news-hook
1564 A hook that is run after reading the @file{.newsrc} file(s), but before
1565 generating the group buffer.
1566
1567 @item gnus-check-bogus-newsgroups
1568 @vindex gnus-check-bogus-newsgroups
1569 If non-@code{nil}, Gnus will check for and delete all bogus groups at
1570 startup.  A @dfn{bogus group} is a group that you have in your
1571 @file{.newsrc} file, but doesn't exist on the news server.  Checking for
1572 bogus groups can take quite a while, so to save time and resources it's
1573 best to leave this option off, and do the checking for bogus groups once
1574 in a while from the group buffer instead (@pxref{Group Maintenance}).
1575
1576 @item gnus-inhibit-startup-message
1577 @vindex gnus-inhibit-startup-message
1578 If non-@code{nil}, the startup message won't be displayed.  That way,
1579 your boss might not notice as easily that you are reading news instead
1580 of doing your job.  Note that this variable is used before
1581 @file{.gnus.el} is loaded, so it should be set in @code{.emacs} instead.
1582
1583 @item gnus-no-groups-message
1584 @vindex gnus-no-groups-message
1585 Message displayed by Gnus when no groups are available.
1586
1587 @item gnus-play-startup-jingle
1588 @vindex gnus-play-startup-jingle
1589 If non-@code{nil}, play the Gnus jingle at startup.
1590
1591 @item gnus-startup-jingle
1592 @vindex gnus-startup-jingle
1593 Jingle to be played if the above variable is non-@code{nil}.  The
1594 default is @samp{Tuxedomoon.Jingle4.au}.
1595
1596 @end table
1597
1598
1599 @node Group Buffer
1600 @chapter Group Buffer
1601 @cindex group buffer
1602
1603 @c Alex Schroeder suggests to rearrange this as follows:
1604 @c
1605 @c <kensanata> ok, just save it for reference.  I'll go to bed in a minute.
1606 @c   1. Selecting a Group, 2. (new) Finding a Group, 3. Group Levels,
1607 @c   4. Subscription Commands, 5. Group Maneuvering, 6. Group Data,
1608 @c   7. Group Score, 8. Group Buffer Format
1609 @c <kensanata> Group Levels should have more information on levels 5 to 9.  I
1610 @c   suggest to split the 4th paragraph ("Gnus considers groups...") as follows:
1611 @c <kensanata> First, "Gnus considers groups... (default 9)."
1612 @c <kensanata> New, a table summarizing what levels 1 to 9 mean.
1613 @c <kensanata> Third, "Gnus treats subscribed ... reasons of efficiency"
1614 @c <kensanata> Then expand the next paragraph or add some more to it.
1615 @c    This short one sentence explains levels 1 and 2, therefore I understand
1616 @c    that I should keep important news at 3 and boring news at 4.
1617 @c    Say so!  Then go on to explain why I should bother with levels 6 to 9.
1618 @c    Maybe keep those that you don't want to read temporarily at 6,
1619 @c    those that you never want to read at 8, those that offend your
1620 @c    human rights at 9...
1621
1622
1623 The @dfn{group buffer} lists all (or parts) of the available groups.  It
1624 is the first buffer shown when Gnus starts, and will never be killed as
1625 long as Gnus is active.
1626
1627 @iftex
1628 @iflatex
1629 \gnusfigure{The Group Buffer}{320}{
1630 \put(75,50){\epsfig{figure=ps/group,height=9cm}}
1631 \put(120,37){\makebox(0,0)[t]{Buffer name}}
1632 \put(120,38){\vector(1,2){10}}
1633 \put(40,60){\makebox(0,0)[r]{Mode line}}
1634 \put(40,58){\vector(1,0){30}}
1635 \put(200,28){\makebox(0,0)[t]{Native select method}}
1636 \put(200,26){\vector(-1,2){15}}
1637 }
1638 @end iflatex
1639 @end iftex
1640
1641 @menu
1642 * Group Buffer Format::         Information listed and how you can change it.
1643 * Group Maneuvering::           Commands for moving in the group buffer.
1644 * Selecting a Group::           Actually reading news.
1645 * Subscription Commands::       Unsubscribing, killing, subscribing.
1646 * Group Data::                  Changing the info for a group.
1647 * Group Levels::                Levels? What are those, then?
1648 * Group Score::                 A mechanism for finding out what groups you like.
1649 * Marking Groups::              You can mark groups for later processing.
1650 * Foreign Groups::              Creating and editing groups.
1651 * Group Parameters::            Each group may have different parameters set.
1652 * Listing Groups::              Gnus can list various subsets of the groups.
1653 * Sorting Groups::              Re-arrange the group order.
1654 * Group Maintenance::           Maintaining a tidy @file{.newsrc} file.
1655 * Browse Foreign Server::       You can browse a server.  See what it has to offer.
1656 * Exiting Gnus::                Stop reading news and get some work done.
1657 * Group Topics::                A folding group mode divided into topics.
1658 * Misc Group Stuff::            Other stuff that you can to do.
1659 @end menu
1660
1661
1662 @node Group Buffer Format
1663 @section Group Buffer Format
1664
1665 @menu
1666 * Group Line Specification::    Deciding how the group buffer is to look.
1667 * Group Modeline Specification::  The group buffer modeline.
1668 * Group Highlighting::          Having nice colors in the group buffer.
1669 @end menu
1670
1671
1672 @node Group Line Specification
1673 @subsection Group Line Specification
1674 @cindex group buffer format
1675
1676 The default format of the group buffer is nice and dull, but you can
1677 make it as exciting and ugly as you feel like.
1678
1679 Here's a couple of example group lines:
1680
1681 @example
1682      25: news.announce.newusers
1683  *    0: alt.fan.andrea-dworkin
1684 @end example
1685
1686 Quite simple, huh?
1687
1688 You can see that there are 25 unread articles in
1689 @samp{news.announce.newusers}.  There are no unread articles, but some
1690 ticked articles, in @samp{alt.fan.andrea-dworkin} (see that little
1691 asterisk at the beginning of the line?).
1692
1693 @vindex gnus-group-line-format
1694 You can change that format to whatever you want by fiddling with the
1695 @code{gnus-group-line-format} variable.  This variable works along the
1696 lines of a @code{format} specification, which is pretty much the same as
1697 a @code{printf} specifications, for those of you who use (feh!) C.
1698 @xref{Formatting Variables}.
1699
1700 @samp{%M%S%5y: %(%g%)\n} is the value that produced those lines above.
1701
1702 There should always be a colon on the line; the cursor always moves to
1703 the colon after performing an operation.  Nothing else is required---not
1704 even the group name.  All displayed text is just window dressing, and is
1705 never examined by Gnus.  Gnus stores all real information it needs using
1706 text properties.
1707
1708 (Note that if you make a really strange, wonderful, spreadsheet-like
1709 layout, everybody will believe you are hard at work with the accounting
1710 instead of wasting time reading news.)
1711
1712 Here's a list of all available format characters:
1713
1714 @table @samp
1715
1716 @item M
1717 An asterisk if the group only has marked articles.
1718
1719 @item S
1720 Whether the group is subscribed.
1721
1722 @item L
1723 Level of subscribedness.
1724
1725 @item N
1726 Number of unread articles.
1727
1728 @item I
1729 Number of dormant articles.
1730
1731 @item T
1732 Number of ticked articles.
1733
1734 @item R
1735 Number of read articles.
1736
1737 @item t
1738 Estimated total number of articles.  (This is really @var{max-number}
1739 minus @var{min-number} plus 1.)
1740
1741 Gnus uses this estimation because the NNTP protocol provides efficient
1742 access to @var{max-number} and @var{min-number} but getting the true
1743 unread message count is not possible efficiently.  For hysterical
1744 raisins, even the mail back ends, where the true number of unread
1745 messages might be available efficiently, use the same limited
1746 interface.  To remove this restriction from Gnus means that the
1747 back end interface has to be changed, which is not an easy job.  If you
1748 want to work on this, please contact the Gnus mailing list.
1749
1750 @item y
1751 Number of unread, unticked, non-dormant articles.
1752
1753 @item i
1754 Number of ticked and dormant articles.
1755
1756 @item g
1757 Full group name.
1758
1759 @item G
1760 Group name.
1761
1762 @item D
1763 Newsgroup description.
1764
1765 @item o
1766 @samp{m} if moderated.
1767
1768 @item O
1769 @samp{(m)} if moderated.
1770
1771 @item s
1772 Select method.
1773
1774 @item n
1775 Select from where.
1776
1777 @item z
1778 A string that looks like @samp{<%s:%n>} if a foreign select method is
1779 used.
1780
1781 @item P
1782 Indentation based on the level of the topic (@pxref{Group Topics}).
1783
1784 @item c
1785 @vindex gnus-group-uncollapsed-levels
1786 Short (collapsed) group name.  The @code{gnus-group-uncollapsed-levels}
1787 variable says how many levels to leave at the end of the group name.
1788 The default is 1---this will mean that group names like
1789 @samp{gnu.emacs.gnus} will be shortened to @samp{g.e.gnus}.
1790
1791 @item m
1792 @vindex gnus-new-mail-mark
1793 @cindex %
1794 @samp{%} (@code{gnus-new-mail-mark}) if there has arrived new mail to
1795 the group lately.
1796
1797 @item p
1798 @samp{#} (@code{gnus-process-mark}) if the group is process marked.
1799
1800 @item d
1801 A string that says when you last read the group (@pxref{Group
1802 Timestamp}).
1803
1804 @item u
1805 User defined specifier.  The next character in the format string should
1806 be a letter.  Gnus will call the function
1807 @code{gnus-user-format-function-}@samp{X}, where @samp{X} is the letter
1808 following @samp{%u}.  The function will be passed a single dummy
1809 parameter as argument.  The function should return a string, which will
1810 be inserted into the buffer just like information from any other
1811 specifier.
1812 @end table
1813
1814 @cindex *
1815 All the ``number-of'' specs will be filled with an asterisk (@samp{*})
1816 if no info is available---for instance, if it is a non-activated foreign
1817 group, or a bogus native group.
1818
1819
1820 @node Group Modeline Specification
1821 @subsection Group Modeline Specification
1822 @cindex group modeline
1823
1824 @vindex gnus-group-mode-line-format
1825 The mode line can be changed by setting
1826 @code{gnus-group-mode-line-format} (@pxref{Mode Line Formatting}).  It
1827 doesn't understand that many format specifiers:
1828
1829 @table @samp
1830 @item S
1831 The native news server.
1832 @item M
1833 The native select method.
1834 @end table
1835
1836
1837 @node Group Highlighting
1838 @subsection Group Highlighting
1839 @cindex highlighting
1840 @cindex group highlighting
1841
1842 @vindex gnus-group-highlight
1843 Highlighting in the group buffer is controlled by the
1844 @code{gnus-group-highlight} variable.  This is an alist with elements
1845 that look like @code{(@var{form} . @var{face})}.  If @var{form} evaluates to
1846 something non-@code{nil}, the @var{face} will be used on the line.
1847
1848 Here's an example value for this variable that might look nice if the
1849 background is dark:
1850
1851 @lisp
1852 (cond (window-system
1853        (setq custom-background-mode 'light)
1854        (defface my-group-face-1
1855          '((t (:foreground "Red" :bold t))) "First group face")
1856        (defface my-group-face-2
1857          '((t (:foreground "DarkSeaGreen4" :bold t))) "Second group face")
1858        (defface my-group-face-3
1859          '((t (:foreground "Green4" :bold t))) "Third group face")
1860        (defface my-group-face-4
1861          '((t (:foreground "SteelBlue" :bold t))) "Fourth group face")
1862        (defface my-group-face-5
1863          '((t (:foreground "Blue" :bold t))) "Fifth group face")))
1864
1865 (setq gnus-group-highlight
1866       '(((> unread 200) . my-group-face-1)
1867         ((and (< level 3) (zerop unread)) . my-group-face-2)
1868         ((< level 3) . my-group-face-3)
1869         ((zerop unread) . my-group-face-4)
1870         (t . my-group-face-5)))
1871 @end lisp
1872
1873 Also @pxref{Faces and Fonts}.
1874
1875 Variables that are dynamically bound when the forms are evaluated
1876 include:
1877
1878 @table @code
1879 @item group
1880 The group name.
1881 @item unread
1882 The number of unread articles in the group.
1883 @item method
1884 The select method.
1885 @item mailp
1886 Whether the group is a mail group.
1887 @item level
1888 The level of the group.
1889 @item score
1890 The score of the group.
1891 @item ticked
1892 The number of ticked articles in the group.
1893 @item total
1894 The total number of articles in the group.  Or rather, MAX-NUMBER minus
1895 MIN-NUMBER plus one.
1896 @item topic
1897 When using the topic minor mode, this variable is bound to the current
1898 topic being inserted.
1899 @end table
1900
1901 When the forms are @code{eval}ed, point is at the beginning of the line
1902 of the group in question, so you can use many of the normal Gnus
1903 functions for snarfing info on the group.
1904
1905 @vindex gnus-group-update-hook
1906 @findex gnus-group-highlight-line
1907 @code{gnus-group-update-hook} is called when a group line is changed.
1908 It will not be called when @code{gnus-visual} is @code{nil}.  This hook
1909 calls @code{gnus-group-highlight-line} by default.
1910
1911
1912 @node Group Maneuvering
1913 @section Group Maneuvering
1914 @cindex group movement
1915
1916 All movement commands understand the numeric prefix and will behave as
1917 expected, hopefully.
1918
1919 @table @kbd
1920
1921 @item n
1922 @kindex n (Group)
1923 @findex gnus-group-next-unread-group
1924 Go to the next group that has unread articles
1925 (@code{gnus-group-next-unread-group}).
1926
1927 @item p
1928 @itemx DEL
1929 @kindex DEL (Group)
1930 @kindex p (Group)
1931 @findex gnus-group-prev-unread-group
1932 Go to the previous group that has unread articles
1933 (@code{gnus-group-prev-unread-group}).
1934
1935 @item N
1936 @kindex N (Group)
1937 @findex gnus-group-next-group
1938 Go to the next group (@code{gnus-group-next-group}).
1939
1940 @item P
1941 @kindex P (Group)
1942 @findex gnus-group-prev-group
1943 Go to the previous group (@code{gnus-group-prev-group}).
1944
1945 @item M-n
1946 @kindex M-n (Group)
1947 @findex gnus-group-next-unread-group-same-level
1948 Go to the next unread group on the same (or lower) level
1949 (@code{gnus-group-next-unread-group-same-level}).
1950
1951 @item M-p
1952 @kindex M-p (Group)
1953 @findex gnus-group-prev-unread-group-same-level
1954 Go to the previous unread group on the same (or lower) level
1955 (@code{gnus-group-prev-unread-group-same-level}).
1956 @end table
1957
1958 Three commands for jumping to groups:
1959
1960 @table @kbd
1961
1962 @item j
1963 @kindex j (Group)
1964 @findex gnus-group-jump-to-group
1965 Jump to a group (and make it visible if it isn't already)
1966 (@code{gnus-group-jump-to-group}).  Killed groups can be jumped to, just
1967 like living groups.
1968
1969 @item ,
1970 @kindex , (Group)
1971 @findex gnus-group-best-unread-group
1972 Jump to the unread group with the lowest level
1973 (@code{gnus-group-best-unread-group}).
1974
1975 @item .
1976 @kindex . (Group)
1977 @findex gnus-group-first-unread-group
1978 Jump to the first group with unread articles
1979 (@code{gnus-group-first-unread-group}).
1980 @end table
1981
1982 @vindex gnus-group-goto-unread
1983 If @code{gnus-group-goto-unread} is @code{nil}, all the movement
1984 commands will move to the next group, not the next unread group.  Even
1985 the commands that say they move to the next unread group.  The default
1986 is @code{t}.
1987
1988
1989 @node Selecting a Group
1990 @section Selecting a Group
1991 @cindex group selection
1992
1993 @table @kbd
1994
1995 @item SPACE
1996 @kindex SPACE (Group)
1997 @findex gnus-group-read-group
1998 Select the current group, switch to the summary buffer and display the
1999 first unread article (@code{gnus-group-read-group}).  If there are no
2000 unread articles in the group, or if you give a non-numerical prefix to
2001 this command, Gnus will offer to fetch all the old articles in this
2002 group from the server.  If you give a numerical prefix @var{N}, @var{N}
2003 determines the number of articles Gnus will fetch.  If @var{N} is
2004 positive, Gnus fetches the @var{N} newest articles, if @var{N} is
2005 negative, Gnus fetches the @code{abs(@var{N})} oldest articles.
2006
2007 Thus, @kbd{SPC} enters the group normally, @kbd{C-u SPC} offers old
2008 articles, @kbd{C-u 4 2 SPC} fetches the 42 newest articles, and @kbd{C-u
2009 - 4 2 SPC} fetches the 42 oldest ones.
2010
2011 When you are in the group (in the Summary buffer), you can type
2012 @kbd{M-g} to fetch new articles, or @kbd{C-u M-g} to also show the old
2013 ones.
2014
2015 @item RET
2016 @kindex RET (Group)
2017 @findex gnus-group-select-group
2018 Select the current group and switch to the summary buffer
2019 (@code{gnus-group-select-group}).  Takes the same arguments as
2020 @code{gnus-group-read-group}---the only difference is that this command
2021 does not display the first unread article automatically upon group
2022 entry.
2023
2024 @item M-RET
2025 @kindex M-RET (Group)
2026 @findex gnus-group-quick-select-group
2027 This does the same as the command above, but tries to do it with the
2028 minimum amount of fuzz (@code{gnus-group-quick-select-group}).  No
2029 scoring/killing will be performed, there will be no highlights and no
2030 expunging.  This might be useful if you're in a real hurry and have to
2031 enter some humongous group.  If you give a 0 prefix to this command