bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25082: [PATCH] Add support to emacsclient for command-lline options


From: Eli Zaretskii
Subject: bug#25082: [PATCH] Add support to emacsclient for command-lline options in ALTERNATE_EDITOR/--alternate-editor
Date: Wed, 30 Aug 2017 19:48:12 +0300

> From: Reuben Thomas <rrt@sc3d.org>
> Date: Tue, 29 Aug 2017 23:29:24 +0100
> Cc: Glenn Morris <rgm@gnu.org>, 25082@debbugs.gnu.org
> 
> I attach an updated patch with the documentation changes (to manual and 
> NEWS).​
LGTM, thanks.

>  The issue I alluded to is a subtle misfeature in the Windows
>  implementation of execvp (and similar Posix functions): the arguments
>  you pass via the argv array get concatenated into a single
>  command-line string, and that string is passed to the Windows system
>  API that actually invokes the program. So argv[] elements that
>  include whitespace need to be quoted(!) to work correctly on
>  MS-Windows. (Of course, this quoting must be ifdef'ed away for Posix
>  platforms.)
> 
> ​I see, thanks for the explanation. Doesn't w32_execvp handle this already?

Indeed, it does.  Thanks for reminding we already had that covered.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]