aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2008-05-22 05:03:00 +0000
committerMiles Bader2008-05-22 05:03:00 +0000
commita368801ce640e7e00c6e8dcf3c71a75c270268f4 (patch)
treef77994878a790e4d01ceddb768d530251f17c741
parentc63028e1b49f5176b2838c85d90fc1ad3d84f3f0 (diff)
downloademacs-a368801ce640e7e00c6e8dcf3c71a75c270268f4.tar.gz
emacs-a368801ce640e7e00c6e8dcf3c71a75c270268f4.zip
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1172
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/gnus/ChangeLog19
-rw-r--r--lisp/gnus/auth-source.el1
-rw-r--r--lisp/gnus/gnus-draft.el1
-rw-r--r--lisp/gnus/nnheader.el2
-rw-r--r--lisp/gnus/pop3.el2
-rw-r--r--lisp/net/netrc.el6
7 files changed, 31 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 559a0e4f0c8..cf621f28c84 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-05-22 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * net/netrc.el (netrc-machine): Always match if the port is not given.
4
12008-05-22 Stefan Monnier <monnier@iro.umontreal.ca> 52008-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * minibuffer.el (completion-pcm--find-all-completions): 7 * minibuffer.el (completion-pcm--find-all-completions):
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 9f4ef735a54..9c25204fed3 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,22 @@
12008-05-20 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * auth-source.el: Add more docs.
4
52008-05-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6
7 * nnheader.el (nnheader-read-timeout): Change the default timeout from
8 0.1 seconds to 0.01 seconds. This will make nntp and pop3 article
9 retrieval faster in some cases, but might make CPU usage larger. If
10 this has any bad side effects, we might revert this change.
11
12 * pop3.el (pop3-movemail): Change the sit-for from 0.1 to 0.01, which
13 seems to make mail retrieval much, much faster.
14 (pop3-movemail): Use nnheader-accept-process-output instead of sleeping
15 unconditionally.
16
17 * gnus-draft.el (gnus-group-send-queue): Bind
18 message-send-mail-partially-limit to nil to avoid being prompted.
19
12008-05-16 Reiner Steib <Reiner.Steib@gmx.de> 202008-05-16 Reiner Steib <Reiner.Steib@gmx.de>
2 21
3 * mml.el (mml-attach-buffer): Prompt for `disposition'. 22 * mml.el (mml-attach-buffer): Prompt for `disposition'.
diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el
index d336d7f4981..cd8a196d983 100644
--- a/lisp/gnus/auth-source.el
+++ b/lisp/gnus/auth-source.el
@@ -36,6 +36,7 @@
36;; if you want encrypted sources, which is strongly recommended, do 36;; if you want encrypted sources, which is strongly recommended, do
37;; (require 'epa-file) 37;; (require 'epa-file)
38;; (epa-file-mode) 38;; (epa-file-mode)
39;; (setq epa-file-cache-passphrase-for-symmetric-encryption t) ; VERY important
39 40
40;; before you put some data in ~/.authinfo.gpg (the default place) 41;; before you put some data in ~/.authinfo.gpg (the default place)
41 42
diff --git a/lisp/gnus/gnus-draft.el b/lisp/gnus/gnus-draft.el
index 318f0d56bcb..2a5894db843 100644
--- a/lisp/gnus/gnus-draft.el
+++ b/lisp/gnus/gnus-draft.el
@@ -216,6 +216,7 @@ Obeys the standard process/prefix convention."
216 (gnus-info-marks 216 (gnus-info-marks
217 (gnus-get-info "nndraft:queue")))))) 217 (gnus-get-info "nndraft:queue"))))))
218 (gnus-posting-styles nil) 218 (gnus-posting-styles nil)
219 message-send-mail-partially-limit
219 (total (length articles)) 220 (total (length articles))
220 article) 221 article)
221 (while (setq article (pop articles)) 222 (while (setq article (pop articles))
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el
index cad34db1eef..dd0dc4ad360 100644
--- a/lisp/gnus/nnheader.el
+++ b/lisp/gnus/nnheader.el
@@ -86,7 +86,7 @@ Integer values will in effect be rounded up to the nearest multiple of
86 ;; what's possible. Perhaps better, maybe the Windows/DOS primitive 86 ;; what's possible. Perhaps better, maybe the Windows/DOS primitive
87 ;; could round up non-zero timeouts to a minimum of 1.0? 87 ;; could round up non-zero timeouts to a minimum of 1.0?
88 1.0 88 1.0
89 0.1) 89 0.01)
90 "How long nntp should wait between checking for the end of output. 90 "How long nntp should wait between checking for the end of output.
91Shorter values mean quicker response, but are more CPU intensive.") 91Shorter values mean quicker response, but are more CPU intensive.")
92 92
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el
index 8206c4d2dc7..8f5132cd673 100644
--- a/lisp/gnus/pop3.el
+++ b/lisp/gnus/pop3.el
@@ -169,7 +169,7 @@ Shorter values mean quicker response, but are more CPU intensive.")
169 (unless pop3-leave-mail-on-server 169 (unless pop3-leave-mail-on-server
170 (pop3-dele process n)) 170 (pop3-dele process n))
171 (setq n (+ 1 n)) 171 (setq n (+ 1 n))
172 (if pop3-debug (sit-for 1) (sit-for 0.1))) ; why? 172 (nnheader-accept-process-output process))
173 (when (and pop3-leave-mail-on-server 173 (when (and pop3-leave-mail-on-server
174 (> n 1)) 174 (> n 1))
175 (message "pop3.el doesn't support UIDL. Setting `pop3-leave-mail-on-server' 175 (message "pop3.el doesn't support UIDL. Setting `pop3-leave-mail-on-server'
diff --git a/lisp/net/netrc.el b/lisp/net/netrc.el
index acc5ce4665f..ae06af872b9 100644
--- a/lisp/net/netrc.el
+++ b/lisp/net/netrc.el
@@ -137,8 +137,10 @@ Entries without port tokens default to DEFAULTPORT."
137 (while (and result 137 (while (and result
138 (not (netrc-port-equal 138 (not (netrc-port-equal
139 (or port defaultport "nntp") 139 (or port defaultport "nntp")
140 ;; when port is not given in the netrc file,
141 ;; it should mean "any port"
140 (or (netrc-get (car result) "port") 142 (or (netrc-get (car result) "port")
141 defaultport "nntp")))) 143 defaultport port))))
142 (pop result)) 144 (pop result))
143 (car result)))) 145 (car result))))
144 146
@@ -159,7 +161,7 @@ MODE can be \"login\" or \"password\", suitable for passing to
159 (dolist (default defaults) 161 (dolist (default defaults)
160 (dolist (port ports) 162 (dolist (port ports)
161 (let ((alist (netrc-machine authinfo-list machine port default))) 163 (let ((alist (netrc-machine authinfo-list machine port default)))
162 (setq info (or (netrc-get alist mode) info)))))) 164 (setq info (or (netrc-get alist mode) info))))))
163 info)) 165 info))
164 166
165(defun netrc-get (alist type) 167(defun netrc-get (alist type)