unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations
@ 2017-12-15  3:54 Glyph
  2020-08-10 15:42 ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Glyph @ 2017-12-15  3:54 UTC (permalink / raw)
  To: 29717

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations
  2017-12-15  3:54 bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations Glyph
@ 2020-08-10 15:42 ` Stefan Kangas
  2020-08-10 20:19   ` Glyph
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Kangas @ 2020-08-10 15:42 UTC (permalink / raw)
  To: Glyph; +Cc: 29717

Glyph <glyph@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations
  2020-08-10 15:42 ` Stefan Kangas
@ 2020-08-10 20:19   ` Glyph
  2020-08-10 20:25     ` Stefan Kangas
  0 siblings, 1 reply; 4+ messages in thread
From: Glyph @ 2020-08-10 20:19 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 29717



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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations
  2020-08-10 20:19   ` Glyph
@ 2020-08-10 20:25     ` Stefan Kangas
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Kangas @ 2020-08-10 20:25 UTC (permalink / raw)
  To: Glyph; +Cc: 29717-done

Glyph <glyph@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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-10 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-15  3:54 bug#29717: python mode imenu and semantic imenu for python both fail to recognize any function with return-value annotations Glyph
2020-08-10 15:42 ` Stefan Kangas
2020-08-10 20:19   ` Glyph
2020-08-10 20:25     ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).