[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem quoting expression to be eval'ed by emacsclient
From: |
Sebastien Vauban |
Subject: |
Problem quoting expression to be eval'ed by emacsclient |
Date: |
Wed, 23 Oct 2013 10:33:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
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
--
Sebastien Vauban
- Problem quoting expression to be eval'ed by emacsclient,
Sebastien Vauban <=
- Re: Problem quoting expression to be eval'ed by emacsclient, Thorsten Jolitz, 2013/10/23
- Re: Problem quoting expression to be eval'ed by emacsclient, Tassilo Horn, 2013/10/23
- Re: Problem quoting expression to be eval'ed by emacsclient, Eli Zaretskii, 2013/10/23
- Message not available
- Re: Problem quoting expression to be eval'ed by emacsclient, Sebastien Vauban, 2013/10/23
- Re: Problem quoting expression to be eval'ed by emacsclient, Eli Zaretskii, 2013/10/23
- Message not available
- Re: Problem quoting expression to be eval'ed by emacsclient, Sebastien Vauban, 2013/10/25
- Re: Problem quoting expression to be eval'ed by emacsclient, Eli Zaretskii, 2013/10/25
- Message not available
- Re: Problem quoting expression to be eval'ed by emacsclient, Sebastien Vauban, 2013/10/30
- Re: Problem quoting expression to be eval'ed by emacsclient, Stefan Monnier, 2013/10/30
- Re: Problem quoting expression to be eval'ed by emacsclient, Eli Zaretskii, 2013/10/30