emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Moynihan <rick@calicojack.co.uk>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-publish :include
Date: Thu, 30 Apr 2009 12:30:02 +0100	[thread overview]
Message-ID: <49F98BBA.50201@calicojack.co.uk> (raw)
In-Reply-To: <49F6F05B.9080602@calicojack.co.uk>

[-- Attachment #1: Type: text/plain, Size: 1988 bytes --]

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
> 


[-- Attachment #2: stack.txt --]
[-- Type: text/plain, Size: 2788 bytes --]

Debugger entered--Lisp error: (wrong-type-argument sequencep 101)
  #[(f) "Ä\b	P!\x1aÅ\n\v\"ƒ\x11\0\v‚\x16\0\n\vB‰\x13)‡" [base-dir f x org-publish-temp-files expand-file-name memql] 3](101)
  mapc(#[(f) "Ä\b	P!\x1aÅ\n\v\"ƒ\x11\0\v‚\x16\0\n\vB‰\x13)‡" [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) "\bA\x19Æ	Ç\"\x1aÆ	È\"^[Æ	É\"†\x15\0Ê\x1cÆ	Ë\"†\x1e\0Ì\x1dÆ	Í\"\x1e\x12Æ	Î\"\x1e\x13Ï\b\n\"\x1e\x14Ð\x1e\x15\x0e\x12ƒ=\0\x0e\x12 ˆ\vƒF\0
\b\f\"ˆ\x0e\x14‰A\x16\x14@‰\x16\x15ƒ\\\0Ñ\x0e\x15\b\"ˆ‚F\0\x0e\x13…d\0\x0e\x13 .	‡" [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) "\bA\x19Æ	Ç\"\x1aÆ	È\"^[Æ	É\"†\x15\0Ê\x1cÆ	Ë\"†\x1e\0Ì\x1dÆ	Í\"\x1e\x12Æ	Î\"\x1e\x13Ï\b\n\"\x1e\x14Ð\x1e\x15\x0e\x12ƒ=\0\x0e\x12 ˆ\vƒF\0
\b\f\"ˆ\x0e\x14‰A\x16\x14@‰\x16\x15ƒ\\\0Ñ\x0e\x15\b\"ˆ‚F\0\x0e\x13…d\0\x0e\x13 .	‡" [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("\b‰\x19?…\b\0\n\x1aÅ\v†\x17\0ÆÇÈ\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)


[-- Attachment #3: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  reply	other threads:[~2009-04-30 11:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28 12:02 Problem with org-publish :include Rick Moynihan
2009-04-30 11:30 ` Rick Moynihan [this message]
2009-05-04  3:22 ` Carsten Dominik
2009-05-04  9:50   ` Rick Moynihan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49F98BBA.50201@calicojack.co.uk \
    --to=rick@calicojack.co.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).