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: Sun, 8 Jan 2023 19:39:34 -0800 Message-ID: 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="9029"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Theodor Thornhill , 60654@debbugs.gnu.org To: Mickey Petersen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 09 04:40:25 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 1pEj1N-0002AD-Ho for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 Jan 2023 04:40:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEj13-0005iC-5F; Sun, 08 Jan 2023 22:40: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 1pEj11-0005hk-0c for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 22:40:03 -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 1pEj10-0004js-Nh for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 22:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEj10-0001DO-J4 for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 22:40:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87tu11jod0.fsf@masteringemacs.org> Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2023 03:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60654 X-GNU-PR-Package: emacs Original-Received: via spool by 60654-submit@debbugs.gnu.org id=B60654.16732355824622 (code B ref 60654); Mon, 09 Jan 2023 03:40:02 +0000 Original-Received: (at 60654) by debbugs.gnu.org; 9 Jan 2023 03:39:42 +0000 Original-Received: from localhost ([127.0.0.1]:35374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEj0g-0001CS-6M for submit@debbugs.gnu.org; Sun, 08 Jan 2023 22:39:42 -0500 Original-Received: from mail-pl1-f171.google.com ([209.85.214.171]:45788) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEj0e-0001C8-Rr for 60654@debbugs.gnu.org; Sun, 08 Jan 2023 22:39:41 -0500 Original-Received: by mail-pl1-f171.google.com with SMTP id g16so8140504plq.12 for <60654@debbugs.gnu.org>; Sun, 08 Jan 2023 19:39:40 -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=x8ixnMgQAzo4AIeAGlzs2UjIYkR9oWFllfwNWIK5U5w=; b=J+tWfEJx6h81kUPRcOZ8mggs4LrvpkH52qJ7+5KlQG4ZWKHrBvy8p+J4+SjtFF27Bz 9aM984w2pZAJrIpeYmkCECr4pf+dB4VhQmDyFADF3+Ia6OWEr8kALcmvihglsGe+G7Z5 CpdoAechAmi6o8EsAq8fYlnFV+Zo+uzeBxQiGLTghOkEPwwjV0Q0JfGW/3jJ3iJyb/WY R5iHeU3bbrF/3QdMImDR3d2Wvzhxk2A2a48thbYa754t4V392pUAFGBY/9iLXNcYA/RA y/1WyjolLwK+t+nYQr5qw8l/Y38aRomr1AWM/WLevLpNdJ4op5FrATJvH6dXOp/YWvfY N/hQ== 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=x8ixnMgQAzo4AIeAGlzs2UjIYkR9oWFllfwNWIK5U5w=; b=GCDjuFvI68YAihU+uoQGciQ/sFcNO4KrTc70CBxdYOQpbDwx6R6FRUxq6xeVHzBWJX ftPq7weiiSKXLxp2MsUNkwsBurS46NnTfaQBgF8X/+cXTkVa0L1k3gYBSrhg6lu71Uld SbQajQEBWNt7kXARsM109/+IOTUf3kf56nc/DZrS+HVCgiRYP52LMzYe/eOJIanKYF5k mQGkZa6RsyYBKvS+COUdcwtCZW4Yf9TXPo/7cHOhY+HvKH3WIUnMTBc/TotC79M632Ky 6yfPkDOx3QyoJtHwl+u6TA82EhyPCj5TB1IeMTS5z9Qoo3xC1GtwfodyXPjPYasA5fGZ 9vVw== X-Gm-Message-State: AFqh2krLr3L+kSyKMLPa4HRKshpXQ7wxdbvdvvJ8nxLFmAHBupslxsn5 ecENnsNrjPHEmkQW9rj2BN4= X-Google-Smtp-Source: AMrXdXuaJmgFffYz6QPwfItUZ+TtUoUASS9ok7ejz9AoKVoh1qLicr2fiyDtsSu8DLCIet6pREWM0Q== X-Received: by 2002:a05:6a20:158b:b0:af:7b32:4deb with SMTP id h11-20020a056a20158b00b000af7b324debmr92058106pzj.4.1673235575212; Sun, 08 Jan 2023 19:39:35 -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 h2-20020a170902f7c200b0019327f40bfasm1988633plw.119.2023.01.08.19.39.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Jan 2023 19:39:34 -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:252980 Archived-At: 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