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

From: Peter Oliver <[email-masked]>
Date: Fri, 16 Sep 2022 17:18:39 +0100 (BST)

On Fri, 16 Sep 2022, Gregory Heytings wrote:

> And why is the above easier / better than
>
> emacsclient --eval '(progn (fun1 arg1 arg2) (fun2 arg3))'

Because, with this, you have to correctly format the arguments with appropriate quoting into a lisp program, rather than just passing them straight in.  If the arguments are input from something else, this is harder than it appears.  Bad quoting is a common source of bugs (things like SQL injection, for example).

-- 
Peter Oliver