diff options
| author | Katsumi Yamaoka | 2010-08-30 06:10:18 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-08-30 06:10:18 +0000 |
| commit | 6b8382e49d697fa1b095d4a2cd3e53b1a2f498ec (patch) | |
| tree | c3a54fcd3fc58759faf1ec82e9f8ba237666e8c6 | |
| parent | 63257f6c19fb4924de5841a5232113a0d5ebbdc2 (diff) | |
| download | emacs-6b8382e49d697fa1b095d4a2cd3e53b1a2f498ec.tar.gz emacs-6b8382e49d697fa1b095d4a2cd3e53b1a2f498ec.zip | |
Misc Gnus fixes by Lars Magne Ingebrigtsen <larsi@gnus.org>.
2010-08-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus.el (gnus-valid-select-methods): Remove reference to nngoogle,
which doesn't exist.
* message.el (message-inhibit-ecomplete): New variable to allow some
function to inhibit ecomplete address storage.
(message-resend): Disable ecomplete message storage when resending
messages.
* nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge.
| -rw-r--r-- | lisp/gnus/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 5 | ||||
| -rw-r--r-- | lisp/gnus/nntp.el | 19 |
4 files changed, 17 insertions, 20 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 356cf952850..d0ba8abf24a 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2010-08-28 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus.el (gnus-valid-select-methods): Remove reference to nngoogle, | ||
| 4 | which doesn't exist. | ||
| 5 | |||
| 6 | * message.el (message-inhibit-ecomplete): New variable to allow some | ||
| 7 | function to inhibit ecomplete address storage. | ||
| 8 | (message-resend): Disable ecomplete message storage when resending | ||
| 9 | messages. | ||
| 10 | |||
| 11 | * nntp.el (nntp-async-kluge): Remove the Emacs 20.3-related kluge. | ||
| 12 | |||
| 1 | 2010-08-27 Katsumi Yamaoka <yamaoka@jpl.org> | 13 | 2010-08-27 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 14 | ||
| 3 | * gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article): | 15 | * gnus-sum.el (gnus-summary-move-article, gnus-summary-delete-article): |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 945bd41eebc..41f579dcfdd 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -1746,7 +1746,6 @@ slower." | |||
| 1746 | ("nnfolder" mail respool address) | 1746 | ("nnfolder" mail respool address) |
| 1747 | ("nngateway" post-mail address prompt-address physical-address) | 1747 | ("nngateway" post-mail address prompt-address physical-address) |
| 1748 | ("nnweb" none) | 1748 | ("nnweb" none) |
| 1749 | ("nngoogle" post) | ||
| 1750 | ("nnslashdot" post) | 1749 | ("nnslashdot" post) |
| 1751 | ("nnultimate" none) | 1750 | ("nnultimate" none) |
| 1752 | ("nnrss" none) | 1751 | ("nnrss" none) |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 947b1bd53e8..357c8705ae4 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1739,6 +1739,7 @@ You must have the \"hashcash\" binary installed, see `hashcash-path'." | |||
| 1739 | (defvar message-mime-part nil) | 1739 | (defvar message-mime-part nil) |
| 1740 | (defvar message-posting-charset nil) | 1740 | (defvar message-posting-charset nil) |
| 1741 | (defvar message-inserted-headers nil) | 1741 | (defvar message-inserted-headers nil) |
| 1742 | (defvar message-inhibit-ecomplete nil) | ||
| 1742 | 1743 | ||
| 1743 | ;; Byte-compiler warning | 1744 | ;; Byte-compiler warning |
| 1744 | (defvar gnus-active-hashtb) | 1745 | (defvar gnus-active-hashtb) |
| @@ -4091,7 +4092,8 @@ It should typically alter the sending method in some way or other." | |||
| 4091 | (run-hooks 'message-sent-hook)) | 4092 | (run-hooks 'message-sent-hook)) |
| 4092 | (message "Sending...done") | 4093 | (message "Sending...done") |
| 4093 | ;; Do ecomplete address snarfing. | 4094 | ;; Do ecomplete address snarfing. |
| 4094 | (when (message-mail-alias-type-p 'ecomplete) | 4095 | (when (and (message-mail-alias-type-p 'ecomplete) |
| 4096 | (not message-inhibit-ecomplete)) | ||
| 4095 | (message-put-addresses-in-ecomplete)) | 4097 | (message-put-addresses-in-ecomplete)) |
| 4096 | ;; Mark the buffer as unmodified and delete auto-save. | 4098 | ;; Mark the buffer as unmodified and delete auto-save. |
| 4097 | (set-buffer-modified-p nil) | 4099 | (set-buffer-modified-p nil) |
| @@ -7425,6 +7427,7 @@ is for the internal use." | |||
| 7425 | (replace-match "X-From-Line: ")) | 7427 | (replace-match "X-From-Line: ")) |
| 7426 | ;; Send it. | 7428 | ;; Send it. |
| 7427 | (let ((message-inhibit-body-encoding t) | 7429 | (let ((message-inhibit-body-encoding t) |
| 7430 | (message-inhibit-ecomplete t) | ||
| 7428 | message-required-mail-headers | 7431 | message-required-mail-headers |
| 7429 | message-generate-hashcash | 7432 | message-generate-hashcash |
| 7430 | rfc2047-encode-encoded-words) | 7433 | rfc2047-encode-encoded-words) |
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index 03e0168de49..af04402d841 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el | |||
| @@ -298,13 +298,6 @@ to insert Cancel-Lock headers.") | |||
| 298 | (defvoo nntp-server-xover 'try) | 298 | (defvoo nntp-server-xover 'try) |
| 299 | (defvoo nntp-server-list-active-group 'try) | 299 | (defvoo nntp-server-list-active-group 'try) |
| 300 | 300 | ||
| 301 | (defvar nntp-async-needs-kluge | ||
| 302 | (string-match "^GNU Emacs 20\\.3\\." (emacs-version)) | ||
| 303 | "*When non-nil, nntp will poll asynchronous connections | ||
| 304 | once a second. By default, this is turned on only for Emacs | ||
| 305 | 20.3, which has a bug that breaks nntp's normal method of | ||
| 306 | noticing asynchronous data.") | ||
| 307 | |||
| 308 | (defvar nntp-async-timer nil) | 301 | (defvar nntp-async-timer nil) |
| 309 | (defvar nntp-async-process-list nil) | 302 | (defvar nntp-async-process-list nil) |
| 310 | 303 | ||
| @@ -1368,17 +1361,7 @@ password contained in '~/.nntp-authinfo'." | |||
| 1368 | nntp-process-decode decode | 1361 | nntp-process-decode decode |
| 1369 | nntp-process-callback callback | 1362 | nntp-process-callback callback |
| 1370 | nntp-process-start-point (point-max)) | 1363 | nntp-process-start-point (point-max)) |
| 1371 | (setq after-change-functions '(nntp-after-change-function)) | 1364 | (setq after-change-functions '(nntp-after-change-function)))) |
| 1372 | (if nntp-async-needs-kluge | ||
| 1373 | (nntp-async-kluge process)))) | ||
| 1374 | |||
| 1375 | (defun nntp-async-kluge (process) | ||
| 1376 | ;; emacs 20.3 bug: process output with encoding 'binary | ||
| 1377 | ;; doesn't trigger after-change-functions. | ||
| 1378 | (unless nntp-async-timer | ||
| 1379 | (setq nntp-async-timer | ||
| 1380 | (run-at-time 1 1 'nntp-async-timer-handler))) | ||
| 1381 | (add-to-list 'nntp-async-process-list process)) | ||
| 1382 | 1365 | ||
| 1383 | (defun nntp-async-timer-handler () | 1366 | (defun nntp-async-timer-handler () |
| 1384 | (mapcar | 1367 | (mapcar |