emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Expanded property drawers as per file option


From: Feng Shu
Subject: Re: [O] Expanded property drawers as per file option
Date: Wed, 29 May 2013 12:31:06 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.2 (gnu/linux)

Thorsten Jolitz <address@hidden> writes:

> Thorsten Jolitz <address@hidden> writes:
>
>> Karl Voit <address@hidden> 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?
>
> sorry, that was a bit too hurried, I think this one is what you might
> need:
>
> ,-------------------------------------
> | (defun find-org-contracts ()
> | (interactive)
> | (find-file "/path/to/contracts.org")
> | (show-all))
> | 
> | M-x find-org-contracts
> `-------------------------------------

I use:

#+STARTUP: showeverything

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]