|
From: | Rick Moynihan |
Subject: | Re: [Orgmode] Problem with org-publish :include |
Date: | Thu, 30 Apr 2009 12:30:02 +0100 |
User-agent: | Thunderbird 2.0.0.21 (Macintosh/20090302) |
Can anyone tell me if the :include option works for them?I've pasted the stacktrace I get with toggle-debug-on-error below; Thanks again
Rick Moynihan wrote:
Hi all,I am using org-mode v6.26d (from the git repo) and keep all my org files in a single ~/org directory. I'm trying to setup a new org-publish project that publishes a single org-mode file (meeting-notes.org) and excludes all the others. Here's the relevant bit of my org-publish-project-alist:(setq org-publish-project-alist (list '("minutes" . (:base-directory "/home/rick/org/" :base-extension "org" :publishing-directory "/home/rick/public_html/minutes" :exclude "\\.org$" :include "meeting-notes.org" :with-section-numbers nil :table-of-contents nil:style "<link rel=stylesheet href=\"mystyle.css\" type=\"text/css\">")); ... ))The problem is that I can't seem to get the :include property working. With the above settings crashing on org-publish-project with the error:Wrong type argument: sequencep, 101I have narrowed it down to the include parameter, but don't know what is wrong with my config. I have also tried setting :include to a (list "meeting-notes.org") with a similar error.Is this a bug in org-mode, my config or something else. Any help greatfully appreciated!!!R. _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. address@hidden http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Debugger entered--Lisp error: (wrong-type-argument sequencep 101) #[(f) "Ä P!Å\n\" \nB)" [base-dir f x org-publish-temp-files expand-file-name memql] 3](101) mapc(#[(f) "Ä P!Å\n\" \nB)" [base-dir f x org-publish-temp-files expand-file-name memql] 3] "meeting-notes.org") org-publish-get-base-files(("minutes" :base-directory "/home/rick/org/" :base-extension "org" :publishing-directory "/home/rick/public_html/org" :exclude "\\.org$" :include "meeting-notes.org" :with-section-numbers nil :table-of-contents t :style "<link rel=stylesheet href=\"mystyle.css\" type=\"text/css\">") "\\.org$") #[(project) "AÆ Ç\"Æ È\"Æ É\" ÊÆ Ë\" ÌÆ Í\"Æ Î\"Ï\n\"Ð= F \f\"address@hidden"F d . " [project project-plist exclude-regexp index-p index-filename index-function plist-get :exclude :auto-index :index-filename "sitemap.org" :index-function org-publish-org-index :preparation-function :completion-function org-publish-get-base-files nil org-publish-file preparation-function completion-function files file] 3](("minutes" :base-directory "/home/rick/org/" :base-extension "org" :publishing-directory "/home/rick/public_html/org" :exclude "\\.org$" :include "meeting-notes.org" :with-section-numbers nil :table-of-contents t :style "<link rel=stylesheet href=\"mystyle.css\" type=\"text/css\">")) mapc(#[(project) "AÆ Ç\"Æ È\"Æ É\" ÊÆ Ë\" ÌÆ Í\"Æ Î\"Ï\n\"Ð= F \f\"address@hidden"F d . " [project project-plist exclude-regexp index-p index-filename index-function plist-get :exclude :auto-index :index-filename "sitemap.org" :index-function org-publish-org-index :preparation-function :completion-function org-publish-get-base-files nil org-publish-file preparation-function completion-function files file] 3] (("minutes" :base-directory "/home/rick/org/" :base-extension "org" :publishing-directory "/home/rick/public_html/org" :exclude "\\.org$" :include "meeting-notes.org" :with-section-numbers nil :table-of-contents t :style "<link rel=stylesheet href=\"mystyle.css\" type=\"text/css\">"))) org-publish-projects((("minutes" :base-directory "/home/rick/org/" :base-extension "org" :publishing-directory "/home/rick/public_html/org" :exclude "\\.org$" :include "meeting-notes.org" :with-section-numbers nil :table-of-contents t :style "<link rel=stylesheet href=\"mystyle.css\" type=\"text/css\">"))) byte-code("? \nÅ ÆÇÈ\fÉÊ$\f\"C!*" [current-prefix-arg force org-publish-use-timestamps-flag project org-publish-project-alist org-publish-projects assoc org-ido-completing-read "Publish project: " nil t] 8) org-publish-project(nil) call-interactively(org-publish-project) execute-extended-command(nil) call-interactively(execute-extended-command)
[Prev in Thread] | Current Thread | [Next in Thread] |