From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: Expanded property drawers as per file option Date: Tue, 28 May 2013 16:40:40 +0200 Message-ID: <8761y3dv6f.fsf@gmail.com> References: <2013-05-28T16-16-08@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhL9A-0008Hc-UX for emacs-orgmode@gnu.org; Tue, 28 May 2013 10:45:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhL99-0008VE-GR for emacs-orgmode@gnu.org; Tue, 28 May 2013 10:45:08 -0400 Received: from plane.gmane.org ([80.91.229.3]:50400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhL99-0008Uf-A6 for emacs-orgmode@gnu.org; Tue, 28 May 2013 10:45:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UhL95-0001DJ-0e for emacs-orgmode@gnu.org; Tue, 28 May 2013 16:45:03 +0200 Received: from g231106097.adsl.alicedsl.de ([92.231.106.97]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 May 2013 16:45:03 +0200 Received: from tjolitz by g231106097.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 May 2013 16:45:03 +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 Karl Voit writes: > Hi! > > I could not find anything yet which says that it's possible (or not) > to define a file variable which enables PROPERTY drawers to be > expanded (only in this current file). > > My use case: I usually never store major meta-data in drawers. So I > like the default behavior with closed property drawers. Except in > my "contacts.org" where I store basic data of persons I want to see. > > Therefore, I would like to have these drawers expanded whenever I > expand the heading of a person. In other words: heading content > expanded -> property drawer expanded. All other Org-mode files > should keep their behavior that I manually have to expand drawers > when I want to see their content. > > Is there a method to get this kind of behavior? > > Thanks! This does the job, but maybe there is some inbuilt functionality too. ,------------------------------------- | (defun find-org-contracts () | (find-file "/path/to/contracts.org") | (show-all)) | | (find-org-contracts) `------------------------------------- -- cheers, Thorsten