From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Moringen Subject: Bug: Creation of timestamp directory when publishing [6.35i] Date: Sun, 20 Jun 2010 20:45:39 +0000 (UTC) Message-ID: <27358_1276999107_ZZh016P3PwKhB.00_1279418262.4854.10.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary_(ID_heJH5nnnwXqJQL6n92W4xQ)" Return-path: Received: from [140.186.70.92] (port=56295 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ9nr-0005as-Lt for emacs-orgmode@gnu.org; Sat, 19 Jun 2010 21:58:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQ9nq-0005gK-M6 for emacs-orgmode@gnu.org; Sat, 19 Jun 2010 21:58:31 -0400 Received: from mux2-unibi-smtp.hrz.uni-bielefeld.de ([129.70.204.73]:35917) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ9nq-0005g2-F8 for emacs-orgmode@gnu.org; Sat, 19 Jun 2010 21:58:30 -0400 Received: from pmxchannel-daemon.mux2-unibi-smtp.hrz.uni-bielefeld.de by mux2-unibi-smtp.hrz.uni-bielefeld.de (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0L4A00600ITF8800@mux2-unibi-smtp.hrz.uni-bielefeld.de> for emacs-orgmode@gnu.org; Sun, 20 Jun 2010 03:58:27 +0200 (CEST) Received: from [192.168.2.100] ([77.75.203.145]) by mux2-unibi-smtp.hrz.uni-bielefeld.de (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPPSA id <0L4A00KGIITENN60@mux2-unibi-smtp.hrz.uni-bielefeld.de> for emacs-orgmode@gnu.org; Sun, 20 Jun 2010 03:58:26 +0200 (CEST) Date: Sun, 18 Jul 2010 03:57:42 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --Boundary_(ID_heJH5nnnwXqJQL6n92W4xQ) Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT Hi, I encountered a problem when publishing an org project after customizing `org-publish-timestamp-directory' such that the specified directory and some of its parents didn't exist. A patch is attached. Kind regards, Jan --Boundary_(ID_heJH5nnnwXqJQL6n92W4xQ) Content-type: text/x-patch; name=org-publish-make-timestamp-dir.diff; charset=UTF-8 Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=org-publish-make-timestamp-dir.diff --- lisp/org/org-publish.el.orig 2010-07-18 03:43:12.942798153 +0200 +++ lisp/org/org-publish.el 2010-07-18 03:40:11.842796261 +0200 @@ -236,7 +236,7 @@ (file-newer-than-file-p filename (org-publish-timestamp-filename filename pub-dir pub-func))) - (make-directory org-publish-timestamp-directory) + (make-directory org-publish-timestamp-directory t) t) ;; don't use timestamps, always return t t))) --Boundary_(ID_heJH5nnnwXqJQL6n92W4xQ) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Boundary_(ID_heJH5nnnwXqJQL6n92W4xQ)--