Hi Charles, charles snyder <clsny...@gmail.com> 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 _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode