emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Warning with latest git pull


From: Achim Gratz
Subject: Re: [O] Warning with latest git pull
Date: Mon, 25 Feb 2013 18:27:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.93 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]