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: Tue, 10 Jan 2023 21:22:56 +0100 Message-ID: <87wn5um95r.fsf@thornhill.no> References: <87o7ratva2.fsf@thornhill.no> <87bkn9tasb.fsf@thornhill.no> <83sfgloz5w.fsf@gnu.org> <875ydgu8dd.fsf@thornhill.no> <83fsckpznk.fsf@gnu.org> <87358ku6x2.fsf@thornhill.no> <837cxvq3x9.fsf@gnu.org> <87h6wyss3d.fsf@thornhill.no> <83358io2cd.fsf@gnu.org> <87zgaqmbfj.fsf@thornhill.no> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8759"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , juri@linkov.net, casouri@gmail.com, 60623@debbugs.gnu.org, mardani29@yahoo.es To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 10 21:24:24 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 1pFLAU-00022H-Mr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Jan 2023 21:24:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFLAF-0007cU-R0; Tue, 10 Jan 2023 15:24:08 -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 1pFLAA-0007cC-KB for bug-gnu-emacs@gnu.org; Tue, 10 Jan 2023 15:24:02 -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 1pFLAA-00033W-5X for bug-gnu-emacs@gnu.org; Tue, 10 Jan 2023 15:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFLA9-0002Q8-Pc for bug-gnu-emacs@gnu.org; Tue, 10 Jan 2023 15:24: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: Tue, 10 Jan 2023 20:24: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.16733821819225 (code B ref 60623); Tue, 10 Jan 2023 20:24:01 +0000 Original-Received: (at 60623) by debbugs.gnu.org; 10 Jan 2023 20:23:01 +0000 Original-Received: from localhost ([127.0.0.1]:41208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFL9B-0002OT-Az for submit@debbugs.gnu.org; Tue, 10 Jan 2023 15:23:01 -0500 Original-Received: from out-7.mta0.migadu.com ([91.218.175.7]:32394) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFL99-0002OF-67 for 60623@debbugs.gnu.org; Tue, 10 Jan 2023 15:23:00 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1673382177; 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: in-reply-to:in-reply-to:references:references; bh=6UxEedGr/cVrvMawyC1sk/y4vFM3dz0zZVrJ93Km0+U=; b=HDn9KUt8Jh2EESkNqy8VCPcyMQvFOTzJB0gE8DNdQRlFAXY4B5dFxPRBJlqVRY3v5xgBu1 u1A9nvlgFVj47fJdup0Rqv4GUXe9/8mOfRwkFD2QL2mW1sq8zrB8fcqZPnolWZvEwqOmPJ EpTSgBPOvVc732bvRe+2qQPRcLP0nYrudhzX+c3jt4MdU8/L8wG/XvnweOXUPuXSzpSHER tnPHj/Ww+dy/cGO0ts5gVIei8km4z/4tvWWRq1MUfKIClL1WzXbpJTJ0ojUYmcKQ+nrFn/ o44TSzmSg/S43w7Gc+k2eWgcQ0cLH8PHtntdDMHruCmp1lw1C/YR3A6USIm8Rg== 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:253112 Archived-At: Stefan Monnier writes: >>>> +* Moving by Sentences:: Commands to move over certain definitions in code. >>> ^^^^^^^^^^^ >>> I'd use "code units" or "units of code" here. >> >> Done. >> >>> >>> Also, should we perhaps name the section "Moving by Statements"? or >>> would it be too inaccurate? >>> >> >> I'm not sure. I think that maybe because the commands involved, and the >> ones that implicitly will be impacted, such as kill-sentence and friends >> it is best to stay with Sentences? But a statement is the better term >> wrt programming languages of course. I hold no strong opinions here. > > FWIW, while it may correspond to "statements" for some languages, it > will correspond to other things in other languages (e.g. those that > don't have a notion of "statement"), so it's probably best to stick to > "sentence" here and then in the doc explain how that notion is expected > to be mapped to notions that make sense for a given language. > > > Stefan Yeah, that makes sense. Theo