From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Maillard Subject: Re: Is the feature useful? Date: Mon, 2 Jul 2007 08:50:18 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5NSk-0000jH-8L for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 11:05:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5NSf-0000hY-TA for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 11:05:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5NSf-0000hR-M4 for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 11:05:09 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I5NSf-0003UF-21 for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 11:05:09 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1I5NSa-0001iA-6W for emacs-orgmode@gnu.org; Mon, 02 Jul 2007 17:05:04 +0200 Received: from 228-33-118-80.kaptech.net ([80.118.33.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jul 2007 17:05:04 +0200 Received: from maillaxa by 228-33-118-80.kaptech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jul 2007 17:05:04 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Carsten Dominik science.uva.nl> writes: > > | (muse-what-changed) > This looks like a function that is not only useful in org-mode, > but in any mode. Exactly. I use it all the time but this is my method: (global-set-key (kbd "C-c d") (lambda () (interactive) (diff-buffer-with-file (current-buffer)))) When I was more paranoid, pressing C-x C-s would have cause such thing happening plus a yes-no question before saving the buffer content :) Now I only use this plus version-control (to keep up to 7 old copies, just in case). Xavier