emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rick Moynihan <rick@calicojack.co.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-publish :include
Date: Mon, 04 May 2009 10:50:52 +0100	[thread overview]
Message-ID: <49FEBA7C.50002@calicojack.co.uk> (raw)
In-Reply-To: <DECC72C1-86B6-4635-9FD8-11AC7CE0B83C@gmail.com>

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.

      reply	other threads:[~2009-05-04  9:51 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
2009-05-04  3:22 ` Carsten Dominik
2009-05-04  9:50   ` Rick Moynihan [this message]

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=49FEBA7C.50002@calicojack.co.uk \
    --to=rick@calicojack.co.uk \
    --cc=carsten.dominik@gmail.com \
    --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).