From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to make the "file has auto save data..." message unskippable?
Date: Wed, 08 Jul 2009 00:09:39 -0600 [thread overview]
Message-ID: <h31d75$moo$1@ger.gmane.org> (raw)
In-Reply-To: <4A51EA8D.9090503@mousecar.com>
[-- Attachment #1: Type: text/plain, Size: 1059 bytes --]
ken wrote:
> On 07/06/2009 04:57 AM Thien-Thi Nguyen wrote:
>> () Nobuko Three <nbko3@yahoo.com>
>> () Sun, 5 Jul 2009 10:29:13 -0700 (PDT)
>>
>> Normally after emacs is crashed, you know you need to use M-x
>> recover-session, but it could happen that you go to lunch after
>> crash, you come back, you start emacs again, you forget to do
>> recover-session and open foo.bar and then also miss the
>> "foo.txt has auto save data..." message.
>>
>> How do you deal with this problem?
>>
>> Go to lunch before the crash!
>> Think faster but type slower!
>> Or, (setq message-log-max t),
>> + `C-h e' every now and then.
>>
>> thi
>
> In buffers which have auto-save data I'd like to see an orange
> background. In addition, I'd like to hear a beep when I try to type
> into that buffer with the standard message/prompt in the minibuffer that
> there's auto-save data... should I pull it in or discard it.
Attached is code that does that, plus undoes all those effects when
you do recover the file.
--
Kevin Rodgers
Denver, Colorado, USA
[-- Attachment #2: recover-this-file-find-file-hook.el --]
[-- Type: application/emacs-lisp, Size: 2829 bytes --]
next prev parent reply other threads:[~2009-07-08 6:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-05 17:29 how to make the "file has auto save data..." message unskippable? Nobuko Three
2009-07-06 8:57 ` Thien-Thi Nguyen
2009-07-06 12:14 ` ken
2009-07-08 6:09 ` Kevin Rodgers [this message]
2009-07-06 18:58 ` Sean Sieger
2009-07-06 19:19 ` how to make the "file has auto save data..." messageunskippable? Drew Adams
2009-07-06 20:04 ` Sean Sieger
2009-07-07 6:35 ` how to make the "file has auto save data..." message unskippable? Kevin Rodgers
[not found] <mailman.1874.1246814962.2239.help-gnu-emacs@gnu.org>
2009-07-05 21:49 ` Colin S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='h31d75$moo$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.