[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Correct Paths to Emacs C Sources after Installation
From: |
Eli Zaretskii |
Subject: |
Re: Fwd: Correct Paths to Emacs C Sources after Installation |
Date: |
Tue, 04 Nov 2014 17:43:51 +0200 |
> Date: Mon, 3 Nov 2014 22:31:15 +0100
> From: Alexander Shukaev <haroogan@gmail.com>
>
> Wouldn't it be safer to patch:
>
> Vsource_directory
> = Fexpand_file_name (build_string ("../"),
> Fcar (decode_env_path (0, PATH_DUMPLOADSEARCH, 0)));
>
> into something that will expand the path from the Emacs executable +
> "../src/emacs" at run time?
You mean, by default? No, because such a default will never be
correct, except (evidently) in your very special use case.
Moreover, the resulting directory will not be version-specific, so it
is wrong even in your case, because the next installation will
overwrite the source tree, and older Emacs binaries will not find
their matching sources.
> And possibly ask build system to copy sources there.
No other project installs sources, so this would be unusual.
- Re: Correct Paths to Emacs C Sources after Installation, (continued)
- Re: Correct Paths to Emacs C Sources after Installation, Alexander Shukaev, 2014/11/04
- Re: Correct Paths to Emacs C Sources after Installation, Glenn Morris, 2014/11/04
- Re: Correct Paths to Emacs C Sources after Installation, Alexander Shukaev, 2014/11/04
- Re: Correct Paths to Emacs C Sources after Installation, Bob Proulx, 2014/11/04
- Re: Correct Paths to Emacs C Sources after Installation, Yuri Khan, 2014/11/04
- Message not available
- Re: Correct Paths to Emacs C Sources after Installation, Ted Zlatanov, 2014/11/05
- Re: Correct Paths to Emacs C Sources after Installation, Stefan Monnier, 2014/11/04
- Message not available
- Re: Correct Paths to Emacs C Sources after Installation, Jason Rumney, 2014/11/06
- Message not available
- Re: Correct Paths to Emacs C Sources after Installation, Stefan Monnier, 2014/11/04
- Re: Correct Paths to Emacs C Sources after Installation, Eli Zaretskii, 2014/11/04
- Re: Fwd: Correct Paths to Emacs C Sources after Installation,
Eli Zaretskii <=