From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60623: 30.0.50; Add forward-sentence with tree sitter support Date: Sun, 08 Jan 2023 18:04:12 +0100 Message-ID: References: <87o7ratva2.fsf@thornhill.no> <86bkn9whgl.fsf@mail.linkov.net> Reply-To: Theodor Thornhill 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="25470"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "60623@debbugs.gnu.org" <60623@debbugs.gnu.org>, "casouri@gmail.com" , "eliz@gnu.org" , "monnier@iro.umontreal.ca" To: Drew Adams , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 08 18:05:21 2023 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 1pEZ6m-0006NX-FG for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Jan 2023 18:05:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEZ6X-0006H3-P1; Sun, 08 Jan 2023 12:05:05 -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 1pEZ6U-0006F3-EO for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 12:05:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEZ6U-00020U-5H for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 12:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEZ6T-0001PC-La for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 12:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jan 2023 17:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60623 X-GNU-PR-Package: emacs Original-Received: via spool by 60623-submit@debbugs.gnu.org id=B60623.16731974635353 (code B ref 60623); Sun, 08 Jan 2023 17:05:01 +0000 Original-Received: (at 60623) by debbugs.gnu.org; 8 Jan 2023 17:04:23 +0000 Original-Received: from localhost ([127.0.0.1]:34522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEZ5r-0001OH-4V for submit@debbugs.gnu.org; Sun, 08 Jan 2023 12:04:23 -0500 Original-Received: from out2.migadu.com ([188.165.223.204]:20471) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEZ5l-0001O5-HR for 60623@debbugs.gnu.org; Sun, 08 Jan 2023 12:04:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1673197456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+n2L1QzA00TjrLrv4SNWs215H5I7euGoJoqatjs1nSQ=; b=HqIby9u9kfaWaPr1+Jkbj3VLzLmp5A45REz8C+3HtDjPI/r3n2rPyBu5YrojnCnOQOObI1 GYYxPF6vSKwm339OqOsBahhtq1RsOGdBROLGExVXk3xlfQs/r/YNw7Hj/DPfXSOKlgLFOh qVDqbdTmJpwvWntgqDz/mN3eta0SKDdSu+9Uwqj97d/EwyTOLAIh4nWYQqgze8sw2xNxcW np1PD1tXs8B512C63Z57ETRv4tq91ooGzSam4Is4It7Rg24fyCuyQwf++mdupX5GpQ7uNY PbfByepvfEvI5fjQH88iRbPGy/xcA4KN+IKGVdGeBNEbOAXam70WKSwZ5goPcA== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: X-Migadu-Flow: FLOW_OUT 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:252938 Archived-At: On 8 January 2023 17:41:05 CET, Drew Adams wro= te: >> >A good practice is to name such a function >> >e=2Eg=2E forward-sentence-default-function=2E >>=20 >> Is this practice used anywhere else? Iirc >> forward-sexp-function doesn't follow that >> practice=2E > >Exactly=2E IMO, if the variable can have a >nonfunction value, especially nil, then >there's no need (nothing gained, and even >possible confusion/misunderstanding added) >by adding "-default-" to the name=2E > >On the other hand, if the value must always >be a function, then having "-default-" in >the name makes sense=2E > >Following this guideline helps users know >(guess) what the variable's value can be >even without consulting its doc=2E So is this to be considered an improvement to forward-sexp too, then?