diff options
| author | Eric Abrahamsen | 2019-06-13 15:09:24 -0700 |
|---|---|---|
| committer | Eric Abrahamsen | 2019-06-14 08:04:29 -0700 |
| commit | e5873389e13fd6f1bc0448abfd1fdf1af5e85f1a (patch) | |
| tree | ee2af3aee5328303458b44dec2e11575abe973b3 | |
| parent | 746d42f52bde883dff3225ab7b8a3101943dbb6f (diff) | |
| download | emacs-e5873389e13fd6f1bc0448abfd1fdf1af5e85f1a.tar.gz emacs-e5873389e13fd6f1bc0448abfd1fdf1af5e85f1a.zip | |
Make sure Gnus imap group names are decoded before searching
do not merge (fix unnecessary in Emacs 27)
* lisp/gnus/nnir.el (nnir-run-imap): Ensure that non-ascii group names
have been fully decoded before passing them to imap search.
| -rw-r--r-- | lisp/gnus/nnir.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 05b2f0aa8a7..0062cd85893 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -969,6 +969,7 @@ details on the language and supported extensions." | |||
| 969 | (mapcar | 969 | (mapcar |
| 970 | #'(lambda (group) | 970 | #'(lambda (group) |
| 971 | (let (artlist) | 971 | (let (artlist) |
| 972 | (setq group (nnimap-decode-gnus-group group)) | ||
| 972 | (condition-case () | 973 | (condition-case () |
| 973 | (when (nnimap-change-group | 974 | (when (nnimap-change-group |
| 974 | (gnus-group-short-name group) server) | 975 | (gnus-group-short-name group) server) |