From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steven Huwig Newsgroups: gmane.emacs.devel Subject: Re: comments in Python mode Date: Wed, 27 Dec 2006 14:21:09 -0500 Message-ID: <07DE5CAC-02F8-4752-8A5A-DA53945A0907@acm.org> References: <200612260030.49345.pogonyshev@gmx.net> <23511492-6F31-4EC5-BEB2-4951CCDA9AE6@acm.org> <200612271907.20325.pogonyshev@gmx.net> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167247295 14242 80.91.229.10 (27 Dec 2006 19:21:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Dec 2006 19:21:35 +0000 (UTC) Cc: Steven Huwig , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 27 20:21:33 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GzeL4-0005uq-7a for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 20:21:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzeL3-0008NL-Mb for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 14:21:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GzeKo-0008L8-Ov for emacs-devel@gnu.org; Wed, 27 Dec 2006 14:21:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GzeKm-0008Jh-8m for emacs-devel@gnu.org; Wed, 27 Dec 2006 14:21:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GzeKl-0008JP-Jr for emacs-devel@gnu.org; Wed, 27 Dec 2006 14:21:03 -0500 Original-Received: from [64.233.162.231] (helo=nz-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GzeKk-00059H-Qr for emacs-devel@gnu.org; Wed, 27 Dec 2006 14:21:02 -0500 Original-Received: by nz-out-0506.google.com with SMTP id r28so1888428nza for ; Wed, 27 Dec 2006 11:21:02 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:subject:date:to:x-mailer:from; b=TV7ozCEoTh0ejotHH2anPr9ZC6Y+/18oS5PJN/FaaOXjdPm+zivej7TSY6mju8gTnmFPH84T3zrkWuOouApC4PAhFRNzY8guDJFNxqt06B3oo8K1IkpIkZQzZx7auReLoIWIV2TO0+zu8Dz4uQ2xOhXENKw6jUUGyVIS+4Nvh8M= Original-Received: by 10.35.41.14 with SMTP id t14mr27032080pyj.1167247261775; Wed, 27 Dec 2006 11:21:01 -0800 (PST) Original-Received: from ?10.0.1.3? ( [24.95.36.8]) by mx.google.com with ESMTP id 15sm67480463nzp.2006.12.27.11.21.00; Wed, 27 Dec 2006 11:21:01 -0800 (PST) In-Reply-To: <200612271907.20325.pogonyshev@gmx.net> Original-To: Paul Pogonyshev X-Mailer: Apple Mail (2.752.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64365 Archived-At: 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