From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Randy Taylor Newsgroups: gmane.emacs.bugs Subject: bug#74461: [PATCH] Add go-work-ts-mode Date: Thu, 02 Jan 2025 00:32:45 +0000 Message-ID: References: <87ttbzd16p.fsf@disroot.org> <86jzcl81py.fsf@gnu.org> <877c8l55he.fsf@disroot.org> <1C8B596E-785F-435D-AFEA-A2382FDA6AD8@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7071"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Stefan Monnier , 74461@debbugs.gnu.org To: Gabriel Santos Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 02 01:33:20 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tT99M-0001iG-0o for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jan 2025 01:33:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tT995-0003pn-Rw; Wed, 01 Jan 2025 19:33:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tT994-0003pX-Q6 for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 19:33:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tT994-0002N6-I1 for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 19:33:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=XkJ7p+HAhrVtp4pDhiD/kUkz5zWLzhosAozwanMS120=; b=NhILKqjpXJo5YrufyYz04kPbF9bR8QDpvo2gtYDN0/fkYW4S8/J1Mh8kquhuqfS0+lvSH0Svxd72FJI7/ZFN1j1R/9znxcDCCzTWVqDd7CadPNYBilTK4Yg2lqr0qH5MppKfhle2khTQxOOfMMtgc23iiCKeWQ9KRIQAmctm1f70y5nvF0XvOGe4qjlKX5LK95FSdOmEqP+jEq6G3SzAwrokK/af7spHh5f8jZUPRstbXTpdsUT3qTXkndiyFNTT9zlSV73/SsSCu4bvq4bSihUBw0+8AbHSeDMabLdf+bSRH5b9PT3/xF5F/Fom7Oz6g2ddKstWD7SWmg8ulkE74g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tT994-0006Ku-BL for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 19:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Randy Taylor Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jan 2025 00:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74461-submit@debbugs.gnu.org id=B74461.173577798124349 (code B ref 74461); Thu, 02 Jan 2025 00:33:02 +0000 Original-Received: (at 74461) by debbugs.gnu.org; 2 Jan 2025 00:33:01 +0000 Original-Received: from localhost ([127.0.0.1]:40936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tT992-0006Kf-Pm for submit@debbugs.gnu.org; Wed, 01 Jan 2025 19:33:01 -0500 Original-Received: from mail-10626.protonmail.ch ([79.135.106.26]:16619) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tT990-0006KJ-TT for 74461@debbugs.gnu.org; Wed, 01 Jan 2025 19:33:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjt.dev; s=protonmail3; t=1735777971; x=1736037171; bh=XkJ7p+HAhrVtp4pDhiD/kUkz5zWLzhosAozwanMS120=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=qHtds6xOpUfxeKiNwzWPBN4GSyHrLEygyG0DW9LCLWRhYotSBtvquBe8oXqsw9EZ7 9VaFVlc39RHBAQLWj1FQ0FNQXsxpQxpErEH9JoqBGoEB+ZOyz81qq3AJSB3ShVey03 zYpv9Zc8lU4jBe08Y5OZDZqOMyQ5tOHYWs2xXA9DGDcromLgAZVkx+dTBWhMWsMSJL 1Pk5uli8Y2Gz0lVeQIt6Ib7cCbGMZSIxlRK4oef22pJNJRO+IRqRdq1QX/Kze1C8dw mh4uQz5QR5DOvTOND3kOYFrGDIF32dYLs/jEdG584mBQvqT/463pdMPt9Aq27mpC8C BBTjui1QFR+kQ== In-Reply-To: <1C8B596E-785F-435D-AFEA-A2382FDA6AD8@disroot.org> Feedback-ID: 44397038:user:proton X-Pm-Message-ID: 18956a09b84c93bc6d23842a29563b4082154a91 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298075 Archived-At: On Sunday, December 22nd, 2024 at 06:32, Gabriel Santos wrote: > [...] > > > > +(defun go-work-ts-mode--in-directive-p () > > > + "Return non-nil if point is inside a Go workspace directive. > >=20 > > This docstring doesn't seem right: the function returns another > > function, not a boolean. >=20 >=20 > Huh, that is true (it returns a lambda function). > Thankfully Randy is CC'ed here, so maybe > he can comment on that. >=20 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'.