From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rick Moynihan Subject: Re: Problem with org-publish :include Date: Mon, 04 May 2009 10:50:52 +0100 Message-ID: <49FEBA7C.50002@calicojack.co.uk> References: <49F6F05B.9080602@calicojack.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M0upM-0007vM-VU for emacs-orgmode@gnu.org; Mon, 04 May 2009 05:51:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M0upK-0007tY-KD for emacs-orgmode@gnu.org; Mon, 04 May 2009 05:51:11 -0400 Received: from [199.232.76.173] (port=38859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M0upK-0007tG-9t for emacs-orgmode@gnu.org; Mon, 04 May 2009 05:51:10 -0400 Received: from storm.bpweb.net ([83.223.106.8]:53841) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M0upJ-0002Wq-N0 for emacs-orgmode@gnu.org; Mon, 04 May 2009 05:51:10 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode 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 "> 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.