diff options
| author | Miles Bader | 2008-03-10 02:39:21 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-03-10 02:39:21 +0000 |
| commit | 37a68866aa6fd30bcd423b48cb8871b80027f0ba (patch) | |
| tree | 9f1b2ad74fc6a96df14cf189def2d74d8e2c40f5 | |
| parent | 8f7abae3a9c0dcb827f50688e802d634c7461ece (diff) | |
| download | emacs-37a68866aa6fd30bcd423b48cb8871b80027f0ba.tar.gz emacs-37a68866aa6fd30bcd423b48cb8871b80027f0ba.zip | |
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1099
| -rw-r--r-- | doc/misc/ChangeLog | 7 | ||||
| -rw-r--r-- | doc/misc/gnus-news.texi | 13 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 21 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/mail-source.el | 17 |
5 files changed, 52 insertions, 12 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 65f8a57c4fd..b6837862a97 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2008-03-10 Reiner Steib <Reiner.Steib@gmx.de> | 1 | 2008-03-10 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 2 | ||
| 3 | * gnus.texi (Mail Source Customization, Gnus Development, Oort Gnus): | ||
| 4 | Update for change of `mail-source-delete-incoming'. | ||
| 5 | |||
| 6 | * gnus-news.texi: Ditto. | ||
| 7 | |||
| 8 | 2008-03-10 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 9 | |||
| 3 | * gnus-coding.texi (Gnus Maintainance Guide): Update conventions for | 10 | * gnus-coding.texi (Gnus Maintainance Guide): Update conventions for |
| 4 | custom versions. | 11 | custom versions. |
| 5 | 12 | ||
diff --git a/doc/misc/gnus-news.texi b/doc/misc/gnus-news.texi index b3b06520b58..3e0a47dd7d8 100644 --- a/doc/misc/gnus-news.texi +++ b/doc/misc/gnus-news.texi | |||
| @@ -77,6 +77,19 @@ connections are managed by this mechanism, after querying the user | |||
| 77 | about whether to do so. | 77 | about whether to do so. |
| 78 | @end itemize | 78 | @end itemize |
| 79 | 79 | ||
| 80 | @item Changes in group mode | ||
| 81 | @c ************************ | ||
| 82 | |||
| 83 | @itemize @bullet | ||
| 84 | @item | ||
| 85 | Old intermediate incoming mail files (@file{Incoming*}) are deleted | ||
| 86 | after a couple of days, not immediately. @xref{Mail Source | ||
| 87 | Customization}. | ||
| 88 | @c New in Gnus 5.10.10 / No Gnus 0.8 | ||
| 89 | @c This entry is also present in the node "Oort Gnus". | ||
| 90 | |||
| 91 | @end itemize | ||
| 92 | |||
| 80 | @item Changes in summary and article mode | 93 | @item Changes in summary and article mode |
| 81 | 94 | ||
| 82 | @itemize @bullet | 95 | @itemize @bullet |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index f90b0f96847..28dd6a1da3f 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -14622,14 +14622,17 @@ variables. | |||
| 14622 | File where mail will be stored while processing it. The default is@* | 14622 | File where mail will be stored while processing it. The default is@* |
| 14623 | @file{~/.emacs-mail-crash-box}. | 14623 | @file{~/.emacs-mail-crash-box}. |
| 14624 | 14624 | ||
| 14625 | @cindex Incoming* | ||
| 14625 | @item mail-source-delete-incoming | 14626 | @item mail-source-delete-incoming |
| 14626 | @vindex mail-source-delete-incoming | 14627 | @vindex mail-source-delete-incoming |
| 14627 | If non-@code{nil}, delete incoming files after handling them. If | 14628 | If non-@code{nil}, delete incoming files after handling them. If |
| 14628 | @code{t}, delete the files immediately, if @code{nil}, never delete any | 14629 | @code{t}, delete the files immediately, if @code{nil}, never delete any |
| 14629 | files. If a positive number, delete files older than number of days | 14630 | files. If a positive number, delete files older than number of days |
| 14630 | (This will only happen, when receiving new mail). You may also set | 14631 | (the deletion will only happen when receiving new mail). You may also |
| 14631 | @code{mail-source-delete-incoming} to @code{nil} and call | 14632 | set @code{mail-source-delete-incoming} to @code{nil} and call |
| 14632 | @code{mail-source-delete-old-incoming} from a hook or interactively. | 14633 | @code{mail-source-delete-old-incoming} from a hook or interactively. |
| 14634 | @code{mail-source-delete-incoming} defaults to @code{2} in alpha Gnusae | ||
| 14635 | and @code{10} in released Gnusae. @xref{Gnus Development}. | ||
| 14633 | 14636 | ||
| 14634 | @item mail-source-delete-old-incoming-confirm | 14637 | @item mail-source-delete-old-incoming-confirm |
| 14635 | @vindex mail-source-delete-old-incoming-confirm | 14638 | @vindex mail-source-delete-old-incoming-confirm |
| @@ -26198,10 +26201,10 @@ supposed to be able to use these, and these are mostly discussed on the | |||
| 26198 | 26201 | ||
| 26199 | @cindex Incoming* | 26202 | @cindex Incoming* |
| 26200 | @vindex mail-source-delete-incoming | 26203 | @vindex mail-source-delete-incoming |
| 26201 | Some variable defaults differ between alpha Gnusae and released Gnusae. | 26204 | Some variable defaults differ between alpha Gnusae and released Gnusae, |
| 26202 | In particular, @code{mail-source-delete-incoming} defaults to @code{nil} in | 26205 | in particular, @code{mail-source-delete-incoming}. This is to prevent |
| 26203 | alpha Gnusae and @code{t} in released Gnusae. This is to prevent | ||
| 26204 | lossage of mail if an alpha release hiccups while handling the mail. | 26206 | lossage of mail if an alpha release hiccups while handling the mail. |
| 26207 | @xref{Mail Source Customization}. | ||
| 26205 | 26208 | ||
| 26206 | The division of discussion between the ding mailing list and the Gnus | 26209 | The division of discussion between the ding mailing list and the Gnus |
| 26207 | newsgroup is not purely based on publicity concerns. It's true that | 26210 | newsgroup is not purely based on publicity concerns. It's true that |
| @@ -26214,6 +26217,9 @@ either discarded or totally rewritten. People reading the mailing list | |||
| 26214 | usually keep up with these rapid changes, while people on the newsgroup | 26217 | usually keep up with these rapid changes, while people on the newsgroup |
| 26215 | can't be assumed to do so. | 26218 | can't be assumed to do so. |
| 26216 | 26219 | ||
| 26220 | @c FIXME: | ||
| 26221 | @c ding = gmane.emacs.gnus.general | ||
| 26222 | @c newsgroup = gnu.emacs.gnus = gmane.emacs.gnus.user = info-gnus-english | ||
| 26217 | 26223 | ||
| 26218 | 26224 | ||
| 26219 | @node Contributors | 26225 | @node Contributors |
| @@ -27445,6 +27451,11 @@ variables should change those regexps accordingly. For example: | |||
| 27445 | ("^han\\>" euc-kr) -> ("\\(^\\|:\\)han\\>" euc-kr) | 27451 | ("^han\\>" euc-kr) -> ("\\(^\\|:\\)han\\>" euc-kr) |
| 27446 | @end lisp | 27452 | @end lisp |
| 27447 | 27453 | ||
| 27454 | @item | ||
| 27455 | Old intermediate incoming mail files (@file{Incoming*}) are deleted | ||
| 27456 | after a couple of days, not immediately. @xref{Mail Source | ||
| 27457 | Customization}. (New in Gnus 5.10.10) | ||
| 27458 | |||
| 27448 | @end itemize | 27459 | @end itemize |
| 27449 | 27460 | ||
| 27450 | @item Changes in summary and article mode | 27461 | @item Changes in summary and article mode |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e86ac06e974..afc9d768143 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-03-08 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * mail-source.el (mail-source-delete-old-incoming-confirm): Change | ||
| 4 | default to nil. | ||
| 5 | (mail-source-delete-old-incoming): Make confirmation prompt more clear. | ||
| 6 | |||
| 1 | 2008-03-07 Katsumi Yamaoka <yamaoka@jpl.org> | 7 | 2008-03-07 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 8 | ||
| 3 | * gnus-art.el (gnus-narrow-to-page): Position point properly. | 9 | * gnus-art.el (gnus-narrow-to-page): Position point properly. |
diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el index 499d250f4cd..3a90990d5d8 100644 --- a/lisp/gnus/mail-source.el +++ b/lisp/gnus/mail-source.el | |||
| @@ -303,11 +303,11 @@ You may also set this variable to nil and call | |||
| 303 | (const :tag "never" nil) | 303 | (const :tag "never" nil) |
| 304 | (integer :tag "days"))) | 304 | (integer :tag "days"))) |
| 305 | 305 | ||
| 306 | (defcustom mail-source-delete-old-incoming-confirm t | 306 | (defcustom mail-source-delete-old-incoming-confirm nil |
| 307 | "*If non-nil, ask for confirmation before deleting old incoming files. | 307 | "If non-nil, ask for confirmation before deleting old incoming files. |
| 308 | This variable only applies when `mail-source-delete-incoming' is a positive | 308 | This variable only applies when `mail-source-delete-incoming' is a positive |
| 309 | number." | 309 | number." |
| 310 | :version "22.1" | 310 | :version "22.2" ;; No Gnus / Gnus 5.10.10 (default changed) |
| 311 | :group 'mail-source | 311 | :group 'mail-source |
| 312 | :type 'boolean) | 312 | :type 'boolean) |
| 313 | 313 | ||
| @@ -567,10 +567,13 @@ If CONFIRM is non-nil, ask for confirmation before removing a file." | |||
| 567 | (fileday (+ fileday (* low2days (nth 1 filetime))))) | 567 | (fileday (+ fileday (* low2days (nth 1 filetime))))) |
| 568 | (setq files (cdr files)) | 568 | (setq files (cdr files)) |
| 569 | (when (and (> (- currday fileday) diff) | 569 | (when (and (> (- currday fileday) diff) |
| 570 | (gnus-message 8 "File `%s' is older than %s day(s)" | 570 | (if confirm |
| 571 | bfile diff) | 571 | (y-or-n-p |
| 572 | (or (not confirm) | 572 | (format "\ |
| 573 | (y-or-n-p (concat "Remove file `" bfile "'? ")))) | 573 | Delete old (> %s day(s)) incoming mail file `%s'? " diff bfile)) |
| 574 | (gnus-message 8 "\ | ||
| 575 | Deleting old (> %s day(s)) incoming mail file `%s'." diff bfile) | ||
| 576 | t)) | ||
| 574 | (delete-file ffile)))))) | 577 | (delete-file ffile)))))) |
| 575 | 578 | ||
| 576 | (defun mail-source-callback (callback info) | 579 | (defun mail-source-callback (callback info) |