Gnus development mailing list
 help / color / mirror / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: ding@gnus.org
Subject: Re: SOLVED: unquoted group names from dovecot not shown in GNUS WAS: One folder in local imap not seen
Date: Wed, 13 Aug 2014 18:12:02 +0200	[thread overview]
Message-ID: <m238d0pdwt.fsf@krugs.de> (raw)
In-Reply-To: <87iolwtpwb.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 13 Aug 2014 22:39:32 +0800")

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

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Rainer M Krug <Rainer@krugs.de> writes:
>
>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>
>>> Rainer M Krug <Rainer@krugs.de> writes:
>>>
>>>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>>>
>>>>> Rainer M Krug <Rainer@krugs.de> writes:
>>>>>
>>>>>> <#secure method=pgpmime mode=sign>
>>>>>> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>>>>>>
>>>>>>> Rainer M Krug <Rainer@krugs.de> writes:
>>>>>>>
>
> [...]
>
>>> A problem I've run into in the past is that Gnus parses the mailbox name
>>> using (read (current-buffer)). That's supposed to chomp the whole name
>>> in one go, which it does if the mailbox is quoted. But if it isn't
>>> quoted, the read just chomps forward until it hits a slash, or a period,
>>> or some other character that it considers to delimit a Lisp object.
>>
>> That explains.
>>
>>>
>>> Right now, browsing the group list for any of my Gmail imap accounts, I
>>> see this in the list:
>>>
>>> U      0: [Gmail]
>>> U      0: [Gmail]
>>> U      0: [Gmail]
>>> U      0: [Gmail]
>>
>> Interestingly, when stepping through the code, I see several
>> Gmail. occurring, but I do not see them in the listing. 
>>
>>>
>>> Actually, those are my Spam, Trash, and Drafts groups, plus the one
>>> "HasChildren" [Gmail] mailbox. They just show up broken in the browse
>>> list, I think because of the problem I outlined above.
>>>
>>> Mind you, I'm actually able to access those groups in the *Group*
>>> buffer, I assume because the groups were already entered into my newsrc
>>> file.
>>
>> Same here - and I think I saw them in an earlier version of gnus, but I
>> am not sure.
>>
>>>
>>> It would be nice if there was a dovecot option to say "quote mailbox
>>> names no matter what," but I don't know if there is. I think the spec
>>> says the names must be quoted if there's a space in them, but if not
>>> it's up to the server.
>>
>> Agreed. AS I am using offlineimap, I could use name translation rules,
>> but I kind of don't like the idea here.
>>
>>>
>>> Just to confirm this, would you mind eval'ling this version of
>>> nnimap-get-groups, and seeing if it helps? It's an ugly hack from ages
>>> ago, that I used when I was having this problem, but then I stopped
>>> using it, I don't remember why. It's possible I used it for a while, the
>>> groups were entered correctly into my newsrc, and then when I stopped
>>> using it it didn't break anything, so I let it go.
>>>
>>> One manual edit you'll have to make is to add a ^M control character
>>> where I've indicated below -- I think it wouldn't survive the email
>>> trip.
>>
>> OK - this is working. Thanks a lot. I will add it to my .gnus.el file
>> until a release of gnus which includes a fix is released.
>
> Mostly I'm just glad because it proves I'm not crazy! When I ran into
> this a year or so ago I posted to the list, and got nothing but
> crickets. I didn't understand how I could be the only one having the
> problem...

Same here - I tried a few times on the other mailing list and no
response there.

>
> I'm not sure if this is the best fix (it's certainly ugly), but it does
> work, and I do think it's Gnus' responsibility to handle non-quoted
> mailbox names -- they are legal. I hope someone else on the list has an
> opinion on the best solution...

Just send a bug report.

>
> Glad it's fixed!
>
> Eric
>
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: Type: application/pgp-signature, Size: 494 bytes --]

  reply	other threads:[~2014-08-13 16:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-12 13:36 [gmane.emacs.gnus.user] " Rainer M Krug
2014-08-12 23:17 ` Eric Abrahamsen
2014-08-13  8:29   ` Rainer M Krug
2014-08-13  9:14     ` Eric Abrahamsen
2014-08-13 10:05       ` Rainer M Krug
2014-08-13 10:43         ` Eric Abrahamsen
2014-08-13 12:29           ` SOLVED: unquoted group names from dovecot not shown in GNUS WAS: " Rainer M Krug
2014-08-13 14:39             ` Eric Abrahamsen
2014-08-13 16:12               ` Rainer M Krug [this message]
2015-01-27  7:34           ` [gmane.emacs.gnus.user] " Lars Ingebrigtsen
2015-01-27 14:37             ` Eric Abrahamsen
2015-01-28  0:45               ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=m238d0pdwt.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=ding@gnus.org \
    --cc=eric@ericabrahamsen.net \
    /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 NNTP newsgroup(s).