From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: org-agenda-skip-function does not find inherited tags Date: Mon, 11 Sep 2017 19:35:06 +0000 Message-ID: References: <87bmmnaj38.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e08255b60c80e6a0558ef06b1" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drUcO-0001FU-4E for emacs-orgmode@gnu.org; Mon, 11 Sep 2017 15:43:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drUcN-00022S-6i for emacs-orgmode@gnu.org; Mon, 11 Sep 2017 15:43:40 -0400 Received: from mail-yw0-x233.google.com ([2607:f8b0:4002:c05::233]:34727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drUcN-00022F-1F for emacs-orgmode@gnu.org; Mon, 11 Sep 2017 15:43:39 -0400 Received: by mail-yw0-x233.google.com with SMTP id r85so23915466ywg.1 for ; Mon, 11 Sep 2017 12:43:38 -0700 (PDT) In-Reply-To: <87bmmnaj38.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou , Adrian Bradd Cc: emacs-orgmode@gnu.org --089e08255b60c80e6a0558ef06b1 Content-Type: text/plain; charset="UTF-8" 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 about ALLTAGS and other Special Properties. That org-split-string though needs the separator argument though, right? (org-split-string (org-entry-get (point) "ALLTAGS") ":") -- Kaushal Modi --089e08255b60c80e6a0558ef06b1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Sep 6,= 2017 at 12:33 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
You write a more appropriate function and use it as
`org-agenda-skip-function'. It could re-use the following snippet:

=C2=A0 (not (member "@work" (org-split-string (org-entry-get (poi= nt) "ALLTAGS"))))

TIL about A= LLTAGS and other Special Properties.

That org-spli= t-string though needs the separator argument though, right?

<= /div>
(org-split-string (org-entry-get (point) "ALLTAGS") &qu= ot;:")
--

Kaushal Mo= di

--089e08255b60c80e6a0558ef06b1--