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#73404: 30.0.50; [forward/kill/etc]-sexp commands do not behave as expected in tree-sitter modes Date: Mon, 6 Jan 2025 00:56:41 -0800 Message-ID: <674226FE-597C-44DC-823A-667E5C55397A@gmail.com> References: <87plox4mtp.fsf@masteringemacs.org> <87frpm20t7.fsf@masteringemacs.org> <8634lmbs8t.fsf@gnu.org> <87bk0a1u0o.fsf@masteringemacs.org> <86tte2a5o3.fsf@gnu.org> <877cay1lqt.fsf@masteringemacs.org> <86frpma06f.fsf@gnu.org> <86ikueiekp.fsf@mail.linkov.net> <86ed4zg1cc.fsf@mail.linkov.net> <87zflac68t.fsf@mail.linkov.net> <87jzcdlxdp.fsf@mail.linkov.net> <87o71jocgs.fsf@mail.linkov.net> <87wmfwqg7e.fsf@mail.linkov.net> <8734i5fyv1.fsf@mail.linkov.net> <875xmumpzv.fsf@mail.linkov.net> <87pll190ui.fsf@mail.linkov.net> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) 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="18517"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Theodor Thornhill , Eli Zaretskii , Mickey Petersen , 73404@debbugs.gnu.org, Juri Linkov To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 06 09:57:29 2025 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 1tUivQ-0004cB-I6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 Jan 2025 09:57:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUiv4-00025S-KR; Mon, 06 Jan 2025 03:57:06 -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 1tUiv1-00024z-TA for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 03:57:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUiv1-000374-Jo for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 03:57:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=QWZQDX+LKDPJ0ZMkNiPSReL0pd048Qww455wsP/GB1E=; b=A9CBP3QK/2zmrFfXUBcYGWgBSN4s8IX6proamOLaR59D3frCFHp3BEUP+M/+T3EY4Lyi5IvUNFY4JErT+ocmLHpAmitNphEYG2We9dQS1ZVPkNWMaSVtBOS65mekxvGUj322R/uauYr4YnqTOqJBcgjYb2wG7xbWEJpzrcM2VoyyObQNHIRiiAZxs5IRDRK22+q/6vlzVw+Qd2WNU+x2pK5tvg6pS9LgUiX08N4JVlDd/tvG4R+foIkt4lu+C6qZoG5h1bfSMjuALVBjWA0/3fgA4G0VwJFzMis67923MbGDOOXEQlVW5nkfpZU8RgwSMKTSnYxGW5InWV1chEb4KQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUiv0-0007EM-IA for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 03:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Jan 2025 08:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73404 X-GNU-PR-Package: emacs Original-Received: via spool by 73404-submit@debbugs.gnu.org id=B73404.173615381727781 (code B ref 73404); Mon, 06 Jan 2025 08:57:02 +0000 Original-Received: (at 73404) by debbugs.gnu.org; 6 Jan 2025 08:56:57 +0000 Original-Received: from localhost ([127.0.0.1]:36613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUiuv-0007E0-8z for submit@debbugs.gnu.org; Mon, 06 Jan 2025 03:56:57 -0500 Original-Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]:58536) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tUius-0007Ds-S0 for 73404@debbugs.gnu.org; Mon, 06 Jan 2025 03:56:56 -0500 Original-Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-218c8aca5f1so1100615ad.0 for <73404@debbugs.gnu.org>; Mon, 06 Jan 2025 00:56:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736153814; x=1736758614; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QWZQDX+LKDPJ0ZMkNiPSReL0pd048Qww455wsP/GB1E=; b=TH49qXhMn044NPF+xbwPvfaRY4ETc+Swtv2GPb0l0vbvGxOf7ead4bhXblNbjxEk4j jTSzfioEoIK3dVbwlYqNYW6XSVgp+n25LYb2hDEw8Z/yOH2HZbrqyyUDjfvGEPQn+9Qw tW3man3qMNi3cnbiOVBL3k0avtItAy4YyXXAA9AVS8wxmtcZq1Oh8JMFl8Eyqp5H7zPu 1NmL4r5nTQ1F/9fs5dj39dYF7G4vG/jILwWrC9box4xQ1qzfKpprLb/8S3kLD2uJBAUr zmQjadRjfywRQr4FLXJrBu+rEHSeaJww0oEes/SJ0u8hq3cLuCqseqGeDPqRO0i0RZOT P5XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736153814; x=1736758614; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QWZQDX+LKDPJ0ZMkNiPSReL0pd048Qww455wsP/GB1E=; b=aP985fZ3/3oFydbzXk8XpTNtss77qRsS7LrMSKJ+aDElLCnekNo2ngF6Km8Xv+G6W/ 5exiwxM0AhdLrBrdK0Xa6lag4tU9H2iQYSRsDAX/qsLdAAHQrWdDfPHgcZfdAz6TeMwc Taj64uBXDMXQe4wtvhB9TgdXYepHtdDjZValIz5eB6fCN0u2UKHL3QHQWly/bzz7dzNs OiyGilWqe7E/Ls2aipbq3Zqe5BevcWOwz9HlBvqDNrqm7i7Eer3OGlevZQeBNmao4MT6 YYLdGQLM/Vi7g2iE8PpKQs5tTeooEYrTeQpalqEajisHFS4jA7Dgiuh//PX5dqm1fmON bwpQ== X-Forwarded-Encrypted: i=1; AJvYcCW/98+d7xidhj9uPpSbAybpff50fXsZ9MKdyNqFjWCXLgxDxypEKYBQxzqkREl9QGsgv/KKzg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzwPXfl30VHDgHsdH8yMJAmkQ1lbeJtBCj7PDqkaNont8QjONcS If0Oxj55PGmcPVISkSXQIMWBvgpg8kXAQZf+Oyx/s62YSoaOTd35 X-Gm-Gg: ASbGncu6346SYTPkflgsVGW5HTKy4had2r+7RViXUYnISEZ2C8CrIzyKvL9keeTclZN PGiB0UVwGNNtlyQe3bWLWIi/+r/LhKojaQ/NP9ehMWelU+L3vsl/JJ84xmf7S7NrFgF7iEagpec ONwrXvQt2MulS/4Vsz0oSZDggCgdqINrVUsYznRP+KB64NKN18GkxXykq4x60M/+qEK5YdyUl76 eyR58YUQQ0dgdApDN2XyN9r9HU4L9IhZQFdA1Jzb6jcqkrKP7Wol/I90m68GZW78ZF/iIOPJcFK YKS1 X-Google-Smtp-Source: AGHT+IGSU04G2oQDYCPdPwB7AFGK5AVRY8Nm+69o8pQu272USjiLFcEXrmkXlFs/MYZc38JozCgw+A== X-Received: by 2002:a17:902:fc84:b0:216:356b:2685 with SMTP id d9443c01a7336-219e6e8bb95mr901982905ad.11.1736153813619; Mon, 06 Jan 2025 00:56:53 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:85eb:71bd:58ac:56a8]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-219dc962c75sm287871685ad.24.2025.01.06.00.56.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Jan 2025 00:56:52 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3776.700.51) 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:298633 Archived-At: > On Jan 5, 2025, at 6:40=E2=80=AFAM, Stefan Monnier = wrote: >=20 >> I admit that hard-coding one symbol is not the right thing to do. >> So here is a better patch that checks for the symbol property: >=20 > That's better but I still wonder why we don't want to use a keyword. >=20 >=20 > Stefan >=20 My impression is that Elisp has =E2=80=9Ctraditionally=E2=80=9D used = symbols? Like symbol properties, text properties, thing-at-point, etc. = Keywords are really only seen in plists, face attributes, and keyword = arguments, all of which involves a key-value relationship. Yuan=