From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-publish Date: Sun, 22 Jun 2008 22:57:26 +0200 Message-ID: <8783047E-1129-42CA-944C-FCA5FE59D83A@uva.nl> References: <7s4p7nouop.fsf@richardriley.net> <25984.1214108824@gamaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v924) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAWcx-0006Vm-PF for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 16:57:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAWcw-0006Uf-O3 for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 16:57:35 -0400 Received: from [199.232.76.173] (port=36144 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAWcw-0006Uc-DH for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 16:57:34 -0400 Received: from wx-out-0506.google.com ([66.249.82.236]:53638) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAWcv-00027z-Ix for emacs-orgmode@gnu.org; Sun, 22 Jun 2008 16:57:34 -0400 Received: by wx-out-0506.google.com with SMTP id h28so800864wxd.24 for ; Sun, 22 Jun 2008 13:57:31 -0700 (PDT) In-Reply-To: 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: Manish Cc: org-mode , Richard G Riley On Jun 22, 2008, at 5:27 PM, Manish wrote: > Nick>>> I have a minimal setup that works fine for me. Here is the > relevant > Nick>>> section from my org initialization file, which gets loaded > from .emacs: > Nick>>> > Nick>>> ;;; org-publish > Nick>>> (setq org-publish-project-alist > Nick>>> '(("status" > Nick>>> :base-directory "~/lib/status/weekly" > Nick>>> :publishing-directory "/ssh:nick@foo.bar.com:~/ > public_html/logs" > Nick>>> :publishing-function org-publish-org-to-html > Nick>>> :headline-levels 3 > Nick>>> :section-numbers nil > Nick>>> :table-of-contents nil > Nick>>> ; :style nil > Nick>>> :auto-preamble t > Nick>>> :auto-postamble nil > Nick>>> ))) > Nick>>> > Nick>>> (require 'org-publish) > > Manish>> I have similar settings but I still do not get any > output. Any > Manish>> ideas what I can check or what other debug information can I > Manish>> provide? > Manish>> > Manish>> Any thoughts appreciated. > > Carsten> Have you tried > Carsten> > Carsten> (setq org-publish-use-timestamps-flag nil) > Carsten> > Carsten> > Carsten> ? Maybe you have not changed the input files for a while, > and Org thinks > Carsten> they have already been published...... > > Works perfectly now! > > What is curious is that it did not work earlier even when the > files were modified and saved. But now it works not just after > setting this to nil (publish irrespective of modified time) but > publishes correctly with t after the files are modified as it > should (it did not work earlier, I swear.) I guess this means that the tree with the timestamps directory ~/.org- timestamps was somehow bad, did contain wrong times or was corrupt in another way. - Carsten