Hello,
I'm trying to evaluate an expression via `emacsclient' (from a Zsh shell),
for example:
--8<---------------cut here---------------start------------->8---
$ emacsclient -e "(message \"hello\")"
--8<---------------cut here---------------end--------------->8---
But all I get is:
*ERROR*: End of file during parsing
Using `bash -x', I see that's due to a quoting problem:
--8<---------------cut here---------------start------------->8---
$ bash -x emacsclient -e "(message \"hello\")"
+ 'C:/Program Files (x86)/emacs-trunk/bin/emacsclient' -e '(message' '"hello")'
*ERROR*: End of file during parsing
$ bash -x emacsclient -e '(message \"hello\")'
+ 'C:/Program Files (x86)/emacs-trunk/bin/emacsclient' -e '(message'
'\"hello\")'
*ERROR*: End of file during parsing
$ bash -x emacsclient -e \"(message \"hello\")\"
zsh: no matches found: "(message "hello")"
$ bash -x emacsclient "-e \"(message \"hello\")\""
+ 'C:/Program Files (x86)/emacs-trunk/bin/emacsclient' -e '"(message'
'"hello")"'
*ERROR*: End of file during parsing
--8<---------------cut here---------------end--------------->8---
But I don't see how to pass the right expression to `emacsclient'. Is there
anybody able to help me sort this out? TIA!
Best regards,
Seb