[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to check whether the headline the point is on has some tag?
From: |
John Kitchin |
Subject: |
Re: [O] How to check whether the headline the point is on has some tag? |
Date: |
Fri, 24 Oct 2014 19:30:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) |
Marcin Borkowski <address@hidden> writes:
Check the last element of org-heading-components.
* Headline :tag1:
#+BEGIN_SRC emacs-lisp
(org-heading-components)
#+END_SRC
#+RESULTS:
| 1 | 1 | nil | nil | Headline | :tag1: |
> Hi list,
>
> I'd like to implement splitting an org file at tagged entries in my
> org-one-to-many library (as requested on the list by Daniel Clemente).
> How do I check whether a specific headline (say, one a point is at) has
> some tag (but not inherited)?
>
> TIA,
--
-----------------------------------
John Kitchin
Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu