From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Kanis Newsgroups: gmane.emacs.help Subject: Re: diff before recovering file Date: Fri, 03 Aug 2012 19:56:37 +0200 Message-ID: <87ehnn3lm2.fsf@googlemail.com> References: <87fw85mkg2.fsf@kanis.fr> <155DEC68569B714B86C2C7075F5EDA98268CB673@DAKIYA1.pegasus.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1344016614 27726 80.91.229.3 (3 Aug 2012 17:56:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Aug 2012 17:56:54 +0000 (UTC) Cc: emacs help To: Doug Lewan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 03 19:56:54 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SxM7G-0005V9-QP for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Aug 2012 19:56:50 +0200 Original-Received: from localhost ([::1]:50771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxM7G-000226-63 for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Aug 2012 13:56:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxM7A-00021y-LH for help-gnu-emacs@gnu.org; Fri, 03 Aug 2012 13:56:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxM79-0000Ic-0Z for help-gnu-emacs@gnu.org; Fri, 03 Aug 2012 13:56:44 -0400 Original-Received: from mail-wg0-f49.google.com ([74.125.82.49]:56975) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxM78-0000Gz-Pp for help-gnu-emacs@gnu.org; Fri, 03 Aug 2012 13:56:42 -0400 Original-Received: by wgbez12 with SMTP id ez12so624032wgb.30 for ; Fri, 03 Aug 2012 10:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:face :x-hashcash:x-hashcash:date:message-id:mime-version:content-type; bh=LR8MzTavzh1IjdBRUWMN/z8sTLZ4W3BsClNebOWOUkY=; b=yMEsMKE/bjKK+97EIPR9qRrIBL0mo6+jj4UcBcd0tEYi2EURsnrtbpp6oV1SVaTs3a /fJLnKnqDn2oTEVbXMVflPZFG4rVJRCBXMkQVO4Op9pafAkBhR54Xp6hueGgECcGx9D0 KmP0siIdhWt9XooAXBgWu2NCoMAtJuvlGffL8gOFVT+rqiCa60MCr/IauQR9HzeSPHj1 w7Qyj3jMwjuvNR1tX+1e/5vsw6/ZEd83UaYonBFqgVLUN8bALxPQ9fFD3AwUAYrNfVFL G7mcE4BQyRty1BvC5aUZFhp5iVbshPXyWkvQv+JU01du1l0C8K1FIRWM+1wH6biBsjH7 +d8A== Original-Received: by 10.216.242.204 with SMTP id i54mr1158645wer.99.1344016601662; Fri, 03 Aug 2012 10:56:41 -0700 (PDT) Original-Received: from tao ([89.83.137.164]) by mx.google.com with ESMTPS id cl8sm40767012wib.10.2012.08.03.10.56.39 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 03 Aug 2012 10:56:40 -0700 (PDT) In-Reply-To: <155DEC68569B714B86C2C7075F5EDA98268CB673@DAKIYA1.pegasus.local> (Doug Lewan's message of "Thu, 2 Aug 2012 15:45:39 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAAB5QTFRF IBkXUxMTOCwoTC4qcUY8iFxQmmper31txpaJ/v/8aKZ1oAAAAcVJREFUOMt100tu2zAQAFDCXnUZ oAcIqG68LZULVLQBbwuSiffm6AIRRyeotAySJoVu2+FPpJWWC3/4NKOZocSW/yxWfnJ2+Bdwzhj7 8gleWVy7DXC2rkMNr2V/zRbghXIwthf3VbIA9Ffc71vZCSFyCEsBggtNS8ludwvfmhYA0Vn9o4DP zMWxR7+cPWzAYFzwM0ModtdmcDbDS6i/hT7L+RZof5yCXGrYe5jn2YO6BYMjgY+51tCIAqHgBLwR pwLnGuRjAKyBJkuN4yd4U92uCY1vUr2D/c5b8DuxyQwfOHUeaLqDJhnkkuGXbB56h2C1IVBdgncc bBi6feroa9B6jUDojnQPQKupbyXyeeCE1oT7Oqrt+SnfY3mkiyGA/3AmD3H5g32CcBx6hY8pRkwJ 9PpcjRGobUfprFnhAa1vepwcgMOhwG+pdSgKHFU9HAvoAH6XUl7lDUCCq5Qb6GMbVm3Aj++qDYCt wdBc/YHgOFCmS3mjDMRcSE2qY4E3Q3PVIQRQmeodNH4QEbRUFZzW+VotzwX4yTcRTySOML1qjcE5 hTirVqDHkMAP0PjAywp3d18JZtqzvr9zDYD+GaSKtE6Zlr/DLPNFmOcvBAAAAABJRU5ErkJggg== X-Hashcash: 1:20:120803:help-gnu-emacs@gnu.org::0dRmVCuVmo1q9CGa:0000000000000000000000000000000000000001Sch X-Hashcash: 1:20:120803:dougl@shubertticketing.com::+AjtA0urlTI6H8G4:000000000000000000000000000000000001H/6 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86185 Archived-At: Ivan wrote: >> Has anyone written a function to see the difference between the file >> viewed in the buffer and what would be recovered? Doug Lewan wrote: > You can always refuse the recovery initially offered and use diff (M-x > diff) or ediff (M-x ediff). After that you can run M-x > recover-this-file anytime. My emacs doesn't prompt for recovery. It could be a setting on my end. I don't think M-x diff checks automatically with the backed up file. I'll try next time I see the message. Take care, -- Ivan Kanis http://ivan.kanis.fr Rule your mind or it will rule you. -- Horace