Conditional compilation

John J. Lee jjl at pobox.com
Sun May 12 11:01:06 EDT 2002


On Sat, 11 May 2002, holger krekel wrote:

> John J. Lee wrote:
> > > """ and 'if 0:' are the standard possibilities. I guess one would
> > > need a truly developer oriented IDE to implement this indepently from
> > > language (handling say a all-included-file and a work-file separetely).
> > >
> > > Can't emacs or vi do folding/collapsing several lines into one line
> > > and allow writing out non-folded lines only?
> > [...]
> >
> > C-c # to comment, C-c rk to uncomment (kill rectangle, to be specific), in
> > emacs.
>
>
> thanks. but this doesn't do 'collapsing' several lines into temporary
> nothingness.

Sorry, was really replying to the thread in general rather than your
specific Q.; but I think emacs' does have a minor mode to do this (can't
remember what it's called, so this may be disinformation: could be a major
mode, in which case you can't mix it w/ python-mode of course).


John






More information about the Python-list mailing list