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: Stefan Kangas <stefan <at> marxist.se>
To: Glyph <glyph <at> twistedmatrix.com>
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 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




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

Previous Next


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