Closed wallacewinfrey closed 8 years ago
Thanks for the bug report. I would prefer user does not need to do any additional setup for this to work, let me research a bit and see if I can automatically handle this case otherwise I would add a user-definable value.
I think restart-emacs
can always use runemacs.exe
on Windows. Is there is any use case for using emacs.exe
instead of runemacs.exe
?
I have pushed a commit to always use runemacs.exe
on Windows. Please try it when MELPA builds and report back.
Hi,
I am closing this, feel free to reopen if you think the issue is not resolved
Thanks
I'm trying to use
restart-emacs
with win32 emacs (specifically,GNU Emacs 25.0.50.1 (x86_64-w64-mingw32)
) and the process is not restarting the correct emacs binary.I use the
runemacs.exe
binary to launch emacs, not the regularemacs.exe
. Unfortunately, it looks like function that gets the "absolute path to binary of currently running Emacs",restart-emacs--get-emacs-binary
doesn't get the right binary name due to the fact thatrunemacs.exe
is, I believe, a launcher program that forks offemacs.exe
in a specific mode and exits.Would it be possible to make this a user-definable value? I did try removing the console window with
editbin.exe
(as mentioned in this reddit post) buteditbin.exe
wouldn't open the file (maybe because it was built with mingw? I dunno).