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

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

Re: Protecting buffers which aren't visiting files


From: Jeff Rancier
Subject: Re: Protecting buffers which aren't visiting files
Date: Mon, 25 Oct 2010 08:37:30 -0700 (PDT)

Can you configure 'desktop' to save these buffers?


----- Original Message ----
From: Andrea Crotti <andrea.crotti.0@gmail.com>
To: help-gnu-emacs@gnu.org
Sent: Mon, October 25, 2010 11:28:07 AM
Subject: Re: Protecting buffers which aren't visiting files

"Otto Maddox" <ottomaddox@fastmail.fm> writes:

> I use a lot of scratch buffers (which don't visit files), and I've lost
> a lot of work due to accidentally quitting Emacs or killing those
> buffers, because Emacs doesn't ask for confirmation. Is there a way of
> configuring Emacs to treat buffers which don't visit files the same way
> as file-visiting buffers, for this situation?
>
> Thanks.

Actually I also did but nothing important luckily, I always saved
somewhere before...

I can't find any but there should be a variable somewhere to set this.
And I also always thought that those scratch buffers where saved
somewhere in /tmp, but I can't find that either...


      



reply via email to

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