From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthew Leach Newsgroups: gmane.emacs.bugs Subject: bug#12697: 24.2; Emacs crashes when using it as the commit editor for git Date: Sun, 21 Oct 2012 21:17:50 +0100 Message-ID: <87vce38tqp.fsf@matt-laptop.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350870924 16887 80.91.229.3 (22 Oct 2012 01:55:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2012 01:55:24 +0000 (UTC) To: 12697@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 22 03:55:32 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TQ7Ep-0007G7-Pz for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Oct 2012 03:55:32 +0200 Original-Received: from localhost ([::1]:53351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ7Eh-0002d5-Vv for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2012 21:55:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ7Ee-0002ck-En for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 21:55:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQ7Ed-0001eC-Ag for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 21:55:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ7Ed-0001e8-7C for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 21:55:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TQ7GI-0003Oy-Fd for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 21:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthew Leach Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Oct 2012 01:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12697 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135087099713037 (code B ref -1); Mon, 22 Oct 2012 01:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Oct 2012 01:56:37 +0000 Original-Received: from localhost ([127.0.0.1]:54743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQ7Fr-0003O9-Ho for submit@debbugs.gnu.org; Sun, 21 Oct 2012 21:56:37 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48490) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQ20I-0004KX-GS for submit@debbugs.gnu.org; Sun, 21 Oct 2012 16:20:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQ1yX-0003dM-Ld for submit@debbugs.gnu.org; Sun, 21 Oct 2012 16:18:22 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:53149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ1yX-0003dA-Ii for submit@debbugs.gnu.org; Sun, 21 Oct 2012 16:18:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ1yW-0003Hv-5j for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 16:18:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQ1yU-0003bP-GK for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 16:18:20 -0400 Original-Received: from anakin.london.02.net ([87.194.255.134]:58373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ1yU-0003aT-6U for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 16:18:18 -0400 Original-Received: from mail.mattleach.net (93.97.29.167) by anakin.london.02.net (8.5.140) id 4FED9D1502ACEE7C for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 21:18:16 +0100 Original-Received: by mail.mattleach.net (Postfix, from userid 99) id 69D497EC27; Sun, 21 Oct 2012 21:18:19 +0100 (BST) Original-Received: from matt-laptop (matt-laptop.leach.local [192.168.0.20]) by mail.mattleach.net (Postfix) with ESMTPSA id 157DD7EC03 for ; Sun, 21 Oct 2012 21:18:16 +0100 (BST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 21 Oct 2012 21:56:34 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65830 Archived-At: 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 crash and not shut down correctly as the console is not reset properly and text from the buffer remains on the screen when I am returned to a terminal prompt. I am using git version 1.7.12.4 In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.4) of 2012-08-28 on shaun Windowing system distributor `The X.Org Foundation', version 11.0.11300000 Configured using: `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils edmacro kmacro tango-dark-theme paren ido time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)