all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yagnesh Raghava Yakkala <yagnesh@live.com>
To: help-gnu-emacs@gnu.org
Subject: code folding with <backtab> ?
Date: Sat, 07 Apr 2012 17:07:07 +0900	[thread overview]
Message-ID: <87ty0wdkyc.fsf@live.com> (raw)


Hello all,

Just like org does, folding (or cycling) with its outlines by pressing
backtab(shift+<tab>), I would want every programming language buffer to show
such a /outline/ of the program(buffer) to get a overview of the program I am
working on. I know this depends on the major mode of the current buffer and
combination of suitable minor modes namely outline-minor-mode or
hs-minor-mode. (or may be with CEDET with its semantic parsing)


To begin with elisp, can anybody tell me how to make backtab to show the
outline of the buffer at least for two levels. I mean first press would show
me buffer folded upto top level comments, defuns, defcustoms and defvars
and the second press would show me entire buffer.


I hope my question is clear.

Thanks. 
--
YYR




             reply	other threads:[~2012-04-07  8:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-07  8:07 Yagnesh Raghava Yakkala [this message]
2012-04-07  9:18 ` code folding with <backtab> ? Bastien
2012-04-08  9:37   ` Yagnesh Raghava Yakkala
2012-04-09 10:07     ` Bastien
2012-04-09 10:54     ` Andreas Röhler
2012-04-09 11:44       ` Yagnesh
2012-04-09 14:50       ` Bastien
2012-04-09 18:30         ` Andreas Röhler
     [not found] ` <mailman.675.1333790271.20052.help-gnu-emacs@gnu.org>
2012-04-08 14:52   ` Uday Reddy
2012-04-09 10:08     ` Bastien
     [not found] <mailman.674.1333786057.20052.help-gnu-emacs@gnu.org>
2012-04-09  1:00 ` Michael Heerdegen
2012-04-09 12:05   ` yagnesh raghava

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

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

  git send-email \
    --in-reply-to=87ty0wdkyc.fsf@live.com \
    --to=yagnesh@live.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.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.