[O] execute function when TAB expands a headline

2011-06-08 Thread Christian Wittern
Hi there, 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

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

2011-06-08 Thread Matt Lundin
Christian Wittern cwitt...@gmail.com 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

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

2011-06-08 Thread Christian Wittern
On 2011-06-08 20:15, Matt Lundin wrote: Christian Witterncwitt...@gmail.com writes: 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.