diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/nnmail.el | 17 |
2 files changed, 19 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e2af8fcdd16..44c28c52fff 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-07-30 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * nnmail.el (nnmail-get-new-mail-1): Encode group names possibly | ||
| 4 | containing non-ASCII characters in active file for nnml back end. | ||
| 5 | |||
| 1 | 2010-07-24 David Engster <dengste@eml.cc> | 6 | 2010-07-24 David Engster <dengste@eml.cc> |
| 2 | 7 | ||
| 3 | * mml-smime.el (mml-smime-epg-verify): Also accept the older | 8 | * mml-smime.el (mml-smime-epg-verify): Also accept the older |
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index 8bf0cbf5de1..537d98cc6ae 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -1844,9 +1844,20 @@ See the Info node `(gnus)Fancy Mail Splitting' for more details." | |||
| 1844 | (if (zerop total) | 1844 | (if (zerop total) |
| 1845 | (nnheader-message 4 "%s: Reading incoming mail (no new mail)...done" | 1845 | (nnheader-message 4 "%s: Reading incoming mail (no new mail)...done" |
| 1846 | method (car source)) | 1846 | method (car source)) |
| 1847 | (nnmail-save-active | 1847 | (let ((group-alist (nnmail-get-value "%s-group-alist" method)) |
| 1848 | (nnmail-get-value "%s-group-alist" method) | 1848 | (active-file (nnmail-get-value "%s-active-file" method)) |
| 1849 | (nnmail-get-value "%s-active-file" method)) | 1849 | encoded) |
| 1850 | ;; Encode group names possibly containing non-ASCII characters. | ||
| 1851 | (cond ((eq method 'nnml) | ||
| 1852 | (nnmail-save-active | ||
| 1853 | (dolist (elem group-alist (nreverse encoded)) | ||
| 1854 | (push (cons (nnml-encoded-group-name (car elem) | ||
| 1855 | gnus-command-method) | ||
| 1856 | (cdr elem)) | ||
| 1857 | encoded)) | ||
| 1858 | active-file)) | ||
| 1859 | (t | ||
| 1860 | (nnmail-save-active group-alist active-file)))) | ||
| 1850 | (when exit-func | 1861 | (when exit-func |
| 1851 | (funcall exit-func)) | 1862 | (funcall exit-func)) |
| 1852 | (run-hooks 'nnmail-read-incoming-hook) | 1863 | (run-hooks 'nnmail-read-incoming-hook) |