From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Publishing not working: troubleshooting Date: Thu, 25 Mar 2010 13:55:13 -0400 Message-ID: <87r5n8i8vy.fsf@gollum.intra.norang.ca> References: 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 1NurHB-0008Fs-11 for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 13:55:25 -0400 Received: from [140.186.70.92] (port=40426 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NurH9-0008Dx-Iq for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 13:55:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NurH8-0005uk-Be for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 13:55:23 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:61580) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NurH8-0005ue-7U for emacs-orgmode@gnu.org; Thu, 25 Mar 2010 13:55:22 -0400 In-Reply-To: (Leo Ferres's message of "Thu\, 25 Mar 2010 12\:32\:31 -0300") 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: Leo Ferres Cc: emacs-orgmode@gnu.org Hi Leo, My comments are inline below. Leo Ferres writes: > Hello, > > I was wondering if anyone could help me with this. I guess this > question has been asked before, but I couldn't find an answer. > Apologies. > > The setting: > > I have a require entry in my .emacs that reads: > > (require 'dervin-org-projects) > > and a file dervin-org-projects.el that reads: > > (require 'org-publish) ;; I've tried without this as well Why do you require org-publish? Shouldn't you be setting up the regular org environment? I don't have a require org-publish in my .emacs... > (setq org-publish-project-alist > '(("orgfiles" > :base-directory "~/org/courses/" > :base-extension "org" > :publishing-directory "/ssh:myuser@myhost:~/public_html/" > :recursive t > :publishing-function org-publish-org-to-html > :exclude "PrivatePage.org" ;; regexp > :headline-levels 3 > :section-numbers t > :table-of-contents nil > :auto-preamble t > :auto-postamble nil) > > ("images" > :base-directory "~/org/courses/images" > :base-extension "jpg\\|gif\\|png" > :publishing-directory "/ssh:myuser@myhost:~/public_html/" > :publishing-function org-publish-attachment) > > ("other" > :base-directory "~/org/courses/other/" > :base-extension "css\\|el\\|pdf" > :publishing-directory "/ssh:myuser@myhost:~/public_html/" > :publishing-function org-publish-attachment) > ("courses" :components ("orgfiles" "images" "other")))) > > (provide 'dervin-org-projects) > > When I attempt to publish the project with C-c C-e X, and I choose > "courses", absolutely nothing happens. There's not even a message that > appears. I therefore don't know how to troubleshoot this by myself. > Could anyone help? I'm thinking you haven't done the standard org-mode setup with (require 'org-install) which sets up the keyboard mappings. What is C-c C-e mapped to for you? C-c C-e is mapped to org-export for me. -Bernt