emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Project out of sources compilation


From: Ergus
Subject: Re: [PATCH] Project out of sources compilation
Date: Thu, 4 Apr 2024 14:34:16 +0200

On Thu, Apr 04, 2024 at 02:59:27PM +0300, Eli Zaretskii wrote:
Date: Thu, 04 Apr 2024 11:59:29 +0200
From: Ergus <spacibba@aol.com>
CC: Hi-Angel@yandex.ru, rms@gnu.org, dmitry@gutov.dev, emacs-devel@gnu.org

>> Finally when executing from build1 it may be possible to access the
>> version of project.elc used when the project was compiled in that
>> directory... independently of if I changed project.el latter and
>> compiled in build2. Latter actions in source + compilation in build2
>> should not affect the consistency of build1.
>
>You are talking about modifying project.el while it is being used by a
>running Emacs session?  In that case, all bets are off, I think.

No I mean having two emacs builds in different subdirectories. For example one 
compiled before  certain change and the other after

You are saying that Emacs can load project.elc from a wrong directory?
Any reproducible recipe for that?

No Eli:

That's not what I mean.

Ex:

mkdir build1 && cd build1 && ../configure ... && make
cd ..

edit project.el
mkdir build2 && cd build2 && ../configure ... && make
cd ..

build1/src/emacs -Q

This will load the new elc, not the one used when it was compiled in
spite of we have not recompiled in that build dir.





reply via email to

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