Many moons ago I happened upon Anders Lindgren's .emacs file and the follow-mode which 
is now part of the emacs distribution. There was also a folding mode in that file and 
below is some of the comments. It looks like it might do some of what you want 
although you will have to put markers in your code. I had a PC code editor that would 
collapse functions and/or methods of a class to just the name without having to imbed 
any magic tokens. It was kind of nice to get an otherview of the file. However, know 
when I'm in emacs editing a code file whenever I do a  right mouse click I get a list 
of functions. For me this way is just as easy to use as the collapse/expand 
methodology. 

;; Folding Mode -- Written by Jamie Lokier, But I have spent some
;;                 time enahncing it.  It allows you to make
;;                 parts of your code invisible.  You use
;;                 markers on the form `{{{' and `}}}' to
;;                 build up an hierarchy.  Folding allows you
;;                 to view only the headers (making them look
;;                 like a menu or directory listing).  It can
;;                 also narrow the text so that everything outisde
;;                 a fold is invisible.
;;
;; These, and other projects, can be found at:
;;    http://www.csd.uu.se/~andersl/emacs.shtml

John Syre


> ----------
> From:         Venkatesh Prasad Ranganath[SMTP:[EMAIL PROTECTED]]
> Reply To:     [EMAIL PROTECTED]
> Sent:         Wednesday, May 09, 2001 11:35 AM
> To:   [EMAIL PROTECTED]
> Subject:      Question/Suggestion
> 
> Hi,
> 
> Is it possible to use Outline mode in emacs with jde to collapse and expand
> comments selectively?  I do not know if jde or outline mode has such a facility
> currently.  If it does, can somebody direct me how to use it?  If not, how
> tough a task is it to incorporate it into jde?
> 
> waiting for reply,
> 
>  - Venkatesh 
> 
> ------------
> 
> In most instances, all an argument proves is that two people are present.
> 

Reply via email to