GNU bug report logs - #37608
Patch for support in emacsclient for command-lline options in ALTERNATE_EDITOR breaks quoted paths on Windows

Previous Next

Package: emacs;

Reported by: Wilson Pete <Pete.Wilson <at> LPNT.net>

Date: Thu, 3 Oct 2019 17:41:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Wilson Pete <Pete.Wilson <at> LPNT.net>
To: 37608 <at> debbugs.gnu.org
Subject: bug#37608: Patch for support in emacsclient for command-lline options in ALTERNATE_EDITOR breaks quoted paths on Windows
Date: Thu, 3 Oct 2019 17:40:28 +0000
The patch for bug #25082 appears to have broken quoted paths being passed to emacsclientw on Windows.

w32_execvp doesn’t handle this because it doesn’t quote the path argument to execvp (ultimately to CreateProcess?).

So the patch prevents any possibility of passing a path with spaces as the alternate editor on Windows.

It would have been nice (perhaps) if this had been made a new different command line switch.

Pete Wilson


The information transmitted via this e-mail is intended only for the person or entity to which it is addressed and may contain confidential and/or proprietary information. Any use, review, retransmission, dissemination or other use of, or pursuing of any action in reliance upon this information by persons or entities other than the intended recipient is strictly prohibited. If you are the recipient of this e-mail transmission in error, please reply to the sender and delete the material from any computer. Thank you.

This bug report was last modified 5 years and 254 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.