aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2008-04-07 13:08:33 +0000
committerMiles Bader2008-04-07 13:08:33 +0000
commit59429511341a4d2dbec1f8b890f628ad928bfd5c (patch)
tree245e70521d05baf90de36fd4c14f57815bc5e342
parentfbf57abbfe59545a0b0bb9e6c7288a375f68de94 (diff)
downloademacs-59429511341a4d2dbec1f8b890f628ad928bfd5c.tar.gz
emacs-59429511341a4d2dbec1f8b890f628ad928bfd5c.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1110
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/gnus/ChangeLog18
-rw-r--r--lisp/gnus/gnus-sum.el2
-rw-r--r--lisp/gnus/nnimap.el3
-rw-r--r--lisp/net/imap.el12
5 files changed, 41 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9e1215ea5d6..79a74b68488 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -913,7 +913,16 @@
913 913
914 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo) 914 * simple.el (beginning-of-buffer, end-of-buffer, goto-line, undo)
915 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word) 915 (copy-region-as-kill, kill-ring-save, use-region-p, mark-word)
916 (keyboard-escape-quit): Check region-active-p i.s.o transient-mark-mode. 916 (keyboard-escape-quit): Check region-active-p i.s.o
917 transient-mark-mode.
918
9192008-04-02 Simon Josefsson <simon@josefsson.org>
920
921 * net/imap.el (imap-enable-exchange-bug-workaround): New variable.
922 (imap-message-copyuid-1): Use it.
923 (imap-message-appenduid-1): Likewise. Based on patch by Nathan
924 J. Williams in
925 <http://permalink.gmane.org/gmane.emacs.gnus.general/65855>.
917 926
9182008-04-02 Alan Mackenzie <acm@muc.de> 9272008-04-02 Alan Mackenzie <acm@muc.de>
919 928
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 5710f01ccaa..96cc3112700 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -30,6 +30,20 @@
30 * gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p): 30 * gnus-win.el (gnus-configure-frame, gnus-all-windows-visible-p):
31 Fix last change in case the element is not even a symbol. 31 Fix last change in case the element is not even a symbol.
32 32
332008-04-02 Simon Josefsson <simon@josefsson.org>
34
35 * nnimap.el (nnimap-enable-minmax-bug-workaround): Remove, replaced by
36 imap-enable-exchange-bug-workaround.
37 (nnimap-find-minmax-uid): Use imap-enable-exchange-bug-workaround.
38
392008-04-01 Simon Josefsson <simon@josefsson.org>
40
41 * nnimap.el (nnimap-find-minmax-uid): Revert last fix, the "fix" turns
42 a 100 byte status-checks into a 2-3MB transfer for each group.
43 (nnimap-enable-minmax-bug-workaround): New variable to toggle whether
44 to enable bug workaround or not.
45 (nnimap-find-minmax-uid): Only enable workaround conditionally.
46
332008-03-31 Glenn Morris <rgm@gnu.org> 472008-03-31 Glenn Morris <rgm@gnu.org>
34 48
35 * message.el (mml2015-use): Declare for compiler. 49 * message.el (mml2015-use): Declare for compiler.
@@ -46,6 +60,10 @@
46 (nntp-open-netcat-stream): New function. 60 (nntp-open-netcat-stream): New function.
47 (nntp-open-via-rlogin-and-netcat): Don't use a pty. 61 (nntp-open-via-rlogin-and-netcat): Don't use a pty.
48 62
632008-03-29 Sven Joachim <svenjoac@gmx.de>
64
65 * gnus-sum.el (gnus-summary-make-menu-bar): Add missing dots.
66
492008-03-29 Stefan Monnier <monnier@iro.umontreal.ca> 672008-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
50 68
51 * message.el (message-make-in-reply-to): Use mm-with-multibyte-buffer. 69 * message.el (message-make-in-reply-to): Use mm-with-multibyte-buffer.
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 2e3b55a0c42..0d76e63bf74 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -2262,7 +2262,7 @@ increase the score of each group you read."
2262 ["Set mark below..." gnus-score-set-mark-below t] 2262 ["Set mark below..." gnus-score-set-mark-below t]
2263 ["Set expunge below..." gnus-score-set-expunge-below t] 2263 ["Set expunge below..." gnus-score-set-expunge-below t]
2264 ["Edit current score file" gnus-score-edit-current-scores t] 2264 ["Edit current score file" gnus-score-edit-current-scores t]
2265 ["Edit score file" gnus-score-edit-file t] 2265 ["Edit score file..." gnus-score-edit-file t]
2266 ["Trace score" gnus-score-find-trace t] 2266 ["Trace score" gnus-score-find-trace t]
2267 ["Find words" gnus-score-find-favourite-words t] 2267 ["Find words" gnus-score-find-favourite-words t]
2268 ["Rescore buffer" gnus-summary-rescore t] 2268 ["Rescore buffer" gnus-summary-rescore t]
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index b2d23d32a80..45f794626a6 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -555,7 +555,8 @@ If EXAMINE is non-nil the group is selected read-only."
555 (imap-mailbox-select group examine)) 555 (imap-mailbox-select group examine))
556 (let (minuid maxuid) 556 (let (minuid maxuid)
557 (when (> (imap-mailbox-get 'exists) 0) 557 (when (> (imap-mailbox-get 'exists) 0)
558 (imap-fetch "1:*" "UID" nil 'nouidfetch) 558 (imap-fetch (if imap-enable-exchange-bug-workaround "1,*:*" "1,*")
559 "UID" nil 'nouidfetch)
559 (imap-message-map (lambda (uid Uid) 560 (imap-message-map (lambda (uid Uid)
560 (setq minuid (if minuid (min minuid uid) uid) 561 (setq minuid (if minuid (min minuid uid) uid)
561 maxuid (if maxuid (max maxuid uid) uid))) 562 maxuid (if maxuid (max maxuid uid) uid)))
diff --git a/lisp/net/imap.el b/lisp/net/imap.el
index 399d5ec8237..9e3d0a966a9 100644
--- a/lisp/net/imap.el
+++ b/lisp/net/imap.el
@@ -440,6 +440,12 @@ The actual value is really the text on the continuation line.")
440The function should take two arguments, the first the IMAP tag and the 440The function should take two arguments, the first the IMAP tag and the
441second the status (OK, NO, BAD etc) of the command.") 441second the status (OK, NO, BAD etc) of the command.")
442 442
443(defvar imap-enable-exchange-bug-workaround nil
444 "Send FETCH UID commands as *:* instead of *.
445Enabling this appears to be required for some servers (e.g.,
446Microsoft Exchange) which otherwise would trigger a response 'BAD
447The specified message set is invalid.'.")
448
443 449
444;; Utility functions: 450;; Utility functions:
445 451
@@ -1774,7 +1780,8 @@ is non-nil return these properties."
1774 (imap-message-data (make-vector 2 0))) 1780 (imap-message-data (make-vector 2 0)))
1775 (when (imap-mailbox-examine-1 mailbox) 1781 (when (imap-mailbox-examine-1 mailbox)
1776 (prog1 1782 (prog1
1777 (and (imap-fetch "*" "UID") 1783 (and (imap-fetch
1784 (if imap-enable-exchange-bug-workaround "*:*" "*") "UID")
1778 (list (imap-mailbox-get-1 'uidvalidity mailbox) 1785 (list (imap-mailbox-get-1 'uidvalidity mailbox)
1779 (apply 'max (imap-message-map 1786 (apply 'max (imap-message-map
1780 (lambda (uid prop) uid) 'UID)))) 1787 (lambda (uid prop) uid) 'UID))))
@@ -1818,7 +1825,8 @@ first element, rest of list contain the saved articles' UIDs."
1818 (imap-message-data (make-vector 2 0))) 1825 (imap-message-data (make-vector 2 0)))
1819 (when (imap-mailbox-examine-1 mailbox) 1826 (when (imap-mailbox-examine-1 mailbox)
1820 (prog1 1827 (prog1
1821 (and (imap-fetch "*" "UID") 1828 (and (imap-fetch
1829 (if imap-enable-exchange-bug-workaround "*:*" "*") "UID")
1822 (list (imap-mailbox-get-1 'uidvalidity mailbox) 1830 (list (imap-mailbox-get-1 'uidvalidity mailbox)
1823 (apply 'max (imap-message-map 1831 (apply 'max (imap-message-map
1824 (lambda (uid prop) uid) 'UID)))) 1832 (lambda (uid prop) uid) 'UID))))