Subject: Re: bug#57752: 28.1.91; emacsclient-mail.desktop doesn't work for me

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 16 Sep 2022 12:14:33 +0200

Robert Pluim <[email-masked]> writes:

>     Lars> I've idly wondered before whether we should add a general
>     Lars> mechanism for
>     Lars> this to avoid having to create functions that look at
>     Lars> `command-line-args-left' themselves.  (And --eval is problematic in
>     Lars> circumstances like this.)
>
> emacsclient interprets
>
>     emacsclient arg1 arg2 --eval (form1) (form2) (form3)
>
> as "send (form1), then (form2) then (form3), so by analogy this:
>
>     Lars> --function foo --function-args bar zot gazonk
>
> doesnʼt require a --function-args parameter

I was thinking first and foremost about on the Emacs side, not on the
emacsside client.  But if then Emacs had --function-args, then by
analogy, emacsclient should also have it.