all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Roy Smith <roy@panix.com>
To: help-gnu-emacs@gnu.org
Subject: Emacs quitting on Control-G when committing to mercurial
Date: Mon, 21 May 2012 07:31:39 -0400	[thread overview]
Message-ID: <D38FBE1C-45CF-4BBF-8AD7-7C32653C1FFE@panix.com> (raw)

I'm running:

GNU Emacs 22.1.1
OSX-10.6.8
Mercurial Distributed SCM (version 1.6.4+20101001)

If I do "hg commit", emacs is run as I would expect, but if I type a Control-G, I get an "interrupted!" message, and emacs quits (leaving the terminal modes unrestored).

Running ps shows that the command being executed is:

    emacs -nw /var/folders/p5/p5Gj6NRtF-yAXT+X0YVgJU+++TM/-Tmp-/hg-editor-wQEeGG.txt

If I run that manually, I get normal operation.  I assume there's something funky about the environment in which emacs is being executed, but I can't figure out what that might be.  Any ideas?

It doesn't seem to be related to the buffer; I get the same problem in other buffers.  M-X make command summary shows, for both the normal and broken situations:

    C-g             keyboard-quit            <JISX0208>     self-insert-command

--
Roy Smith
roy@panix.com




             reply	other threads:[~2012-05-21 11:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-21 11:31 Roy Smith [this message]
2012-05-22  0:05 ` Emacs quitting on Control-G when committing to mercurial Matt McClure
2012-05-22  0:34   ` Roy Smith

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=D38FBE1C-45CF-4BBF-8AD7-7C32653C1FFE@panix.com \
    --to=roy@panix.com \
    --cc=help-gnu-emacs@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.