From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29236 Path: main.gmane.org!not-for-mail From: David Kagedal Newsgroups: gmane.emacs.gnus.general Subject: Re: IMAP server hierarchy as topics Date: 15 Feb 2000 11:29:02 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035165941 1578 80.91.224.250 (21 Oct 2002 02:05:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:05:41 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id 1315FD0520 for ; Tue, 15 Feb 2000 05:28:06 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id EAB31177; Tue, 15 Feb 2000 04:28:02 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 15 Feb 2000 04:27:11 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id EAA26207 for ; Tue, 15 Feb 2000 04:27:00 -0600 (CST) Original-Received: from mail.idasys.se (mail.idasys.se [194.218.15.7]) by mailhost.sclp.com (Postfix) with ESMTP id 737ADD0520 for ; Tue, 15 Feb 2000 05:27:03 -0500 (EST) Original-Received: from walt.idasys.se (walt.idasys.se [194.218.15.100]) by mail.idasys.se (8.8.8/8.8.8) with ESMTP id LAA15294; Tue, 15 Feb 2000 11:43:10 +0100 Original-Received: from shs4.idasys.se ([194.218.15.168]) by walt.idasys.se with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id 1S7AY749; Tue, 15 Feb 2000 11:32:32 +0100 Original-To: ding@gnus.org In-Reply-To: Steinar Bang's message of "14 Feb 2000 17:37:12 +0100" Original-Lines: 41 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29236 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29236 Steinar Bang writes: > >>>>> David Kagedal : >=20 > > Steinar Bang writes: > >> * make it possible to set a directory prefix for each IMAP server. > >> This will make mail group names shorter when using the UoW imapd >=20 > > Even better: >=20 > > * Make it possible to duplicate the IMAP folder hierarchy with Gnus > > topics, and only showing the last part of the group names, since = the > > full folder name (minus the root prefix) is available as the topic > > path. >=20 > On closer thought, the two requirements are separate. Separate, but related. On a related note, working with UoW poses problems if you want to create mail folder from Gnus, since Gnus does not allow / in group names. I have applied this patch to my local copy. It is probably not a good idea to do this in the general case. --- gnus.el 2000/01/31 22:08:08 5.127 +++ gnus.el 2000/02/15 10:27:39 @@ -2782,7 +2782,7 @@ group) (while (not group) (when (string-match - "[: `'\"/]\\|^$" + "[: `'\"]\\|^$" (setq group (read-string (concat prefix prompt) (cons (or default "") 0) 'gnus-group-history))) --=20 David K=E5gedal