From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: elisp code location? Date: Mon, 19 Jan 2009 12:22:09 -0600 Message-ID: References: <4974A6AB.2080905@iro.umontreal.ca> <4974C075.8000800@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOylM-0002wP-G3 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:22:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOylI-0002rp-S6 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:22:16 -0500 Received: from [199.232.76.173] (port=58305 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOylI-0002rZ-Oo for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:22:12 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:45673) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOylI-0008WG-Dq for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:22:12 -0500 In-Reply-To: <4974C075.8000800@iro.umontreal.ca> (David St-Hilaire's message of "Mon\, 19 Jan 2009 13\:03\:33 -0500") 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: David St-Hilaire Cc: emacs-orgmode@gnu.org Hi David, David St-Hilaire writes: > > No reason, I was just trying to understand how to publishing system > works. I couldn't make it work so far. I now have setup my project > alist in my .emacs file (and reloaded my .emacs) and when I try to > publish my project, nothing happens... When precisely does nothing happen? After you call org-publish? > > Here is what I added to my .emacs: > > (setq org-publish-project-alist > '(("plan" > :base-directory "/home/dave/projet/maitrise/memoire" > :publishing-directory "/home/dave/projet/maitrise/memoire/html" > :section-numbers nil > :table-of-contents t > :publishing-function org-publish-org-to-html))) > > A strange thing I noticed is that when I use M-x and type org-publish > then press tab, I only get: > > Possible completions are: > org-publish org-publish-all > org-publish-current-file org-publish-current-project > org-publish-initialize-files-alist > org-publish-project You've set org-publish-to-html in your org-publish-project-alist, so that means that it will be the publishing function for the project "plan". So when you call org-publish with one of the functions above, it should publish the project "plan" to html in the publishing-directory you've specified. You might want to add the line :base-extension "org" to your publishing alist, though I'm not sure whether that's absolutely necessary. - Matt