aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2008-02-24 06:43:15 +0000
committerMiles Bader2008-02-24 06:43:15 +0000
commit52bec650ae314402c242ce700bb09be42ef8ae55 (patch)
treea3d1c762813fbadedc4b9ff98301fe351aef3bac
parent978bef9a8606bb39ed76703ab096d18975ab0bf3 (diff)
downloademacs-52bec650ae314402c242ce700bb09be42ef8ae55.tar.gz
emacs-52bec650ae314402c242ce700bb09be42ef8ae55.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1073
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/gnus-news.texi2
-rw-r--r--etc/GNUS-NEWS4
-rw-r--r--lisp/gnus/ChangeLog37
-rw-r--r--lisp/gnus/gnus-group.el13
-rw-r--r--lisp/gnus/gnus-topic.el18
-rw-r--r--lisp/gnus/gnus-util.el38
-rw-r--r--lisp/gnus/mail-source.el19
-rw-r--r--lisp/gnus/message.el1
-rw-r--r--lisp/gnus/mml2015.el78
-rw-r--r--lisp/gnus/nnimap.el4
-rw-r--r--lisp/gnus/nnmail.el8
12 files changed, 162 insertions, 65 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 6b33931ca8b..b5707fc5e8c 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12008-02-24 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * gnus-news.texi: Mention that spaces and tabs are allowed in the
4 installation directory name.
5
12008-02-12 Romain Francoise <romain@orebokech.com> 62008-02-12 Romain Francoise <romain@orebokech.com>
2 7
3 * epa.texi (Overview): Fix typo. 8 * epa.texi (Overview): Fix typo.
diff --git a/doc/misc/gnus-news.texi b/doc/misc/gnus-news.texi
index 8fcab4fc717..9180b7507cc 100644
--- a/doc/misc/gnus-news.texi
+++ b/doc/misc/gnus-news.texi
@@ -38,6 +38,8 @@ the new installer issues a warning if other Gnus installations which
38will shadow the latest one are detected. You can then remove those 38will shadow the latest one are detected. You can then remove those
39shadows manually or remove them using @code{make 39shadows manually or remove them using @code{make
40remove-installed-shadows}. 40remove-installed-shadows}.
41
42@item The installation directory name is allowed to have spaces and/or tabs.
41@end itemize 43@end itemize
42 44
43@item New packages and libraries within Gnus 45@item New packages and libraries within Gnus
diff --git a/etc/GNUS-NEWS b/etc/GNUS-NEWS
index 5e41dd0bc4f..b294643c75a 100644
--- a/etc/GNUS-NEWS
+++ b/etc/GNUS-NEWS
@@ -1,7 +1,7 @@
1GNUS NEWS -- history of user-visible changes. 1GNUS NEWS -- history of user-visible changes.
2 2
3Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 3Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005,
4 2006, 2007, 2008 Free Software Foundation, Inc. 4 2006, 2007, 2008 Free Software Foundation, Inc.
5See the end of the file for license conditions. 5See the end of the file for license conditions.
6 6
7Please send Gnus bug reports to bugs@gnus.org. 7Please send Gnus bug reports to bugs@gnus.org.
@@ -27,6 +27,8 @@ installer issues a warning if other Gnus installations which will shadow
27the latest one are detected. You can then remove those shadows manually 27the latest one are detected. You can then remove those shadows manually
28or remove them using `make remove-installed-shadows'. 28or remove them using `make remove-installed-shadows'.
29 29
30** The installation directory name is allowed to have spaces and/or tabs.
31
30 32
31* New packages and libraries within Gnus 33* New packages and libraries within Gnus
32 34
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 047b0cfafc2..8b65a32aed3 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,34 @@
12008-02-16 Reiner Steib <Reiner.Steib@gmx.de>
2
3 * mail-source.el (mail-source-delete-incoming): Change default.
4 Supplement doc string.
5
6 * gnus-util.el (gnus-y-or-n-p, gnus-y-or-n-p): Update comments.
7
82008-02-14 Reiner Steib <Reiner.Steib@gmx.de>
9
10 * nnmail.el (nnmail-message-id-cache-file): Derive from
11 `gnus-home-directory'.
12
132008-02-11 Reiner Steib <Reiner.Steib@gmx.de>
14
15 * gnus-topic.el (gnus-topic-select-group, gnus-topic-read-group):
16 Document negativ prefix.
17
18 * gnus-group.el (gnus-group-read-group): Document negativ prefix.
19
202008-02-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21
22 * message.el (message-unsent-separator): Add the Exim bounce
23 separator.
24
252008-02-10 Daiki Ueno <ueno@unixuser.org>
26
27 * mml2015.el (mml2015-epg-sign): Remove skipped signers from the signer
28 list.
29 (mml2015-epg-encrypt): Remove skipped recipients/signers from the
30 recipient/signer list.
31
12008-02-10 Reiner Steib <Reiner.Steib@gmx.de> 322008-02-10 Reiner Steib <Reiner.Steib@gmx.de>
2 33
3 * mm-util.el (mm-codepage-setup): If cp-supported-codepages isn't 34 * mm-util.el (mm-codepage-setup): If cp-supported-codepages isn't
@@ -7,6 +38,12 @@
7 38
8 * gnus-art.el (pgg-display-output-buffer): Declare as function. 39 * gnus-art.el (pgg-display-output-buffer): Declare as function.
9 40
412008-02-07 Tassilo Horn <tassilo@member.fsf.org>
42
43 * nnimap.el (nnimap-open-connection): Add "143" and "993" as default
44 ports to the calls to `netrc-machine-user-or-password' in addition to
45 "imap" and "imaps".
46
102008-02-03 Reiner Steib <Reiner.Steib@gmx.de> 472008-02-03 Reiner Steib <Reiner.Steib@gmx.de>
11 48
12 * gnus.el (gnus-group-startup-message): Add `find-image' call before 49 * gnus.el (gnus-group-startup-message): Add `find-image' call before
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index ee5068e980d..ef64fc81b0a 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2055,10 +2055,15 @@ and with point over the group in question."
2055(defun gnus-group-read-group (&optional all no-article group select-articles) 2055(defun gnus-group-read-group (&optional all no-article group select-articles)
2056 "Read news in this newsgroup. 2056 "Read news in this newsgroup.
2057If the prefix argument ALL is non-nil, already read articles become 2057If the prefix argument ALL is non-nil, already read articles become
2058readable. IF ALL is a number, fetch this number of articles. If the 2058readable.
2059optional argument NO-ARTICLE is non-nil, no article will be 2059
2060auto-selected upon group entry. If GROUP is non-nil, fetch that 2060If ALL is a positive number, fetch this number of the latest
2061group." 2061articles in the group. If ALL is a negative number, fetch this
2062number of the earliest articles in the group.
2063
2064If the optional argument NO-ARTICLE is non-nil, no article will
2065be auto-selected upon group entry. If GROUP is non-nil, fetch
2066that group."
2062 (interactive "P") 2067 (interactive "P")
2063 (let ((no-display (eq all 0)) 2068 (let ((no-display (eq all 0))
2064 (group (or group (gnus-group-group-name))) 2069 (group (or group (gnus-group-group-name)))
diff --git a/lisp/gnus/gnus-topic.el b/lisp/gnus/gnus-topic.el
index a400474d84d..92f4ca0310b 100644
--- a/lisp/gnus/gnus-topic.el
+++ b/lisp/gnus/gnus-topic.el
@@ -1193,7 +1193,10 @@ articles in the topic and its subtopics."
1193No article is selected automatically. 1193No article is selected automatically.
1194If the group is opened, just switch the summary buffer. 1194If the group is opened, just switch the summary buffer.
1195If ALL is non-nil, already read articles become readable. 1195If ALL is non-nil, already read articles become readable.
1196If ALL is a number, fetch this number of articles. 1196
1197If ALL is a positive number, fetch this number of the latest
1198articles in the group. If ALL is a negative number, fetch this
1199number of the earliest articles in the group.
1197 1200
1198If performed over a topic line, toggle folding the topic." 1201If performed over a topic line, toggle folding the topic."
1199 (interactive "P") 1202 (interactive "P")
@@ -1245,10 +1248,15 @@ Also see `gnus-group-catchup'."
1245(defun gnus-topic-read-group (&optional all no-article group) 1248(defun gnus-topic-read-group (&optional all no-article group)
1246 "Read news in this newsgroup. 1249 "Read news in this newsgroup.
1247If the prefix argument ALL is non-nil, already read articles become 1250If the prefix argument ALL is non-nil, already read articles become
1248readable. IF ALL is a number, fetch this number of articles. If the 1251readable.
1249optional argument NO-ARTICLE is non-nil, no article will be 1252
1250auto-selected upon group entry. If GROUP is non-nil, fetch that 1253If ALL is a positive number, fetch this number of the latest
1251group. 1254articles in the group. If ALL is a negative number, fetch this
1255number of the earliest articles in the group.
1256
1257If the optional argument NO-ARTICLE is non-nil, no article will
1258be auto-selected upon group entry. If GROUP is non-nil, fetch
1259that group.
1252 1260
1253If performed over a topic line, toggle folding the topic." 1261If performed over a topic line, toggle folding the topic."
1254 (interactive "P") 1262 (interactive "P")
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index d5455760be1..6a82960973c 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -338,11 +338,43 @@ Symbols are also allowed; their print names are used instead."
338;; Two silly functions to ensure that all `y-or-n-p' questions clear 338;; Two silly functions to ensure that all `y-or-n-p' questions clear
339;; the echo area. 339;; the echo area.
340;; 340;;
341;; Do we really need these aliases? Workarounds for bugs in the corresponding 341;; Do we really need these functions? Workarounds for bugs in the corresponding
342;; Emacs functions? Maybe these bug are no longer present in any supported 342;; Emacs functions? Maybe these bugs are no longer present in any supported
343;; (X)Emacs version? Alias them to the original functions and see if anyone 343;; (X)Emacs version? Alias them to the original functions and see if anyone
344;; reports a problem. If not, replace with original functions. --rsteib 344;; reports a problem. If not, replace with original functions. --rsteib,
345;; 2007-12-14
345;; 346;;
347;; All supported Emacsen clear the echo area after `yes-or-no-p', so we can
348;; remove `yes-or-no-p'. RMS says that not clearing after `y-or-n-p' is
349;; intentional (see below), so we could remove `gnus-y-or-n-p' too.
350;; Objections? --rsteib, 2008-02-16
351;;
352;; ,----[ http://thread.gmane.org/gmane.emacs.gnus.general/65099/focus=66070 ]
353;; | From: Richard Stallman
354;; | Subject: Re: Do we need gnus-yes-or-no-p and gnus-y-or-n-p?
355;; | To: Katsumi Yamaoka [...]
356;; | Cc: emacs-devel@[...], xemacs-beta@[...], ding@[...]
357;; | Date: Mon, 07 Jan 2008 12:16:05 -0500
358;; | Message-ID: <E1JBva1-000528-VY@fencepost.gnu.org>
359;; |
360;; | The behavior of `y-or-n-p' that it doesn't clear the question
361;; | and the answer is not serious of course, but I feel it is not
362;; | cool.
363;; |
364;; | It is intentional.
365;; |
366;; | Currently, it is commented out in the trunk by Reiner Steib. He
367;; | also wrote the benefit of leaving the question and the answer in
368;; | the echo area as follows:
369;; |
370;; | (http://article.gmane.org/gmane.emacs.gnus.general/66061)
371;; | > In contrast to yes-or-no-p it is much easier to type y, n,
372;; | > SPC, DEL, etc accidentally, so it might be useful for the user
373;; | > to see what he has typed.
374;; |
375;; | Yes, that is the reason.
376;; `----
377
346;; (defun gnus-y-or-n-p (prompt) 378;; (defun gnus-y-or-n-p (prompt)
347;; (prog1 379;; (prog1
348;; (y-or-n-p prompt) 380;; (y-or-n-p prompt)
diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el
index 01463c55628..cfbcc166b50 100644
--- a/lisp/gnus/mail-source.el
+++ b/lisp/gnus/mail-source.el
@@ -286,16 +286,19 @@ If non-nil, this maildrop will be checked periodically for new mail."
286 :group 'mail-source 286 :group 'mail-source
287 :type 'integer) 287 :type 'integer)
288 288
289(defcustom mail-source-delete-incoming nil 289(defcustom mail-source-delete-incoming
290 "*If non-nil, delete incoming files after handling. 290 10 ;; development versions
291 ;; 2 ;; released versions
292 "If non-nil, delete incoming files after handling.
291If t, delete immediately, if nil, never delete. If a positive number, delete 293If t, delete immediately, if nil, never delete. If a positive number, delete
292files older than number of days." 294files older than number of days.
293 ;; Note: The removing happens in `mail-source-callback', i.e. no old 295
294 ;; incoming files will be deleted, unless you receive new mail. 296Removing of old files happens in `mail-source-callback', i.e. no
295 ;; 297old incoming files will be deleted unless you receive new mail.
296 ;; You may also set this to `nil' and call `mail-source-delete-old-incoming' 298You may also set this variable to nil and call
297 ;; from a hook or interactively. 299`mail-source-delete-old-incoming' interactively."
298 :group 'mail-source 300 :group 'mail-source
301 :version "22.2" ;; No Gnus / Gnus 5.10.10 (default changed)
299 :type '(choice (const :tag "immediately" t) 302 :type '(choice (const :tag "immediately" t)
300 (const :tag "never" nil) 303 (const :tag "never" nil)
301 (integer :tag "days"))) 304 (integer :tag "days")))
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 273d1c4ec5b..a25841df32b 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -1722,6 +1722,7 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'."
1722 "^ *--+ +begin message +--+ *$\\|" 1722 "^ *--+ +begin message +--+ *$\\|"
1723 "^ *---+ +Original message follows +---+ *$\\|" 1723 "^ *---+ +Original message follows +---+ *$\\|"
1724 "^ *---+ +Undelivered message follows +---+ *$\\|" 1724 "^ *---+ +Undelivered message follows +---+ *$\\|"
1725 "^------ This is a copy of the message, including all the headers. ------ *$\\|"
1725 "^|? *---+ +Message text follows: +---+ *|?$") 1726 "^|? *---+ +Message text follows: +---+ *|?$")
1726 "A regexp that matches the separator before the text of a failed message.") 1727 "A regexp that matches the separator before the text of a failed message.")
1727 1728
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el
index 1b1ba0d855b..b4d301190d0 100644
--- a/lisp/gnus/mml2015.el
+++ b/lisp/gnus/mml2015.el
@@ -1186,18 +1186,20 @@ Select keys for signing.
1186If no one is selected, default secret key is used. " 1186If no one is selected, default secret key is used. "
1187 mml2015-signers t) 1187 mml2015-signers t)
1188 (if mml2015-signers 1188 (if mml2015-signers
1189 (mapcar 1189 (delq nil
1190 (lambda (signer) 1190 (mapcar
1191 (setq signer-key (mml2015-epg-find-usable-key 1191 (lambda (signer)
1192 (epg-list-keys context signer t) 1192 (setq signer-key (mml2015-epg-find-usable-key
1193 'sign)) 1193 (epg-list-keys context signer t)
1194 (unless (or signer-key 1194 'sign))
1195 (y-or-n-p 1195 (unless (or signer-key
1196 (format "No secret key for %s; skip it? " 1196 (y-or-n-p
1197 signer))) 1197 (format
1198 (error "No secret key for %s" signer)) 1198 "No secret key for %s; skip it? "
1199 signer-key) 1199 signer)))
1200 mml2015-signers)))))) 1200 (error "No secret key for %s" signer))
1201 signer-key)
1202 mml2015-signers)))))))
1201 signature micalg) 1203 signature micalg)
1202 (epg-context-set-armor context t) 1204 (epg-context-set-armor context t)
1203 (epg-context-set-textmode context t) 1205 (epg-context-set-textmode context t)
@@ -1267,18 +1269,19 @@ Select recipients for encryption.
1267If no one is selected, symmetric encryption will be performed. " 1269If no one is selected, symmetric encryption will be performed. "
1268 recipients)) 1270 recipients))
1269 (setq recipients 1271 (setq recipients
1270 (mapcar 1272 (delq nil
1271 (lambda (recipient) 1273 (mapcar
1272 (setq recipient-key (mml2015-epg-find-usable-key 1274 (lambda (recipient)
1273 (epg-list-keys context recipient) 1275 (setq recipient-key (mml2015-epg-find-usable-key
1274 'encrypt)) 1276 (epg-list-keys context recipient)
1275 (unless (or recipient-key 1277 'encrypt))
1276 (y-or-n-p 1278 (unless (or recipient-key
1277 (format "No public key for %s; skip it? " 1279 (y-or-n-p
1278 recipient))) 1280 (format "No public key for %s; skip it? "
1279 (error "No public key for %s" recipient)) 1281 recipient)))
1280 recipient-key) 1282 (error "No public key for %s" recipient))
1281 recipients)) 1283 recipient-key)
1284 recipients)))
1282 (unless recipients 1285 (unless recipients
1283 (error "No recipient specified"))) 1286 (error "No recipient specified")))
1284 (message-options-set 'mml2015-epg-recipients recipients)) 1287 (message-options-set 'mml2015-epg-recipients recipients))
@@ -1293,19 +1296,20 @@ Select keys for signing.
1293If no one is selected, default secret key is used. " 1296If no one is selected, default secret key is used. "
1294 mml2015-signers t) 1297 mml2015-signers t)
1295 (if mml2015-signers 1298 (if mml2015-signers
1296 (mapcar 1299 (delq nil
1297 (lambda (signer) 1300 (mapcar
1298 (setq signer-key (mml2015-epg-find-usable-key 1301 (lambda (signer)
1299 (epg-list-keys context signer t) 1302 (setq signer-key (mml2015-epg-find-usable-key
1300 'sign)) 1303 (epg-list-keys context signer t)
1301 (unless (or signer-key 1304 'sign))
1302 (y-or-n-p 1305 (unless (or signer-key
1303 (format 1306 (y-or-n-p
1304 "No secret key for %s; skip it? " 1307 (format
1305 signer))) 1308 "No secret key for %s; skip it? "
1306 (error "No secret key for %s" signer)) 1309 signer)))
1307 signer-key) 1310 (error "No secret key for %s" signer))
1308 mml2015-signers)))))) 1311 signer-key)
1312 mml2015-signers)))))))
1309 (epg-context-set-signers context signers)) 1313 (epg-context-set-signers context signers))
1310 (epg-context-set-armor context t) 1314 (epg-context-set-armor context t)
1311 (epg-context-set-textmode context t) 1315 (epg-context-set-textmode context t)
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index e1b12650a64..c1b7b888e9e 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -802,7 +802,7 @@ If EXAMINE is non-nil the group is selected read-only."
802 (or nnimap-server-address 802 (or nnimap-server-address
803 nnimap-address)) 803 nnimap-address))
804 (list port) 804 (list port)
805 (list "imap" "imaps"))) 805 (list "imap" "imaps" "143" "993")))
806 (passwd (netrc-machine-user-or-password 806 (passwd (netrc-machine-user-or-password
807 "password" 807 "password"
808 list 808 list
@@ -810,7 +810,7 @@ If EXAMINE is non-nil the group is selected read-only."
810 (or nnimap-server-address 810 (or nnimap-server-address
811 nnimap-address)) 811 nnimap-address))
812 (list port) 812 (list port)
813 (list "imap" "imaps")))) 813 (list "imap" "imaps" "143" "993"))))
814 (if (imap-authenticate user passwd nnimap-server-buffer) 814 (if (imap-authenticate user passwd nnimap-server-buffer)
815 (prog2 815 (prog2
816 (setq nnimap-server-buffer-alist 816 (setq nnimap-server-buffer-alist
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el
index a6ed7190351..08e4fcf05f6 100644
--- a/lisp/gnus/nnmail.el
+++ b/lisp/gnus/nnmail.el
@@ -534,8 +534,9 @@ performed."
534 :type '(choice (const :tag "disable" nil) 534 :type '(choice (const :tag "disable" nil)
535 (integer :format "%v"))) 535 (integer :format "%v")))
536 536
537(defcustom nnmail-message-id-cache-file "~/.nnmail-cache" 537(defcustom nnmail-message-id-cache-file
538 "*The file name of the nnmail Message-ID cache." 538 (nnheader-concat gnus-home-directory ".nnmail-cache")
539 "The file name of the nnmail Message-ID cache."
539 :group 'nnmail-duplicate 540 :group 'nnmail-duplicate
540 :group 'nnmail-files 541 :group 'nnmail-files
541 :type 'file) 542 :type 'file)
@@ -1772,7 +1773,6 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
1772 1773
1773(defun nnmail-get-new-mail-1 (method exit-func temp 1774(defun nnmail-get-new-mail-1 (method exit-func temp
1774 group in-group spool-func) 1775 group in-group spool-func)
1775
1776 (let* ((sources mail-sources) 1776 (let* ((sources mail-sources)
1777 fetching-sources 1777 fetching-sources
1778 (i 0) 1778 (i 0)
@@ -1782,7 +1782,6 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
1782 (when (and (nnmail-get-value "%s-get-new-mail" method) 1782 (when (and (nnmail-get-value "%s-get-new-mail" method)
1783 sources) 1783 sources)
1784 (while (setq source (pop sources)) 1784 (while (setq source (pop sources))
1785
1786 ;; Use group's parameter 1785 ;; Use group's parameter
1787 (when (eq (car source) 'group) 1786 (when (eq (car source) 'group)
1788 (let ((mail-sources 1787 (let ((mail-sources
@@ -1793,7 +1792,6 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details."
1793 (nnmail-get-new-mail-1 method exit-func temp 1792 (nnmail-get-new-mail-1 method exit-func temp
1794 group group spool-func)) 1793 group group spool-func))
1795 (setq source nil)) 1794 (setq source nil))
1796
1797 ;; Hack to only fetch the contents of a single group's spool file. 1795 ;; Hack to only fetch the contents of a single group's spool file.
1798 (when (and (eq (car source) 'directory) 1796 (when (and (eq (car source) 'directory)
1799 (null nnmail-scan-directory-mail-source-once) 1797 (null nnmail-scan-directory-mail-source-once)