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: Mon, 09 Jan 2023 09:01:23 +0100 Message-ID: <87ilhgt9v0.fsf@thornhill.no> References: <87o7ratva2.fsf@thornhill.no> <86bkn9whgl.fsf@mail.linkov.net> <86k01xue5z.fsf@mail.linkov.net> <878ricu941.fsf@thornhill.no> <86o7r86tho.fsf@mail.linkov.net> 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="35227"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "60623@debbugs.gnu.org" <60623@debbugs.gnu.org>, "casouri@gmail.com" , "eliz@gnu.org" , Drew Adams , "monnier@iro.umontreal.ca" To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 09 09:02:10 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 1pEn6g-0008yN-1F for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Jan 2023 09:02:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEn6Z-0006zn-RL; Mon, 09 Jan 2023 03:02: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 1pEn6Y-0006zD-Bz for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 03:02: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 1pEn6Y-0008SY-3E for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 03:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEn6X-0004aM-Ub for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 03:02: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: Mon, 09 Jan 2023 08:02: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.167325129017587 (code B ref 60623); Mon, 09 Jan 2023 08:02:01 +0000 Original-Received: (at 60623) by debbugs.gnu.org; 9 Jan 2023 08:01:30 +0000 Original-Received: from localhost ([127.0.0.1]:35696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEn62-0004Zb-5y for submit@debbugs.gnu.org; Mon, 09 Jan 2023 03:01:30 -0500 Original-Received: from out-17.mta0.migadu.com ([91.218.175.17]:61953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEn5z-0004ZR-25 for 60623@debbugs.gnu.org; Mon, 09 Jan 2023 03:01:29 -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=1673251284; 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=RcVev+tDmXkB4JDZCVaLJr0oj17IJOzLobzmVJlxrqc=; b=cPtbQ1knE6CudaC6qsuzdy77uTbHVCSt9/Pdy9uZRwUTRSyOanNnTJeypHsNLU7A4uk0TE kLEJJ59cyk0BepNP8Ke3br3cKRA7s/sHqG1HLq/KlVQxpAOo1TH59v+ruu3tCFxniUqcxH RLlsZEVOgbbKJqyAEi+0jArntTSE4UKSSgV/MyUrxWy/F1nn87Ag3CPrjhN0n2x179QKKm 3Ry1qNpwkLR4HpdVlkYTqaor+qwwnCxyOX88foGBAYpJjBvu2VFMOKCsyjrRxIxuqSs1h6 suWnnY+Lu8hPlcZHWmc3xQdcC+XfyS2kZNe9oM2ObSShKyXbC+B4b4ACIK66jw== In-Reply-To: <86o7r86tho.fsf@mail.linkov.net> 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:252996 Archived-At: Juri Linkov writes: >>>> So is this to be considered an improvement to forward-sexp too, then? >>> >>> Sorry, I can't find where a lambda is set to forward-sexp-function. >>> I only see this: >>> >>> (defvar forward-sexp-function nil >>> >>> But if it will be set to a function later, it would be nice >>> to define a default function as well. >> >> I meant the way we did with 'transpose-sexps', where there now is a >> 'transpose-sexps-function' variable containing the factored-out earlier >> implementation. And by if "this is an improvement" I meant declaring a >> specific defun as the default value for the defvar in question. Maybe I >> should add the same change which is now developing here there too. >> >> What do you think? > > I agree that 'transpose-sexps-function' could benefit from the same improvement. Yeah, added such a change in bug#60654, as it was already reported :-) I appreciate your feedback! Theo