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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Evgeni Kolev <evgenysw <at> gmail.com>
Cc: dev <at> rjt.dev, casouri <at> gmail.com, 60407 <at> debbugs.gnu.org
Subject: bug#60407: [PATCH] Update go-ts-mode to use Imenu facility
Date: Sun, 08 Jan 2023 12:59:14 +0200
> From: Evgeni Kolev <evgenysw <at> gmail.com>
> Date: Sun, 8 Jan 2023 10:10:33 +0200
> Cc: Randy Taylor <dev <at> rjt.dev>, Eli Zaretskii <eliz <at> gnu.org>, 60407 <at> debbugs.gnu.org
> 
> A side question - does it make sense to extend go-ts-mode with
> interactive functions?
> 
> For example a function (go-ts-mode-docstring) which adds a docstring
> for the current type:
> with Go code:
>     func sum(a, b int) int {...}
> the function would add a comment above the func:
>     // sum
>     func sum(a, b int) int {...}
> 
> This is something I've implemented for myself, I'm wondering if it
> makes sense to contribute it to go-ts-mode.

It makes sense, but it will have to wait until Emacs 30.  The release
branch is frozen, and no new features are accepted.

> Or should I first discuss this in the devel mail list? Or maybe send
> another patch and have the discussion there?

Either one would be good.

Thanks.




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.