emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: right customization


From: Carsten Dominik
Subject: [Orgmode] Re: right customization
Date: Thu, 4 Nov 2010 11:00:16 +0100


On Nov 4, 2010, at 10:54 AM, Andreas Röhler wrote:

Am 04.11.2010 09:29, schrieb Carsten Dominik:

On Nov 4, 2010, at 8:16 AM, Andreas Röhler wrote:



Hi Carsten,

thanks. Error was in my way to load the devel version

Have been told to follow instructions and load

;; (load "~/org-mode/lisp/org-install.elc")

By who?

the right customization is

(require 'org-install).

Hi Carsten,

that surprises me.

AFAIU

(require

only loads a feature, if it's not present already.
As my distributed Emacs comes with an --basically empty--
org-install.el, which provides it (but does nothing in reality, then
sending a "provide"), I'd be afraid its done here.

Hi Andreas,

also the org-install.el that comes with Emacs is only loded when you (or
some other package) issues a require.


So I'm nearly drowned.
In my imagination an explicite "load" overwrites the symbols unconditionally,
while "require" does a check.


This is correct, it does. However, if you path is not setup correctly, things will *still* fail after that. You were saying that this is the recommended way which it is not. And it is a misconception to assume that all files that come with Emacs will always be loaded....

- Carsten




reply via email to

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