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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29717 in the body.
You can then email your comments to 29717 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#29717; Package emacs. (Fri, 15 Dec 2017 04:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Glyph <glyph <at> twistedmatrix.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 15 Dec 2017 04:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glyph <glyph <at> twistedmatrix.com>
To: bug-gnu-emacs <at> gnu.org
Subject: python mode imenu and semantic imenu for python both fail to
 recognize any function with return-value annotations
Date: Thu, 14 Dec 2017 19:54:05 -0800
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29717; Package emacs. (Mon, 10 Aug 2020 15:44:01 GMT) Full text and rfc822 format available.

Message #8 received at 29717 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Glyph <glyph <at> twistedmatrix.com>
Cc: 29717 <at> debbugs.gnu.org
Subject: Re: 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 08:42:47 -0700
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"?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29717; Package emacs. (Mon, 10 Aug 2020 20:20:02 GMT) Full text and rfc822 format available.

Message #11 received at 29717 <at> debbugs.gnu.org (full text, mbox):

From: Glyph <glyph <at> twistedmatrix.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 29717 <at> debbugs.gnu.org
Subject: Re: 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



Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Mon, 10 Aug 2020 20:26:01 GMT) Full text and rfc822 format available.

Notification sent to Glyph <glyph <at> twistedmatrix.com>:
bug acknowledged by developer. (Mon, 10 Aug 2020 20:26:02 GMT) Full text and rfc822 format available.

Message #16 received at 29717-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Glyph <glyph <at> twistedmatrix.com>
Cc: 29717-done <at> debbugs.gnu.org
Subject: Re: 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:25:07 -0700
Glyph <glyph <at> twistedmatrix.com> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Sep 2020 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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