all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Le Wang <l26wang@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 10989@debbugs.gnu.org
Subject: bug#10989: --eval block sent to server don't handle errors quite right
Date: Tue, 13 Mar 2012 00:11:40 +0800	[thread overview]
Message-ID: <CAM=K+iqucE7TQOVgnDee6Yiz67z9VUaPpodEYqnH=YNMkkHkbw@mail.gmail.com> (raw)
In-Reply-To: <CAM=K+ire7v+s6Uf1VLpb=_FMTq-0WWZFsS2aebXSsqUw0HY96w@mail.gmail.com>

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

On Sun, Mar 11, 2012 at 9:24 PM, Le Wang <l26wang@gmail.com> 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

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

  reply	other threads:[~2012-03-12 16:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-11  4:07 bug#10989: --eval block sent to server don't handle errors quite right Le Wang
2012-03-11 11:55 ` Andreas Schwab
2012-03-11 13:24   ` Le Wang
2012-03-12 16:11     ` Le Wang [this message]
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+iqucE7TQOVgnDee6Yiz67z9VUaPpodEYqnH=YNMkkHkbw@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=10989@debbugs.gnu.org \
    --cc=schwab@linux-m68k.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.