emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Peter Jones <mlists@pmade.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Anything like org-hide-others/org-close-others?
Date: Sun, 23 Aug 2009 11:46:50 +0100	[thread overview]
Message-ID: <0EEE3F53-6CDB-4DF6-96C6-C7633BB3CF39@gmail.com> (raw)
In-Reply-To: <86skflyt99.fsf@pmade.com>


On Aug 21, 2009, at 6:24 PM, Peter Jones wrote:

> I'd like to have an interactive function that will return the entire
> buffer to the outline state (all headings closed/folded), and then
> reopen the heading at point.
>
> Usually I'm working in one specific location in an org file.  I might
> jump around and open a few other headings, then continue working in my
> original heading.  At this point, the buffer seems a bit messy with  
> most
> headings closed except the one I'm working on and a few others I've
> opened.
>
> It would be nice to hit a key and close everything except the heading
> I'm in.

How about

   S-TAB  C-c C-r

S-TAB goes to overview, and `C-c C-r' reveals the location of point.

If you need in on a single key, write a function that calls
`org-overview' and then `org-reveal'.

>
> Is this something that is already in org and I'm missing it?  If not,
> any pointers on how to implement something like this?
>
> Thanks.
>
> -- 
> Peter Jones - 303-219-0226
> pmade inc.  - http://pmade.com
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-08-23 10:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21 17:24 Anything like org-hide-others/org-close-others? Peter Jones
2009-08-23 10:46 ` Carsten Dominik [this message]
2009-08-24 17:33   ` Peter Jones

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=0EEE3F53-6CDB-4DF6-96C6-C7633BB3CF39@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mlists@pmade.com \
    /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).