emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda-skip-function does not find inherited tags
@ 2017-09-04 15:06 Adrian Bradd
  2017-09-06 16:27 ` Nicolas Goaziou
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bradd @ 2017-09-04 15:06 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 876 bytes --]

Hello,

I have the following custom agenda command:

(setq org-agenda-custom-commands
      '(("ww" "Work 2 day view"
         ((agenda ""
           ((org-agenda-files '("~/tmp/tmp.org"))
            (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp
":@work:"))
            (org-agenda-start-on-weekday nil)
            (org-agenda-span 2)
            (org-agenda-overriding-header "\n2 day work
view\n-----------------\n")))))))

Given the sample file below:

* Top heading with tags
:@work:admin:
** Next heading (inherited tags)
   SCHEDULED: <2017-09-04 Mon>
** Next heading (explicit tags)
:@work:admin:
   SCHEDULED: <2017-09-04 Mon>

The agenda will only display headings that have the tag explicitly defined.
In this case, "Next heading (explicit tags)".

Is there a way I can convince the agenda to honour inherited tags in this
case?

Cheers,

Adrian

[-- Attachment #2: Type: text/html, Size: 1539 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-11 19:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-04 15:06 org-agenda-skip-function does not find inherited tags Adrian Bradd
2017-09-06 16:27 ` Nicolas Goaziou
2017-09-09  5:36   ` Adam Porter
2017-09-11  0:10     ` Adrian Bradd
2017-09-11 19:35   ` Kaushal Modi

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).