From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: How to check whether an element (really) has some tag? Date: Wed, 28 Jan 2015 23:08:56 +0100 Message-ID: <874mraeex3.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGanQ-0000Ly-1B for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 17:09:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGanK-0001Kl-Rj for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 17:09:11 -0500 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:58728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGanK-0001KW-Kp for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 17:09:06 -0500 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 1F4EA4AD6D for ; Wed, 28 Jan 2015 23:09:05 +0100 (CET) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3tNcnvoQjd-z for ; Wed, 28 Jan 2015 23:09:05 +0100 (CET) Received: from localhost (117-116.echostar.pl [213.156.117.116]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id E8DB64AD60 for ; Wed, 28 Jan 2015 23:09:04 +0100 (CET) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode mailing list Hi there again, I can do (member-ignore-case "sometag" (org-element-property :tags element)), but I'd like to know whether some element has the tag, not taking inheritance into account. Is there a simple way to do it? (If not, I'll consider using properties instead of tags for my purpose - but tags are simpler to use/edit and visible...) TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University