From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: [BUG] revering agenda files Date: Mon, 12 Apr 2010 17:20:51 -0400 Message-ID: <87vdbwpdu4.fsf@gollum.intra.norang.ca> References: <874ojgmpr4.fsf@kotik.lan> <87zl18phjo.fsf@gollum.intra.norang.ca> <87zl18l8mt.fsf@kotik.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1R48-0002lp-F5 for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 17:21:08 -0400 Received: from [140.186.70.92] (port=60637 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1R47-0002ic-1l for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 17:21:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1R43-0000cn-Mz for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 17:21:06 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:64937) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1R43-0000cj-JV for emacs-orgmode@gnu.org; Mon, 12 Apr 2010 17:21:03 -0400 In-Reply-To: <87zl18l8mt.fsf@kotik.lan> (=?utf-8?Q?=22=C5=81ukasz?= Stelmach"'s message of "Mon\, 12 Apr 2010 22\:26\:50 +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: =?utf-8?Q?=C5=81ukasz?= Stelmach Cc: emacs-orgmode@gnu.org =C5=81ukasz Stelmach writes: > Bernt Hansen writes: > >> =C5=81ukasz Stelmach writes: >> >>> I'm not quite sure it is bug indeed but org-mode stops working as usual >>> when you change the agenda files behind the scenes. > [...] >> My solution to this is >> >> (global-auto-revert-mode t) >> >> So if there are no modified buffers and the agenda file changes >> externally it just automatically updates to what is on disk. That got >> rid of the annoying message for me. > > I don't want to get rid of those messages completely. Couple of times > they saved my work (at least) and I don't need to revert org-mode > buffers that often to feel anoyed by two or three questions. However, > I'd like them to be asked in one row. It only gets rid of the questions for buffers that are not modified. It won't revert buffers if it destroys unsaved changes. ie. if you modify an agenda file without changing it, then modify the one on disk then you still get the question as you do now. It only eliminates the questions for all of your agenda files that are already saved to disk -- if the disk file changes we just update the buffer in emacs too. -Bernt