From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Publishing Projects to Html Date: Tue, 30 Jun 2009 02:14:56 +0200 Message-ID: <871vp2y3un.fsf@bzg.ath.cx> References: 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 1MLR0A-00021H-TD for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 20:15:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLR05-000215-AT for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 20:15:09 -0400 Received: from [199.232.76.173] (port=58398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLR05-000212-40 for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 20:15:05 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:38376) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLR04-0006LT-Q6 for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 20:15:05 -0400 Received: by ewy4 with SMTP id 4so3515734ewy.42 for ; Mon, 29 Jun 2009 17:15:03 -0700 (PDT) In-Reply-To: (charles snyder's message of "Mon, 29 Jun 2009 10:44:50 -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: charles snyder Cc: emacs-orgmode@gnu.org Hi Charles, charles snyder writes: > I have been trying out 'publish projects' in org mode. It works perfectly > (following the instructions on Sebastian's tutorial), but I have a very basic > question - The tutorial describes putting > > (require 'org-publish) > (setq org-publish-project-alist > '( > > ;; ... add all the components here (see below)... > > )) > > into the *scratch* buffer, followed by C-x C-e two times. Other than > re-entering all the "org-publish-project-alist" info each time I publish to > HTML, where does this code go - > > ? into my .emacs file > ? change it via org menu -> customize -> customize -> Org Publishing -> Org > Publish Project alist > ? a separate file I store the (setq org-publish-project-alist ...) variable in a separate ~/elisp/config/org-config.el file which looks like this: ,---- | (setq org-publish-project-alist ...) | (setq org-blabla ...) | (provide 'org-config) `---- For this file to be loaded by emacs, you need to add its location to the load-path, and to require the feature it provides: ,---- | (add-to-list 'load-path "~/elisp/config/") | (require 'org-config) `---- HTH > On a related note, searching the mailing list on the org main page doesn't seem > to work : > > Warning: Unable to include '/cgi-bin/omega.cgi?query=publish&group= > gmane.emacs.orgmode' - request execution failed in /home/xapian/html/index.php > on line 105 This is a problem on Gmane, I wrote to the maintainer, thanks. -- Bastien