GNU bug report logs -
#65902
29.0.92; emacsclient-mail.desktop fails due to complicated escaping
Previous Next
Reported by: sbaugh <at> catern.com
Date: Wed, 13 Sep 2023 02:25:01 UTC
Severity: normal
Tags: patch
Found in version 29.0.92
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
sbaugh <at> catern.com writes:
> - Finally, a fourth approach is to teach emacsclient to be able to send
> this arbitrary data to Emacs on its own. Such as by adding --apply.
> There are a bunch of designs for that, but all of them require
> modifying emacsclient.
BTW, if this specific approach of --apply seems inelegant to you, I
could make a different design work. As long as Lisp code gets direct
access to the arguments as strings, without needing escaping.
One person in the previous thread proposed making a
command-line-args-left equivalent for emacsclient. If we did this, it
wouldn't require adding any new arguments to the emacsclient interface.
This could be called server-eval-args-left, so that --apply could be
done instead as:
emacsclient --eval
'(progn (apply func server-eval-args-left) (setq server-eval-args-left nil))'
arg1 arg2
I can do that if you prefer that, but it will require some more
significant changes to the internals (because currently server.el
processes -eval commands one at a time and doesn't have access to the
subsequent ones).
This bug report was last modified 1 year and 205 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.