[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

code folding with <backtab> ?

From: Yagnesh Raghava Yakkala
Subject: code folding with <backtab> ?
Date: Sat, 07 Apr 2012 17:07:07 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]