From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: Activating modules before org-install (was: org-url-hexify-p is not respected) Date: Tue, 11 Sep 2012 09:56:24 -0400 Message-ID: References: <87y5kjrw2z.wl%jamshark70@dewdrop-world.net> <87k3w2myru.wl%jamshark70@dewdrop-world.net> <19932.1347253107@alphaville> <87ehmammgw.wl%jamshark70@dewdrop-world.net> <87392qfknt.fsf@gmail.com> <87d31umkzk.wl%jamshark70@dewdrop-world.net> <87ipbmqrkm.fsf@gmail.com> <87vcfkr9s1.fsf@mean.albasani.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBQx6-0008Ak-Mo for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 09:56:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBQx0-0000z8-Dn for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 09:56:32 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:46868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBQx0-0000yb-6q for emacs-orgmode@gnu.org; Tue, 11 Sep 2012 09:56:26 -0400 Received: by weys10 with SMTP id s10so366143wey.0 for ; Tue, 11 Sep 2012 06:56:25 -0700 (PDT) In-Reply-To: <87vcfkr9s1.fsf@mean.albasani.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Memnon Anon Cc: emacs-orgmode@gnu.org Helo On 11 September 2012 09:10, Memnon Anon wrote: > James Harkins 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-). > 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