Comments

Thomas Heller theller at python.net
Wed May 8 15:04:12 EDT 2002


"Philip Swartzleonard" <starx at pacbell.net> wrote in message news:Xns92087A57CBCBERASXnewsDFE1 at 130.133.1.4...
>
> I removed the extra blank lines manually. Unfortuantly if you try to do
> something like this without the extra padding
>
> def foo:
>     # A comment that is longer than fill length
>     c=1
>     c=2
>     pass
>
> [Hitting C-q] You'll get
>
> def foo: # A comment that is
> longer than fill length c=1
> c=2 pass
>
> ... Is there a way to make emacs ignore lines that wouldn't be
> considered comments by the language when wrapping?

No answer from here :-(
The same happens with triple quoted strings, unfortunately.

Barry?

Thomas





More information about the Python-list mailing list