GNU bug report logs - #12697
24.2; Emacs crashes when using it as the commit editor for git

Previous Next

Package: emacs;

Reported by: Matthew Leach <matthew <at> mattleach.net>

Date: Mon, 22 Oct 2012 01:57:02 UTC

Severity: important

Tags: patch

Found in version 24.2

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 12697 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Matthew Leach <matthew <at> mattleach.net>
Cc: 12697 <at> debbugs.gnu.org
Subject: Re: bug#12697: 24.2;
	Emacs crashes when using it as the commit editor for git
Date: Mon, 22 Oct 2012 10:26:35 +0200
Matthew Leach <matthew <at> 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 <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 12 years and 264 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.