unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Illya Bomash <ibomash@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Temporary code folding for navigation
Date: Wed, 24 Apr 2013 11:39:26 -0400	[thread overview]
Message-ID: <C86266E34A3447D48EA92B2FC65DA76E@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

Hi everyone,  

When I use org-mode, I really like org-goto: it puts me in a temporary buffer that has an overview of my file (with all the details folded away), thereby showing me the structure of the file at a glance, and lets me easily get to a particular place, using simple keys for navigation or using isearch within this temporary buffer.

I’d love to have something similar for source code, e.g. Python files:

Press a key to temporarily put me in a buffer with only the outline of my code;
Put me in a mode where I can use single keystrokes to navigate to the different locations in my code.

Do you know of any existing modes or packages that work this way?

There are a few code-outline modes that exist, but I don’t want this on the screen all the time…only when I want to jump someplace new. Hideshow is close, but it’s not meant as a “temporary” mode, and it doesn’t do anything to make navigation easier.

Any tips would be appreciated! Thanks!

Best,
Illya




[-- Attachment #2: Type: text/html, Size: 1329 bytes --]

             reply	other threads:[~2013-04-24 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 15:39 Illya Bomash [this message]
2013-04-24 17:09 ` Temporary code folding for navigation Thorsten Jolitz
  -- strict thread matches above, loose matches on Subject: below --
2013-04-24 19:49 Illya Bomash
2013-04-25 13:43 ` Thien-Thi Nguyen
2013-04-25 14:14 ` Thorsten Jolitz

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=C86266E34A3447D48EA92B2FC65DA76E@gmail.com \
    --to=ibomash@gmail.com \
    --cc=help-gnu-emacs@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.
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).