emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: Re: Expanded property drawers as per file option
Date: Wed, 29 May 2013 22:09:04 +0200	[thread overview]
Message-ID: <2013-05-29T21-55-35@devnull.Karl-Voit.at> (raw)
In-Reply-To: 87sj16xv91.fsf@news.tumashu-localhost.org

* Feng Shu <tumashu@gmail.com> wrote:
> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Thorsten Jolitz <tjolitz@gmail.com> writes:
>>
>> ,-------------------------------------
>> | (defun find-org-contracts ()
>> | (interactive)
>> | (find-file "/path/to/contracts.org")
>> | (show-all))
>> | 
>> | M-x find-org-contracts
>> `-------------------------------------
>
> I use:
> #+STARTUP: showeverything

Those two methods result in expanded properties, yes.

However, I obviously was not precise enough to explain my
requirement which is more complicated than "showeverything".


I would like to have all headings folded when I open the file (as it
is now). Then I navigate to a heading of a person by using text
search or arrow keys and TAB (to expand hierarchies). 

On the heading of the "target" person, I want TAB to expand also the
properties drawer, not only the content of the heading with
properties collapsed.


Example:

I start with contacts.org like this:

    * job
    * family

I go to "job" and expand using TAB:

    * job
      * Bob
      * Peter
      * Susan
    * family

After that, I navigate to "Peter" and press TAB once again to expand
the heading of Peter *and* its property drawer all together (only
for "Peter"):

    * job
      * Bob
      * Peter
        :PROPERTIES:
        :EMAIL: peter@example.com
        :COMPANY: Acme
        :ADDRESS: Hiscity, hisstreet 42
        :END:

        - met him at conference XY in 2009
        - works in the field of foobar

      * Susan
    * family


The desired difference to my current situation is, that I do not
have to navigate on the PROPERTY line and press TAB to open the
drawer for email, company name, address, and so forth.


Usual behavior: PROPERTY drawer stays collapsed when its
corresponding heading gets expanded.

My wish: PROPERTY drawer gets collapsed when its corresponding
heading gets expanded.


I know that this is a very specific requirement and it spares me
only one positioning effort followed by TAB. However, for contacts
it would eliminate one annoyance for my work flow :-)

Thanks for your comments, thoughts, tipps!


-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

  reply	other threads:[~2013-05-29 20:09 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
2013-05-29 20:09       ` Karl Voit [this message]
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=2013-05-29T21-55-35@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).