emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el


From: David Masterson
Subject: Re: [PATCH] Autoload `org-assert-version' and remove org-loaddefs.el
Date: Mon, 05 Dec 2022 23:13:33 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

<tomas@tuxteam.de> writes:

> On Mon, Dec 05, 2022 at 07:54:25PM -0800, David Masterson wrote:
>
>> Question: which end of load-path is "front" if you look at load-path via
>> describe-variable?  It's been far too long since my days of Elisp
>> hacking.
>
> This goes "left to right" when looking at it on a conventional
> display. The first hit "wins".

So I did have it backwards.  Hmm.

> [...]
> meaning that Emacs first looks in my personal directories, then
> in the system local ones (I have a "locally" installed Emacs
> from the distribution's POV).
>
> The distribution's directories would go even later, were there
> any.

But this is a matter of when things are added to load-path.  If
something from the distribution is loaded before you setup your
load-path (before ,emacs), it gets very difficult to override it locally
(somewhat by design).  The load can also happen by dependency loads
before you get to setting up your local (Org) package.

I'll have to test when the distribution org is getting loaded.

Thanks

-- 
David Masterson



reply via email to

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