From mboxrd@z Thu Jan 1 00:00:00 1970 From: Seb Subject: Not all org-publish-* functions are accessible initially Date: Fri, 17 Oct 2008 00:32:23 +0000 (UTC) Message-ID: <20081016172254.603@usenet.piggo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqdGi-0005ic-D4 for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 20:32:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqdGf-0005iQ-TS for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 20:32:39 -0400 Received: from [199.232.76.173] (port=42994 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqdGf-0005iN-QU for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 20:32:37 -0400 Received: from main.gmane.org ([80.91.229.2]:60246 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KqdGf-00038V-M9 for emacs-orgmode@gnu.org; Thu, 16 Oct 2008 20:32:38 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KqdGZ-0005hl-Gy for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 00:32:31 +0000 Received: from host51.untangle.com ([198.144.196.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Oct 2008 00:32:31 +0000 Received: from seb by host51.untangle.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Oct 2008 00:32:31 +0000 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 Hi, I was wondering if all the org-publish-* functions should be available directly after org-mode is loaded ? Initially I only see org-publish-{all,current-file,current-project} as available (before doing any org-publish related work). After I run either of those 3, then the rest of them become available (for instance org-publish-project). The startup file in charge of finding org-mode on my system is as follows: (let ((package-dir (concat "/usr/share/" (symbol-name flavor) "/site-lisp/org-mode"))) ;; If package-dir does not exist, the org-mode package must have ;; removed but not purged, and we should skip the setup. (when (file-directory-p package-dir) (setq load-path (cons package-dir load-path)) (require 'org-install) (add-to-list 'auto-mode-alist '("\\.org\\(-mode\\)?$" . org-mode)))) Cheers, --Seb