GNU bug report logs - #60407
[PATCH] Update go-ts-mode to use Imenu facility

Previous Next

Package: emacs;

Reported by: Evgeni Kolev <evgenysw <at> gmail.com>

Date: Thu, 29 Dec 2022 16:07:02 UTC

Severity: normal

Tags: patch

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Randy Taylor <dev <at> rjt.dev>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Evgeni Kolev <evgenysw <at> gmail.com>, 60407 <at> debbugs.gnu.org,
 Yuan Fu <casouri <at> gmail.com>
Subject: Re: bug#60407: [PATCH] Update go-ts-mode to use Imenu facility
Date: Sun, 01 Jan 2023 13:08:33 +0000
On Sunday, January 1st, 2023 at 04:07, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
> > From: Evgeni Kolev evgenysw <at> gmail.com
> 
> > 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.




This bug report was last modified 2 years and 171 days ago.

Previous Next


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