emacs-devel
[Top][All Lists]
Advanced

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

Re: A wish, a plea


From: Stefan Monnier
Subject: Re: A wish, a plea
Date: Thu, 21 Jun 2007 14:57:04 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>> But I wasn't in programming mode, so I was in scratch, and lost
>> everything I was writing, because scratch isn't backed up by anything.

> The simple answer here is M-x auto-save-mode.  You can of course put
> (auto-save-mode 1) in .emacs, since *scratch* is current when it runs.

It may work.

> Actually getting rid of *scratch* is somewhat harder.

Maybe an alternative is to make it read-only.
Or maybe add a first-change-hook that requests a file name from the user?


        Stefan




reply via email to

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