help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: program outlining


From: Robert Thorpe
Subject: Re: program outlining
Date: Mon, 11 Jul 2016 16:13:57 +0100

Rusi <address@hidden> writes:

> Ive been trying to figure out the best outlining that emacs can give for
> programs.
>
> Outline-mode seems to be more for text than code
> Outshine mode inspired by above+org-mode seemed promising in that it seems to
> make org mode's wonderful TAB-behavior work for code.
> But I couldn’t get it to work
>
> So hideshow…
> But hideshow keystrokes are clumsy

There's a difference between personal code and shared code here.

The outline based modes require additions to the code to be made in the
right way.  Making that work with shared code when other people are
using different editors is difficult.  Even if the other programmers use
Emacs, many Emacs users don't use these modes.  This is not a problem if
it's personal code.

Hide/show, selective display and pages are more general tools.  They
require little or nothing to be embedded in the code itself.  But, in
many cases an automatically generated navigation tree can't beat a
manually created one.

So, there's no one best way.

BR,
Robert Thorpe




reply via email to

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