From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84776 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.gnus.general 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 Message-ID: References: <87mwb9wb4o.fsf@ericabrahamsen.net> <87vbpwvjj0.fsf@ericabrahamsen.net> <87a978vfdl.fsf@ericabrahamsen.net> <87iolwtpwb.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1407946350 30774 80.91.229.3 (13 Aug 2014 16:12:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Aug 2014 16:12:30 +0000 (UTC) Cc: ding@gnus.org To: Eric Abrahamsen Original-X-From: ding-owner+M33019@lists.math.uh.edu Wed Aug 13 18:12:21 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XHb9w-0003Yb-EY for ding-account@gmane.org; Wed, 13 Aug 2014 18:12:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XHb9u-0002GB-So; Wed, 13 Aug 2014 11:12:18 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XHb9t-0002Fs-Cd for ding@lists.math.uh.edu; Wed, 13 Aug 2014 11:12:17 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XHb9s-0003V4-47 for ding@lists.math.uh.edu; Wed, 13 Aug 2014 11:12:17 -0500 Original-Received: from mail-wg0-f46.google.com ([74.125.82.46]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XHb9q-0004hJ-JD for ding@gnus.org; Wed, 13 Aug 2014 18:12:14 +0200 Original-Received: by mail-wg0-f46.google.com with SMTP id m15so11526276wgh.5 for ; Wed, 13 Aug 2014 09:12:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=7gt18p5vgH30zffFxjFsqrXPYcA5TtehSWp4HT09X5U=; b=B1bEsAIVYKmN8lOIaCWrFinrYmXxQVpK4DVlOlfSrbZT0gitCezRAdl/htA/1pVotf gAmh88YoNvsI20XDKbNxwI9j3a78/7v4fl1+4A6xfHvx8UQrUfi/1VZA5JxcQKnXJ3hN slrUEa4CuGA0W8REE/VMaTVrTJ4FQlTgCh4CdR4CGgmpsMkpXs6f9G0zuC8f0UUjWS1y vCUtcr2TOfIFusEuKM4uNiSGXVViUOyUZI/gwfqXGoKosJqAzlLLfSuuPCGDgNKhgrj1 xqw2Rn71sU9rP1XIrqk5CbxVnDZAvrxjhaJ4TDi84ozu6ffs6N73RKDAhY5cKiQ0oqZf zBaw== X-Received: by 10.180.92.134 with SMTP id cm6mr6016677wib.72.1407946329207; Wed, 13 Aug 2014 09:12:09 -0700 (PDT) Original-Received: from Rainers-MacBook-Pro-3.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id pe6sm5310971wjb.38.2014.08.13.09.12.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Aug 2014 09:12:07 -0700 (PDT) In-Reply-To: <87iolwtpwb.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 13 Aug 2014 22:39:32 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) X-Spam-Score: -2.9 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84776 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Eric Abrahamsen writes: > Rainer M Krug writes: > >> Eric Abrahamsen writes: >> >>> Rainer M Krug writes: >>> >>>> Eric Abrahamsen writes: >>>> >>>>> Rainer M Krug writes: >>>>> >>>>>> <#secure method=3Dpgpmime mode=3Dsign> >>>>>> Eric Abrahamsen writes: >>>>>> >>>>>>> Rainer M Krug 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.=20 >> >>> >>> 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 > > > =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJT645SAAoJENvXNx4PUvmCuucIAIuqay74xhjioicgAxc6Oqiz Eqgib8m2FJwR6QDyAM7P+tRZ31y7xsCRHpKHGBynZHmgQlt2pIZvbelBDJiSmak5 NRRclbPCRN/Dd/5CW7Gv+LcegSusUefgGejQAqMNJU7Uhw2GKceZ7TkYKFUvO2qo cySaulOUhtD+2MCkSUDtWhHmgI0NTVZVPQ+wK6BsRrwpnsse+dm5D7kcR+pznViM rAsudz2ixEIHWmNq7aohZ6knSw+B9rYr3hyWV/yeXIrbSkt/iK7AvMkV6Z0zHVM8 BClQMsZtmZ+mUAZN1rCFylP4PyHYmwsV8arYa5IUBi0qutukQ4msyYIp+Sf+jls= =UF39 -----END PGP SIGNATURE----- --=-=-=--