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