GNU bug report logs - #74461
[PATCH] Add go-work-ts-mode

Previous Next

Package: emacs;

Reported by: Gabriel Santos <gabrielsantosdesouza <at> disroot.org>

Date: Thu, 21 Nov 2024 13:59:02 UTC

Severity: wishlist

Tags: confirmed, patch

Fixed in version 31.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Randy Taylor <dev <at> rjt.dev>
To: Gabriel Santos <gabrielsantosdesouza <at> disroot.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 74461 <at> debbugs.gnu.org
Subject: bug#74461: [PATCH] Add go-work-ts-mode
Date: Thu, 02 Jan 2025 00:32:45 +0000
On Sunday, December 22nd, 2024 at 06:32, Gabriel Santos <gabrielsantosdesouza <at> disroot.org> wrote:
> [...]
>
> > > +(defun go-work-ts-mode--in-directive-p ()
> > > + "Return non-nil if point is inside a Go workspace directive.
> > 
> > This docstring doesn't seem right: the function returns another
> > function, not a boolean.
> 
> 
> Huh, that is true (it returns a lambda function).
> Thankfully Randy is CC'ed here, so maybe
> he can comment on that.
> 

I probably forgot to update the docstring or something.
`go-mod-ts-mode--in-directive-p' and the go-work equivalent
should probably be renamed to `go-mod-ts-mode--directive-matcher'.




This bug report was last modified 103 days ago.

Previous Next


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