]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure Gnus imap group names are decoded before searching
authorEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 13 Jun 2019 22:09:24 +0000 (15:09 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 14 Jun 2019 15:04:29 +0000 (08:04 -0700)
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.

lisp/gnus/nnir.el

index 05b2f0aa8a73e492e1a67e72778c2f94d3d19f75..0062cd8589304a29bc70d7b8ca95575b81faeb54 100644 (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)