On 12/14/2021 2:01 PM, Bhavin Gandhi wrote:
As the comment from load_pdump_find_executable explains, there are
setups where the /usr/bin/emacs is a symlink managed by something like
alternatives. This symlink eventually points to an Emacs binary like
emacs-28.0.90. These kind of setups are used to have installation of
multiple versions of Emacs on the same system.
This is exactly the setup that I use on Cygwin, as I alluded to in my message to
the other bug report. But I didn't mention there that I use symlinks managed by
alternatives.
Supporting resolution of these symlinks while searching for a .pdmp file
will make it possible to put the .pdmp files in libexecdir instead of
putting those in the /usr/bin/. I think this should be in addition to
the possibilities tried currently.
Yes. It's precisely because the symlinks aren't resolved that I've been putting
the .pdmp files in /usr/bin, alongside the emacs executables.