From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] show difference when recovering file Date: Mon, 17 Dec 2012 12:50:51 -0500 Message-ID: References: <877goi0wcz.fsf@kanis.fr> <871uep9ch3.fsf@googlemail.com> <87k3sg7ji1.fsf@kanis.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355766656 19229 80.91.229.3 (17 Dec 2012 17:50:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2012 17:50:56 +0000 (UTC) Cc: emacs devel To: Ivan Kanis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 17 18:51:11 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TkeqM-0006AD-9j for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2012 18:51:10 +0100 Original-Received: from localhost ([::1]:37663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tkeq9-0005fz-1z for ged-emacs-devel@m.gmane.org; Mon, 17 Dec 2012 12:50:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tkeq5-0005eZ-NJ for emacs-devel@gnu.org; Mon, 17 Dec 2012 12:50:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tkeq4-0005xs-Og for emacs-devel@gnu.org; Mon, 17 Dec 2012 12:50:53 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:25682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tkeq4-0005xn-KV for emacs-devel@gnu.org; Mon, 17 Dec 2012 12:50:52 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09FxLDj/2dsb2JhbABEtBGBCIIVAQEEAVYjEAs0EhQYDSSIHAW6CZBEA4hCmnGBWIMH X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="210094514" Original-Received: from 69-196-176-227.dsl.teksavvy.com (HELO pastel.home) ([69.196.176.227]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Dec 2012 12:50:51 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 56DB35912C; Mon, 17 Dec 2012 12:50:51 -0500 (EST) In-Reply-To: <87k3sg7ji1.fsf@kanis.fr> (Ivan Kanis's message of "Mon, 17 Dec 2012 17:04:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155623 Archived-At: >> BTW, the way the user can do it currently, is to say "yes" to recover, >> and then use M-x diff-buffer-with-file RET to decide whether or not >> recovering is a good idea. > It's too convoluted for me, I never remember how to do it when I need it. I agree it's not very discoverable and it's rare enough to be hard to remember. >> Rather than always popping up a *diff* buffer, we could also change the >> prompt from "yes/no" to "yes/no/diff". > We could have the same UI as implemented in > 'save-some-buffers-action-alist' one key for: > y yes > n no > d for diff Right, that's the kind of thing I had in mind, indeed. I'm wondering why we have yes/no instead of y/n right now, tho. Stefan