comparison man/gnus.texi @ 142:1856695b1fa9 r20-2b5

Import from CVS: tag r20-2b5
author cvs
date Mon, 13 Aug 2007 09:33:18 +0200
parents 585fb297b004
children 318232e2a3f0
comparison
equal deleted inserted replaced
141:ea67ad3963dc 142:1856695b1fa9
1 \input texinfo @c -*-texinfo-*- 1 \input texinfo @c -*-texinfo-*-
2 2
3 @setfilename gnus 3 @setfilename gnus
4 @settitle Gnus 5.4.50 Manual 4 @settitle Gnus 5.4.51 Manual
5 @synindex fn cp 5 @synindex fn cp
6 @synindex vr cp 6 @synindex vr cp
7 @synindex pg cp 7 @synindex pg cp
8 @iftex 8 @iftex
9 @finalout 9 @finalout
285 @end ifinfo 285 @end ifinfo
286 286
287 @tex 287 @tex
288 288
289 @titlepage 289 @titlepage
290 @title Gnus 5.4.50 Manual 290 @title Gnus 5.4.51 Manual
291 291
292 @author by Lars Magne Ingebrigtsen 292 @author by Lars Magne Ingebrigtsen
293 @page 293 @page
294 294
295 @vskip 0pt plus 1filll 295 @vskip 0pt plus 1filll
321 You can read news (and mail) from within Emacs by using Gnus. The news 321 You can read news (and mail) from within Emacs by using Gnus. The news
322 can be gotten by any nefarious means you can think of---@sc{nntp}, local 322 can be gotten by any nefarious means you can think of---@sc{nntp}, local
323 spool or your mbox file. All at the same time, if you want to push your 323 spool or your mbox file. All at the same time, if you want to push your
324 luck. 324 luck.
325 325
326 This manual corresponds to Gnus 5.4.50. 326 This manual corresponds to Gnus 5.4.51.
327 327
328 @end ifinfo 328 @end ifinfo
329 329
330 @iftex 330 @iftex
331 331
5227 5227
5228 This variable is @code{((gnus-article-archive-name))} by default, which 5228 This variable is @code{((gnus-article-archive-name))} by default, which
5229 means that Gnus will look at the articles it saves for an 5229 means that Gnus will look at the articles it saves for an
5230 @code{Archive-name} line and use that as a suggestion for the file 5230 @code{Archive-name} line and use that as a suggestion for the file
5231 name. 5231 name.
5232
5233 Here's an example function to clean up file names somewhat. If you have
5234 lots of mail groups that are called things like
5235 @samp{nnml:mail.whatever}, you may want to chop off the beginning of
5236 these group names before creating the file name to save to. The
5237 following will do just that:
5238
5239 1@lisp
5240 (defun my-save-name (group)
5241 (when (string-match "^nnml:mail." group)
5242 (substring group (match-end 0))))
5243
5244 (setq gnus-split-methods
5245 '((gnus-article-archive-name)
5246 (my-save-name)))
5247 @end lisp
5248
5232 5249
5233 @vindex gnus-use-long-file-name 5250 @vindex gnus-use-long-file-name
5234 Finally, you have the @code{gnus-use-long-file-name} variable. If it is 5251 Finally, you have the @code{gnus-use-long-file-name} variable. If it is
5235 @code{nil}, all the preceding functions will replace all periods 5252 @code{nil}, all the preceding functions will replace all periods
5236 (@samp{.}) in the group names with slashes (@samp{/})---which means that 5253 (@samp{.}) in the group names with slashes (@samp{/})---which means that