bug-cflow
[Top][All Lists]
Advanced

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

[bug-cflow] another non-bug for the list: I've extended the emacs suppor


From: John Sturdy
Subject: [bug-cflow] another non-bug for the list: I've extended the emacs support
Date: Wed, 2 Feb 2011 17:03:54 +0000

I've added some new commands to the emacs support for cflow, should I
post the code here?

It uses outline minor mode to do folding, and has the option of
continuous display (in another window) of the corresponding code files
as you go through the cflow output.

The main way to use it is just to keep pressing space; this will take
you through each function scanned, in the other window, narrowed to
just that function, and scrolling that window until it reaches the
bottom of the function; when it reaches the bottom, the next SPACE
press will step to the next function in the cflow output file.

If you get to a function that you don't yet want to look into the
callees of, you can press TAB to fold it (using outline).  Then when
you get to the end of the callees of the parent of the one you folded,
it will go back and unfold the folded one, and step you through that
using SPACE.  (All this is controllable with variables.)

This (from my point of view) typically DTRT for reading through an
unfamiliar program for the first time.

There are also "u", "b" and "f" commands for going up, backwards, and
forwards in the tree.

__John



reply via email to

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