emacs-devel
[Top][All Lists]
Advanced

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

Re: comments in Python mode


From: Steven Huwig
Subject: Re: comments in Python mode
Date: Wed, 27 Dec 2006 14:21:09 -0500


On Dec 27, 2006, at 12:07 PM, Paul Pogonyshev wrote:

Steven Huwig wrote:

On Dec 25, 2006, at 5:30 PM, Paul Pogonyshev wrote:

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.

Paul

This example works for me in a recent build from CVS. Are you
using python.el from Emacs 22, or the old python-mode.el?

Weird, because I just tested and sexp scanning is still broken.  I
updated from CVS, opened `python.el' and invoked `eval-buffer'.  No
change.


Maybe we are looking at different behavior.  I checked that
show-paren-mode and forward- and backward-sexp worked.  Is that what
you are doing?

I will update my Emacs to the current CVS version; my working build is
a few weeks old.  Maybe it is a regression...

-- Steve




reply via email to

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