unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: help-gnu-emacs@gnu.org
Subject: Re: nnir problem with mailboxes with umlauts (oh sorry, the last mail was HTML)
Date: Tue, 11 Jun 2019 14:24:49 -0700	[thread overview]
Message-ID: <87y327yfvi.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 8736kg5ej7.fsf@ericabrahamsen.net

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Robert Pluim <rpluim@gmail.com> writes:
>
>>>>>>> On Tue, 11 Jun 2019 17:14:09 +0200 (CEST), postmaster@faulbaum.in-berlin.de said:
>>
>>     postmaster> It seems that nnir has problems with mailboxes which have umlauts in
>>     postmaster> there names.
>>
>>     postmaster> Am I right that this is a bug?
>>
>> Yes. You should do 'M-x report-emacs-bug' which will gather
>> information about your emacs, and create a bug report containing this
>> info.
>>
>> Robert
>>
>> PS There have been some changes in the latest master branch of Emacs
>> to better handle non-ascii group names, that might function better
>> (but you didnʼt tell us which version of emacs youʼre using :-) )
>
> Right, this sounds like the stuff I've been working on/breaking. Do tell
> us your Emacs version, and in the meantime I'll check the relevant areas
> of the code.

Looks like the attached diff is all we need. Please give this a whirl,
and I'll open a bug report for it. I think there's just better than a
snowball's chance in hell we could squeeze this into the next Emacs 26
bugfix release.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: nnir-imap-fix.diff --]
[-- Type: text/x-patch, Size: 479 bytes --]

diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 9d59a4db0d..8fe7ac8cd0 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -991,6 +991,7 @@ nnir-run-imap
           #'(lambda (group)
             (let (artlist)
               (condition-case ()
+		  (setq group (nnimap-decode-gnus-group group))
                   (when (nnimap-change-group
                          (gnus-group-short-name group) server)
                     (with-current-buffer (nnimap-buffer)

  parent reply	other threads:[~2019-06-11 21:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11 15:14 nnir problem with mailboxes with umlauts (oh sorry, the last mail was HTML) postmaster
2019-06-11 15:21 ` Robert Pluim
2019-06-11 15:26   ` Eric Abrahamsen
2019-06-11 18:45     ` Eric Abrahamsen
2019-06-12  9:14       ` postmaster
2019-06-12 14:10       ` postmaster
2019-06-12 14:16         ` Eric Abrahamsen
2019-06-11 21:24     ` Eric Abrahamsen [this message]
2019-06-11 21:30       ` Eric Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y327yfvi.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).