Subject: Re: bug#10989: --eval block sent to server don't handle errors quite right

From: Le Wang <[email-masked]>
Date: Tue, 13 Mar 2012 00:11:40 +0800

On Sun, Mar 11, 2012 at 9:24 PM, Le Wang <[email-masked]> wrote:

I mis-edited the original bug report, it should be this:

~ [le-master]
% /Applications/Emacs.app/Contents/MacOS/Emacs --daemon -q -eval
"(server-start)"                                     Tue 00:09:31
("/Applications/Emacs.app/Contents/MacOS/Emacs" "-eval" "(server-start)")
Starting Emacs daemon.
Restarting server

~ [le-master]
% emacsclient --eval "(error
\"foo\")"
Tue 00:09:41
*ERROR*: foo

~ [le-master]
% emacsclient  --eval "(signal 'foo
nil)"
Tue 00:09:53
^C

hangs I have to C-c to break out of it

So it only handles (signal 'error).

-- 
Le