emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Herbert Sitz <hesitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: update agenda on file modification
Date: Fri, 16 Dec 2011 04:53:31 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111216T054850-960@post.gmane.org> (raw)
In-Reply-To: 4EE9EA61.4090909@sergio.spb.ru

sergio <mailbox <at> 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

  reply	other threads:[~2011-12-16  4:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-15 12:38 update agenda on file modification sergio
2011-12-16  4:53 ` Herbert Sitz [this message]
2011-12-17  0:10   ` sergio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20111216T054850-960@post.gmane.org \
    --to=hesitz@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).