[ESS] hide function bodies
A.J. Rossini
blindglobe at gmail.com
Fri Jun 22 10:57:47 CEST 2007
Yes, but the functionality it (ESS) currently supports within ECB is primitive.
( I know, I wrote it).
I was hoping to fix it up, similar to Sven's work, but then I became a
pointy-headed boss.
I've taken a stab at code-folding in the past, using folding-mode
and/or corrupting allout (the "better" outline mode a few years ago),
but they looked ugly, in the sense of needing to hint appropriately
how to fold (I couldn't figure out the right incantation so to do
without). One could argue that anything within braces, i.e.
{ .... }
is fair game, but there are a few edge cases to work out there.
On 6/22/07, Rainer M. Krug <rmk at krugs.de> wrote:
> There is also ecb (Emacs Code Browser, http://ecb.sourceforge.net/),
> which is also working with R - very usefull to have.
>
> Rainer
>
>
> Sven Hartenstein wrote:
> > Hi,
> >
> > is there any Emacs or ESS feature allowing for automatic hiding of
> > function bodies (similar to "outlining" maybe)?
> >
> > If I have a R file with multiple R functions it would be cool being
> > able to get a quick overview of all functions, say, like this:
> >
> >
> > firstfun <-- function(a, b, c=d) { ... }
> >
> > secondfun <-- function(x, y, z=NULL) { ... }
> >
> >
> > Best,
> >
> > Sven
> >
> > ______________________________________________
> > ESS-help at stat.math.ethz.ch mailing list
> > https://stat.ethz.ch/mailman/listinfo/ess-help
> >
>
> ______________________________________________
> ESS-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>
--
best,
-tony
blindglobe at gmail.com
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we
can easily roll-back your mistakes" (AJR, 4Jan05).
More information about the ESS-help
mailing list