aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Abrahamsen2019-06-13 15:09:24 -0700
committerEric Abrahamsen2019-06-14 08:04:29 -0700
commite5873389e13fd6f1bc0448abfd1fdf1af5e85f1a (patch)
treeee2af3aee5328303458b44dec2e11575abe973b3
parent746d42f52bde883dff3225ab7b8a3101943dbb6f (diff)
downloademacs-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.el1
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)