From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Warning with latest git pull Date: Mon, 25 Feb 2013 18:27:09 +0100 Message-ID: <87liacgv82.fsf@Rainer.invalid> References: <87a9qxl6bv.fsf@bzg.ath.cx> <87621jxu41.fsf@Rainer.invalid> <87r4k746o8.fsf@bzg.ath.cx> <87sj4nw8d6.fsf@Rainer.invalid> <87liaf422j.fsf@bzg.ath.cx> <87sj4mx0wb.fsf@Rainer.invalid> <87r4k6cb5u.fsf@bzg.ath.cx> <8738wm10pr.fsf@Rainer.invalid> <87mwusmzvo.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA1tA-0005o3-HD for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 12:31:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UA1t3-0000fD-TA for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 12:30:56 -0500 Received: from plane.gmane.org ([80.91.229.3]:40483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UA1pn-0007xW-8Z for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 12:27:27 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UA1q5-0006We-1E for emacs-orgmode@gnu.org; Mon, 25 Feb 2013 18:27:45 +0100 Received: from pd9eb5307.dip.t-dialin.net ([217.235.83.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Feb 2013 18:27:45 +0100 Received: from Stromeko by pd9eb5307.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Feb 2013 18:27:45 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Bastien writes: > I fixed the comment, thanks. I'm starting to sound like Drew, but the new comment says exactly what the old one did, just the two parts juxtaposed. The point of having the new macro is to avoid the question about reverting the file when the file visited by a buffer has been edited outside Emacs. You can do exactly the same changes (cosmetic or not) with both macros, but org-unmodified will ask you when the file and the buffer have diverged due to the file changing outside Emacs. You shouldn't do this of course unless you know with certainty that you are never going to save the file. There's another difference between these two: org-unmodified does not let you change read-only buffers (I don't know if that's intentional or not). With all this said, the compatibility part of org-with-silent-modifications can't simply be plugging in org-unmodified (this loses functionality that presumably was needed). The change to make from the implementation I gave would be losing the let-bindings for buffer-file-name buffer-file-truename and perhaps inhibit-read-only. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada