From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80274 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Where is gnus-simplify-group-name? Date: Mon, 10 Oct 2011 18:53:11 -0400 Message-ID: References: <87mxd9jlut.fsf@zelenka.enovance.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318287633 19490 80.91.229.12 (10 Oct 2011 23:00:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2011 23:00:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28564@lists.math.uh.edu Tue Oct 11 01:00:29 2011 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 1RDOpg-000490-Kc for ding-account@gmane.org; Tue, 11 Oct 2011 01:00:28 +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 1RDOpG-0007K7-0c; Mon, 10 Oct 2011 18:00:02 -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 1RDOpD-0007Jw-Gc for ding@lists.math.uh.edu; Mon, 10 Oct 2011 17:59:59 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RDOpB-0002jl-TY for ding@lists.math.uh.edu; Mon, 10 Oct 2011 17:59:58 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RDOp9-00026a-UP for ding@gnus.org; Tue, 11 Oct 2011 00:59:55 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RDOp8-0003vR-K7 for ding@gnus.org; Tue, 11 Oct 2011 00:59:54 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Oct 2011 00:59:54 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Oct 2011 00:59:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:2ZKMEFeW0nK57mzHZtb9Zbeq0Ko= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80274 Archived-At: on Mon Oct 10 2011, Julien Danjou wrote: > On Sat, Oct 08 2011, Dave Abrahams wrote: > >> I was writing some code that opened groups today and I was disturbed to >> find that Gnus would do something different if I spelled the same group >> in two different ways. My `gnus-select-method' is >> >> (nnimap "LocalIMAP" >> (nnimap-address "localhost") (nnimap-user "dave") >> (nnimap-server-port 9143) (nnimap-stream network)) > > IIUC, this is due to the primary/secondary methods mechanism, which add > a prefix when methods are secondaries. > > Last time we spoke about that, the consensus was to remove this > mechanism so there's not two ways of naming groups like you point out. I think there still will be two ways, as long as we're allowing people sometimes to type "INBOX" instead of "nnimap+imap.foo.com:INBOX". And I think we want to support that, right? > But we never started doing it mainly because it can be tricky to not > no break working setups. > > Maybe that's time to do it. Providing the group name normalization function, and using it where it counts, would be less disruptive. And I predict you'll want one even if you do get rid of the primary/secondary distinction. However, if you're up for a big rewrite, all I can say is, "go for it!" :-) -- Dave Abrahams BoostPro Computing http://www.boostpro.com