From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75212 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Streamlining first-time Gnus usage Date: Fri, 17 Dec 2010 17:17:15 +0100 Message-ID: <87zks42x2s.fsf@gnu.org> References: <871v5h3lab.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1292602670 8439 80.91.229.12 (17 Dec 2010 16:17:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Dec 2010 16:17:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23567@lists.math.uh.edu Fri Dec 17 17:17:46 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 1PTd05-0006qB-7C for ding-account@gmane.org; Fri, 17 Dec 2010 17:17:45 +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 1PTczz-0004xY-5K; Fri, 17 Dec 2010 10:17:39 -0600 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 1PTczx-0004xL-SR for ding@lists.math.uh.edu; Fri, 17 Dec 2010 10:17:37 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PTczt-0001ky-5F for ding@lists.math.uh.edu; Fri, 17 Dec 2010 10:17:37 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PTczs-0005um-Dv for ding@gnus.org; Fri, 17 Dec 2010 17:17:32 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PTczr-0006ea-RL for ding@gnus.org; Fri, 17 Dec 2010 17:17:31 +0100 Original-Received: from yoda.fdn.fr ([80.67.169.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Dec 2010 17:17:31 +0100 Original-Received: from ludo by yoda.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Dec 2010 17:17:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: yoda.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Frimaire an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:h2tx14zue9fIfGfBSbfFBRfyEe4= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75212 Archived-At: Hi! Lars Magne Ingebrigtsen writes: > ludo@gnu.org (Ludovic Courtès) writes: > >> Would it be possible to display abbreviated prefixes, akin to how ERC >> abbreviates channel names? > > That's definitely a possibility. A typical group name is > > nnimap+imap.gmail.com:INBOX Using ERC-like heuristics, it would be “n+i.g.c:INBOX”. But if there’s also, say, an “nnimap+imap.gmurf.org:INBOX”, then it the first one would be abbreviated as “n+i.gma.c:INBOX”, to disambiguate. Hmm I now realize this may not be very readable... >> How about a declarative approach, like: >> >> (define-gnus-methods '((nnimap ...) ...)) >> >> I think it’d make it harder to shoot oneself in the foot, e.g., when >> re-evaluating ~/.gnus. > > That would kinda be the same as > > (setq gnus-methods > '((nnimap ...) > (nntp ...))) Yes. I was suggesting not to advocate an imperative approach like ‘gnus-add-method’. Thanks, Ludo’.