[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Expanded property drawers as per file option
From: |
Thorsten Jolitz |
Subject: |
Re: [O] Expanded property drawers as per file option |
Date: |
Tue, 28 May 2013 16:40:40 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
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?
>
> 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