all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Renaud Casenave-Péré" <renaud@casenave-pere.fr>
To: emacs-devel@gnu.org
Subject: Re: Interrupting an emacs server from outside emacs
Date: Thu, 16 May 2013 22:10:09 +0900	[thread overview]
Message-ID: <87ip2j1366.fsf@zahikel.casenave.fr> (raw)
In-Reply-To: <87sj1nytrh.fsf@dex.adm.naquadah.org> (Julien Danjou's message of "Thu, 16 May 2013 14:49:22 +0200")

On Thu, May 16 2013, Julien Danjou wrote:

> IIRC, it has already been discussed on this list.
> I think you're looking for `debug-on-event' which by default allow you
> to send SIGUSR2 to emacs to get a debug backtrace.

Well… It does work.
This would need some cleanup as it enters the debugger, but a simple

emacsclient -e "(exit-recursive-edit)"

seems to do the trick.
I will keep this solution if nobody objects.

Thanks for the quick reply!

-- 
Renaud Casenave-Péré



      reply	other threads:[~2013-05-16 13:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-16 12:04 Interrupting an emacs server from outside emacs Renaud Casenave-Péré
2013-05-16 12:49 ` Julien Danjou
2013-05-16 13:10   ` Renaud Casenave-Péré [this message]

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=87ip2j1366.fsf@zahikel.casenave.fr \
    --to=renaud@casenave-pere.fr \
    --cc=emacs-devel@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.