* Not all org-publish-* functions are accessible initially
@ 2008-10-17 0:32 Seb
2008-10-17 13:46 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Seb @ 2008-10-17 0:32 UTC (permalink / raw
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Not all org-publish-* functions are accessible initially
2008-10-17 0:32 Not all org-publish-* functions are accessible initially Seb
@ 2008-10-17 13:46 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-10-17 13:46 UTC (permalink / raw
To: Seb; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1452 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 3456 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-17 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 0:32 Not all org-publish-* functions are accessible initially Seb
2008-10-17 13:46 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.