From: Jim Porter <jporterbugs@gmail.com>
To: Max Nikulin <manikulin@gmail.com>, 59743@debbugs.gnu.org
Subject: bug#59743: Implement `command-line-args-left' for emacsclient --eval expressions
Date: Thu, 1 Dec 2022 18:16:25 -0800 [thread overview]
Message-ID: <29ab47d9-507a-08ae-9b40-0662168eb9cb@gmail.com> (raw)
In-Reply-To: <438a7286-ee4c-74a1-c24b-d788a6507ad6@gmail.com>
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.
prev parent reply other threads:[~2022-12-02 2:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-01 15:06 bug#59743: Implement `command-line-args-left' for emacsclient --eval expressions Max Nikulin
2022-12-02 2:16 ` Jim Porter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29ab47d9-507a-08ae-9b40-0662168eb9cb@gmail.com \
--to=jporterbugs@gmail.com \
--cc=59743@debbugs.gnu.org \
--cc=manikulin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.