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

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

Re: when emacs gets interrupted


From: Kevin Rodgers
Subject: Re: when emacs gets interrupted
Date: Mon, 17 Feb 2003 10:53:28 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

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.


--
<a href="mailto:&lt;kevin.rodgers&#64;ihs.com&gt;";>Kevin Rodgers</a>





reply via email to

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