emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Martin Pohlack <mp26@os.inf.tu-dresden.de>
Cc: Matt Lundin <mdl@imapmail.org>, emacs-orgmode@gnu.org
Subject: Re: Re: skip entry with inherited tags
Date: Mon, 16 Aug 2010 15:10:45 +0200	[thread overview]
Message-ID: <4C5FE6A9-23ED-4282-9F12-17D41F4CBB1F@gmail.com> (raw)
In-Reply-To: <4C693580.6030604@os.inf.tu-dresden.de>


On Aug 16, 2010, at 2:56 PM, Martin Pohlack wrote:

> Hi Carsten,
>
> [...]
>
>>>> The internal logic of the filter and the preset filter is such that
>>>> it applies to the entire view, and you should not set in the local
>>>> options for a command that is part of a block agenda view.
>>>
>>> Well, it is already partly there in that local filters are stored in
>>> text properties for each line.  Maybe we can extend this a bit to
>>> remove
>>> this limitation?
>>
>> I think this will be tidious.
>
> Yes, I saw this on my first attempts to look at the code :-).  I  
> have not yet given up on this though ...
>
>> For block agendas, I guess a skip
>> condition will be better than filtering.
>
> This does not help with inherited tags, AFAIK.  For example, if I  
> mark a whole tree of things with :maybe:, the inheriting items in  
> the tree cannot easily be skipped.

Easily yes, cheaply no.

You can call `org-get-tags-at' to get either only
local tags or both local and inherited tags.

Also, when an item is listed in the agenda, it has a text
property mentioning all tags.  You can also write your own hook function
to run through the agenda and remove certain lines (just delete them)
based on the text properties each item has.

- Carsten

      reply	other threads:[~2010-08-16 13:11 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18  7:42 skip entry with inherited tags Matthias Teege
2010-05-18 11:18 ` Martin Pohlack
2010-05-18 17:25   ` Matt Lundin
2010-06-03 21:44     ` Martin Pohlack
2010-06-04 11:27       ` Carsten Dominik
2010-06-04 12:11         ` Martin Pohlack
2010-07-07  8:49           ` Martin Pohlack
2010-07-13 11:49             ` Carsten Dominik
2010-07-13 17:41               ` Martin Pohlack
2010-07-13 18:48                 ` Carsten Dominik
2010-07-13 20:34                   ` Martin Pohlack
2010-07-21 14:32                     ` Carsten Dominik
2010-07-22  7:38                       ` Carsten Dominik
2010-08-04 21:38                         ` Martin Pohlack
2010-08-16 12:50                           ` Carsten Dominik
2010-08-16 12:56                             ` Martin Pohlack
2010-08-16 13:10                               ` Carsten Dominik [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=4C5FE6A9-23ED-4282-9F12-17D41F4CBB1F@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdl@imapmail.org \
    --cc=mp26@os.inf.tu-dresden.de \
    /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).