From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13438: /srv/bzr/emacs/emacs-24 r111196: * imenu.el (imenu-default-create-index-function): Remove useless Date: Thu, 24 Jan 2013 13:30:16 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359052270 13262 80.91.229.3 (24 Jan 2013 18:31:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Jan 2013 18:31:10 +0000 (UTC) Cc: =?UTF-8?Q?Fabi=C3=A1n?= Ezequiel Gallina , 13438@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 24 19:31:28 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TyRa8-00008X-RM for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 19:31:24 +0100 Original-Received: from localhost ([::1]:41191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyRZr-00080a-GL for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jan 2013 13:31:07 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyRZk-0007ye-2y for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 13:31:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyRZi-00014o-KO for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 13:31:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyRZi-00014i-H5 for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 13:30:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TyRZm-0002CM-22 for bug-gnu-emacs@gnu.org; Thu, 24 Jan 2013 13:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jan 2013 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13438 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13438-submit@debbugs.gnu.org id=B13438.13590522268405 (code B ref 13438); Thu, 24 Jan 2013 18:31:02 +0000 Original-Received: (at 13438) by debbugs.gnu.org; 24 Jan 2013 18:30:26 +0000 Original-Received: from localhost ([127.0.0.1]:48138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyRZC-0002BW-3s for submit@debbugs.gnu.org; Thu, 24 Jan 2013 13:30:26 -0500 Original-Received: from mr001msr.fastwebnet.it ([85.18.95.64]:35514) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TyRZA-0002BP-7U for 13438@debbugs.gnu.org; Thu, 24 Jan 2013 13:30:24 -0500 Original-Received: from fmsmemgm.homelinux.net (93.63.184.150) by mr001msr.fastwebnet.it (8.5.140.03) id 50FFE8AF001E9126; Thu, 24 Jan 2013 19:30:17 +0100 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id AC564AE194; Thu, 24 Jan 2013 13:30:16 -0500 (EST) In-Reply-To: (Glenn Morris's message of "Thu, 24 Jan 2013 13:01:17 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:70255 Archived-At: > I'm not keen on removing an infinite loop check from emacs-24 at this > stage. The patch is "safe" in the sense that it will only introduce an inf-loop in those cases where the user used to get an error. [ Unless of course, the calling context catches those errors. ] > Why is this issue (apparently) only seen in Python mode, and why > isn't there a Python-specific solution (which seems like it would be > just making imenu-prev-index-position-function return nil when > appropriate)? If we can change python.el to work around the problem, we could install that workaround in emacs-24 and keep the "remove the inf-loop check" for the trunk, indeed. Stefan