From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?=C1ngel_de_Vicente?= Subject: Re: Debugging the publishing process? Date: Wed, 22 Oct 2008 08:11:46 +0100 Message-ID: References: <87y70idts9.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsXtu-0006Vv-9s for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 03:13:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsXtr-0006U6-Ki for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 03:13:01 -0400 Received: from [199.232.76.173] (port=54252 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsXtr-0006U3-Eu for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 03:12:59 -0400 Received: from mx20.gnu.org ([199.232.41.8]:14959) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KsXtr-00028Y-1Y for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 03:12:59 -0400 Received: from mailgate.ll.iac.es ([161.72.1.6]) by mx20.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KsXtp-0002Cj-9z for emacs-orgmode@gnu.org; Wed, 22 Oct 2008 03:12:57 -0400 In-Reply-To: <87y70idts9.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org Hi, thanks Bernt (and Sebastian) for the help with this. In the end it turned= =20 out that I had two places with the ORG files and apparently it was gettin= g =20 quite confused with both. Getting rid of one of them and just leaving the= =20 6.09a one did the trick. (I hadn't touched this computer for a bit more =20 than two months, so one forgets what is installed... :) Thanks a lot, =C1ngel de Vicente En Tue, 21 Oct 2008 13:20:06 +0100, Bernt Hansen =20 escribi=F3: > =C1ngel de Vicente writes: > >> I wonder if anyone can give me a tip... I'm just trying to figure out >> the publishing process in Org-mode, but I'm not getting any >> results.. is there a way to debug what ORG-MODE is trying to do? >> >> I started with a basic setting, and defined a minimal (but I think >> valid) org-publish-project-alist as: >> >> (setq org-publish-project-alist >> '(("OWD" >> :base-directory "~/org/" >> :publishing-directory "~/OWD"))) >> >> In ~/org I have a number of .org files that get properly exported to >> HTML with C-c C-e h >> >> but if I try to publish them with C-c C-e A, nothing appear in ~/OWD, >> and have no clue where it went wrong. >> >> By the way, I have version 6.04c installed (although the info manual >> says it is 6.09a) (I just installed from the download link at >> http://orgmode.org/index.html#sec-4) > > This works fine for me in 6.09a (as reported by M-x org-version) > > ,----[ minimal.emacs ] > | (global-font-lock-mode t) > | > | (add-hook 'org-mode-hook '(lambda () (flyspell-mode 1))) > | > | (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp")) > | (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) > | (require 'org-install) > | > | (define-key global-map "\C-cl" 'org-store-link) > | (define-key global-map "\C-ca" 'org-agenda) > | > | (setq org-publish-project-alist > | '(("OWD" > | :base-directory "/tmp/org/" > | :publishing-directory "/tmp/OWD"))) > `---- > > I created /tmp/org and /tmp/OWD and then > > emacs -q -l minimal.emacs > > created /tmp/org/test.org and C-c C-e A creates /tmp/OWD/test.html > > ,----[ test.org ] > | * First file > | Data for the first topic goes here > | #+BEGIN_EXAMPLE > | an example > | #+END_EXAMPLE > | This is after the example. > | * Export me > | here is some data > | > | More stuff > `---- > > ,----[ test2.org ] > | * Another file > | * with stuff > | Whee it works fine. > `---- > > The publishing process normally writes details to the message window (i= f > you click in the message window it open the *Messages* buffer so you ca= n > scroll through the messages.) > > ,----[ *Messages* ] > | Exporting... [2 times] > | Wrote /tmp/OWD/test2.html > | Exporting... done > | Publishing file /tmp/org/test.org > | Exporting... [3 times] > | Wrote /tmp/OWD/test.html > | Exporting... done > `---- > > If I do it a second time without touching the files I get > > ,---- > | Skipping unmodified file /tmp/org/test2.org > | Skipping unmodified file /tmp/org/test.org > `---- > > I'm sure there have been lots of changes since 6.04c that affect > publishing so I would recommend upgrading to the most recent version of > org-mode first and trying again. > > Regards, > Bernt --=20 ---------------------------------- http://www.iac.es/galeria/angelv/ High Performance Computing Support PostDoc Instituto de Astrof=EDsica de Canarias