GNU bug report logs - #59743
Implement `command-line-args-left' for emacsclient --eval expressions

Previous Next

Package: emacs;

Reported by: Max Nikulin <manikulin <at> gmail.com>

Date: Thu, 1 Dec 2022 15:07:02 UTC

Severity: normal

Merged with 57752

Found in version 28.1.91

Full log


Message #8 received at 59743 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Max Nikulin <manikulin <at> gmail.com>, 59743 <at> debbugs.gnu.org
Subject: Re: bug#59743: Implement `command-line-args-left' for emacsclient
 --eval expressions
Date: Thu, 1 Dec 2022 18:16:25 -0800
On 12/1/2022 7:06 AM, Max Nikulin wrote:
> I propose to expand protocol of communication between emacsclient and 
> server to allow passing of arbitrary arguments for --eval expression
> that are not treated as files. The goal is to pass strings to evaluated 
> expressions in a safe way without necessity of escaping double quotes 
> and backslashes.
> 
> I suggest to add e,g, --args option of emacsclient that transfers 
> everything after it (including arguments starting with dash) to server 
> and causes let-binding the list to command-line-args-left (or another 
> variable) before execution of preceding --eval options.

I believe this is a duplicate of bug#57752, where I and several others 
previously discussed a few options to solve this.




This bug report was last modified 1 year and 284 days ago.

Previous Next


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