emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] execute function when TAB expands a headline


From: Matt Lundin
Subject: Re: [O] execute function when TAB expands a headline
Date: Wed, 08 Jun 2011 07:15:25 -0400
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Christian Wittern <address@hidden> writes:

> I am (also!) using org-mode for displaying dictionary data, with the
> headword part of the headline.  When I press on TAB, the entry expands and I
> see the explanation and some sample sentences.  Now, to make it easier (for
> my eyes) to parse the examples, I would like to highlight the headword, as
> it appears in the examples.  I believe hi-lock mode etc. could do the trick,
> but I am stuck at how to hook into the TAB execution, so that I can call my
> code.  Any hints very much appreciated!

I believe you could use org-cycle-hook.

Best,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]