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:45:32 +0200 Message-ID: <871u8rduyb.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]:58881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhLE7-0002Vk-Q4 for emacs-orgmode@gnu.org; Tue, 28 May 2013 10:50:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UhLDx-0002Cw-KE for emacs-orgmode@gnu.org; Tue, 28 May 2013 10:50:15 -0400 Received: from plane.gmane.org ([80.91.229.3]:59394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UhLDx-00029a-Da for emacs-orgmode@gnu.org; Tue, 28 May 2013 10:50:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UhLDu-000694-OC for emacs-orgmode@gnu.org; Tue, 28 May 2013 16:50:02 +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:50:02 +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:50:02 +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? or maybe better an interactive version: ,------------------------------------- | (defun find-org-contracts () | (interactive "fFile: ") | (find-file "/path/to/contracts.org") | (show-all)) | | M-x find-org-contracts `------------------------------------- -- cheers, Thorsten