[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding the dump
From: |
Robert Pluim |
Subject: |
Re: Finding the dump |
Date: |
Wed, 23 Jan 2019 14:46:01 +0100 |
Stefan Monnier <address@hidden> writes:
> The new pdumper code is very welcome, but of course it introduces some
> regressions and new problems:
>
> - When I start my Emacs, it now says
>
> Loading loadup.el (source)...
> dump mode: nil
> [...]
>
> and goes on to (re)load the loadup.el instead of using the .pdmp file
>
> This is because I run my Emacs via a symlink, and load_pdump is not
> careful to try and follow symlinks while looking for the .pdmp next to
> the executable. I think we should try and handle the use case rather
> than requiring the user to make a second matching symlink to the
> pdmp file.
>
> - I wonder what distributions like Debian will say about having a .pdmp
> file in /usr/bin (AFAICT they normally only have executable files in
> there). While we can let them hack their solution if they want to
> keep the dumps elsewhere, maybe we should directly add support for
> having dumps elsewhere since that might be useful in general.
>
> E.g., I think we should also search for the pdmp files in exec-directory.
>
Doesnʼt the current code look in PATH_EXEC, which in my build is
/usr/local/libexec/emacs?
Robert