From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Not all org-publish-* functions are accessible initially Date: Fri, 17 Oct 2008 15:46:55 +0200 Message-ID: References: <20081016172254.603@usenet.piggo.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: multipart/mixed; boundary="===============1064402013==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KqpfS-0001qU-3D for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 09:47:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KqpfR-0001pi-Hf for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 09:47:01 -0400 Received: from [199.232.76.173] (port=36134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqpfR-0001pd-5g for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 09:47:01 -0400 Received: from nf-out-0910.google.com ([64.233.182.191]:29858) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KqpfQ-0006LA-DT for emacs-orgmode@gnu.org; Fri, 17 Oct 2008 09:47:00 -0400 Received: by nf-out-0910.google.com with SMTP id c7so290333nfi.26 for ; Fri, 17 Oct 2008 06:46:58 -0700 (PDT) In-Reply-To: <20081016172254.603@usenet.piggo.com> 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: Seb Cc: emacs-orgmode@gnu.org --===============1064402013== Content-Type: multipart/alternative; boundary=Apple-Mail-1--1016604390 --Apple-Mail-1--1016604390 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Sebastian, On Oct 17, 2008, at 2:32 AM, Seb wrote: > 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). You are right about this function, I had forgotten to autoload it. However, the other interactive commands are all autoloaded and you should have no problems accessing them before org-publish has been loaded. Or are there any others you are missing? - Carsten > > > 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 > > > > _______________________________________________ > 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 --Apple-Mail-1--1016604390 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Sebastian,

On Oct 17, = 2008, at 2:32 AM, Seb wrote:

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).

You = are right about this function, I had forgotten to autoload = it.
However, the other interactive commands are all autoloaded and = you should
have no problems accessing them before org-publish has = been loaded.

Or are there any others you are missing?

- = Carsten




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



_______________________________________________
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

= --Apple-Mail-1--1016604390-- --===============1064402013== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1064402013==--