help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Skipping installation of .el.gz files


From: Emanuel Berg
Subject: Re: Skipping installation of .el.gz files
Date: Mon, 23 Oct 2023 22:57:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Spencer Baugh wrote:

>> No, because the source directory could hold code different
>> from the one which was used to install the files under
>> /usr/share. Think about Emacs installed from a Git
>> repository that got many updates after that, for example.
>
> Yes. And this is an issue today for jumping to the
> definitions of functions in C files, since those are not
> packaged with Emacs. Today, that is broken out of the box if
> source-directory is still around.
>
> So if you think this behavior is bad, then should we fix it
> to not happen for the case of C files? Perhaps by clearing
> source-directory when Emacs is installed, so that Emacs
> cannot find obsolete C files out of the Git repository?

When you say install, do you mean with a package manager?
If so, shouldn't the Git files rather than obsolete be more
updated than what you get from the distribution's repository?

If you OTOH mean build from source, doesn't that mean the
files and references to functions etc are always in sync with
the files?

Unless you get new source after that and then don't install
it? But then the source again isn't obsolete, rather it
belongs to the future compared to the install.

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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