From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nobuko Three Newsgroups: gmane.emacs.help Subject: how to make the "file has auto save data..." message unskippable? Date: Sun, 5 Jul 2009 10:29:13 -0700 (PDT) Message-ID: <24345123.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1246814991 16524 80.91.229.12 (5 Jul 2009 17:29:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jul 2009 17:29:51 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 05 19:29:44 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MNVX4-000673-Cn for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jul 2009 19:29:42 +0200 Original-Received: from localhost ([127.0.0.1]:42360 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNVX3-00019I-Qw for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Jul 2009 13:29:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNVWk-00018S-4G for help-gnu-emacs@gnu.org; Sun, 05 Jul 2009 13:29:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNVWf-000148-KT for Help-gnu-emacs@gnu.org; Sun, 05 Jul 2009 13:29:21 -0400 Original-Received: from [199.232.76.173] (port=52175 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNVWf-000140-He for Help-gnu-emacs@gnu.org; Sun, 05 Jul 2009 13:29:17 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:38303) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MNVWf-0003x5-5Q for Help-gnu-emacs@gnu.org; Sun, 05 Jul 2009 13:29:17 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MNVWb-0005sX-Ul for Help-gnu-emacs@gnu.org; Sun, 05 Jul 2009 10:29:13 -0700 X-Nabble-From: nbko3@yahoo.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65792 Archived-At: I open a file foo.txt and then my emacs displays the message: foo.txt has auto save data; consider M-x recover-this-file in the echo area, but the message rarely catches my attention because I quickly start editing the file and that makes the message disappear before I notice it. 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? One idea is to make emacs change its background color whenever it echoes such message. Even if you miss the message, you will always notice the changed background color which reminds you to check the *Message* buffer. Is there a hook I can use for this idea? -- View this message in context: http://www.nabble.com/how-to-make-the-%22file-has-auto-save-data...%22-message-unskippable--tp24345123p24345123.html Sent from the Emacs - Help mailing list archive at Nabble.com.