unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: matthew@mattleach.net, 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 19:39:55 +0200	[thread overview]
Message-ID: <m2d30az9qs.fsf@igel.home> (raw)
In-Reply-To: <83k3uictso.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 22 Oct 2012 19:15:19 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> 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
>
> Shouldn't git block SIGINT when it invokes $EDITOR?

Maybe.  Perhaps the OP should report it to the git list.

>> now that emacs no longer puts itself and the terminal into its own
>> process group.
>
> Did we have good reason to stop doing that?

IMHO no.  All the BSD_PGRPS stuff was removed on the premise that it
wasn't used any more, but disabling BSD_PGRPS in s/gnu-linux.h was
already questionable.

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 17:39 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
2012-10-22 17:15   ` Eli Zaretskii
2012-10-22 17:39     ` Andreas Schwab [this message]
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=m2d30az9qs.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=12697@debbugs.gnu.org \
    --cc=eliz@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).