From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69451 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Patch: Support for non-ascii characters in imap group names Date: Sun, 21 Mar 2010 13:49:37 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87iq8p7bni.fsf@lifelogs.com> References: <7mljev50dc.fsf@kolon.stjernholm.org> <7m635qutf5.fsf@kolon.stjernholm.org> <87zl23dmiy.fsf@lifelogs.com> <7m1vfdmwxk.fsf@kolon.stjernholm.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269197418 6925 80.91.229.12 (21 Mar 2010 18:50:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Mar 2010 18:50:18 +0000 (UTC) Cc: ding@gnus.org To: Martin Stjernholm Original-X-From: ding-owner+M17846@lists.math.uh.edu Sun Mar 21 19:50:14 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NtQE0-0003wu-7i for ding-account@gmane.org; Sun, 21 Mar 2010 19:50:12 +0100 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 1NtQDX-0004U9-9x; Sun, 21 Mar 2010 13:49:43 -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 1NtQDV-0004Ty-Q3 for ding@lists.math.uh.edu; Sun, 21 Mar 2010 13:49:41 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NtQDT-0006ma-Pn for ding@lists.math.uh.edu; Sun, 21 Mar 2010 13:49:41 -0500 Original-Received: from blockstar.com ([208.100.47.114] helo=mail.blockstar.com) by quimby with esmtp (Exim 3.36 #1 (Debian)) id 1NtR9X-0003mL-00 for ; Sun, 21 Mar 2010 20:49:40 +0100 Original-Received: from heechee (c-98-227-29-141.hsd1.il.comcast.net [98.227.29.141]) by mail.blockstar.com (Postfix) with ESMTP id E8EA4A68653; Sun, 21 Mar 2010 13:49:42 -0500 (CDT) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" In-Reply-To: <7m1vfdmwxk.fsf@kolon.stjernholm.org> (Martin Stjernholm's message of "Sun, 21 Mar 2010 18:00:55 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69451 Archived-At: On Sun, 21 Mar 2010 18:00:55 +0100 Martin Stjernholm wrote: MS> Ted Zlatanov wrote: >> Thank you, it was my fault for ignoring it. MS> I'm glad it got through. I trust then that my followup patch to improve MS> the nnimap startup time has reached relevant people even though I have MS> yet to see it in list archives. I haven't seen it (which is probably my fault as I was not paying attention), can you please resend and CC me? >> I'm not sure why you need >> >> (nnimap-close-group): Call `imap-current-mailbox' instead of using the >> variable `imap-current-mailbox'. >> >> but left it in, assuming it was sensible. MS> The variable is utf-7 encoded while the function returns the decoded MS> name, so using the variable would make the name would look garbled in MS> that message. In general, I tried to use the functions in imap.el that MS> deal with decoded names, to keep it clean. There are a few cases where MS> the variable is still used, when only nil/non-nil matters. Interesting. It sounds like we should get rid of the variable in code completely and always use an accessor function with a "decoding" parameter (so we can get the encoded or the unencoded name). I don't like the current hidden behavior. Do you agree? Thanks Ted