From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: Re: emacs should quiz that #backups# exist by default Date: Sat, 22 Feb 2003 10:52:25 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87u1exrpqu.fsf@jidanni.org> References: <87el65ozpu.fsf@jidanni.org> Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045891347 31986 80.91.224.249 (22 Feb 2003 05:22:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Feb 2003 05:22:27 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18mS7F-0008Jm-00 for ; Sat, 22 Feb 2003 06:22:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18mS6X-00005j-03 for gnu-bug-gnu-emacs@m.gmane.org; Sat, 22 Feb 2003 00:21:41 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18mS6Q-0008TN-00 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2003 00:21:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18mS5u-0007XK-00 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2003 00:21:34 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18mS5t-0007Wn-00 for bug-gnu-emacs@gnu.org; Sat, 22 Feb 2003 00:21:01 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18mS5k-0008G1-00 for ; Sat, 22 Feb 2003 06:20:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18mRmE-0007VF-00 for ; Sat, 22 Feb 2003 06:00:42 +0100 Original-Lines: 49 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4497 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4497 >>>>> "RMS" == Richard Stallman writes: RMS> Emacs normally displays a message at startup RMS> when there is a .saves file that indicates that a session crashed. RMS> Does this message appear when you start Emacs? $ LC_ALL=C emacs --no-site-file -q -nw qqqqq then hold down a key until you have enough chars that 'auto saving' flashes in the minibuffer then hit C-z [1]+ Stopped LC_ALL=C emacs --no-site-file -q -nw qqqqq $ kill % [1]+ Terminated LC_ALL=C emacs --no-site-file -q -nw qqqqq $ LC_ALL=C emacs --no-site-file -q -nw one sees just the cheery usual stuff, including the If an Emacs session crashed recently, type M-x recover-session RET to recover the files you were editing. which is not good enough for busy Dan. anyways, what I want is a yes or no querying the user if anything bad happened that he hasn't fully acknowledged yet that he is aware of. i.e. not just some message that will surely get covered up when his xsesson file calls emacs -f gnus& next monday upon return to work after the power failure and after he forgot what file he was editing or that there ever was a power failure or that some file is messed up. also he might have 3 emacs's open and already seen your warning but didn't answer "yes" before he was called away and logoffed and now logged in again [so he should be warned again]. P.S. I see there is a $ ll -ta /home/jidanni/.backups|head -rw-r--r-- 1 jidanni jidanni 62 2004-05-15 16:43 .saves-8856-localhost.localdomain~ file from year 2004 that somehow is there... maybe that is blocking the action, I'll remove it sorry, still didn't see anything. maybe what RMS is talking about isn't enabled by default. anyway http://jidanni.org/comp/emacs.txt is what I use. Eli> Does "M-x recover-session RET" do what you want? Indeed, that does a great job. What I want is "what about the user who left work on Friday when power failed, and boozed it up over the weekend, and now its Monday, and nobody has reminded him that one of the project files is in trouble..." emacs know it but won't tell him unless asked.