emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jan Moringen <jan.moringen@uni-bielefeld.de>
To: emacs-orgmode@gnu.org
Subject: Bug: Creation of timestamp directory when publishing [6.35i]
Date: Sun, 20 Jun 2010 20:45:39 +0000 (UTC)
Date: Sun, 18 Jul 2010 03:57:42 +0200	[thread overview]
Message-ID: <27358_1276999107_ZZh016P3PwKhB.00_1279418262.4854.10.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

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

[-- Attachment #2: org-publish-make-timestamp-dir.diff --]
[-- Type: text/x-patch, Size: 456 bytes --]

--- 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)))

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

                 reply	other threads:[~2010-06-20  1:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27358_1276999107_ZZh016P3PwKhB.00_1279418262.4854.10.camel@localhost.localdomain \
    --to=jan.moringen@uni-bielefeld.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).