emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org, Nicolas Dudebout <nicolas.dudebout@gatech.edu>
Subject: Re: Bug: Tag set in agenda need a refresh to be used in a filter [7.4]
Date: Thu, 28 Jul 2011 10:19:31 -0500	[thread overview]
Message-ID: <87ei1aqvp8.fsf@fastmail.fm> (raw)
In-Reply-To: <87fwlq4u4j.fsf@gnu.org> (Bastien's message of "Thu, 28 Jul 2011 11:44:28 +0200")

Hi Bastien,

Bastien <bzg@altern.org> writes:

> Nicolas Dudebout <nicolas.dudebout@gatech.edu> writes:
>
>> When filtering with a tag that was just added, the result is not as
>> expected.
>>
>> * Steps *
>> 1 - Go in the agenda view.
>> 2 - Attach a tag <T> to an entry <E>.
>> 3 - Filter using tag <T>.
>> (4 - Refresh the view)
>>
>> * Expected behavior *
>> by doing steps 1-3, entry <E> should appear in the filtered output.
>>
>> * Actual behavior*
>> step 4 is needed to have entry <E> appear.

I would suggest that this *is* the expected behavior. The cost of
refreshing the agenda is relatively expensive - it should not be done on
each filter. 

If we do want to update the agenda after a tag change, then perhaps we
could update the text properties for the line

> This is now fixed in git repo, thanks!

This has the undesirable consequence of slowing down filtering by
triggering an agenda request.

Best,
Matt

  reply	other threads:[~2011-07-28 15:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-21 17:01 Bug: Tag set in agenda need a refresh to be used in a filter [7.4] Nicolas Dudebout
2011-07-28  9:44 ` Bastien
2011-07-28 15:19   ` Matt Lundin [this message]
2011-07-28 15:27     ` Bastien

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=87ei1aqvp8.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicolas.dudebout@gatech.edu \
    /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).