bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12697: 24.2; Emacs crashes when using it as the commit editor for gi


From: Andreas Schwab
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]