On Sep 11, 2007, at 1:43, Austin Frank wrote:
Hello!
I am wondering whether it would be possible to introduce a new hook
into
org-mode. This hook would be run after any tags are added to an entry.
The main use would be to check for the presence of some tag among the
entry's tags, and execute some function in response to it.
The next version will have `org-after-tags-change-hook'. It will be
called
whenever the tags in an entry change, with the cursor *somewhere* on
that line.
To get a list of the tags in the current line, use (only in 5.09, right
now
this does not work correctly)
(org-get-tags)
To get the list including inherited tags, use
(org-get-tags-at (point))
- Carsten
--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode