From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40538 Path: main.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] make nnmbox-create-mbox honor subdirectories Date: Mon, 26 Nov 2001 14:31:25 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: 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 1035176073 1465 80.91.224.250 (21 Oct 2002 04:54:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:54:33 +0000 (UTC) Return-Path: Original-Received: (qmail 11149 invoked from network); 26 Nov 2001 13:37:16 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 26 Nov 2001 13:37:16 -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 168Lrj-000193-00; Mon, 26 Nov 2001 07:32:07 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 26 Nov 2001 07:31:51 -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 HAA19533 for ; Mon, 26 Nov 2001 07:31:39 -0600 (CST) Original-Received: (qmail 11080 invoked by alias); 26 Nov 2001 13:31:49 -0000 Original-Received: (qmail 11075 invoked from network); 26 Nov 2001 13:31:48 -0000 Original-Received: from hermes.epita.fr (163.5.255.10) by gnus.org with SMTP; 26 Nov 2001 13:31:48 -0000 Original-Received: from goa.lrde.epita.fr (mail@goa.lrde.epita.fr [10.223.13.2]) by hermes.epita.fr id fAQEWJQ01255 for EPITA Paris France Mon, 26 Nov 2001 14:32:19 GMT Original-Received: from uzeb.lrde.epita.fr ([10.223.13.53] ident=mail) by goa.lrde.epita.fr with esmtp (Exim 3.32 #1 (Debian)) id 168LsF-0003zo-00 for ; Mon, 26 Nov 2001 14:32:39 +0100 Original-Received: from didier by uzeb.lrde.epita.fr with local (Exim 3.32 #1 (Debian)) id 168Lr4-0003Ey-00 for ; Mon, 26 Nov 2001 14:31:26 +0100 Original-To: Gnus Beta Testers X-Attribution: drv X-Url: http://www.lrde.epita.fr/~didier X-Web: http://www.lrde.epita.fr/~didier X-Home-Page: http://www.lrde.epita.fr/~didier X-Face: |j}\)O|k##MrRz#VK$Jy=0r=3Qc,,a/Tr6*JQbE73dy17]2YcmW$9Z&H21e}#~#pgc>dn(is5Bv1l!{1re+Q9suKIOUmOqZs2>QMxHlR;;}kaGYA@HR3D C6 X-Face: 6o|eiKqaHN.ANh8HXDzntcWUOCg\]RsOd.ctvm~*y}Y^R&*a+Co,\s#=HWsw3x$b_n2kJ#g (7u?J^@^xP)f,jUF|0Z'J:|G/bMA5O12*b,7`-Q`=pKsCRIpso07.Y>YB2H{7`?u&yh;C_ZtLHfj * nnmbox.el (nnmbox-create-mbox): create the mbox file directory if needed. Gnus Patch (runsocks cvs -q diff -u -t -b -B -w lisp/nnmbox.el): Index: lisp/nnmbox.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/lisp/nnmbox.el,v retrieving revision 6.9 diff -u -u -t -b -B -w -r6.9 nnmbox.el --- lisp/nnmbox.el 2001/10/17 15:20:30 6.9 +++ lisp/nnmbox.el 2001/11/26 13:40:39 @@ -607,7 +607,9 @@ (when (not (file-exists-p nnmbox-mbox-file)) (let ((nnmail-file-coding-system (or nnmbox-file-coding-system-for-write - nnmbox-file-coding-system))) + nnmbox-file-coding-system)) + (dir (file-name-directory nnmbox-mbox-file))) + (and dir (gnus-make-directory dir)) (nnmail-write-region 1 1 nnmbox-mbox-file t 'nomesg)))) =20 (defun nnmbox-read-mbox () --=20 Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 53 14 59 47 94276 Le Kremlin-Bic=EAtre, France Fax.+33 (1) 53 14 59 22 didier@xemac= s.org