From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: elisp code location? Date: Mon, 19 Jan 2009 23:50:12 +0530 Message-ID: References: <4974A6AB.2080905@iro.umontreal.ca> <4974C075.8000800@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOyjT-0001K7-6v for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:20:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOyjQ-0001Je-FG for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:20:17 -0500 Received: from [199.232.76.173] (port=58276 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOyjP-0001JM-L5 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:20:15 -0500 Received: from ti-out-0910.google.com ([209.85.142.191]:19874) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOyjO-0008Lp-V2 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 13:20:15 -0500 Received: by ti-out-0910.google.com with SMTP id u5so2092985tia.10 for ; Mon, 19 Jan 2009 10:20:12 -0800 (PST) In-Reply-To: <4974C075.8000800@iro.umontreal.ca> Content-Disposition: inline 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 On Mon, Jan 19, 2009 at 11:33 PM, David St-Hilaire wrote: > Manish wrote: >> Some of the publishing options can be kept in the org file itself but >> some others would need to defined as part of org-publish-project-alist >> itself only. Is there a reason why you do not wish to keep the settings >> in .emacs file? > > 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... > > 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 org-publish-org-to-html is not an interactive function hence not available with M-x. You only need to execute org-publish (or C-c C-e X) and publish "plan". > > and thus org-publish-org-to-html doesn't seem to be there... I > installed org-mode throuhg gentoo emerge and am at the version 6.05b, > is this version too old to use publishing? Can't say.. but new features/fixes keep happening in Org at such a pace that it's worth staying as close to the cutting edge as possible. As Scot mentioned it's super easy to upgrade either using the shell-script or by just using the git version itself (see FAQ for details.) -- Manish