From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Expanded property drawers as per file option Date: Sat, 1 Jun 2013 18:30:42 +0200 Message-ID: <2013-06-01T18-24-37@devnull.Karl-Voit.at> References: <2013-05-28T16-16-08@devnull.Karl-Voit.at> <871u8rduyb.fsf@gmail.com> <87wqqjcfse.fsf@gmail.com> <87sj16xv91.fsf@news.tumashu-localhost.org> <2013-05-29T21-55-35@devnull.Karl-Voit.at> <6BB8CA9C-FF5F-480B-B973-7A18436E733F@gmail.com> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uioho-00042l-4v for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 12:31:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uiohj-0006M9-UK for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 12:31:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:48204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uiohj-0006Ly-Dr for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 12:30:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uiohh-00030W-Tq for emacs-orgmode@gnu.org; Sat, 01 Jun 2013 18:30:53 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 18:30:53 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 18:30:53 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Carsten! * Carsten Dominik wrote: > > On 29.5.2013, at 22:09, Karl Voit 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