Hi Carsten! * Carsten Dominik <carsten.domi...@gmail.com> wrote: > > On 29.5.2013, at 22:09, Karl Voit <devn...@karl-voit.at> 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