From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: when emacs gets interrupted Date: Mon, 17 Feb 2003 10:53:28 -0700 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3E512198.6020400@ihs.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045504499 18653 80.91.224.249 (17 Feb 2003 17:54:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 17:54:59 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18kpTk-0004qD-00 for ; Mon, 17 Feb 2003 18:54:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kpUJ-0000Bb-01 for gnu-bug-gnu-emacs@m.gmane.org; Mon, 17 Feb 2003 12:55:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18kpU1-0000AA-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 17 Feb 2003 12:55:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18kpTV-0008WJ-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 17 Feb 2003 12:55:12 -0500 Original-Received: from horus.isnic.is ([193.4.58.12]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kpTU-0008VY-00 for bug-gnu-emacs@prep.ai.mit.edu; Mon, 17 Feb 2003 12:54:40 -0500 Original-Received: from mail.fu-berlin.de (root@mail.fu-berlin.de [160.45.11.165]) by horus.isnic.is (8.12.3/8.12.3/isnic) with ESMTP id h1HHrTtJ031299 for ; Mon, 17 Feb 2003 17:53:30 GMT (envelope-from kevin.rodgers@ihs.com) Original-Received: by mail.fu-berlin.de (Smail3.2.0.98) from Curry.ZEDAT.FU-Berlin.DE (160.45.10.36) with esmtp id ; Mon, 17 Feb 2003 18:53:29 +0100 (MET) Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.fu-berlin.de with bsmtp id ; Mon, 17 Feb 2003 18:53:28 +0100 (MET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: 170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 33 X-Orig-NNTP-Posting-Host: 170.207.51.80 X-Orig-X-Trace: fu-berlin.de 1045504407 49264544 170.207.51.80 (16 [82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4478 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4478 Dan Jacobson wrote: > Can you please do something about when ones does > $ emacs #which starts emacs in another window > C-c #which kills emacs > > Why can't you ask there in the shell 'are you serious?' Because that is the behavior I expect. When I send SIGINT to a process, I want it to terminate. Perhaps you should write your own script that traps SIGINT before calling Emacs, and handles the signal the way you want. > As an example of the crap effects, > $ emacs file #and in that file type 3 short lines, then back in the shell: > C-c > > Where did your three lines go? not even a #file# backup! > Why can't you at least auto-save when you get such a signal? > Isn't that a wonderful time for an auto-save? I suspect you did not reach the auto-save threshold. Try decreasing auto-save-interval. -- Kevin Rodgers