emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Andrew J. Korty" <ajk@iu.edu>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: emacsclient -e '(org-agenda)' sometimes displays stale agenda
Date: Wed, 11 Nov 2009 08:46:21 -0500	[thread overview]
Message-ID: <D96FD914-EC7E-462A-BA3B-B65229888BED@iu.edu> (raw)
In-Reply-To: <87ws1yytc6.fsf@gmx.de>

On Nov 10, 2009, at 16:15 , Sebastian Rose wrote:

> "Andrew J. Korty" <ajk@iu.edu> writes:
>> Calling org-agenda from emacsclient doesn't always seem to generate  
>> a fresh
>> agenda the way it does when called from a key binding or M-x.    
>> Anyone know why?
>
> I think the agenda is rebuild, if you quit it and restart it again. In
> many cases, this makes absolutely sense. I have quite a few agenda  
> files
> in use and some of them grow since 2 years now.

Say I use M-x org-agenda and press M to do a tag TODO query.  I get  
the results in the *Org Agenda* buffer.  Then I do M-x org-agenda RET  
M again with a different tag.  The contents of the *Org Agenda* buffer  
are replaced with the results of the new query.

But if I do all that by calling org-agenda from emacsclient, the  
contents of the *Org Agenda* buffer don't get replaced when I do the  
second query.  They still contain the results of the first query.

ajk

      reply	other threads:[~2009-11-11 13:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10 20:24 emacsclient -e '(org-agenda)' sometimes displays stale agenda Andrew J. Korty
2009-11-10 21:15 ` Sebastian Rose
2009-11-11 13:46   ` Andrew J. Korty [this message]

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=D96FD914-EC7E-462A-BA3B-B65229888BED@iu.edu \
    --to=ajk@iu.edu \
    --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).