Subject: Re: bug#60407: [PATCH] Update go-ts-mode to use Imenu facility

From: Randy Taylor <[email-masked]>
Date: Sun, 01 Jan 2023 13:08:33 +0000

On Sunday, January 1st, 2023 at 04:07, Eli Zaretskii <[email-masked]> wrote:
> 
> > From: Evgeni Kolev [email-masked]
> 
> > Date: Thu, 29 Dec 2022 18:05:49 +0200
> > 
> > This patch updates go-ts-mode to use Imenu facility added in
> > https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-29&id=b39dc7ab27a696a8607ab859aeff3c71509231f5
> > 
> > The Imenu items are extended to support "Method", in addition to
> > "Function" and "Type".
> > 
> > The current Imenu approach uses "type_spec" to identify "Type" which
> > acts as a catch-all for many Go constructs, for example struct and
> > interface definitions. This catch-all approach is not optimal because
> > structs and interfaces are put in the same "Type" bucket. In a
> > follow-up patch I'll try to change the approach and have separate
> > "Interface" and "Struct" types.
> > 
> > The patch is below.
> 
> 
> Randy, Yuan, are you looking into this?

Sorry, been preoccupied recently. It's on my radar and I'll take a look and test it out later today.