aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-03 00:24:28 +0000
committerKatsumi Yamaoka2011-07-03 00:24:28 +0000
commitecd283b970934a3b13c0c16086ca29ef609118a3 (patch)
treef07544114ee27880a255bf3631caaeb2f3d0d800
parent7f6d634ac2f8117b4635fad890e7bc19087ee806 (diff)
downloademacs-ecd283b970934a3b13c0c16086ca29ef609118a3.tar.gz
emacs-ecd283b970934a3b13c0c16086ca29ef609118a3.zip
Merge changes made in Gnus trunk.
gnus.el (gnus-list-debbugs): New command. gnus-group.el (gnus-bug-group-download-format-alist): Get the mboxstat instead of the maintbox, since the stat seems to be fuller. gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead summary buffers. message.el (message-get-reply-headers): Delete all duplicates, instead of the first. (message-get-reply-headers): Ensure that we have progress while deleting duplicates. gnus-msg.el (gnus-configure-posting-styles): Get the local gnus-posting-style value from the summary buffer to make it easier to make that a per-buffer conf.
-rw-r--r--lisp/gnus/ChangeLog19
-rw-r--r--lisp/gnus/gnus-group.el2
-rw-r--r--lisp/gnus/gnus-msg.el5
-rw-r--r--lisp/gnus/gnus.el7
-rw-r--r--lisp/gnus/message.el7
5 files changed, 36 insertions, 4 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 2d8ab1a613e..eaf4e8e2383 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -4,6 +4,25 @@
4 Reindent. 4 Reindent.
5 (epg-context-operation): Remove unnecessary autoload. 5 (epg-context-operation): Remove unnecessary autoload.
6 6
72011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8
9 * gnus.el (gnus-list-debbugs): New command.
10
11 * gnus-group.el (gnus-bug-group-download-format-alist): Get the
12 mboxstat instead of the maintbox, since the stat seems to be fuller.
13
14 * gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead
15 summary buffers.
16
17 * message.el (message-get-reply-headers): Delete all duplicates,
18 instead of the first.
19 (message-get-reply-headers): Ensure that we have progress while
20 deleting duplicates.
21
22 * gnus-msg.el (gnus-configure-posting-styles): Get the local
23 gnus-posting-style value from the summary buffer to make it easier to
24 make that a per-buffer conf.
25
72011-07-02 Andrew Cohen <cohen@andy.bu.edu> 262011-07-02 Andrew Cohen <cohen@andy.bu.edu>
8 27
9 * nnir.el (nnir-run-imap): Allow halting a search when an article is 28 * nnir.el (nnir-run-imap): Allow halting a search when an article is
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index 82d31567dc5..74b1c7042ee 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -2415,7 +2415,7 @@ Valid input formats include:
2415 (gnus-read-ephemeral-gmane-group group start range))) 2415 (gnus-read-ephemeral-gmane-group group start range)))
2416 2416
2417(defcustom gnus-bug-group-download-format-alist 2417(defcustom gnus-bug-group-download-format-alist
2418 '((emacs . "http://debbugs.gnu.org/%s;mbox=yes;mboxmaint=yes") 2418 '((emacs . "http://debbugs.gnu.org/%s;mboxstat=yes")
2419 (debian 2419 (debian
2420 . "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%s&mbox=yes;mboxmaint=yes")) 2420 . "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=%s&mbox=yes;mboxmaint=yes"))
2421 "Alist of symbols for bug trackers and the corresponding URL format string. 2421 "Alist of symbols for bug trackers and the corresponding URL format string.
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 9fdd3bba909..b265a681eb8 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -1799,7 +1799,10 @@ this is a reply."
1799 "Configure posting styles according to `gnus-posting-styles'." 1799 "Configure posting styles according to `gnus-posting-styles'."
1800 (unless gnus-inhibit-posting-styles 1800 (unless gnus-inhibit-posting-styles
1801 (let ((group (or group-name gnus-newsgroup-name "")) 1801 (let ((group (or group-name gnus-newsgroup-name ""))
1802 (styles gnus-posting-styles) 1802 (styles (if (gnus-buffer-live-p gnus-summary-buffer)
1803 (with-current-buffer gnus-summary-buffer
1804 gnus-posting-styles)
1805 gnus-posting-styles))
1803 style match attribute value v results 1806 style match attribute value v results
1804 filep name address element) 1807 filep name address element)
1805 ;; If the group has a posting-style parameter, add it at the end with a 1808 ;; If the group has a posting-style parameter, add it at the end with a
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 9204fcf66b7..e8e3a8955ba 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -4385,6 +4385,13 @@ prompt the user for the name of an NNTP server to use."
4385 (gnus-1 arg dont-connect slave) 4385 (gnus-1 arg dont-connect slave)
4386 (gnus-final-warning))) 4386 (gnus-final-warning)))
4387 4387
4388(autoload 'debbugs-emacs "debbugs-gnu")
4389(defun gnus-list-debbugs ()
4390 "List all open Gnus bug reports."
4391 (interactive)
4392 (debbugs-emacs '("important" "normal" "minor" "wishlist")
4393 "gnus"))
4394
4388;; Allow redefinition of Gnus functions. 4395;; Allow redefinition of Gnus functions.
4389 4396
4390(gnus-ems-redefine) 4397(gnus-ems-redefine)
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el
index 6016644260a..567eb33cf05 100644
--- a/lisp/gnus/message.el
+++ b/lisp/gnus/message.el
@@ -6749,10 +6749,13 @@ want to get rid of this query permanently.")))
6749 addr)) 6749 addr))
6750 (cons (downcase (mail-strip-quoted-names addr)) addr))) 6750 (cons (downcase (mail-strip-quoted-names addr)) addr)))
6751 (message-tokenize-header recipients))) 6751 (message-tokenize-header recipients)))
6752 ;; Remove first duplicates. (Why not all duplicates? Is this a bug?) 6752 ;; Remove all duplicates.
6753 (let ((s recipients)) 6753 (let ((s recipients))
6754 (while s 6754 (while s
6755 (setq recipients (delq (assoc (car (pop s)) s) recipients)))) 6755 (let ((address (car (pop s))))
6756 (while (assoc address s)
6757 (setq recipients (delq (assoc address s) recipients)
6758 s (delq (assoc address s) s))))))
6756 6759
6757 ;; Remove hierarchical lists that are contained within each other, 6760 ;; Remove hierarchical lists that are contained within each other,
6758 ;; if message-hierarchical-addresses is defined. 6761 ;; if message-hierarchical-addresses is defined.