From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: Re: fix infinite loop in python.el Date: Sun, 22 Jul 2007 19:45:38 +0300 Message-ID: <200707221945.38881.pogonyshev@gmx.net> References: <200707211549.54650.pogonyshev@gmx.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1185121834 4136 80.91.229.12 (22 Jul 2007 16:30:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 22 Jul 2007 16:30:34 +0000 (UTC) To: emacs-devel@gnu.org, rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 22 18:30:31 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICeKD-0003Vb-Q7 for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 18:30:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICeKD-0005k2-Bz for ged-emacs-devel@m.gmane.org; Sun, 22 Jul 2007 12:30:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ICeKA-0005jn-OJ for emacs-devel@gnu.org; Sun, 22 Jul 2007 12:30:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ICeK8-0005jb-Km for emacs-devel@gnu.org; Sun, 22 Jul 2007 12:30:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICeK8-0005jY-IU for emacs-devel@gnu.org; Sun, 22 Jul 2007 12:30:24 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1ICeK8-0007nS-06 for emacs-devel@gnu.org; Sun, 22 Jul 2007 12:30:24 -0400 Original-Received: (qmail invoked by alias); 22 Jul 2007 16:30:22 -0000 Original-Received: from unknown (EHLO [80.94.230.23]) [80.94.230.23] by mail.gmx.net (mp004) with SMTP; 22 Jul 2007 18:30:22 +0200 X-Authenticated: #16844820 X-Provags-ID: V01U2FsdGVkX1/GYxp7FQPGK//BRjYDyBpSNehO2YBFO+RvEnpFr2 PWJ6OD6A8jkBJ3 User-Agent: KMail/1.7.2 In-Reply-To: Content-Disposition: inline X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:75304 Archived-At: Richard Stallman wrote: > Does the bug exist in Emacs 22, or only in the trunk? Don't know. As far as I can tell, it was also present in 22, but just never manifested itself. It became uncovered due to this change, but probably was not added by the change: 2007-07-12 Paul Pogonyshev * progmodes/which-func.el (which-func-modes): Add `python-mode'. * progmodes/python.el (python-which-func-length-limit): New var. (python-which-func): New function. (python-current-defun): Add optional `length-limit' and try to fit computed function name to that length. (python-mode): Hook `python-which-func' up. It did alter the function in question, but as far as I can see, infinite loop was possible before too. Paul