From unknown Wed Aug 20 05:43:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29717 <29717@debbugs.gnu.org> To: bug#29717 <29717@debbugs.gnu.org> Subject: Status: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations Reply-To: bug#29717 <29717@debbugs.gnu.org> Date: Wed, 20 Aug 2025 12:43:18 +0000 retitle 29717 python mode imenu and semantic imenu for python both fail to = recognize any function with return-value annotations reassign 29717 emacs submitter 29717 Glyph severity 29717 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 14 23:14:28 2017 Received: (at submit) by debbugs.gnu.org; 15 Dec 2017 04:14:28 +0000 Received: from localhost ([127.0.0.1]:34421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePhOG-0003gE-An for submit@debbugs.gnu.org; Thu, 14 Dec 2017 23:14:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42247) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePhOC-0003fx-BM for submit@debbugs.gnu.org; Thu, 14 Dec 2017 23:14:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePhO6-0000Jb-CP for submit@debbugs.gnu.org; Thu, 14 Dec 2017 23:14:19 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePhO6-0000JL-9O for submit@debbugs.gnu.org; Thu, 14 Dec 2017 23:14:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePhO5-0005yk-CJ for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 23:14:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePhO2-0000FD-5a for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 23:14:17 -0500 Received: from so254-45.mailgun.net ([198.61.254.45]:61759) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePhO1-0000EI-VY for bug-gnu-emacs@gnu.org; Thu, 14 Dec 2017 23:14:14 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=twistedmatrix.com; q=dns/txt; s=smtp; t=1513311253; h=To: Date: Message-Id: Subject: Mime-Version: Content-Transfer-Encoding: Content-Type: From: Sender; bh=T4gA3RDib6sXJzIbZRemtDCu2hlGbu1p/5PzXNVz6Tw=; b=XDlq6IXR+5dg9HZGI6Gp4YkaBzbAloiumdUGJSt3vjht7R6QlsTfw7JVVbIeQNJ3hAx1nUNd b2g8MxjsvJYuScKPsHzgv/X75GpTXQmGKzZNinA1QgD4zhKaBByEgLaMOZgmNqjnBqfHhDce eRrXIiTLt/p558rc2v/Zu0oY1Xc= X-Mailgun-Sending-Ip: 198.61.254.45 X-Mailgun-Sid: WyIwMTJkNCIsICJidWctZ251LWVtYWNzQGdudS5vcmciLCAiOWY1YTIiXQ== Received: from auth2-smtp.messagingengine.com (auth2-smtp.messagingengine.com [66.111.4.228]) by mxa.mailgun.org with ESMTP id 5a334760.7fa781332978-smtp-in-n01; Fri, 15 Dec 2017 03:54:08 -0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailauth.nyi.internal (Postfix) with ESMTP id A7C4120CD4; Thu, 14 Dec 2017 22:54:07 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 14 Dec 2017 22:54:07 -0500 X-ME-Sender: Received: from [192.168.1.196] (unknown [136.24.76.40]) by mail.messagingengine.com (Postfix) with ESMTPA id 4F67B7E404 for ; Thu, 14 Dec 2017 22:54:07 -0500 (EST) From: Glyph Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations Message-Id: <1FCFCCC1-8B67-49E2-8E99-F2FC934DCC27@twistedmatrix.com> Date: Thu, 14 Dec 2017 19:54:05 -0800 To: bug-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.3445.5.20) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) In all the various ways Emacs can display a buffer listing function = names, def foo(): pass shows me 'foo', and def foo() -> int: pass shows me nothing. This is true for top-level functions as well as nested functions, as = well as methods. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 11:43:05 2020 Received: (at 29717) by debbugs.gnu.org; 10 Aug 2020 15:43:05 +0000 Received: from localhost ([127.0.0.1]:37278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k59ws-0006Qh-7n for submit@debbugs.gnu.org; Mon, 10 Aug 2020 11:43:05 -0400 Received: from mail-yb1-f178.google.com ([209.85.219.178]:44367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k59wr-0006QN-Fy for 29717@debbugs.gnu.org; Mon, 10 Aug 2020 11:42:53 -0400 Received: by mail-yb1-f178.google.com with SMTP id i10so4987506ybt.11 for <29717@debbugs.gnu.org>; Mon, 10 Aug 2020 08:42:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=G8dzKT3dD7sAd0QaOVuP0TpKk37o9qOw39uVyopt8Ys=; b=tQqiP49oDoZyQ1zEcUEfgbwzXnzc1ll9V+eotsFpInfx83cMxpHbSMR7q31E5zEbig j/xxgX4yx0hEo7NWfOkBKhsIre1+HY6cx0Hch7kqNBIevipP6bt4R33R2pe6EJmyNjJ0 eAkJIbDS/gSx8+tRyssdz59M8CfR/qz+l3S6+NjayThpHYVXMhD5+tXKf7CxmTIO37TM DUYn+s+M7il+OSvBepZM7G8aHEiBqk0vKhX5UY3gU/640Ory4ib1W790ffu7zRxzifzC wU1nxntLCM3KM4vhmsjsLO4F1FrsdRB3AZth9aYDPFVG/5gBCcQW9i6aCv7odt8jwCpW qtaQ== X-Gm-Message-State: AOAM533mOPYwQJNfq0lAbKfE5ZufV5LxqG5yqyoAg2gWjMC3J5VhiIxc fOxm/558DVQrsIm4g+x3ZXoh9eRLoHao/cRne7AzCz1ze3g= X-Google-Smtp-Source: ABdhPJxjxTWrhSvYmg/v28+SWh2hesTISdApkKG7EGWZuYF3P4OxLtN6GDRKPnOquW3h/n7ukf/YuaEtPcTG6DB82/Q= X-Received: by 2002:a5b:508:: with SMTP id o8mr16575303ybp.43.1597074168001; Mon, 10 Aug 2020 08:42:48 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 10 Aug 2020 08:42:47 -0700 From: Stefan Kangas In-Reply-To: <1FCFCCC1-8B67-49E2-8E99-F2FC934DCC27@twistedmatrix.com> (glyph@twistedmatrix.com's message of "Thu, 14 Dec 2017 19:54:05 -0800") References: <1FCFCCC1-8B67-49E2-8E99-F2FC934DCC27@twistedmatrix.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Mon, 10 Aug 2020 08:42:47 -0700 Message-ID: Subject: Re: bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations To: Glyph Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29717 Cc: 29717@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Glyph writes: > In all the various ways Emacs can display a buffer listing function names, > > def foo(): > pass > > shows me 'foo', and > > def foo() -> int: > pass > > shows me nothing. > > This is true for top-level functions as well as nested functions, as well as methods. Do you have a recipe for reproducing this, starting from "emacs -Q"? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 16:19:55 2020 Received: (at 29717) by debbugs.gnu.org; 10 Aug 2020 20:19:55 +0000 Received: from localhost ([127.0.0.1]:37552 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5EGx-0001Yd-J2 for submit@debbugs.gnu.org; Mon, 10 Aug 2020 16:19:55 -0400 Received: from so254-45.mailgun.net ([198.61.254.45]:37201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5EGu-0001YO-Kj for 29717@debbugs.gnu.org; Mon, 10 Aug 2020 16:19:54 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=twistedmatrix.com; q=dns/txt; s=smtp; t=1597090792; h=To: References: Message-Id: Content-Transfer-Encoding: Cc: Date: In-Reply-To: From: Subject: Mime-Version: Content-Type: Sender; bh=0n12/UrvBwh2B/Vk07NvLNLxL0UpeCPwxort1KANq4Q=; b=s9z+xkiQ3PfIC4oXJZL//UyLkFGRf3o5LZIu/d+ven6sr+gX0hvslYrguOd/u7ejPvYR1Uo2 ctqkhoZW03SBmH8l3DTxKmvsIoUAu4YMa/mi6ZntaXXZsKz60vieoRw7FU/L2ZUl20QyUHg6 ffo8mHx4sNgNlCIGyHlWUK+J81s= X-Mailgun-Sending-Ip: 198.61.254.45 X-Mailgun-Sid: WyI4YjY0NCIsICIyOTcxN0BkZWJidWdzLmdudS5vcmciLCAiOWY1YTIiXQ== Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) by smtp-out-n15.prod.us-east-1.postgun.com with SMTP id 5f31abe32b87d660492095cf (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 10 Aug 2020 20:19:47 GMT Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailauth.nyi.internal (Postfix) with ESMTP id D710927C0054; Mon, 10 Aug 2020 16:19:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 10 Aug 2020 16:19:46 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrkeekgddugeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepifhlhihp hhcuoehglhihphhhsehtfihishhtvggumhgrthhrihigrdgtohhmqeenucggtffrrghtth gvrhhnpeejueegtdevueetjeeigfeigeevjeeuvddtveetgfelhfeigfelieejieeiteej gfenucfkphepudefiedrvdegrdejiedrudejkeenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehglhihphhhodhmvghsmhhtphgruhhthhhpvghr shhonhgrlhhithihqdefjeegtddufeejjedqudegleeliedvkeelqdhglhihphhhpeepth ifihhsthgvughmrghtrhhigidrtghomhesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from [192.168.1.145] (unknown [136.24.76.178]) by mail.messagingengine.com (Postfix) with ESMTPA id 33780328005A; Mon, 10 Aug 2020 16:19:46 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations From: Glyph In-Reply-To: Date: Mon, 10 Aug 2020 13:19:15 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <9E6737BC-B3B9-4EC0-B9F2-9DBE7553C28D@twistedmatrix.com> References: <1FCFCCC1-8B67-49E2-8E99-F2FC934DCC27@twistedmatrix.com> To: Stefan Kangas X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29717 Cc: 29717@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > On Aug 10, 2020, at 8:42 AM, Stefan Kangas wrote: >=20 > Glyph writes: >=20 >> In all the various ways Emacs can display a buffer listing function = names, >>=20 >> def foo(): >> pass >>=20 >> shows me 'foo', and >>=20 >> def foo() -> int: >> pass >>=20 >> shows me nothing. >>=20 >> This is true for top-level functions as well as nested functions, as = well as methods. >=20 > Do you have a recipe for reproducing this, starting from "emacs -Q"? I'm not sure what version I originally reported this on, but everywhere = I can test right now, it works. Thanks for following up, -g= From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 16:25:17 2020 Received: (at 29717-done) by debbugs.gnu.org; 10 Aug 2020 20:25:17 +0000 Received: from localhost ([127.0.0.1]:37556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5EM9-0001gn-9Z for submit@debbugs.gnu.org; Mon, 10 Aug 2020 16:25:17 -0400 Received: from mail-yb1-f174.google.com ([209.85.219.174]:40443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5EM5-0001gY-LK for 29717-done@debbugs.gnu.org; Mon, 10 Aug 2020 16:25:16 -0400 Received: by mail-yb1-f174.google.com with SMTP id q3so5832084ybp.7 for <29717-done@debbugs.gnu.org>; Mon, 10 Aug 2020 13:25:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=9V0skpmuX1dHZ/AI9Os0cVrMI9AgqEg9qzGjwyqnhik=; b=WpgMcCaFVTPmjup1NmDeITRUFB7fBYcfzQWWkD17smRP35Ripi6YI4VS3/c7XQ7mzF HR1q1xu8NvtADBAtlVD8AditbRiZcgTiMrQ3tif38dz8MyAFDp77m4TRWGfmXWrUBlnd CBhWrJ2LV6x9stXEXsz7fhW8TLlMvF6NMwAtZPe94gYoUS9PI9ET+UpQ68nQ2XIwsI2K GIgNPGtNjl/17fTObbA9BK+HqvVABZpC1Z1yjLqeD2mtouw+EHJ4pL6QoDidYF1foMaF TXmjiVJwqonKyCLgx9A4UczvI2xbAWAszObUorbd5Aztuw1QxhqlURK6DR0Cdg/8dX/d 7D/w== X-Gm-Message-State: AOAM531RJCYWOYgTI8M9QKQOsWAlZMZ5z34Es1HPpKpf64nyPzJ9eFpj 6TC9CyRo3ftp3zdFkANx5xne/ZSWfa10w7yCuUWySRPJrWY= X-Google-Smtp-Source: ABdhPJxdX16eXmXq/5FDrwoavlZXz/KGGVcyP+qD9dIP2o77JUyGLcaKItsdIXIbESYaYCpVDvfHHgq9CtpDsXByUKY= X-Received: by 2002:a25:b290:: with SMTP id k16mr12322791ybj.389.1597091108054; Mon, 10 Aug 2020 13:25:08 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 10 Aug 2020 13:25:07 -0700 From: Stefan Kangas In-Reply-To: <9E6737BC-B3B9-4EC0-B9F2-9DBE7553C28D@twistedmatrix.com> References: <1FCFCCC1-8B67-49E2-8E99-F2FC934DCC27@twistedmatrix.com> <9E6737BC-B3B9-4EC0-B9F2-9DBE7553C28D@twistedmatrix.com> MIME-Version: 1.0 Date: Mon, 10 Aug 2020 13:25:07 -0700 Message-ID: Subject: Re: bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations To: Glyph Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 29717-done Cc: 29717-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Glyph writes: > I'm not sure what version I originally reported this on, but > everywhere I can test right now, it works. That is excellent news. Thanks for checking. I'm consequently closing this bug report now. Best regards, Stefan Kangas From unknown Wed Aug 20 05:43:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 08 Sep 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator