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: Sat, 1 Jun 2013 18:30:42 +0200	[thread overview]
Message-ID: <2013-06-01T18-24-37@devnull.Karl-Voit.at> (raw)
In-Reply-To: 6BB8CA9C-FF5F-480B-B973-7A18436E733F@gmail.com

Hi Carsten!

* Carsten Dominik <carsten.dominik@gmail.com> wrote:
>
> On 29.5.2013, at 22:09, Karl Voit <devnull@Karl-Voit.at> wrote:
>> 
>> 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). 
>
> To try this, make the following line the first line of your file:
>
> # -*- mode: org; org-cycle-hook: (org-cycle-hide-archived-subtrees org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) -*-
>
> Then kill the buffer and visit it again.  Check the value of `org-cycle-hook' with `C-h v', you should see that the variable has a local value in this buffer.
>
> If you then press TAB twice on"Peter", the drawer will be open.

Yes, this works as described. Imperfect but it fixes my issue with
reasonable effort and functionality.

And I also learned that I can "overwrite" functions with local file
definitions. Quite handy.

Vielen Dank und einen schönen Gruß aus der schönen Steiermark!

-- 
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-06-01 16:31 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
2013-05-29 22:32         ` Thorsten Jolitz
2013-06-01  6:13         ` Carsten Dominik
2013-06-01 16:30           ` Karl Voit [this message]

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-06-01T18-24-37@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).