Re: [O] org-agenda-skip-function does not find inherited tags

2017-09-11 Thread Kaushal Modi
On Wed, Sep 6, 2017 at 12:33 PM Nicolas Goaziou wrote: > You write a more appropriate function and use it as > `org-agenda-skip-function'. It could re-use the following snippet: > > (not (member "@work" (org-split-string (org-entry-get (point) > "ALLTAGS" > TIL

Re: [O] org-agenda-skip-function does not find inherited tags

2017-09-10 Thread Adrian Bradd
Thanks for the pointers. This is what I came up with: (defun abradd-agenda-tags-inherited (tags) (let (beg end m) (org-back-to-heading t) (setq beg (point) end (progn (outline-next-heading) (1- (point (goto-char beg) (and (not (member tags (org-get-tags-at)))

Re: [O] org-agenda-skip-function does not find inherited tags

2017-09-08 Thread Adam Porter
I think the function org-get-tags-at should also be helpful here.

Re: [O] org-agenda-skip-function does not find inherited tags

2017-09-06 Thread Nicolas Goaziou
Hello, Adrian Bradd writes: > 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

[O] org-agenda-skip-function does not find inherited tags

2017-09-04 Thread Adrian Bradd
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:"))