From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Idea for C-x v u Date: Tue, 28 Jun 2011 17:47:15 +0200 Organization: Organization?!? Message-ID: <87aad2gdq4.fsf@fencepost.gnu.org> References: <4E08E944.2070202@swipnet.se> <87aad2f1f4.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1309276084 22657 80.91.229.12 (28 Jun 2011 15:48:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2011 15:48:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 17:48:00 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QbaW5-0000ah-50 for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2011 17:47:57 +0200 Original-Received: from localhost ([::1]:48950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbaW4-00029l-5G for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2011 11:47:56 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbaVi-00029D-Ij for emacs-devel@gnu.org; Tue, 28 Jun 2011 11:47:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbaVg-0000yM-9H for emacs-devel@gnu.org; Tue, 28 Jun 2011 11:47:34 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:48841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbaVf-0000yF-Tv for emacs-devel@gnu.org; Tue, 28 Jun 2011 11:47:32 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QbaVe-0000Mh-TJ for emacs-devel@gnu.org; Tue, 28 Jun 2011 17:47:30 +0200 Original-Received: from p508ea77a.dip.t-dialin.net ([80.142.167.122]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2011 17:47:30 +0200 Original-Received: from dak by p508ea77a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2011 17:47:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ea77a.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:/K2r73xS+KJqNl26GIf4BG7FDP0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:141131 Archived-At: Chong Yidong writes: > Jan Djärv writes: > >> Why not a customize variable vc-show-diff-before-revert that takes >> values yes, no or ask? Personally I'd set it to no. > > Really? If you type `C-x v u' by mistake, you lose your changes with no > possibility of retrieval. Perhaps even "no" could update *vc-diff*, just not show it. Since "no" is an expert setting, the expert could then still switch to *vc-diff* and reapply diffs he wants after all. -- David Kastrup