emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Feng Shu <tumashu@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Expanded property drawers as per file option
Date: Wed, 29 May 2013 12:31:06 +0800	[thread overview]
Message-ID: <87sj16xv91.fsf@news.tumashu-localhost.org> (raw)
In-Reply-To: <87wqqjcfse.fsf@gmail.com> (Thorsten Jolitz's message of "Tue, 28 May 2013 16:58:25 +0200")

Thorsten Jolitz <tjolitz@gmail.com> writes:

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Karl Voit <devnull@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
> `-------------------------------------

I use:

#+STARTUP: showeverything

-- 

  reply	other threads:[~2013-05-29  4:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28 14:21 Expanded property drawers as per file option Karl Voit
2013-05-28 14:40 ` Thorsten Jolitz
2013-05-28 14:45 ` Thorsten Jolitz
2013-05-28 14:58   ` Thorsten Jolitz
2013-05-29  4:31     ` Feng Shu [this message]
2013-05-29 20:09       ` Karl Voit
2013-05-29 22:32         ` Thorsten Jolitz
2013-06-01  6:13         ` Carsten Dominik
2013-06-01 16:30           ` Karl Voit

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sj16xv91.fsf@news.tumashu-localhost.org \
    --to=tumashu@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).