From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: Idea for C-x v u Date: Tue, 28 Jun 2011 16:51:55 +0200 Message-ID: <4E09EA8B.80701@online.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309272759 414 80.91.229.12 (28 Jun 2011 14:52:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2011 14:52:39 +0000 (UTC) Cc: Richard Stallman To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 16:52:35 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 1QbZeT-0000A4-UC for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2011 16:52:34 +0200 Original-Received: from localhost ([::1]:57352 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbZeS-0006GU-QZ for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2011 10:52:33 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbZe6-0006Ez-Vw for emacs-devel@gnu.org; Tue, 28 Jun 2011 10:52:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QbZe1-00087h-JA for emacs-devel@gnu.org; Tue, 28 Jun 2011 10:52:10 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.9]:62683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QbZe1-00086Q-4W; Tue, 28 Jun 2011 10:52:05 -0400 Original-Received: from [192.168.178.27] (brln-4d0c247c.pool.mediaWays.net [77.12.36.124]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0MWxr2-1R7OHF2TbQ-00Whob; Tue, 28 Jun 2011 16:52:01 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10 In-Reply-To: X-Provags-ID: V02:K0:k38Th+utY8RB51bQh+kXa2IT2HhApwmV4Vmw70gmOic m5lT0lksY8cJ1pRkR/Hj3o2JeugqNR2YDNmzXcNRos7a0ABXpX +LQKfm65IPGU1lXHJ/GFWVIEslYwvf6EJkbwr4i+TB8LpRTJQx W3CiXXdVeUq1rk46prGveBLZ7CKuYNfoeoX88lykTYjWU9bXUD SYGaMRYpYc+Ku6b7RraT9xmaXZyqBVpGa2S84ISWO4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.9 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:141122 Archived-At: Am 27.06.2011 15:06, schrieb Richard Stallman: > It is definitely a good idea to check the diffs of a file before > reverting a change, but normally it's a waste of time for C-x v u to > do that because I will have done it manually. > > However, if I ever forget to do that, it wouldn't hurt for C-x v u to > remind me. Hi, think it might pay more to consider the conditions when forgetting occurs. If it's just to late, a warning might make you still more forgetting. BTW a feature I most enjoy is abolish warnings when a buffer get's closed. (defun kill-buffer-unconditional (&optional puffer) " " (interactive) (when puffer (set-buffer puffer) (switch-to-buffer (current-buffer)) ) (set-buffer-modified-p 'nil) (kill-buffer (current-buffer))) Well, sorry, that's again the opposite direction :) Seriously: usually run two different VC's at same time: RCS in the background, committing more often --and without messages-- while above bazaar or whatever gets it, when it seems done. Cheers, Andreas