aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2012-02-13 14:14:18 +0000
committerKatsumi Yamaoka2012-02-13 14:14:18 +0000
commit3d2af1938b425929bddac50fbf3540efcee954d4 (patch)
tree00bfb2d0807b0f62f570e453a982459dd5298bd1
parent32f6c52b3ef79cba34781d50d777ce8a41cf93e6 (diff)
downloademacs-3d2af1938b425929bddac50fbf3540efcee954d4.tar.gz
emacs-3d2af1938b425929bddac50fbf3540efcee954d4.zip
Merge changes made in No Gnus
gnus.texi (Customizing the IMAP Connection): Mention nnimap-record-commands. nnimap.el (nnimap-record-commands): New variable. (nnimap-log-command): Use it. (nnimap-make-process-buffer): Add a space to the process buffer.
-rw-r--r--doc/misc/ChangeLog5
-rw-r--r--doc/misc/gnus.texi9
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/nnimap.el18
4 files changed, 27 insertions, 9 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index d287b340542..adad93ef89c 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,8 @@
12012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * gnus.texi (Customizing the IMAP Connection): Mention
4 nnimap-record-commands.
5
12012-02-10 Glenn Morris <rgm@gnu.org> 62012-02-10 Glenn Morris <rgm@gnu.org>
2 7
3 * url.texi (Retrieving URLs): Update url-retrieve arguments. 8 * url.texi (Retrieving URLs): Update url-retrieve arguments.
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 865888a28e4..c149ddfcf0f 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -14227,8 +14227,9 @@ if the server supports UID EXPUNGE, but it's not done by default on
14227servers that doesn't support that command. 14227servers that doesn't support that command.
14228 14228
14229@item nnimap-streaming 14229@item nnimap-streaming
14230Virtually all @code{IMAP} server support fast streaming of data. If 14230Virtually all @acronym{IMAP} server support fast streaming of data.
14231you have problems connecting to the server, try setting this to @code{nil}. 14231If you have problems connecting to the server, try setting this to
14232@code{nil}.
14232 14233
14233@item nnimap-fetch-partial-articles 14234@item nnimap-fetch-partial-articles
14234If non-@code{nil}, fetch partial articles from the server. If set to 14235If non-@code{nil}, fetch partial articles from the server. If set to
@@ -14236,6 +14237,10 @@ a string, then it's interpreted as a regexp, and parts that have
14236matching types will be fetched. For instance, @samp{"text/"} will 14237matching types will be fetched. For instance, @samp{"text/"} will
14237fetch all textual parts, while leaving the rest on the server. 14238fetch all textual parts, while leaving the rest on the server.
14238 14239
14240@item nnimap-record-commands
14241If non-@code{nil}, record all @acronym{IMAP} commands in the
14242@samp{"*imap log*"} buffer.
14243
14239@end table 14244@end table
14240 14245
14241 14246
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index ebbef064b7b..69598ad9f45 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,9 @@
12012-02-13 Lars Ingebrigtsen <larsi@gnus.org> 12012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
2 2
3 * nnimap.el (nnimap-record-commands): New variable.
4 (nnimap-log-command): Use it.
5 (nnimap-make-process-buffer): Add a space to the process buffer.
6
3 * shr.el (shr-rescale-image): Allow viewing large images. 7 * shr.el (shr-rescale-image): Allow viewing large images.
4 8
52012-02-12 Lars Ingebrigtsen <larsi@gnus.org> 92012-02-12 Lars Ingebrigtsen <larsi@gnus.org>
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index 73f9b917e7b..2cdb170315f 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -289,7 +289,7 @@ textual parts.")
289 289
290(defun nnimap-make-process-buffer (buffer) 290(defun nnimap-make-process-buffer (buffer)
291 (with-current-buffer 291 (with-current-buffer
292 (generate-new-buffer (format "*nnimap %s %s %s*" 292 (generate-new-buffer (format " *nnimap %s %s %s*"
293 nnimap-address nnimap-server-port 293 nnimap-address nnimap-server-port
294 (gnus-buffer-exists-p buffer))) 294 (gnus-buffer-exists-p buffer)))
295 (mm-disable-multibyte) 295 (mm-disable-multibyte)
@@ -1696,13 +1696,17 @@ textual parts.")
1696 (nnimap-wait-for-response nnimap-sequence)) 1696 (nnimap-wait-for-response nnimap-sequence))
1697 nnimap-sequence) 1697 nnimap-sequence)
1698 1698
1699(defvar nnimap-record-commands nil
1700 "If non-nil, log commands to the \"*imap log*\" buffer.")
1701
1699(defun nnimap-log-command (command) 1702(defun nnimap-log-command (command)
1700 (with-current-buffer (get-buffer-create "*imap log*") 1703 (when nnimap-record-commands
1701 (goto-char (point-max)) 1704 (with-current-buffer (get-buffer-create "*imap log*")
1702 (insert (format-time-string "%H:%M:%S") " " 1705 (goto-char (point-max))
1703 (if nnimap-inhibit-logging 1706 (insert (format-time-string "%H:%M:%S") " "
1704 "(inhibited)\n" 1707 (if nnimap-inhibit-logging
1705 command))) 1708 "(inhibited)\n"
1709 command))))
1706 command) 1710 command)
1707 1711
1708(defun nnimap-command (&rest args) 1712(defun nnimap-command (&rest args)