diff options
| author | Reiner Steib | 2008-03-19 21:01:37 +0000 |
|---|---|---|
| committer | Reiner Steib | 2008-03-19 21:01:37 +0000 |
| commit | 9b655dbfd7c3cd02f31279ba04a7da29bea06e08 (patch) | |
| tree | db5fc1404af44b7e7205b7f9bee8fda71b6222ca | |
| parent | d44387517b6772fed61ecf280722fd636ac9af0b (diff) | |
| download | emacs-9b655dbfd7c3cd02f31279ba04a7da29bea06e08.tar.gz emacs-9b655dbfd7c3cd02f31279ba04a7da29bea06e08.zip | |
[ Merge from Gnus v5-10 ]
2008-03-19 Nils Ackermann <nils@ackermath.info> (tiny change)
* nnmh.el (nnmh-request-expire-articles): Prefer expiry-target group
parameter.
* message.el (message-disassociate-draft): Specify drafts group name
fully.
2008-03-19 Katsumi Yamaoka <yamaoka@jpl.org>
* mail-source.el (mail-source-delete-old-incoming) Fix regexp to find
Incoming* files.
2008-03-19 Katsumi Yamaoka <yamaoka@jpl.org>
* nntp.el (nntp-open-telnet-stream, nntp-open-via-rlogin-and-telnet)
(nntp-open-via-telnet-and-telnet): Make sure the nntp port to specify
is a string.
| -rw-r--r-- | lisp/gnus/ChangeLog | 19 | ||||
| -rw-r--r-- | lisp/gnus/mail-source.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnmh.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/nntp.el | 16 |
5 files changed, 39 insertions, 8 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 960e1a835f7..2c81b3c764a 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2008-03-19 Nils Ackermann <nils@ackermath.info> (tiny change) | ||
| 2 | |||
| 3 | * nnmh.el (nnmh-request-expire-articles): Prefer expiry-target group | ||
| 4 | parameter. | ||
| 5 | |||
| 6 | * message.el (message-disassociate-draft): Specify drafts group name | ||
| 7 | fully. | ||
| 8 | |||
| 9 | 2008-03-19 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 10 | |||
| 11 | * mail-source.el (mail-source-delete-old-incoming) Fix regexp to find | ||
| 12 | Incoming* files. | ||
| 13 | |||
| 14 | 2008-03-19 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 15 | |||
| 16 | * nntp.el (nntp-open-telnet-stream, nntp-open-via-rlogin-and-telnet) | ||
| 17 | (nntp-open-via-telnet-and-telnet): Make sure the nntp port to specify | ||
| 18 | is a string. | ||
| 19 | |||
| 1 | 2008-03-08 Reiner Steib <Reiner.Steib@gmx.de> | 20 | 2008-03-08 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 21 | ||
| 3 | * mail-source.el (mail-source-delete-old-incoming-confirm): Change | 22 | * mail-source.el (mail-source-delete-old-incoming-confirm): Change |
diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el index e0fbaff66e2..8b59e183b25 100644 --- a/lisp/gnus/mail-source.el +++ b/lisp/gnus/mail-source.el | |||
| @@ -536,7 +536,8 @@ If CONFIRM is non-nil, ask for confirmation before removing a file." | |||
| 536 | currday files) | 536 | currday files) |
| 537 | (setq files (directory-files | 537 | (setq files (directory-files |
| 538 | mail-source-directory t | 538 | mail-source-directory t |
| 539 | (concat mail-source-incoming-file-prefix "*")) | 539 | (concat "\\`" |
| 540 | (regexp-quote mail-source-incoming-file-prefix))) | ||
| 540 | currday (* (car (current-time)) high2days) | 541 | currday (* (car (current-time)) high2days) |
| 541 | currday (+ currday (* low2days (nth 1 (current-time))))) | 542 | currday (+ currday (* low2days (nth 1 (current-time))))) |
| 542 | (while files | 543 | (while files |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 515ad215f89..6b0e62d95cd 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -5797,7 +5797,7 @@ are not included." | |||
| 5797 | "Disassociate the message buffer from the drafts directory." | 5797 | "Disassociate the message buffer from the drafts directory." |
| 5798 | (when message-draft-article | 5798 | (when message-draft-article |
| 5799 | (nndraft-request-expire-articles | 5799 | (nndraft-request-expire-articles |
| 5800 | (list message-draft-article) "drafts" nil t))) | 5800 | (list message-draft-article) "nndraft:drafts" nil t))) |
| 5801 | 5801 | ||
| 5802 | (defun message-insert-headers () | 5802 | (defun message-insert-headers () |
| 5803 | "Generate the headers for the article." | 5803 | "Generate the headers for the article." |
diff --git a/lisp/gnus/nnmh.el b/lisp/gnus/nnmh.el index 705a6713388..0331b5a4d08 100644 --- a/lisp/gnus/nnmh.el +++ b/lisp/gnus/nnmh.el | |||
| @@ -255,8 +255,11 @@ as unread by Gnus.") | |||
| 255 | (deffoo nnmh-request-expire-articles (articles newsgroup | 255 | (deffoo nnmh-request-expire-articles (articles newsgroup |
| 256 | &optional server force) | 256 | &optional server force) |
| 257 | (nnmh-possibly-change-directory newsgroup server) | 257 | (nnmh-possibly-change-directory newsgroup server) |
| 258 | (let* ((is-old t) | 258 | (let ((is-old t) |
| 259 | article rest mod-time) | 259 | (nnmail-expiry-target |
| 260 | (or (gnus-group-find-parameter newsgroup 'expiry-target t) | ||
| 261 | nnmail-expiry-target)) | ||
| 262 | article rest mod-time) | ||
| 260 | (nnheader-init-server-buffer) | 263 | (nnheader-init-server-buffer) |
| 261 | 264 | ||
| 262 | (while (and articles is-old) | 265 | (while (and articles is-old) |
diff --git a/lisp/gnus/nntp.el b/lisp/gnus/nntp.el index adb2531de78..cea2921da91 100644 --- a/lisp/gnus/nntp.el +++ b/lisp/gnus/nntp.el | |||
| @@ -1789,7 +1789,10 @@ Please refer to the following variables to customize the connection: | |||
| 1789 | - `nntp-end-of-line'." | 1789 | - `nntp-end-of-line'." |
| 1790 | (let ((command `(,nntp-telnet-command | 1790 | (let ((command `(,nntp-telnet-command |
| 1791 | ,@nntp-telnet-switches | 1791 | ,@nntp-telnet-switches |
| 1792 | ,nntp-address ,nntp-port-number)) | 1792 | ,nntp-address |
| 1793 | ,(if (integerp nntp-port-number) | ||
| 1794 | (number-to-string nntp-port-number) | ||
| 1795 | nntp-port-number))) | ||
| 1793 | proc) | 1796 | proc) |
| 1794 | (and nntp-pre-command | 1797 | (and nntp-pre-command |
| 1795 | (push nntp-pre-command command)) | 1798 | (push nntp-pre-command command)) |
| @@ -1832,8 +1835,11 @@ Please refer to the following variables to customize the connection: | |||
| 1832 | (save-excursion | 1835 | (save-excursion |
| 1833 | (set-buffer buffer) | 1836 | (set-buffer buffer) |
| 1834 | (nntp-wait-for-string "^r?telnet") | 1837 | (nntp-wait-for-string "^r?telnet") |
| 1835 | (process-send-string proc (concat "open " nntp-address | 1838 | (process-send-string proc (concat "open " nntp-address " " |
| 1836 | " " nntp-port-number "\n")) | 1839 | (if (integerp nntp-port-number) |
| 1840 | (number-to-string nntp-port-number) | ||
| 1841 | nntp-port-number) | ||
| 1842 | "\n")) | ||
| 1837 | (nntp-wait-for-string "^\r*20[01]") | 1843 | (nntp-wait-for-string "^\r*20[01]") |
| 1838 | (beginning-of-line) | 1844 | (beginning-of-line) |
| 1839 | (delete-region (point-min) (point)) | 1845 | (delete-region (point-min) (point)) |
| @@ -1904,7 +1910,9 @@ Please refer to the following variables to customize the connection: | |||
| 1904 | ,nntp-telnet-command | 1910 | ,nntp-telnet-command |
| 1905 | ,@nntp-telnet-switches | 1911 | ,@nntp-telnet-switches |
| 1906 | ,nntp-address | 1912 | ,nntp-address |
| 1907 | ,nntp-port-number))) | 1913 | ,(if (integerp nntp-port-number) |
| 1914 | (number-to-string nntp-port-number) | ||
| 1915 | nntp-port-number)))) | ||
| 1908 | (process-send-string proc | 1916 | (process-send-string proc |
| 1909 | (concat (mapconcat 'identity | 1917 | (concat (mapconcat 'identity |
| 1910 | real-telnet-command " ") | 1918 | real-telnet-command " ") |