unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* when emacs gets interrupted
@ 2003-02-16  4:56 Dan Jacobson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Jacobson @ 2003-02-16  4:56 UTC (permalink / raw)


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?'

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? Sure,
$ emacs&disown
is what we are supposed to do perhaps, but still, where's that safety
net?  I didn't do kill -9 you know.

The problem occurs mostly when the user gets his background jobs
confused, but that's besides the point.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: when emacs gets interrupted
       [not found] <mailman.2003.1045379721.21513.bug-gnu-emacs@gnu.org>
@ 2003-02-17 17:53 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-02-17 17:53 UTC (permalink / raw)


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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-17 17:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-16  4:56 when emacs gets interrupted Dan Jacobson
     [not found] <mailman.2003.1045379721.21513.bug-gnu-emacs@gnu.org>
2003-02-17 17:53 ` Kevin Rodgers

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).