From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39290 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap subfolder problem Date: Tue, 16 Oct 2001 13:41:50 +0200 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 1035175020 27079 80.91.224.250 (21 Oct 2002 04:37:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:37:00 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 11495 invoked from network); 16 Oct 2001 11:43:32 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 16 Oct 2001 11:43:32 -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 15tScQ-0006MT-00; Tue, 16 Oct 2001 06:42:46 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 16 Oct 2001 06:42:23 -0500 (CDT) 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 GAA25758 for ; Tue, 16 Oct 2001 06:42:13 -0500 (CDT) Original-Received: (qmail 11486 invoked by alias); 16 Oct 2001 11:42:29 -0000 Original-Received: (qmail 11481 invoked from network); 16 Oct 2001 11:42:28 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 16 Oct 2001 11:42:28 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.0/8.12.0) with ESMTP id f9GBgT0r014911; Tue, 16 Oct 2001 13:42:29 +0200 Original-To: Nicolas KOWALSKI In-Reply-To: (Nicolas KOWALSKI's message of "Tue, 16 Oct 2001 13:13:51 +0200") Mail-Copies-To: nobody Original-Lines: 52 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39290 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39290 Nicolas KOWALSKI writes: > Hello. > > At work, I use the nnimap backend, which "talks" to an UW-imapd > server. My folders are stored using subfolders, like the following: > > [ Misc -- 0 ] > 0: INBOX > 0: mail/drafts > 0: mail/sent > 0: mail/templates > [ Personal -- 0 ] > 0: perso/famille > 0: perso/misc > [ VERIMAG -- 0 ] > 0: verimag/hardware > > > My problem is : when I try to rename (G r) the group "perso/famille" > to something like "perso/famille/misc", Gnus tells me the group has an > invalid name...I suspect Gnus to not tolerate '/' characters in group > names, but that is what I need in my case. > > Any idea(s) ? You need to customize the variable below. Does anyone know why `/' was forbidden in group names? Maybe we can change the default? `gnus-invalid-group-regexp' Regexp to match "invalid" group names when querying user for a group name. The default value catches some *really* invalid group names who could possibly mess up Gnus internally (like allowing `:' in a group name, which is normally used to delimit method and group). IMAP users might want to allow `/' in group names though. > PS : I tried to rename "perso/famille" to "perso.famille", this works; > but then I can not rename it to use subfolders > ("perso/famille/misc"). Why not? Creating a file perso.famille.misc should work fine, even if there is a perso.famille file. Perhaps this approach is the easist. > PS 2: when I use nnml or nnfolder backends, Gnus stores groups using > subdirectories for group names like "foo.bar.geez" (gives > foo/bar/geez). Is it possible to use the same functionnality for > nnimap backend ? I don't think so, it would mean making `.' and `/' equivalent, and that is something the IMAP server should do (if at all).