From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.devel Subject: Re: treesit-query-validate Date: Sat, 17 Dec 2022 14:26:17 -0600 Message-ID: References: <889C4053-6978-45E0-BA3E-0CDA51743EFC@easesoftware.com> <875ye9u91p.fsf@thornhill.no> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/signed; boundary="Apple-Mail=_25515634-CF1C-4CEA-83F1-CCCB919A307F"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35705"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , casouri@gmail.com To: Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 17 21:27:04 2022 Return-path: Envelope-to: ged-emacs-devel@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 1p6dlw-0009Az-At for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Dec 2022 21:27:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6dlU-0005Vl-11; Sat, 17 Dec 2022 15:26:36 -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 1p6dlS-0005Uv-J5 for emacs-devel@gnu.org; Sat, 17 Dec 2022 15:26:34 -0500 Original-Received: from dog.elm.relay.mailchannels.net ([23.83.212.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6dlQ-0006zb-Ld for emacs-devel@gnu.org; Sat, 17 Dec 2022 15:26:34 -0500 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id D59EA8C133C; Sat, 17 Dec 2022 20:26:30 +0000 (UTC) Original-Received: from mi3-ss4.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id E539F8C100A; Sat, 17 Dec 2022 20:26:29 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1671308790; a=rsa-sha256; cv=none; b=dM2tzptmYVX8K7MDhY5SYCDNJ9w1rwVwC4IL0vxTmpcrMoQj/Q71xmjbcXiwnh0XYfHUlz 6m+ufp5wwEQxHMNq/RKfkhTimhjbWwQUAWUxYfSy9McSEUbt0YW3Imt+9LKiye2MHaoyn3 1SjofUSVFGXfaXqrp+/eW5l/HcQzF191O/uhn6p0bstEGzleuUNrJn/AZ5ec01VtW8np6k brL+a6avtUVfPDIpWLpKEvnzfHBGUuitgufcwL4qMZvt+zcN8Z//6PYzU1G4Y+TWw9QYaP +WnyUeM2P0UBWe8nMpsFt34EIBJHWfGZ6ylyXnwoZS9Dm6HCbQwAODF8JHLvWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1671308790; 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:dkim-signature; bh=+XHrPafSAg9u8AsADazCg1Rc5I1JZZq0iBTUG+zyyKY=; b=haGyA30kHyqcNxQmTwGiNuFCiIucvMSgWonz4Rxz8hVrNtB3p89B3HMBOoLk4FI/w33nLk QA0KC8P+JwaPwmsOsXWZS+DxUV2x4mwIqYmdvies0EU+xucdwKpAQlPELZBWR7LI10udHJ lGu/d1kyPQJV00BMXz4mZYh1eHcNcyQMUas+Xg1ld1Xx7SHikh7kQd75k50fKZ5XiB3gii pTXaUqvv5uxOfiuHUyGLMPNSxqun8KOtvNDWG9m0Jdj/IGrNYOFGU0BoKDUoR4YN/Y85rI +kX/z3ylx5o8WqPpiNnciWFvfQtzz2pAkHpFuoIy2pdC1Cl4ua0E3e3cJfVRag== ARC-Authentication-Results: i=1; rspamd-6f8d97c84c-jdq7v; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@easesoftware.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Skirt-Fearful: 3be612c9662ebf94_1671308790544_1344550463 X-MC-Loop-Signature: 1671308790544:3326862416 X-MC-Ingress-Time: 1671308790544 Original-Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.116.179.68 (trex/6.7.1); Sat, 17 Dec 2022 20:26:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To :From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+XHrPafSAg9u8AsADazCg1Rc5I1JZZq0iBTUG+zyyKY=; b=HGYVhFdPSZK2EaoVdb40Lv1C3V blzEtaC8ogvS8o3VwlE5T8CHSXteNwA5T4rCX2z7S9J9ZMe5aFDq7I9M8LpWxGuUZ15rIfzdj97gB psJFnULveHJtQNGVw1Xjh/1aPNieFtnLwZUA5eI65QoI/2ShDOdPJmJbGxu4qQV3dF140rIceZGna e0R5OAJu7RX1hc8iUjAz/Ev9Kj6AhGyMvvSzsRGk6UZc0oeUGKQvJO4hjqXv0XPdPJwK76FwTSbJi XYkCO5McgJx8/BCzmnOwEH5hBewEzl4kx7r/NJJ8VUW/XhNY4J306dQevfOe9l3ZAMcxpX1TW7jmt Eub3Kgvg==; Original-Received: from cpe-70-94-128-193.satx.res.rr.com ([70.94.128.193]:50608 helo=smtpclient.apple) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1p6dlM-005nK2-RH; Sat, 17 Dec 2022 15:26:28 -0500 In-Reply-To: <875ye9u91p.fsf@thornhill.no> X-Mailer: Apple Mail (2.3731.200.110.1.12) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com Received-SPF: pass client-ip=23.83.212.48; envelope-from=pedz@easesoftware.com; helo=dog.elm.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301585 Archived-At: --Apple-Mail=_25515634-CF1C-4CEA-83F1-CCCB919A307F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 17, 2022, at 13:25, Theodor Thornhill via Emacs development = discussions. wrote: >=20 >=20 > Hi, Perry! >=20 > Perry Smith writes: >=20 >> I must not know how this function is intended to be used. >>=20 >> What I use to do is go to *scratch*, type in my query and hit C-j and >> that use to work. But now it puts *scratch* into view-mode and = errors >> off =E2=80=94 this is after the message "QUERY is valid=E2=80=9D = comes out. >>=20 >> This change was at commit 4bccb7b211e465310a34493dea8a66ce395956fc. >>=20 >> I=E2=80=99m perfectly happy changing my mean and ugly ways :-) but = how is this >> function suppose to be used? >=20 > I usually just do it in the minibuffer, but yes this is a bug. >=20 >>=20 >> It might be that the (view-mode) is nested too far out. ? >=20 > Yep, you are completely correct. Can you test this patch, Perry? >=20 > If reported back positive, can you apply, Yuan? I can test it but I have no permissions for the official repository. --Apple-Mail=_25515634-CF1C-4CEA-83F1-CCCB919A307F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmOeJekACgkQjxzk9yzE +MAzExAAhjhVWlAuyzlFqZnmi6/k4GGJa7CgM9fv8je/GQMsRK+uCZSOohScR6v6 DCmBJu/brcoi3oGDhZYpQ8gYRV8Cr+YoKyxXQ4Y3BTbwCJO+ODkpLws2tAFUxJTB 62JZ9o08l+euQVwSVnAkRfVHcLHKhz8+24sfCJG6of3vKZPivV6HNScDG36kv7C3 CFbjWlgDU2ppJzBJGDN1RNylRoVioXOEQKkCWq6gN4+gabAleF2y4eGWOszp3cJD VycCt2jrBa9YzHTOeg5ndNCbIuEXvOSzYomwvxJn41dBmCYKlA1JwHaYgvi+kPuQ HTm+U6PcDc5aEwqtSbmEimmplC4Xq5loWNnu22CCHmzoZwl5t/pIqDPivkOFb6TF PptSbxHlZzJ06o7UHlJxEqOR/meDwSgnyDe7/VgV0B8cVLrrySncDKhvujFqEmd7 jc1dGJ3Kj4Ewd0fYjbZinlY9ySIJ7DSeJvqm9k6UFNP92b6ngbz5kW2gAA0QAfVq 4jzz/Iqe8ySFMfGfo/PjZw7+/GSh9d0KEHYetY1JkbML25X0/KBN1BJCf02GyEdy pqZbuKQrFM+m3btYYhlRiSabWLwH5nl0B7wu8DGiR7QuLsMcyw8+yfZ78+xDHOVI 1ReU0MayH35xXXAXnbbCL6jC6BOYm2bIo1UD7QHsc8DwmgMri5I= =lNsO -----END PGP SIGNATURE----- --Apple-Mail=_25515634-CF1C-4CEA-83F1-CCCB919A307F--