emacs-devel
[Top][All Lists]
Advanced

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

Re: commends in Python mode


From: Stefan Monnier
Subject: Re: commends in Python mode
Date: Thu, 04 Jan 2007 23:57:03 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

> Try inputting the following in a Python mode buffer:
> test = (1,
>         # Apostrophe: '
>         2)

> You can see that the apostrophe breaks sexp scanning (the closing
> paren is not paired with the opening) and probably more.  This
> doesn't happen in e.g. C-mode, so it is a problem of Python mode.

I believe you're just suffering the consequences of having
parse-sexp-ignore-comments set to nil.  IMO it should always be set to t,
but for some reason it defaults to nil.


        Stefan




reply via email to

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