From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29496 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: major problem with recent cvs Date: 14 Mar 2000 00:58:23 +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=us-ascii X-Trace: main.gmane.org 1035166156 3063 80.91.224.250 (21 Oct 2002 02:09:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:09:16 +0000 (UTC) Cc: ding@gnus.org, bugs@gnus.org 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 55201D051E for ; Mon, 13 Mar 2000 18:59:56 -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 RAB14747; Mon, 13 Mar 2000 17:59:30 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 13 Mar 2000 17:58:44 -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 RAA18034 for ; Mon, 13 Mar 2000 17:58:34 -0600 (CST) Original-Received: from badis.pdc.kth.se (badis.pdc.kth.se [130.237.221.45]) by mailhost.sclp.com (Postfix) with ESMTP id AFEC1D051E; Mon, 13 Mar 2000 18:58:43 -0500 (EST) Original-Received: (from jas@localhost) by badis.pdc.kth.se (8.10.0/8.10.0) id e2DNwOH20529; Tue, 14 Mar 2000 00:58:24 +0100 Original-To: lconrad@world.std.com In-Reply-To: Laura Conrad's message of "13 Mar 2000 11:54:56 -0500" Original-Lines: 65 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.6 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29496 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29496 Laura Conrad writes: > I had killed my editor over the weekend, so I upped the cvs before > restarting it this morning. ... > I poked around, and regenerated the nov databases, and finally did "ls > -l" in my Mail directory, and discovered that the messages got written > by this morning's CVS gnus as files like Mail/world1699 instead of > Mail/world/1699. Glancing recent modifications made me came up with this patch. Please test if it work and I'll commit it. 2000-03-14 Simon Josefsson * nnheader.el (nnheader-group-pathname): Add "/". * nnmail.el (nnmail-group-pathname): Ditto. Index: nnmail.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnmail.el,v retrieving revision 5.48 diff -w -u -r5.48 nnmail.el --- nnmail.el 2000/03/13 19:43:14 5.48 +++ nnmail.el 2000/03/13 23:56:44 @@ -470,12 +470,14 @@ ;; If this directory exists, we use it directly. (if (or nnmail-use-long-file-names (file-directory-p (concat dir group))) - (expand-file-name group dir) + (expand-file-name (concat group "/") dir) ;; If not, we translate dots into slashes. (expand-file-name + (concat (mm-encode-coding-string (nnheader-replace-chars-in-string group ?. ?/) nnmail-pathname-coding-system) + "/") dir))) (or file ""))) Index: nnheader.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnheader.el,v retrieving revision 5.35 diff -w -u -r5.35 nnheader.el --- nnheader.el 2000/03/13 13:50:38 5.35 +++ nnheader.el 2000/03/13 23:56:44 @@ -730,11 +730,13 @@ (let ((dir (file-name-as-directory (expand-file-name dir)))) ;; If this directory exists, we use it directly. (if (file-directory-p (concat dir group)) - (expand-file-name group dir) + (expand-file-name (concat group "/") dir) ;; If not, we translate dots into slashes. - (expand-file-name (mm-encode-coding-string + (expand-file-name (concat + (mm-encode-coding-string (nnheader-replace-chars-in-string group ?. ?/) nnheader-pathname-coding-system) + "/") dir))) (cond ((null file) "") ((numberp file) (int-to-string file))