Thorsten Jolitz <tjol...@gmail.com> writes:

> Karl Voit <devn...@karl-voit.at> 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
`-------------------------------------

-- 
cheers,
Thorsten


Reply via email to