Re: [Orgmode] Problem with org-publish :include
Carsten Dominik wrote: On Apr 28, 2009, at 2:02 PM, 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, 101 I 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!!! Does :include (meeting-notes.org) work better? The documentation says it must be a list, I have never used it. - Carsten Thanks Carsten. It does indeed work when expressed like this; clearly I'm again a victim of my own stupidity =) R. ___ 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
Re: [Orgmode] Problem with org-publish :include
On Apr 28, 2009, at 2:02 PM, 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, 101 I 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!!! Does :include (meeting-notes.org) work better? The documentation says it must be a list, I have never used it. - Carsten ___ 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
Re: [Orgmode] Problem with org-publish :include
I'm still experiencing this org-mode bug; and haven't found a solution other than possibly partitioning my files into seperate base-directories; which though workable feels less flexible than the :include/:exclude regexp solutoin. 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, 101 I 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. Emacs-orgmode@gnu.org 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\...@\\ Ñ\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\...@\\ Ñ\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) ___ 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
[Orgmode] Problem with org-publish :include
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, 101 I 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. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode