all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: 10989@debbugs.gnu.org
Subject: bug#10989: --eval block sent to server don't handle errors quite right
Date: Sun, 11 Mar 2012 12:07:10 +0800	[thread overview]
Message-ID: <CAM=K+ipwknTG3VDCe=nqR297AxG3y-Q6sL8FBPWHi+3w5OFyPw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

To wit:

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

~ [le-master]
% emacsclient --eval "(error
\"foo\")"
Sun 12:03:07
*ERROR*: foo

This is okay.

~ [le-master]
% emacsclient  --eval "(error
\"foo\")"
Sun 12:05:16
*ERROR*: foo

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


So it only handles (signal 'error).

-- 
Le

[-- Attachment #2: Type: text/html, Size: 923 bytes --]

             reply	other threads:[~2012-03-11  4:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11  4:07 Le Wang [this message]
2012-03-11 11:55 ` bug#10989: --eval block sent to server don't handle errors quite right Andreas Schwab
2012-03-11 13:24   ` Le Wang
2012-03-12 16:11     ` Le Wang
2012-03-12 17:30       ` Andreas Schwab
2012-03-13 13:23         ` Le Wang
2012-03-13 13:48           ` Andreas Schwab
2018-09-04 23:07       ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM=K+ipwknTG3VDCe=nqR297AxG3y-Q6sL8FBPWHi+3w5OFyPw@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=10989@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.