From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: In agenda, better handling of files changed behind Org's back Date: Sat, 29 Dec 2012 18:50:36 +0100 Message-ID: <87wqw0g32r.fsf@bzg.ath.cx> References: <50BFBD05.4090605@gmx.de> <87licnsun6.fsf@bzg.ath.cx> <50DA0329.6070303@gmx.de> <87txr5cftc.fsf_-_@bzg.ath.cx> <50DED14D.1080402@gmx.de> <87wqw1f0lu.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp0YT-00088S-Sa for emacs-orgmode@gnu.org; Sat, 29 Dec 2012 12:50:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tp0YR-0003um-V4 for emacs-orgmode@gnu.org; Sat, 29 Dec 2012 12:50:41 -0500 Received: from mail-we0-f178.google.com ([74.125.82.178]:64913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tp0YR-0003uc-P9 for emacs-orgmode@gnu.org; Sat, 29 Dec 2012 12:50:39 -0500 Received: by mail-we0-f178.google.com with SMTP id x43so5196575wey.23 for ; Sat, 29 Dec 2012 09:50:38 -0800 (PST) In-Reply-To: (Achim Gratz's message of "Sat, 29 Dec 2012 16:47:39 +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: Achim Gratz Cc: emacs-orgmode@gnu.org Hi Achim, Achim Gratz writes: > I think that, aside from the above suggestion, it may be worth pondering if > Org should really "visit" those files that it just needs to look at for > building the agenda. If it would not visit them (Emacs must visit a file > that the user opened in edit mode obviously), the problem should not > appear. The problem is that Org does not only need to "look" at the files, it also adds text properties for example, which is considered editing by Emacs, even the modification only affects the buffer, not the file. We could try to use `with-buffer-modified-unmodified' a bit more, but I'm not convinved. -- Bastien