emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Activating modules before org-install (was: org-url-hexify-p is


From: Jonathan Leech-Pepin
Subject: Re: [O] Activating modules before org-install (was: org-url-hexify-p is not respected)
Date: Tue, 11 Sep 2012 09:56:24 -0400

Helo

On 11 September 2012 09:10, Memnon Anon
<address@hidden> wrote:
> James Harkins <address@hidden> writes:
>
>> So then the question is, why was I getting the ID-style links in the
>> first place? I hadn't loaded that module before (I didn't even know
>> about load-library before).
>
> One short question: My ~/.emacs.d/init.el has these lines:
> ,----
> | ;; modules got to be set _before_ org is loaded
> | (setq org-modules '(org-bbdb org-bibtex org-gnus org-info org-jsinfo
> |                     org-irc org-vm org-w3m org-crypt org-learn
> |                     org-collector org-habit org-depend org-timer))
> |
> | ;; load up Org-mode and Org-babel
> | (require 'org-install)
> `----
>
> Is it true that "modules got to be set _before_ org is loaded"?
> IOW: May something weird happen if e.g. module org-id enters the game
> later on?

>From what I saw when I was enabling org-habits, if you add it to the
org-modules list after calling (require 'org-install) it will not be
loaded.  So either update the modules list before requiring
=org-install=, use the customize interface or manually (require
'org-<module>).

> At quick glance on the manual, I saw nothing relevant.
>
> Of course, I could play it safe with M-x customize-variable org-modules,
> but ... well ... customize.
>
Regards,

--
Jon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]