From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yagnesh Raghava Yakkala Newsgroups: gmane.emacs.help Subject: Re: python.el and imenu Date: Mon, 30 Jul 2012 19:28:19 +0900 Message-ID: <87a9yhv8zg.fsf@yagnesh.org> References: <5015FED6.9090406@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1343644098 23168 80.91.229.3 (30 Jul 2012 10:28:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2012 10:28:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Greg Laun Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 12:28:18 2012 Return-path: Envelope-to: geh-help-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 1SvnCz-00023o-V7 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 12:28:18 +0200 Original-Received: from localhost ([::1]:49901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvnCz-0001x9-6U for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 06:28:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvnCr-0001x4-0Y for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 06:28:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvnCp-0001Mp-Qb for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 06:28:08 -0400 Original-Received: from mailgate4.sys.hokudai.ac.jp ([133.87.1.147]:45216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvnCp-0001HM-GE for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 06:28:07 -0400 Original-Received: from mailgate4.sys.hokudai.ac.jp (localhost.localdomain [127.0.0.1]) by localhost.sys.hokudai.ac.jp (Postfix) with ESMTP id 83C2642DF22 for ; Mon, 30 Jul 2012 19:27:59 +0900 (JST) Original-Received: from okhotsk19 (okhotsk19.lowtem.hokudai.ac.jp [133.87.217.175]) by mailgate4.sys.hokudai.ac.jp (Postfix) with ESMTP id 7498C42DF12 for ; Mon, 30 Jul 2012 19:27:59 +0900 (JST) Original-Received: from localhost (okhotsk19 [127.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by okhotsk19 (Postfix) with ESMTPS id CBB572815C3; Mon, 30 Jul 2012 19:28:20 +0900 (JST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 133.87.1.147 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86128 Archived-At: Hello Greg, Greg Laun writes: For me Imenu is working with both emacs-24.1 and with trunk (emacs-24.2). Notice that 24.2 will come with Fabian's python.el replacing = the old one. > How does one use imenu with the current python.el in emacs24? When I try= M-x > imenu in a python file, I always get the message, "No items suitable for = an > index found in this buffer". when you are in the python buffer, whats the value of `imenu-create-index-function' (C-h v). > > I have spent a good part of the day searching the Internet for an answer = and > have had no luck. I have found other people having the same problem > (e.g. http://stackoverflow.com/questions/6317667/fabian-gallinas-python-e= l-imenu-support) > but the solutions there do not work for me. There is a bug in CEDET's imenu function for python, So if you have semantic enabled (from CEDET) please turn it off. Thanks., --=20 =E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81 YYR