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.
This commit is contained in:
Eric Abrahamsen 2019-06-13 15:09:24 -07:00
parent 746d42f52b
commit e5873389e1

View file

@ -969,6 +969,7 @@ details on the language and supported extensions."
(mapcar
#'(lambda (group)
(let (artlist)
(setq group (nnimap-decode-gnus-group group))
(condition-case ()
(when (nnimap-change-group
(gnus-group-short-name group) server)