unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Matthew Leach <matthew@mattleach.net>
Cc: 12697@debbugs.gnu.org
Subject: bug#12697: 24.2; Emacs crashes when using it as the commit editor for git
Date: Mon, 22 Oct 2012 10:26:35 +0200	[thread overview]
Message-ID: <m24nlmsyis.fsf@igel.home> (raw)
In-Reply-To: <87vce38tqp.fsf@matt-laptop.i-did-not-set--mail-host-address--so-tickle-me> (Matthew Leach's message of "Sun, 21 Oct 2012 21:17:50 +0100")

Matthew Leach <matthew@mattleach.net> writes:

> When I use Emacs as the editor for commit messages in git, by way of
> setting the EDITOR environment variable, i.e. "export EDITOR='emacs -nw
> '" in my .bashrc, if I press C-g when Emacs opens this causes Emacs to

C-g in emacs -nw is equivalent to SIGINT on the controlling terminal.
This causes all processes in the same process group to receive SIGINT,
which includes the parent git process, now that emacs no longer puts
itself and the terminal into its own process group.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





  reply	other threads:[~2012-10-22  8:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-21 20:17 bug#12697: 24.2; Emacs crashes when using it as the commit editor for git Matthew Leach
2012-10-22  8:26 ` Andreas Schwab [this message]
2012-10-22 17:15   ` Eli Zaretskii
2012-10-22 17:39     ` Andreas Schwab
2012-10-22 20:22       ` Eli Zaretskii
2012-10-22 21:34         ` Andreas Schwab
2012-10-27  5:31 ` bug#12697: " Paul Eggert
2012-10-27  7:52   ` Eli Zaretskii
2012-10-28 18:57     ` Paul Eggert
2012-10-31 17:28 ` Paul Eggert

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m24nlmsyis.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=12697@debbugs.gnu.org \
    --cc=matthew@mattleach.net \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).