From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40769 Path: main.gmane.org!not-for-mail From: Kevin Hilman Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap subfolder problem Date: 07 Dec 2001 09:23:20 -0800 Organization: Equator Technologies, Inc. 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=us-ascii X-Trace: main.gmane.org 1035176268 2657 80.91.224.250 (21 Oct 2002 04:57:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:57:48 +0000 (UTC) Return-Path: Original-Received: (qmail 17251 invoked from network); 7 Dec 2001 17:24:14 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 7 Dec 2001 17:24:14 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16COjB-0005EB-00; Fri, 07 Dec 2001 11:24:01 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 07 Dec 2001 11:23:47 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA15754 for ; Fri, 7 Dec 2001 11:23:34 -0600 (CST) Original-Received: (qmail 17214 invoked by alias); 7 Dec 2001 17:23:43 -0000 Original-Received: (qmail 17209 invoked from network); 7 Dec 2001 17:23:42 -0000 Original-Received: from equator.dsl.speakeasy.net (HELO gatekeeper.equator.com) (216.254.12.202) by gnus.org with SMTP; 7 Dec 2001 17:23:42 -0000 Original-Received: from kakarot.equator.com (kakarot.equator.com [172.20.16.56]) by gatekeeper.equator.com (8.9.1a/8.9.1) with ESMTP id JAA04698 for ; Fri, 7 Dec 2001 09:23:28 -0800 (PST) Original-Received: (from khilman@localhost) by kakarot.equator.com (8.11.6/8.11.2) id fB7HNKL16945; Fri, 7 Dec 2001 09:23:20 -0800 X-Authentication-Warning: kakarot.equator.com: khilman set sender to khilman@equator.com using -f Original-To: ding@gnus.org In-Reply-To: Original-Lines: 54 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40769 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40769 Simon Josefsson writes: > Kevin Hilman writes: > > > If I tell Gnus to create folders with the '\' character it works fine, > > however as new folders are created, I don't see them when i do a 'B' > > (gnus-group-browse-foreign-server). I can see them in the folder > > listing of other clients (like Mozilla) though. If I do a 'j' > > (gnus-group-jump-to-group) and type the full group name (for example > > nnimap+mailserver:foo\bar) I can get to it just fine. > > > > So, I have a couple of questions > > > > 1) How can the browse-foreign server pick up these folders and > > subfolders? > > It should find them automatically. Do you see them if you do ^ and > then RET on the IMAP server? No. If I use '.' or '/' as a separator, it will see those, but not when using '\' . > But there may be some quoting problem since elisp uses \ as a > quoting character, and `read' is still used in some parts of > imap.el. Do you get anything weird in *Messages*? Nothing suspicious in *Messages* > > 2) Is there a way Gnus can be smarter about creating subfolders based > > on some existing hierarchy information? > > What do you mean? Gnus doesn't care about the hierarchy delimiter > (and hence the hierarchy), you could use the Topic mode in the Group > buffer to do some hierarchies though. For example, in my nnimap-split-rule I use ("lists\\ding" "^Sender: owner-ding") To put ding list messages into ding (a subfolder of 'lists') with '\' as a separator (note it has to be escaped). What I'd like is to have Gnus query the separator character from the server and put it in a variable so I could then use ("lists" + gnus-imap-hierarchy-separator + "ding" ....) To create folders on the server. (I don't know lisp, so the syntax is wrong) So it is portable across mail servers. It took me a while to figure out that Lotus Domino uses '\' as a separator character. -- Kevin Hilman --- Equator Technologies, Inc. khilman@equator.com --- Seattle, WA USA