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

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

Re: Correct Paths to Emacs C Sources after Installation


From: Stefan Monnier
Subject: Re: Correct Paths to Emacs C Sources after Installation
Date: Tue, 04 Nov 2014 10:02:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>    these sources it was built from.  I think nobody can deny that it's
>    pretty much a convention to distribute open-source project sources
>    under ".../src/name" (for potential further usage or reference like
>    we have in this case as well).

I haven't paid attention, so maybe it is a wide-spread convention, but
although I can't deny your claim, I do need some convincing.

Can you give "typical examples" where (expand-file-name "../src/emacs"
invocation-directory) will give the right result?

>    2. I build and install Emacs, then I package it and distribute to
>    end users.  Why on Earth should the path to the build directory
>    (which obviously does not exist on end users' machines) that I used
>    be hard coded into "Vsource_directory"?

This is done under the assumption that a common case is when Emacs was
built locally.  And I think it's more common for Emacs to be built
locally, compared to the situation where the user installed
a precompiled package and then fetched the sources.


        Stefan



reply via email to

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