[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Expanded property drawers as per file option
From: |
Karl Voit |
Subject: |
Re: [O] Expanded property drawers as per file option |
Date: |
Sat, 1 Jun 2013 18:30:42 +0200 |
User-agent: |
slrn/0.9.9 (Linux) |
Hi Carsten!
* Carsten Dominik <address@hidden> wrote:
>
> On 29.5.2013, at 22:09, Karl Voit <address@hidden> wrote:
>>
>> I would like to have all headings folded when I open the file (as it
>> is now). Then I navigate to a heading of a person by using text
>> search or arrow keys and TAB (to expand hierarchies).
>
> To try this, make the following line the first line of your file:
>
> # -*- mode: org; org-cycle-hook: (org-cycle-hide-archived-subtrees
> org-cycle-hide-inline-tasks org-cycle-show-empty-lines
> org-optimize-window-after-visibility-change) -*-
>
> Then kill the buffer and visit it again. Check the value of `org-cycle-hook'
> with `C-h v', you should see that the variable has a local value in this
> buffer.
>
> If you then press TAB twice on"Peter", the drawer will be open.
Yes, this works as described. Imperfect but it fixes my issue with
reasonable effort and functionality.
And I also learned that I can "overwrite" functions with local file
definitions. Quite handy.
Vielen Dank und einen schönen Gruß aus der schönen Steiermark!
--
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
> get Memacs from https://github.com/novoid/Memacs <
https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github