From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard G Riley Subject: Re: Problems publishing css files Date: Tue, 05 Aug 2008 14:45:43 +0200 Message-ID: References: <20080805092834.GA7632@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KQLvC-0003Am-4P for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KQLvB-00038k-1s for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:49 -0400 Received: from [199.232.76.173] (port=47178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KQLvA-00038X-MK for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:48 -0400 Received: from mu-out-0910.google.com ([209.85.134.191]:54500) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KQLvA-0004My-6E for emacs-orgmode@gnu.org; Tue, 05 Aug 2008 08:45:48 -0400 Received: by mu-out-0910.google.com with SMTP id i2so2078935mue.6 for ; Tue, 05 Aug 2008 05:45:47 -0700 (PDT) In-Reply-To: <20080805092834.GA7632@stats.ox.ac.uk> (Dan Davison's message of "Tue, 5 Aug 2008 10:28:34 +0100") 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: emacs-orgmode@gnu.org Dan Davison writes: > Hi Richard, > > I couldn't see anything wrong with your alist, and I tried it out on > my system (with altered, local, directory names) and org-publish > web-css copied a css file to the publishing directory with no > problems. I haven't had any problems with org-publish-attachment on > any type of file. Is it definitely not to do with icicles? Happens It happens even when I do not load icicles. It also ONLY happens with CSS files afaik. If, for example, I add the CSS extension to the web-images profile below then it fails in the same way. I have a nasty feeling it is going to come down to some nasty file mode for css but nothing has become apparent yet. It does publish fine to the local machine. I can also open remote css files from emacs and write them too (this mechanism uses ssh with tramp). > with local publishing directory as well as ssh? I'm sure this is > obvious to you, but I guess the thing to do is make that project-alist > simpler and simpler until it works and hopefully that'll reveal the > problem. Yes - I did : in that I only org-publish web-css trying to find the problem. > > DAn > > > On Tue, Aug 05, 2008 at 01:03:05AM +0200, Richard G Riley wrote: >> >> >> Here is my org-publish-project-alist >> >> ,---- >> | (setq org-publish-project-alist >> | '( >> | ("web-css" >> | :base-directory "~/webs/rr/" >> | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/" >> | :base-extension "css" >> | :publishing-function org-publish-attachment >> | :recursive t >> | ) >> | ("web-images" >> | :base-directory "~/webs/rr/" >> | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/" >> | :base-extension "gif\\|jpg\\|png" >> | :publishing-function org-publish-attachment >> | :recursive t >> | ) >> | ("web-org" >> | :base-directory "~/webs/rr/" >> | :publishing-directory "/ssh:rr@rr.net:/home/rr/webs/rr/" >> | :base-extension "org" >> | :publishing-function org-publish-org-to-html >> | :recursive t >> | :section-numbers nil >> | :style "> | href=\"./style.css\" >> | type=\"text/css\">" >> | :auto-preamble t >> | :auto-postamble t >> | :preamble "
Back - Home" >> | :postamble "
" >> | :author nil >> | ) >> | ("web" >> | :components("web-org" "web-images" "web-css") >> | ) >> | ) >> | ) >> `---- >> >> I can org-publish both web-org and web-images with no problem. However >> when I try to publish web-css I get: >> >> ,---- >> | Debugger entered--Lisp error: (error "Wrong type argument: arrayp, nil") >> | signal(error ("Wrong type argument: arrayp, nil")) >> | error("%s" "Wrong type argument: arrayp, nil") >> | byte-code("??!???????? !\"??" [orig-buff act-on-choice icicle-try-switch-buffer error "%s" error-message-string] 4) >> | icicle-execute-extended-command() >> | call-interactively(icicle-execute-extended-command) >> `---- >> >> I can org-publish-current-file with no problem. >> >> (I have tried it without icicles loaded too). It is only css files (in >> this instance) causing this. Any suggestions on how to debug this? What >> could it be? I have tried without nxhtml loaded too and have ensured the >> only css mode I have in the one that comes with emacs 22. >> >> org : 6.06b >> emacs : 22.2.1 >> >> Can anyone confirm (using emacs 22) that they can publish css files >> without a problem? >> >> regards >> >> 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 > > > _______________________________________________ > 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 --