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: Eli Zaretskii <eliz <at> gnu.org>
To: Wilson Pete <Pete.Wilson <at> LPNT.net>
Cc: 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, 03 Oct 2019 21:37:35 +0300
> From: Wilson Pete <Pete.Wilson <at> LPNT.net>
> 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.

Could you please show a (non-)working example where this problem can
be seen?

Thanks.




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

Previous Next


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