[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master b4f504a0ea: Load desktop without prompting if process is dead
From: |
Eli Zaretskii |
Subject: |
Re: master b4f504a0ea: Load desktop without prompting if process is dead |
Date: |
Sat, 26 Mar 2022 10:30:11 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: emacs-devel@gnu.org
> Date: Fri, 25 Mar 2022 16:28:30 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > This assumes that command-line-args resolves symlinks in the Emacs
> > program's name? Or that the 'comm' attribute in process-attributes
> > does NOT resolve symlinks? Because otherwise the above will cause
> > false negatives.
>
> It's a heuristic -- I don't think there's any real way to reliably find
> other running Emacs processes. They could be called anything. But
> it'll work in the default case, which is what matters here, I think.
>
> > And on Windows, there's the issue of the ".exe"
> > extension, which could be in one, but not the other, I think?
>
> Yes, perhaps that should be adjusted.
I installed a fix, please take a look.