home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / e17info.zip / EMACS / 19.17 / INFO / GNUS-1 (.txt) < prev    next >
GNU Info File  |  1993-07-17  |  50KB  |  956 lines

  1. This is Info file ../info/gnus, produced by Makeinfo-1.54 from the
  2. input file gnus.texi.
  3.    This file documents GNUS, the GNU Emacs newsreader.
  4.    Copyright (C) 1989, 1990, 1993 Free Software Foundation, Inc.
  5.    Permission is granted to make and distribute verbatim copies of this
  6. manual provided the copyright notice and this permission notice are
  7. preserved on all copies.
  8.    Permission is granted to copy and distribute modified versions of
  9. this manual under the conditions for verbatim copying, provided also
  10. that the entire resulting derived work is distributed under the terms
  11. of a permission notice identical to this one.
  12.    Permission is granted to copy and distribute translations of this
  13. manual into another language, under the above conditions for modified
  14. versions.
  15. File: gnus,  Node: Top,  Next: Starting Up,  Prev: (DIR),  Up: (DIR)
  16. The GNUS News Reader
  17. ********************
  18.    You can read netnews within Emacs using the GNUS package.  GNUS uses
  19. the NNTP protocol to communicate with a news server, which is a
  20. repository of news articles.  This need not be the same computer you
  21. are logged in on.
  22.    While the author of GNUS recommends pronouncing it as "news", we
  23. recommend pronouncing it as "gnoose", to avoid confusion.
  24. * Menu:
  25. * Starting Up::
  26. * Buffers of GNUS::
  27. * Newsgroup Commands::
  28. * Summary Commands::
  29. * Article Commands::
  30. * Startup File::
  31. * Kill File::
  32. * Troubleshooting::
  33. * Customization::
  34. * Reporting Bugs::
  35. * Index::
  36. File: gnus,  Node: Starting Up,  Next: Buffers of GNUS,  Prev: Top,  Up: Top
  37. Starting GNUS
  38. *************
  39.    This chapter describes how to get started GNUS, how to use a local
  40. news spool directly, and how to read private directory.
  41. * Menu:
  42. * Getting Started::     How to get started GNUS.
  43. * Finding the News::    Configuring how GNUS gets access to the news.
  44. File: gnus,  Node: Getting Started,  Next: Finding the News,  Up: Starting Up
  45. Getting Started GNUS
  46. ====================
  47.    To start GNUS, type `M-x gnus'.
  48. `M-x gnus'
  49.      Run GNUS using the default NNTP server.
  50. `C-u M-x gnus'
  51.      Run GNUS without using the default NNTP server.
  52. File: gnus,  Node: Finding the News,  Prev: Getting Started,  Up: Starting Up
  53. Telling GNUS Where To Find the News
  54. ===================================
  55.    Somehow or other, GNUS has to know how to find the current netnews.
  56. Usually this means it has to know the hostname of the NNTP server.
  57.    There are several ways that GNUS can get this information.  Most
  58. often, it comes from the environment variable `NNTPSERVER'.  You can
  59. specify a default when you install Emacs by setting the variable
  60. `gnus-nntp-server' in the `site-init.el' file.  If neither this default
  61. nor the environment variable is defined, then GNUS reads the server
  62. name using the minibuffer when you start it.
  63.    You can override the default by specifying a prefix argument for the
  64. `gnus' command.  Then it always reads the hostname to use.
  65.    GNUS can also bypass NNTP and read the news directly from the file
  66. system.  This reduces the overhead, but the features for retrieving by
  67. their message IDs may fail to work (*note Spool Variables::.).  To do
  68. this, specify `::' as the NNTP server "machine name".
  69.    You can also specify a subdirectory of your home directory to use as
  70. the current news spool.  To do this, specify a colon and the
  71. subdirectory name as the NNTP server "machine name".  For example,
  72. `:Mail' says to use the directory `~/Mail' as the news spool.  This
  73. makes it possible to read mail stored in MH folders or articles saved
  74. by GNUS.  The files in the directory with numeric names are considered
  75. news articles, and the other files in the directory are ignored.
  76.    A server specific startup file for each directory must exist before
  77. you start GNUS.  For example, a startup file for the directory `~/Mail'
  78. should be a file named `.newsrc-:Mail'.  *Note Startup File::, for more
  79. information on the server specific startup file.
  80.    Each news server has its own "active file" which lists the numbers
  81. of the active articles in each newsgroup.  Reading this file from the
  82. server is among the first things GNUS does when it starts.  Commands
  83. such as `g' that report additional newly-arrived articles work by
  84. rereading the active file.
  85. File: gnus,  Node: Buffers of GNUS,  Next: Newsgroup Commands,  Prev: Starting Up,  Up: Top
  86. Buffers Used by GNUS
  87. ********************
  88.    GNUS uses three Emacs buffers: the Newsgroup buffer, the Summary
  89. buffer, and the Article buffer.  Each has its own particular purpose
  90. and its own major mode.  GNUS often displays all three buffers at the
  91. same time, with a configuration you can customize by setting the
  92. variable `gnus-window-configuration'.
  93.    The "Article buffer" is where GNUS displays the text of an article.
  94. Its major mode is always "Article Mode".  Users rarely select this
  95. buffer because you can read the text while keeping the Summary buffer
  96. selected.
  97. * Menu:
  98. * Newsgroup Buffer::  A buffer for listing newsgroups.
  99. * Summary Buffer::    A buffer for listing subjects and other important
  100.                         headers.
  101. File: gnus,  Node: Newsgroup Buffer,  Next: Summary Buffer,  Up: Buffers of GNUS
  102. Newsgroup Buffer
  103. ================
  104.    "Newsgroup buffer" contains a list of newsgroups.  Its major mode is
  105. "Group Mode".  This is the first buffer that GNUS displays when it
  106. starts up.
  107.    Normally the list contains only the newsgroups which you subscribe to
  108. and which contain unread articles.  It is normally empty if there is no
  109. such newsgroups.  When you start GNUS, it displays the message `No news
  110. is good news.' in the echo area.
  111.    The format of the Newsgroup buffer looks like this:
  112.      SM  NUMBER: NEWSGROUP
  113.      A character indicating whether the newsgroup is subscribed to.  `U'
  114.      means you subscribe to the newsgroup; ` ' means that you don't.
  115.      You can change your subscriptions using commands available in Group
  116.      mode.
  117.      A character indicating whether there are newly arrived and unread
  118.      articles in the newsgroup.  `*' means there are no newly arrived
  119.      articles in the newsgroup.  ` ' means there are newly arrived
  120.      articles.
  121. NUMBER
  122.      The number of unread articles in the newsgroup.
  123. NEWSGROUP
  124.      The name of the newsgroup.
  125. File: gnus,  Node: Summary Buffer,  Prev: Newsgroup Buffer,  Up: Buffers of GNUS
  126. Summary Buffer
  127. ==============
  128.    The "Summary buffer" displays a summary of articles in a single
  129. newsgroup, including their subjects, their numbers, and who posted
  130. them.  Its major mode is Summary mode.  GNUS creates a Summary buffer
  131. for a newsgroup when you select the group in the Newsgroup buffer.
  132.    A Summary buffer contains a line for each article.  Each line looks
  133. like this:
  134.      S NUMBER:C[LINES:AUTHOR] SUBJECT
  135.    Here is what the fields mean:
  136.      The status code for this article.  ` ' means the article is newly
  137.      arrived and never read.  `D' means you read the article already.
  138.      `-' means you read it but marked it as saved.
  139. NUMBER
  140.      The number assigned to the article.
  141.      A character indicating which article is currently selected.  `+' is
  142.      placed on the current article.
  143. LINES
  144.      The number of lines of the article body.
  145. AUTHOR
  146.      The mail address of the author of the article.
  147. SUBJECT
  148.      The subject of the article.
  149.    You can customize the format by setting the variable
  150. `gnus-optional-headers'.
  151. File: gnus,  Node: Newsgroup Commands,  Next: Summary Commands,  Prev: Buffers of GNUS,  Up: Top
  152. Newsgroup Commands
  153. ******************
  154.    The Newsgroup buffer normally lists the newsgroups which you
  155. subscribe to and which contain unread articles.  But not always--some
  156. of the things you can do display additional newsgroups.  The commands
  157. available in this buffer are mostly concerned with subscribing and
  158. unsubscribing.
  159. * Menu:
  160. * Browsing Newsgroups::         Moving around in the Newsgroup buffer.
  161. * Selecting a Newsgroup::       Selecting a newsgroup to read articles.
  162. * Maintaining Subscriptions::   Subscribing and unsubscribing, etc.
  163. * Exiting GNUS::                How to exit GNUS.
  164. * Other Newsgroup Commands::    Other miscellaneous commands.
  165. File: gnus,  Node: Browsing Newsgroups,  Next: Selecting a Newsgroup,  Up: Newsgroup Commands
  166. Browsing Newsgroups
  167. ===================
  168.    Most of the newsgroup commands operate on the group described by the
  169. current line.  To use them, you need to move the cursor to the group you
  170. want to act on.  You can use ordinary Emacs motion commands, or these
  171. special commands:
  172.      Move point to the next newsgroup containing unread articles
  173.      (`gnus-group-next-unread-group').
  174. `DEL'
  175.      Move point to the previous newsgroup containing unread articles
  176.      (`gnus-group-prev-unread-group').
  177. `C-n'
  178.      Move point to the next newsgroup (`gnus-group-next-group').
  179. `C-p'
  180.      Move point to the previous newsgroup (`gnus-group-prev-group').
  181. `j NEWSGROUP RET'
  182.      Move point to the NEWSGROUP specified by name
  183.      (`gnus-group-jump-to-group').
  184.      Move point to the beginning of the buffer (`beginning-of-buffer').
  185.      Move point to the end of the buffer (`end-of-buffer').
  186.      Restrict visible newsgroups to the current region specified by
  187.      point and the mark (`gnus-group-restrict-groups').
  188.    The command `j' (`gnus-group-jump-to-group') reads a newsgroup name
  189. interactively, and moves point to it.  If there is no such newsgroup in
  190. the buffer, a line for the newsgroup is inserted at the beginning of
  191. the buffer.
  192.    The command `r' (`gnus-group-restrict-groups') restricts visibility
  193. in the Newsgroup buffer to the region specified by point and mark.  It
  194. is not quite the same as `C-x n'; it includes all of the line that the
  195. region starts in, and all of the line that the region ends in.  Type
  196. `C-x w' (`widen') to widen visibility to the whole buffer.
  197. File: gnus,  Node: Selecting a Newsgroup,  Next: Maintaining Subscriptions,  Prev: Browsing Newsgroups,  Up: Newsgroup Commands
  198. Selecting a Newsgroup
  199. =====================
  200.    To start reading the articles in a newsgroup, move to that newsgroup
  201. in the Newsgroup buffer and type `SPC' (`gnus-group-read-group') or `='
  202. (`gnus-group-select-group').
  203. `SPC'
  204.      Select the newsgroup at point, and then select the first unread
  205.      article automatically (`gnus-group-read-group').
  206.      Select the newsgroup at point (`gnus-group-select-group').
  207.    Normally, when you select a newsgroup, GNUS prepares to read only the
  208. unread articles (including saved articles).  If the newsgroup has no
  209. unread articles and you select it anyway, GNUS prepares to read all the
  210. articles.  You can force GNUS to include all the articles by giving a
  211. prefix argument to the commands `SPC' and `=' (`gnus-group-read-group'
  212. and `gnus-group-select-group').
  213.    If the number of articles being selected is larger than the variable
  214. `gnus-large-newsgroup', GNUS prompts for the number of articles to
  215. prepare.  If your answer N is positive, GNUS prepares the last N
  216. articles.  If N is negative, GNUS prepares the first -N articles.  If
  217. you answer with the empty string, GNUS prepares all articles.
  218. File: gnus,  Node: Maintaining Subscriptions,  Next: Exiting GNUS,  Prev: Selecting a Newsgroup,  Up: Newsgroup Commands
  219. Maintaining Subscriptions
  220. =========================
  221.    This section explains how to subscribe and unsubscribe, as well as
  222. other related activities.  Most of the commands operate on the newsgroup
  223. listed on the current line.
  224.      Mark all newly arrived articles in the newsgroup as read, but don't
  225.      alter articles explicitly marked as saved (`gnus-group-catchup').
  226.      Mark all articles in the newsgroup  as read
  227.      (`gnus-group-catchup-all').
  228.      Show only the newsgroups which you now subscribe to and which now
  229.      contain unread and saved articles (`gnus-group-list-groups').
  230.      Show all newsgroups available on your news server
  231.      (`gnus-group-list-all-groups').
  232.      Unsubscribe from (or subscribe to) the newsgroup
  233.      (`gnus-group-unsubscribe-current-group').
  234. `U NEWSGROUP RET'
  235.      Unsubscribe from (or subscribe to) the newsgroup named NEWSGROUP
  236.      (`gnus-group-unsubscribe-group').
  237. `C-k'
  238.      Kill the newsgroup line that point is in (`gnus-group-kill-group').
  239. `C-w'
  240.      Kill newsgroups in current region (excluding current line)
  241.      (`gnus-group-kill-region').
  242. `C-y'
  243.      Yank the last newsgroup killed (`gnus-group-yank-group').  It is
  244.      inserted just before the current line.  Successive uses of `C-y'
  245.      yank earlier kills, in last-in first-out order.
  246. `C-x C-t'
  247.      Exchange current newsgroup and previous newsgroup.
  248.      (`gnus-group-transpose-groups').
  249. `M-x gnus-list-killed-groups'
  250. `C-c C-l'
  251.      Display a list of the newsgroups you have killed.  This is so you
  252.      can copy them back into the startup file.
  253.      Delete bogus newsgroups (`gnus-group-check-bogus-groups').
  254.      Get newly arrived articles for all groups
  255.      (`gnus-group-get-new-news').
  256.    The commands `c' and `C' (`gnus-group-catchup' and
  257. `gnus-group-catchup-all') mark all or most of the articles in a
  258. newsgroup as read.  They are useful if you have been away from news
  259. reading for a while, and you don't want to slog through the backlog of
  260. old postings.  These commands do not take account of the cross-reference
  261. information in the `Xref:' field, while the `c' command in Summary Mode
  262. does.
  263.    Only subscribed newsgroups containing unread and saved articles are
  264. usually displayed in the Newsgroup buffer.  Type `L'
  265. (`gnus-group-list-all-groups') to show all newsgroups which are
  266. currently active.  Use `l' (`gnus-group-list-groups') to go back to the
  267. usual contents--only groups which have news for you to read.
  268.    The command `U' (`gnus-group-unsubscribe-group') reads a newsgroup
  269. name interactively, and toggles its subscription flag.  This is the
  270. usual way to subscribe to new groups.  (You can also type `L' and then
  271. use `u' on the groups you want to read.)  You can also arrange to
  272. subscribe automatically to some or all newly created newsgroups using
  273. the options line in your startup file, `~/.newsrc'.  *Note Startup
  274. File::, for more information.
  275.    The command `C-k' (`gnus-group-kill-group') kills a newsgroup from
  276. both the Newsgroup buffer and the raw startup file.  If you change your
  277. mind, type `C-y' (`gnus-group-yank-group'); this yanks the last
  278. newsgroup killed with the `C-k' command.
  279.    The command `C-c C-l' (`gnus-list-killed-groups') pops up a buffer
  280. listing the newsgroups you have killed.  You can yank any of these
  281. newsgroups by moving point to the entry for the newsgroup you want, and
  282. then typing `y' or `C-y' (`gnus-browse-killed-yank').  So a convenient
  283. way to change the order of newsgroups is to kill some of them, then go
  284. to the list of killed groups and yank them in the order you want.
  285.    You are not limited to yanking only the groups that you killed in the
  286. current GNUS session.  All the groups you have ever killed are
  287. remembered in the quick startup file, and you can restore them any time
  288. unless you lose the file.
  289.    A "bogus newsgroup" is one not in the list of active newsgroups in
  290. the active file.  Type `b' (`gnus-group-check-bogus-groups') to delete
  291. all the bogus newsgroups that you subscribe to.  Bogus newsgroups that
  292. you have unsubscribed or killed are deleted also.
  293.    The `g' command rereads the active file to get updated lists of
  294. articles available to be read.
  295. File: gnus,  Node: Exiting GNUS,  Next: Other Newsgroup Commands,  Prev: Maintaining Subscriptions,  Up: Newsgroup Commands
  296. Exiting GNUS
  297. ============
  298.      Suspend the current GNUS session (`gnus-group-suspend').
  299.      Update the startup file `.newsrc', and then exit GNUS
  300.      (`gnus-group-exit').
  301.      Exit GNUS without updating the startup file `.newsrc'
  302.      (`gnus-group-quit').
  303.    Suspending GNUS with `z' (`gnus-group-suspend') kills all GNUS
  304. buffers except for the Newsgroup buffer.  To resume again, switch to
  305. the Newsgroup buffer and type `g' (`gnus-group-get-new-news') to get
  306. newly arrived articles.  It is a good idea to update the startup file
  307. (*note Startup File::.) before suspending GNUS.
  308.    If you want to forget what you read this GNUS session, exit GNUS by
  309. the command `Q' (`gnus-group-quit').  Otherwise, exit by the command
  310. `q' (`gnus-group-exit') to update the startup file.
  311.    The hook `gnus-exit-gnus-hook' is called when exiting GNUS, and the
  312. hook `gnus-suspend-gnus-hook' is called when suspending GNUS.
  313. File: gnus,  Node: Other Newsgroup Commands,  Prev: Exiting GNUS,  Up: Newsgroup Commands
  314. Miscellaneous Commands
  315. ======================
  316.    Other miscellaneous Group mode commands are described here.
  317.      Compose a new article (`gnus-group-post-news').  *Note Posting
  318.      Articles::, for more information.
  319. `M-k'
  320.      Edit a local kill file (`gnus-group-edit-local-kill').  *Note Kill
  321.      File::, for more information.
  322. `M-K'
  323.      Edit your global kill file (`gnus-group-edit-global-kill').  *Note
  324.      Kill File::, for more information.
  325. File: gnus,  Node: Summary Commands,  Next: Article Commands,  Prev: Newsgroup Commands,  Up: Top
  326. Summary Commands
  327. ****************
  328.    The Summary buffer shows you a summary of the contents of a single
  329. newsgroup, with one line for each article.  You can move around in the
  330. Summary buffer, giving commands to view articles, save them, reply to
  331. them, and so on.  When you view an article, its text appears in a
  332. separate buffer, but the Summary buffer remains current.  In fact,
  333. there is hardly ever a reason to select the Article buffer; you can do
  334. almost all news reading tasks while staying in the Summary buffer.
  335. * Menu:
  336. * Reading Articles::            How to read articles.
  337. * Searching Articles::          Searching for articles.
  338. * Referencing Articles::        Referencing parent articles.
  339. * Saving Articles::             Saving articles in your favorite format.
  340. * Sorting Headers::             Sorting the Summary buffer.
  341. * Posting Articles::            How to post a new article or followup article.
  342. * Forward and Reply::           How to mail a reply to a message,
  343.                                   or forward the message by mail.
  344. * Exiting Newsgroup::           How to exit the current newsgroup.
  345. File: gnus,  Node: Reading Articles,  Next: Searching Articles,  Up: Summary Commands
  346. Reading Articles
  347. ================
  348.    The most basic command for reading articles is SPC
  349. (`gnus-summary-next-page').  When you are viewing the middle of a
  350. article, SPC scrolls the article forward.  When you get to the end of
  351. an article, SPC advances to the next article.  You can read all the
  352. unread articles straight through using just SPC.
  353.    Naturally, though, there are plenty of more advanced features
  354. available.
  355. * Menu:
  356. * Summary Motion::              Special cursor motion commands for Summary.
  357. * Reading an Article::          Commands for viewing an article differently.
  358. * Scrolling::                   Browsing through a message.
  359. * Moving Among Articles::       Selecting articles.
  360. * Marking Articles::            Marking articles as (un)read.
  361. * Thread-based Reading::        Reading articles based on conversation threads.
  362. * Digest Articles::             How to read digest articles.
  363. File: gnus,  Node: Summary Motion,  Next: Reading an Article,  Up: Reading Articles
  364. Cursor Motion in the Summary Buffer
  365. -----------------------------------
  366.    For moving around in the Summary buffer, you can use these special
  367. commands as well as the usual cursor motion commands.
  368. `C-n'
  369.      Move point to the next header (`gnus-summary-next-subject').
  370. `C-p'
  371.      Move point to the previous header (`gnus-summary-prev-subject').
  372. `M-n'
  373.      Move point to the next header, skipping marked articles
  374.      (`gnus-summary-next-unread-subject').
  375. `M-p'
  376.      Move point to the previous header, skipping marked articles
  377.      (`gnus-summary-prev-unread-subject').
  378. `j NUMBER RET'
  379.      Move point to the line describing an article specified by number
  380.      with a prefix argument (`gnus-summary-goto-subject').
  381. File: gnus,  Node: Reading an Article,  Next: Scrolling,  Prev: Summary Motion,  Up: Reading Articles
  382. Commands to Read Articles
  383. -------------------------
  384. `SPC'
  385.      SPC in the Summary buffer scrolls the Article buffer to the next
  386.      screenful or to the next article (`gnus-summary-next-page')
  387.      Select the article on the current line
  388.      (`gnus-summary-show-article').  This command always rereads the
  389.      article text from the server even if the same article is already
  390.      selected.
  391.      Expand the Summary buffer's window to occupy all the screen space
  392.      that GNUS is now using (`gnus-summary-expand-window').
  393. `C-t'
  394.      Toggle truncation of lines in the Summary buffer
  395.      (`gnus-summary-toggle-truncation').
  396.      Stop page breaking of article buffer
  397.      (`gnus-summary-stop-page-breaking').
  398.      Show all headers of the current article if pruned header currently
  399.      shown, or vice versa (`gnus-summary-toggle-header').
  400. `M-t'
  401.      Toggle MIME processing (`gnus-summary-toggle-mime').
  402. `C-c C-r'
  403.      Caesar rotate letters by 13 places and Japanese characters by 47
  404.      places (`gnus-summary-caesar-message').
  405.    The command `=' (`gnus-summary-expand-window') expands the Summary
  406. window by deleting the Article window.  Use it when you want to
  407. concentrate on the Summary buffer.  This command is different from `C-x
  408. 1' when more than two windows exist.
  409.    The command `C-c C-r' (`gnus-summary-caesar-message') rotates all
  410. letters in the body of the current article by 13/47 places.  (This
  411. encoding is often called "rot 13".)  To undo this operation, run it a
  412. second time.
  413.    If an article contains multiple pages, GNUS normally displays just
  414. one page at a time.  To advance to the next page of an article, simply
  415. type SPC.  It advances to the next page whenever the end of a page is
  416. on the screen.
  417.    The command `w' (`gnus-summary-stop-page-breaking') temporarily
  418. suspends page breaking; it makes the entire current article visible.
  419. You can turn off page breaking all the time by setting the variable
  420. `gnus-break-pages' to `nil'.
  421.    Page boundaries are defined by the variable `gnus-page-delimiter',
  422. whose value is a regular expression.  The default is to match a
  423. formfeed character at the beginning of a line.
  424.    GNUS normally hides many uninteresting header fields when it displays
  425. an article.  (The variable `gnus-ignored-headers' controls which fields
  426. are ignored.)  If you want to see the whole header, type `t'
  427. (`gnus-summary-toggle-header').  Use `t' a second time to hide the
  428. uninteresting header fields again.
  429. File: gnus,  Node: Scrolling,  Next: Moving Among Articles,  Prev: Reading an Article,  Up: Reading Articles
  430. Scrolling Within an Article
  431. ---------------------------
  432.    This section describes the commands you can type in the Summary
  433. buffer to scroll the Article buffer.  (If you want to scroll the
  434. Summary buffer, you can use the usual Emacs scrolling commands.)
  435. `SPC'
  436.      Scroll to the next page of the current article
  437.      (`gnus-summary-next-page').  Select it first if no article is
  438.      selected yet.  Select the next unread article automatically at the
  439.      end of the message.
  440. `DEL'
  441.      Scroll the current article backward (`gnus-summary-prev-page').
  442. `RET'
  443.      Scroll the current article one (or N) lines forward
  444.      (`gnus-summary-scroll-up').  A negative argument scrolls backward.
  445.      Move point to the beginning of the current article
  446.      (`gnus-summary-beginning-of-article').
  447.      Move point to the end of the current article
  448.      (`gnus-summary-end-of-article').
  449. File: gnus,  Node: Moving Among Articles,  Next: Marking Articles,  Prev: Scrolling,  Up: Reading Articles
  450. Moving Among Articles
  451. ---------------------
  452.    These commands move point in the Summary buffer to a different line
  453. and display that line's article.
  454.      Read the next article, skipping marked articles
  455.      (`gnus-summary-next-unread-article').
  456.      Read the previous article, skipping marked articles
  457.      (`gnus-summary-prev-unread-article').
  458.      Read the next article (`gnus-summary-next-article').
  459.      Read the previous article (`gnus-summary-prev-article').
  460. `C-M-n'
  461.      Read the next article with the same subject as the current article
  462.      (`gnus-summary-next-same-subject').
  463. `C-M-p'
  464.      Read the previous article with the same subject as the current
  465.      article (`gnus-summary-prev-same-subject').
  466.      Read the first unread article
  467.      (`gnus-summary-first-unread-article').
  468.      Read the article selected last (`gnus-summary-goto-last-article').
  469.    If the variable `gnus-auto-select-same' is non-`nil', the commands
  470. `n' and `p' (`gnus-summary-next-unread-article' and
  471. `gnus-summary-prev-unread-article') skip articles until they come to
  472. another article with the same subject.  If you are used to reading news
  473. with `rn -S', set the variable to non-`nil' to get familiar behavior.
  474.    If the variable `gnus-auto-extend-newsgroup' is non-`nil', the
  475. commands `N' and `P' (`gnus-summary-next-article' and
  476. `gnus-summary-prev-article') extend visible articles to forward and
  477. backward if possible.  The Summary buffer normally displays just a
  478. subset of the extant articles; extending the buffer means that if you
  479. try to move forward from the last article shown, it looks for later
  480. articles that are not shown, and puts them into the buffer so you can
  481. move to them.
  482.    The variable `gnus-auto-select-next' defines the behavior of GNUS
  483. when there is no unread article in the current newsgroup and a command
  484. selecting the next unread article is executed.  If the variable is
  485. non-`nil', the next newsgroup containing unread articles is selected
  486. automatically.
  487. File: gnus,  Node: Marking Articles,  Next: Thread-based Reading,  Prev: Moving Among Articles,  Up: Reading Articles
  488. Marking Articles
  489. ----------------
  490.    GNUS uses single-character marks to indicate the status of an
  491. article.
  492. ` ' (a space)
  493.      A newly arrived article.
  494.      An article marked as saved.
  495. anything else
  496.      An article marked as read.
  497. Both newly arrived articles and saved articles are considered "unread".
  498.    The status is displayed at the beginning of each line of the Summary
  499. buffer.  Here are some commands for changing these marks:
  500.      Mark this line's article as read, then move point to the following
  501.      line (`gnus-summary-mark-as-read-forward').  This and the
  502.      following similar commands do not select an article; they only
  503.      move point in the Summary buffer.
  504.      Mark this line's article as saved, then move point to the
  505.      following line (`gnus-summary-mark-as-unread-forward').
  506. `M-u'
  507.      Clear marks on this line's article, then move point to the next
  508.      line (`gnus-summary-clear-mark-forward').  This sets the status to
  509.      "newly arrived".
  510. `M-U'
  511.      Analogous to `d', `u' and `M-u', except that they move backwards
  512.      instead of forwards in the Summary buffer.
  513.      Mark as read all articles with the same subject as the current
  514.      article, then select the next unread article
  515.      (`gnus-summary-kill-same-subject-and-select').  Use this when you
  516.      decide a certain discussion is not interesting.
  517. `C-k'
  518.      Mark as read all articles with the same subject as the current
  519.      article (`gnus-summary-kill-same-subject').
  520.      Mark all newly arrived articles as read; then exit the current
  521.      newsgroup (`gnus-summary-catchup-and-exit').  This does not change
  522.      the status of articles that are saved.
  523. `M-x gnus-summary-catchup-all-and-exit'
  524.      Mark all articles (including saved articles) as read, and then
  525.      exit the current newsgroup.
  526. `M-x gnus-summary-catchup'
  527.      Mark all newly arrived articles as read, but don't alter saved
  528.      articles.
  529. `M-x gnus-summary-catchup-all'
  530.      Mark all articles as read.
  531.      Delete summary lines for articles marked as read
  532.      (`gnus-summary-delete-marked-as-read').
  533. `X MARKS RET'
  534.      Delete headers marked with any of MARKS
  535.      (`gnus-summary-delete-marked-with').
  536.    You can make it easier to see the remaining unread articles in the
  537. Summary buffer by deleting the lines describing the already read
  538. articles.  To do this, use the command `x'
  539. (`gnus-summary-delete-marked-as-read').  The command `X'
  540. (`gnus-summary-delete-marked-with') deletes headers which have certain
  541. specified marks.  Thus, `X D - RET' deletes all articles marked with
  542. `D' or `-'--which is to say, all read and saved articles.  (There are
  543. no spaces in that command; we inserted spaces for clarity when showing
  544. it here.)
  545. File: gnus,  Node: Thread-based Reading,  Next: Digest Articles,  Prev: Marking Articles,  Up: Reading Articles
  546. Reading Based on Conversation Threads
  547. -------------------------------------
  548.    A "thread" is defined as a set of articles related by
  549. cross-reference.  These references make use of header fields
  550. `References:' and `In-Reply-To:', which cite the message ID of another
  551. article.
  552.    Conversations in a newsgroup usually contain several threads under a
  553. single subject.  This makes it difficult to know which article follows
  554. which without reading references directly.  You can use the thread-based
  555. commands to do this automatically.  You can follow threads of
  556. conversation, mark entire threads as read, and go up and down thread
  557. trees.
  558.    The command `M-C-t' (`gnus-summary-toggle-threads') toggles showing
  559. conversation threads in Summary mode.  If it is turned on, Summary
  560. buffer is displayed in a tree structured form which shows the thread
  561. structure.
  562. `C-M-t'
  563.      Toggle thread-based reading (`gnus-summary-toggle-threads').
  564. `C-M-s'
  565.      Show the thread subtree of the current line
  566.      (`gnus-summary-show-thread').
  567. `M-x gnus-summary-show-all-threads'
  568.      Show all thread subtrees.
  569. `C-M-h'
  570.      Hide the thread subtrees of the current line
  571.      (`gnus-summary-hide-thread').
  572. `M-x gnus-summary-hide-all-threads'
  573.      Hide all thread subtrees.
  574. `C-M-f'
  575.      Go to the next thread at the same level
  576.      (`gnus-summary-next-thread').
  577. `C-M-b'
  578.      Go to the previous thread at the same level
  579.      (`gnus-summary-prev-thread').
  580. `C-M-d'
  581.      Go down to next thread subordinate to the current line.
  582.      (`gnus-summary-down-thread').
  583. `C-M-u'
  584.      Go up to the parent thread of the current line
  585.      (`gnus-summary-up-thread').
  586. `C-M-k'
  587.      Mark all articles under current thread as read
  588.      (`gnus-summary-kill-thread').
  589.    Thread subtrees can be hidden by using the command `C-M-h'
  590. (`gnus-summary-hide-thread'), and the hidden subtrees can be shown by
  591. using the command `C-M-s' (`gnus-summary-show-thread').
  592.    If the variable `gnus-thread-hide-killed' is non-`nil', thread
  593. subtrees killed by the command `C-M-k' (`gnus-summary-kill-thread') are
  594. hidden automatically.
  595.    If you want to hide thread subtrees initially, set the variable
  596. `gnus-thread-hide-subtree' to non-`nil'.
  597.    If you want to enable thread-based reading automatically, set the
  598. variable `gnus-show-threads' to non-`nil'.
  599. File: gnus,  Node: Digest Articles,  Prev: Thread-based Reading,  Up: Reading Articles
  600. Reading Digest Articles
  601. -----------------------
  602.    "Digest article" is a message containing many messages in "digest"
  603. format.  Since a digest article contains many messages in one article,
  604. it is a little bit difficult to read it on a per message basis.  The
  605. following commands make it easier to read each message in a digest.
  606. `C-c C-n'
  607.      Scroll to the next digest message of the current article
  608.      (`gnus-summary-next-digest').
  609. `C-c C-p'
  610.      Scroll to the previous digest message of the current article
  611.      (`gnus-summary-prev-digest').
  612. `C-d'
  613.      Read the current digest article using Rmail
  614.      (`gnus-summary-rmail-digest').
  615.    The commands `C-c C-n' and `C-c C-p' (`gnus-summary-next-digest' and
  616. `gnus-summary-prev-digest') scroll a digest article to the next and
  617. previous digested message, respectively.  The variable
  618. `gnus-digest-separator' specifies a regexp which separates digested
  619. messages.
  620.    The command `C-d' (`gnus-summary-rmail-digest') runs Rmail on a
  621. digest article and makes it possible to read messages not in digest
  622. form using Rmail Mode.  *Note Rmail: (emacs)Rmail, for more information
  623. on Rmail Mode.  Use the hook `gnus-select-article-hook' to run Rmail on
  624. digest articles automatically.
  625.    Some newsgroups use a digest format that cannot be read using Rmail.
  626. In this case, `C-d' displays `Article is not a digest' in the echo
  627. area.  It is, however, possible to read these incomplete digest
  628. articles by modifying the message headers or bodies appropriately using
  629. the hook `gnus-select-digest-hook'.  *Note Hooks::, to modify
  630. incomplete digest articles.
  631.    If the variable `gnus-digest-show-summary' is non-`nil', a summary
  632. of the digest article is also displayed automatically when Rmail is
  633. invoked.
  634. File: gnus,  Node: Searching Articles,  Next: Referencing Articles,  Prev: Reading Articles,  Up: Summary Commands
  635. Searching Articles
  636. ==================
  637.      Do incremental search on the current article
  638.      (`gnus-summary-isearch-article').
  639. `M-s REGEXP RET'
  640.      Search for articles containing a match for REGEXP forward
  641.      (`gnus-summary-search-article-forward').  If REGEXP is empty, the
  642.      last regexp used is used again.
  643. `M-r REGEXP RET'
  644.      Search for articles containing a match for REGEXP backward
  645.      (`gnus-summary-search-article-backward').  If REGEXP is empty, the
  646.      last regexp used is used again.
  647. `& FIELD RET REGEXP RET COMMAND RET'
  648.      Execute COMMAND on articles containing a match for REGEXP in FIELD
  649.      of the headers (`gnus-summary-execute-command').  If FIELD is
  650.      empty, the entire article is searched for.
  651.    The command `s' (`gnus-summary-isearch-article') does an incremental
  652. search on the current article.  This is like switching to the Article
  653. buffer and typing `C-s' except that the Summary buffer remains
  654. selected.  The command `M-s' (`gnus-summary-search-article-forward')
  655. searches for articles containing a match for regexp.  The search starts
  656. from the current point of the current article.  To search backwards,
  657. use the command `M-r' (`gnus-summary-search-article-backward').
  658.    The command `&' (`gnus-summary-execute-command') interactively reads
  659. a header field name, a regular expression, and a valid key sequence.
  660. It then searches for all articles in which that regular expression
  661. matches the contents of the specified header field.  It executes the
  662. key sequence in each such message.
  663. File: gnus,  Node: Referencing Articles,  Next: Saving Articles,  Prev: Searching Articles,  Up: Summary Commands
  664. Referencing Articles
  665. ====================
  666.      Refer to parent of the current article in terms of the `References'
  667.      field (`gnus-summary-refer-parent-article').  With a prefix
  668.      argument, go back to the child.
  669. `M-^ MESSAGE-ID RET'
  670.      Refer to the article by using the MESSAGE-ID
  671.      (`gnus-summary-refer-article').
  672.    The command `^' (`gnus-summary-refer-parent-article') refers to
  673. parent article of the current article.  You can go back to the child
  674. article with `C-u ^'.
  675.    `^' and `M-^' select a new article without moving point in the
  676. Summary buffer.  As a consequence, you can use `g' to go back to the
  677. article in which you started the last sequence of `^' and `M-^'
  678. commands.
  679.    You can use the `r' command in Article mode to follow a reference
  680. contained in the text of an article.  *Note Article Commands::.
  681. File: gnus,  Node: Saving Articles,  Next: Sorting Headers,  Prev: Referencing Articles,  Up: Summary Commands
  682. Saving Articles
  683. ===============
  684.    GNUS supports four different formats for saving articles: Rmail
  685. format, Unix mailbox format, MH folder, and article format.
  686.      Save the current article in Rmail format
  687.      (`gnus-summary-save-article').
  688. `C-o'
  689.      Save the current article in Unix mail file format
  690.      (`gnus-summary-save-in-mail').
  691. `| COMMAND RET'
  692.      Send contents of the current article through a pipe to a subprocess
  693.      running COMMAND (`gnus-summary-pipe-output').
  694.    The variable `gnus-default-article-saver' controls the formats used
  695. by the `o' command.  By default, it uses Rmail format.  If you set the
  696. variable to `gnus-summary-save-in-folder', `o' uses MH format.  If you
  697. set it to `gnus-summary-save-in-file', `o' saves the article text
  698. verbatim.  The default value is `gnus-summary-save-in-rmail'.  (All
  699. three of these values are commands that you can bind to other keys.)
  700.    The variable `gnus-article-save-directory' specifies the default
  701. directory for saving articles.  If you don't set this variable
  702. explicitly, it is initialized from the `SAVEDIR' environment variable,
  703. or, as a last resort, `~/News'.
  704. File: gnus,  Node: Sorting Headers,  Next: Posting Articles,  Prev: Saving Articles,  Up: Summary Commands
  705. Sorting Headers
  706. ===============
  707.    GNUS can sort the Summary buffer by number, subject, date, or author
  708. of articles.
  709. `C-c C-s C-n'
  710.      Sort the headers by number (`gnus-summary-sort-by-number').
  711. `C-c C-s C-s'
  712.      Sort the headers by subject (`gnus-summary-sort-by-subject').
  713. `C-c C-s C-d'
  714.      Sort the headers by date (`gnus-summary-sort-by-date').
  715. `C-c C-s C-a'
  716.      Sort the headers by author (`gnus-summary-sort-by-author').
  717.    Sorting is "stable", which means that it does not disturb the
  718. relative order of articles whose sort keys are equal.  So you can sort
  719. on multiple keys by using several sort commands in a row; the last sort
  720. command specifies the most powerful sort key.  Thus, `C-c C-s C-a C-c
  721. C-s C-d C-c C-s C-n' sorts by author, and sorts the messages for each
  722. author by date, and any messages with the same author and date are
  723. sorted by number.
  724.    To sort in reverse order, give a prefix argument to the sort
  725. commands.    It is also possible to sort the headers automatically when
  726. a newsgroup is selected using the hook `gnus-select-group-hook' (*note
  727. Hooks::.).
  728. File: gnus,  Node: Posting Articles,  Next: Forward and Reply,  Prev: Sorting Headers,  Up: Summary Commands
  729. Posting Articles
  730. ================
  731.      Compose a new article (`gnus-summary-post-news').
  732.      Compose a followup to the current article
  733.      (`gnus-summary-followup').
  734.      Compose a followup, and insert the original article right away
  735.      (`gnus-summary-followup-with-original').
  736.      Cancel the current article you posted
  737.      (`gnus-summary-cancel-article').
  738.    Type `a' (`gnus-summary-post-news') to post a new article.  If the
  739. variable `gnus-interactive-post' is non-`nil', this command reads the
  740. newsgroup, subject, and distribution interactively.  The command `f'
  741. (`gnus-summary-followup') fills these values in automatically from
  742. those of the selected article; thus, the article you post will be a
  743. "followup" to the selected article.
  744.    Type `C-c C-y' (`news-reply-yank-original') to include the original
  745. article in the text of the followup.  Unless the original article is
  746. quite short, you should edit it to keep only the particular sentences
  747. you are directly responding to.
  748.    The command `F' (`gnus-summary-followup-with-original') yanks the
  749. original article automatically.  If you want to followup to several
  750. articles in a single article and want to include them in it, type `F'
  751. for each of them.  You will be asked if a text being edited should be
  752. erased.  You should answer `n' to the question.
  753.    If the variable `gnus-novice-user' is non-`nil', your confirmations
  754. will be required for composing a new article.
  755.    The major mode for composing a new article is "News Mode" which is
  756. borrowed from `rnewspost.el'.  Type `C-h m' (`describe-mode') to get
  757. more help on News Mode.
  758.    Suppose you post an article and then later realize that you made a
  759. horrible mistake.  You really do not want anyone to see your article.
  760. You want the article to be removed from any machines that it may have
  761. reached.  The command `C' (`gnus-summary-cancel-article') is intended
  762. to do this.  First select the offending article as current, then type
  763. File: gnus,  Node: Forward and Reply,  Next: Exiting Newsgroup,  Prev: Posting Articles,  Up: Summary Commands
  764. Forwarding Messages and Replying To Them
  765. ========================================
  766.      Reply to the author of the current article (`gnus-summary-reply').
  767.      Reply to the author of the current article with the original
  768.      article (`gnus-summary-reply-with-original').
  769. `C-c C-f'
  770.      Forward current message to someone else.
  771.      (`gnus-summary-mail-forward').
  772.      Compose a mail message in other window
  773.      (`gnus-summary-mail-other-window').
  774.    Use the command `r' (`gnus-summary-reply') to mail a reply to the
  775. author of the article.  Type `C-c C-y' to yank the text of the article
  776. you are replying to.  The command `R'
  777. (`gnus-summary-reply-with-original') yanks the original article
  778. automatically.
  779.    *Note Mail Mode: (emacs)Mail Mode, for information on how to finish
  780. sending the reply.
  781. File: gnus,  Node: Exiting Newsgroup,  Prev: Forward and Reply,  Up: Summary Commands
  782. Exiting the Current Newsgroup
  783. =============================
  784.    "Exiting" a newsgroup means going back to the Newsgroup buffer and
  785. (normally) saving the changes you have made in the status of articles.
  786.      Exit the current newsgroup, and return to Group Mode
  787.      (`gnus-summary-exit').  This updates the startup file to indicate
  788.      the changes in article status in this newsgroup.
  789.      Exit the current newsgroup without saving information about article
  790.      status (`gnus-summary-quit').  The effect is to cancel all the
  791.      status changes that took place while you were reading this
  792.      newsgroup.
  793. `C-x C-s'
  794.      Save the article status changes, but keep the newsgroup selected
  795.      (`gnus-summary-reselect-current-group').
  796.    The command `C-x C-s' (`gnus-summary-reselect-current-group')
  797. selects the current newsgroup again after temporary exiting the
  798. newsgroup.  If no articles remain unread, all articles in the newsgroup
  799. will be selected.  A prefix argument to the command means to select all
  800. articles in the newsgroup.
  801. File: gnus,  Node: Article Commands,  Next: Startup File,  Prev: Summary Commands,  Up: Top
  802. Article Commands
  803. ****************
  804.    GNUS displays one article at a time, in a buffer called the Article
  805. buffer.  When you select an article, GNUS puts the Article buffer on the
  806. screen and displays the article there.
  807.    If the Article buffer is not visible, it appears on the screen
  808. whenever you select an article for display.  You can specify the height
  809. of the Article buffer as a fraction of the screen height by setting the
  810. variable `gnus-window-configuration'.
  811.    The Article buffer has a special major mode, Article mode.  It
  812. provides these commands:
  813. `SPC'
  814.      Scroll this window forward (`gnus-article-next-page').
  815. `DEL'
  816.      Scroll this window backward (`gnus-article-prev-page').
  817.      Select another article by following a cross reference
  818.      (`gnus-article-refer-article').  A cross reference is specified by
  819.      a Message-ID included in the text of the article.  Move point to a
  820.      message ID before using this command.
  821.      Return to the previous article from the referenced article
  822.      (`gnus-article-pop-article').
  823.      Reconfigure Emacs windows to show the Summary buffer above the
  824.      Article buffer and select the Summary buffer
  825.      (`gnus-article-show-summary').  The occasion to use this is when
  826.      you have been editing a message to send or article to post.
  827. File: gnus,  Node: Startup File,  Next: Kill File,  Prev: Article Commands,  Up: Top
  828. The Startup File
  829. ****************
  830.    Each user who reads news has a file called the "startup file" which
  831. records which groups he or she subscribes to and which articles have
  832. been read.
  833.    GNUS actually uses two startup files that contain the same
  834. information.  The "raw" startup file, named `~/.newsrc', is the master
  835. copy of the information; this is the same file that other news readers
  836. use, and it is kept in the standard format.  The "quick" startup file
  837. contains the same information in a format convenient for Lisp to read.
  838. GNUS automatically updates the quick startup file from the raw startup
  839. file whenever the latter is newer; but normally it saves time by reading
  840. only the quick startup file.
  841.    These commands in Group mode operate on the startup files:
  842.      Restart GNUS, using the raw startup file instead of the quick one,
  843.      and get newly arrived articles (`gnus-group-restart').
  844.      Update both startup files based on changes you have made in the
  845.      Newsgroups buffer (`gnus-group-force-update').
  846. File: gnus,  Node: Kill File,  Next: Troubleshooting,  Prev: Startup File,  Up: Top
  847. Kill File
  848. *********
  849.    A "kill" file contains lisp expressions to be applied to a selected
  850. newsgroup.  The purpose is to mark articles as read on the basis of
  851. some set of regexps.
  852.    There are two kinds of kill files, global and local.  A global kill
  853. file is applied to every newsgroup, and a local kill file to a specified
  854. newsgroup.
  855. * Menu:
  856. * Making a Kill File::          How to make a kill file.
  857. * Editing Kill Files::          How to edit kill files.
  858. * Kill File Example::           A real example of a kill file.
  859. * Names of Kill Files::         Where kill files are kept in the file system.
  860. * Background Kills::            Background kill processing.
  861. * Advanced Kills::              Advanced kill processing.
  862. File: gnus,  Node: Making a Kill File,  Next: Editing Kill Files,  Up: Kill File
  863. Making a Kill File
  864. ==================
  865.    A kill file is simply a file of Lisp code that is loaded (i.e.,
  866. evaluated) while the Summary buffer is current.  In order to work
  867. properly, the contents of the file must be designed to interact properly
  868. with GNUS.  To make it easier to write a valid kill file, GNUS provides
  869. a general function which does the things users typically want to do in a
  870. kill file.
  871.      (gnus-kill FIELD REGEXP &optional COMMAND ALL)
  872. The `gnus-kill' function performs an action on each article that
  873. matches a specified condition.
  874.    The two required arguments specify the condition.  The argument
  875. FIELD specifies a portion of an article; it is either the name of a
  876. header field to search, or `""', which says to search the entire
  877. article body.  The argument REGEXP says what to search for.  The
  878. condition is this: an article is eligible if the specified portion of
  879. the article contains a match for REGEXP.
  880.    The argument COMMAND says what to do when an article fits the
  881. condition.  It is either a valid key sequence in Summary mode, or a Lisp
  882. expression which is a list, or `nil'.  A key sequence stands for its
  883. command definition in Summary mode; it means to execute that command.
  884. A Lisp expression means to evaluate that expression.  `nil' says to
  885. mark the article with the character `X'.
  886.    If ALL is omitted or `nil', `gnus-kill' checks only newly arrived
  887. articles for meeting the condition.  If ALL is non-`nil', it checks all
  888. articles.
  889.    Here as an example is how to mark all articles whose subjects contain
  890. the string `AI':
  891.      (gnus-kill "Subject" "AI")
  892.    If you want to mark articles with `D' instead of `X', you can use
  893. the following expression, which works by executing the `d' command.
  894.      (gnus-kill "Subject" "AI" "d")
  895.    The usual aim of a kill file is to delete certain articles.  The way
  896. to do this is to mark them with `X' and then call `gnus-expunge', like
  897. this:
  898.      (gnus-expunge "X")
  899.    `gnus-expunge' takes one argument, a string containing a number of
  900. mark characters, and deletes all the lines that are marked with any of
  901. those characters.
  902.    It works to use `gnus-expunge' for the marker `D', but you may not
  903. like what it does, because this prevents you from ever rereading an
  904. article marked as read in a previous session.  That's why the default
  905. marker for `gnus-kill' is `X' rather than `D'.
  906.    Searching in the Summary buffer normally ignores case; this includes
  907. the searching inside of `gnus-kill'.  If you do not want to ignore the
  908. case, set the variable `case-fold-search' to `nil'.
  909.    After GNUS has finished applying the appropriate kill files, if the
  910. newsgroup has no articles left, GNUS exits that newsgroup right away.
  911. File: gnus,  Node: Editing Kill Files,  Next: Kill File Example,  Prev: Making a Kill File,  Up: Kill File
  912. Editing Kill Files
  913. ==================
  914.    You can use these GNUS commands to find a kill file for editing:
  915. `M-k'
  916.      Edit a local KILL file applied to the current newsgroup
  917.      (`gnus-summary-edit-local-kill').
  918. `M-K'
  919.      Edit a global KILL file applied to all newsgroups
  920.      (`gnus-summary-edit-local-kill').
  921. The same key sequences (`M-k' and `M-K') are available in Group mode
  922. also, but the commands that implement them are
  923. `gnus-group-edit-local-kill' and `gnus-group-edit-global-kill'.
  924.    The major mode of these buffers is Kill-File mode, which is like
  925. Emacs Lisp mode but with the following additional commands:
  926. `C-c C-k C-s'
  927.      Insert a template of a kill command on subject
  928.      (`gnus-kill-file-kill-by-subject').
  929. `C-c C-k C-a'
  930.      Insert a template of a kill command on author
  931.      (`gnus-kill-file-kill-by-author').
  932. `C-c C-a'
  933.      Evaluate the whole current buffer, but do so with the Summary
  934.      buffer current (`gnus-kill-file-apply-buffer').  This is a
  935.      convenient way to try out a kill file you have been editing.
  936. `C-c C-e'
  937.      Evaluate the sexp before point in current buffer, but do so with
  938.      the Summary buffer current (`gnus-kill-file-apply-last-sexp').
  939. `C-c C-c'
  940.      Save the kill file and then return to the previous buffer
  941.      (`gnus-kill-file-exit').
  942.    The effects of `C-c C-k C-s' and `C-c C-k C-a' depend on how you
  943. began editing the kill file.  If you gave the command `M-k' or `M-K'
  944. while in the Summary buffer, then the article that was current at that
  945. time supplies the string to search for, from its own subject or author.
  946. File: gnus,  Node: Kill File Example,  Next: Names of Kill Files,  Prev: Editing Kill Files,  Up: Kill File
  947. Example of a Kill File
  948. ======================
  949.    This is a real example of a local kill file for newsgroup `control'.
  950.      ;; Apply to the newsgroup `control' if the NNTP server is flab.
  951.      (if (string-equal gnus-nntp-server "flab")
  952.          (progn
  953.            (gnus-kill "Subject" "ihave flab\\|sendme")
  954.            (gnus-kill "Subject" "cancel\\|newgroup\\|rmgroup" "d")
  955.            (gnus-expunge "X")))
  956.