From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#60654: 30.0.50; tree-sitter: `transpose-sexps-function' uses a lambda in a defvar Date: Mon, 9 Jan 2023 12:35:20 -0800 Message-ID: <8C84ACB5-828B-4B62-9DAB-378C6D447426@gmail.com> References: <87tu11jod0.fsf@masteringemacs.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="30357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60654-done@debbugs.gnu.org, Mickey Petersen To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 09 21:36:18 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 1pEysU-0007fA-5N for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Jan 2023 21:36:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEysG-0004qO-G9; Mon, 09 Jan 2023 15:36:04 -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 1pEysE-0004pj-LO for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 15:36: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 1pEysE-0007NM-CY for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 15:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEysE-0000sF-8c for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2023 15:36:02 -0500 In-Reply-To: <87tu11jod0.fsf@masteringemacs.org> Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2023 20:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 60654 X-GNU-PR-Package: emacs Mail-Followup-To: 60654@debbugs.gnu.org, casouri@gmail.com, mickey@masteringemacs.org Original-Received: via spool by 60654-done@debbugs.gnu.org id=D60654.16732965303292 (code D ref 60654); Mon, 09 Jan 2023 20:36:02 +0000 Original-Received: (at 60654-done) by debbugs.gnu.org; 9 Jan 2023 20:35:30 +0000 Original-Received: from localhost ([127.0.0.1]:38307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEyrh-0000r1-QX for submit@debbugs.gnu.org; Mon, 09 Jan 2023 15:35:30 -0500 Original-Received: from mail-pf1-f169.google.com ([209.85.210.169]:38859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEyrf-0000ql-Ry for 60654-done@debbugs.gnu.org; Mon, 09 Jan 2023 15:35:28 -0500 Original-Received: by mail-pf1-f169.google.com with SMTP id c9so7104733pfj.5 for <60654-done@debbugs.gnu.org>; Mon, 09 Jan 2023 12:35:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=BVi508LnWz02XrJIgg14deat79kPlf+n9oXeQY0FRHk=; b=av5b53VSaGsrz3dVavQcMbN/+KIFNbs7L8x9UQfy9TrZmduutKWX9fbnb3e67S8rFf JwcBQi2bGAX9hJngNjuq+AZrEwvKGMRmxztiJwBrdmKZ0rnZjUuRfwMWYPDh5nrOB7Hj XyycI1LDaNSv8fTPcdN7KUv8f3fgV8AvSMen0HRh3DEogeiccBRsOR5cbqSgZEN08Ulo mYLlwi9NgCIHIrEycAr9NdulfCr6kYgkOPXU0r8rpR8T+0ipjnluoVmCxN3Y6VaOCcbJ AqwfhQv+BwYp/cUWMysyIYlkdJT33rpkp3g53OnTcFj8iU8bLfJb1bAAVrI67wGG67Om GKrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BVi508LnWz02XrJIgg14deat79kPlf+n9oXeQY0FRHk=; b=1JFlRjmoFqm1+ftGz9e8rE28k/36XIgN39kLP/vOWmLO6PUEx9OVbs28suQrFy78VG C1Gqe7lcLLWpyZEyBz+Wc3XU/1HjTo62XnXbf0hiU5IzxPmDbg4ODGBMAi4m50qxAro5 URIlTp7p1oDsRowy5bo5uqYV0APGz7KEGdJqgahboiv/lOAGUayI3HCpYrGKiCLUXdDl o8H3cRzLtVi7tFdavlootwhfO2+nipVkyVWpThl2Onr1zPBIT8hBUXXDFqEUwjyfmBLt hjWnOaEeadvYZPjO7pgvehYJ+b4O+A2W5vlVgyImhBI0BXFoeiGttspxX0XcCdvOxTFZ cLVw== X-Gm-Message-State: AFqh2krVuoC1MUr1O+MddZsk0cvEEaso9eEkPRvVGvIAo1f3HabWPlV6 NkVchA6EIdk/lUR8pHXi0uIv1655anQ= X-Google-Smtp-Source: AMrXdXvtoC6vgixJjVRg0AYGOAjrYWz/tioUamllnP17YyICyk7RQc37d7qodB4Ohf1D+s2tI3NKKw== X-Received: by 2002:a05:6a00:1d12:b0:588:cb81:9237 with SMTP id a18-20020a056a001d1200b00588cb819237mr3921109pfx.7.1673296521989; Mon, 09 Jan 2023 12:35:21 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id y29-20020aa793dd000000b0057462848b94sm6412032pff.184.2023.01.09.12.35.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2023 12:35:21 -0800 (PST) X-Mailer: Apple Mail (2.3696.120.41.1.1) 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:253046 Archived-At: Theodor Thornhill writes: > Mickey Petersen writes: > >> Theodor Thornhill writes: >> >>> Theodor Thornhill writes: >>> >>>> On 9 January 2023 04:39:34 CET, Yuan Fu wrote: >>>>> >>>>>Mickey Petersen writes: >>>>> >>>>>> The defvar `transpose-sexps-function' holds on to a lambda = function. >>>>>> Would it be possible to make it an actual function? Its purpose = is >>>>>> rather important as it is the default transposition function that = was >>>>>> moved out of `transpose-sexps'. Being able to reliably access it = when >>>>>> `transpose-sexps-function' is overriden is useful. >>>>> >>>>>CC=E2=80=99d Theo. >>>>> >>>>>Yuan >>>> >>>> Thanks yuan. >>>> >>>> Yeah I'll make this change and call the new function = transpose-sexps-default-function. >>>> >>>> Apologies for any inconvenience :) >>>> >>>> Theo >>> >>> >>> How about this, Mickey. Is this something you can work with? >>> >> >> Looks perfect. Nice one, Theo. >> >> Kind regards, >> >> Mickey. >> > > Great! Yuan, can you install for me? > > Theo Sure, I applied it to trunk. Yuan