From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: update agenda on file modification Date: Fri, 16 Dec 2011 04:53:31 +0000 (UTC) Message-ID: References: <4EE9EA61.4090909@sergio.spb.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbPno-0005re-T4 for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 23:53:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbPnn-0002Be-GK for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 23:53:48 -0500 Received: from lo.gmane.org ([80.91.229.12]:45898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbPnn-0002BK-8B for emacs-orgmode@gnu.org; Thu, 15 Dec 2011 23:53:47 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RbPnl-0005As-3u for emacs-orgmode@gnu.org; Fri, 16 Dec 2011 05:53:45 +0100 Received: from c-24-22-131-140.hsd1.wa.comcast.net ([24.22.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2011 05:53:45 +0100 Received: from hesitz by c-24-22-131-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 16 Dec 2011 05:53: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 sergio sergio.spb.ru> writes: > > Is it possible to update agenda on .org file modification? > Do you mean whenever a buffer changes? If so then I think the answer is No, and you wouldn't want it to, since you frequently are working in agenda and causing changes to the document buffers. This has been discussed before and even if performance was not a problem there are reasons for not regenerating while you're in agenda. There's a function that will regenerate the agenda after an idle time of x seconds: http://orgmode.org/worg/org-hacks.html#sec-1-8-11 I assume it could be modified to check for changed files on disk, if you wanted to use that as trigger for regeneration. -- Herb