bug-cflow
[Top][All Lists]
Advanced

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

Re: [bug-cflow] Extended version of cflow-mode.el


From: John Sturdy
Subject: Re: [bug-cflow] Extended version of cflow-mode.el
Date: Thu, 24 Jan 2013 13:45:51 +0000

On Fri, Dec 17, 2010 at 11:36 AM, John Sturdy <address@hidden> wrote:
> I've written some extensions to cflow-mode.el, using
> outline-minor-mode to toggle hiding of subtrees, and adding "next" and
> "previous", "next at same level", "previous at same level", and "up a
> level" commands.  By default, these show the functions referenced in
> another window, narrowed to just the function, with space and delete
> scrolling the other window and moving to the next / previous function
> on reaching the bottom / top.  If you've hidden a subtree, when you
> reach the end of the subtree that contains it,  you can be given the
> chance to reveal and move to that subtree (or it can do it
> automatically).  The "next" and "previous" commands normally skip
> recursive calls.  The overall effect ist that you can start at the top
> of a cflow file, and just keep pressing space, to read through the
> program in execution order but skipping bits which, if you stick to
> that order, you will have already seen.

I've added some more functions now, including M-p and M-n taking you
through a history list of functions you've been shown, and the display
of the current call stack in a buffer header line, and a command to
run from a buffer visiting a C file, to run cflow and show you the
result.

I've also made the customization variables use defcustom, and made the
`already seen functions' list for each buffer be saved by desktop.el.

__John

Attachment: cflow-mode.el
Description: Binary data


reply via email to

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