GNU bug report logs - #29717
python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations

Previous Next

Package: emacs;

Reported by: Glyph <glyph <at> twistedmatrix.com>

Date: Fri, 15 Dec 2017 04:15:02 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glyph <glyph <at> twistedmatrix.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 29717 <at> debbugs.gnu.org
Subject: bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations
Date: Mon, 10 Aug 2020 13:19:15 -0700

> On Aug 10, 2020, at 8:42 AM, Stefan Kangas <stefan <at> marxist.se> wrote:
> 
> Glyph <glyph <at> twistedmatrix.com> 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"?

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



This bug report was last modified 4 years and 347 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.