From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: Parenthesis matching should consider the kind of parenthesis during pair-search Date: Mon, 12 Feb 2024 13:34:42 +0100 Message-ID: <86eddhyhux.fsf@p200300d627023a995950cb2c1e40fde9.dip0.t-ipconnect.de> References: <87r0hh6g1d.fsf@gmail.com> Mime-Version: 1.0 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="29472"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.7; emacs 29.2 Cc: emacs-devel@gnu.org To: =?utf-8?Q?Herman=2C_G=C3=A9za?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 12 13:42:58 2024 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 1rZVeC-0007RD-P0 for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Feb 2024 13:42:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZVdU-0001NW-Ey; Mon, 12 Feb 2024 07:42:12 -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 1rZVdR-0001K2-Fa for emacs-devel@gnu.org; Mon, 12 Feb 2024 07:42:09 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rZVdO-0006tq-T2 for emacs-devel@gnu.org; Mon, 12 Feb 2024 07:42:08 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 74E9F3200A16; Mon, 12 Feb 2024 07:42:03 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 12 Feb 2024 07:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1707741722; x=1707828122; bh=yjLCOBNRD1yXzxoiuXOeg5PqUFPlFWLJS11yrIPlto0=; b= wPWILH3+TYt8dqxL+zdiE6Ycxb3q7dX2mrXb2tUXhwn3P6Iapy7FsFzA0+EchMnX dDfNbFjE130F7zaYeXlWSQE3RxSthDu8GrfS8lFAX3DnrbTraIWES9T9myS8gq5W +UkudLnDG0vrrhqMeohsk3BwK/Tc5VGLB0Tvm50kbYtUFpLKBYXWgmXMWheYkZ/H OGtGtzbVlZCzD6pF6JRRtyg8lLUHZDOfY+CO1Jwx8WuOBVNWa/K7qQk/mf1BRD8O TWd9Nd7fD1tUSRUt2KhReZe7ys94+Jn+okSxxlstiL2+g+ZD4w9XjULVBq83KYVX wC/xTS0Cwn1jckWH55eHAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1707741722; x= 1707828122; bh=yjLCOBNRD1yXzxoiuXOeg5PqUFPlFWLJS11yrIPlto0=; b=v lQ41ozr/v9fsSJf2IlBxAwCCTFciaoiwHsBaQIhkalWq4VreJgneQqHeGGPM6KHB jHqgSalboerAYlnNYkXyYbJhOGpzU5vbuvRqDVXM3NPZOS32AKm1/lFtBLW8VLNb +rlsLQshscQ31UdINSr3Xrew/NfxkjeJMaP3EiT6CUaXym92BRja6SRnQcu+E6Vq sE3oOeRZgKeMTgs0YaUdylRVnUTB0QQ6GEA30PY8Ld9z26kW4qCsP/NKkQ3ktWVY Rf2hgKeFC40oxtddw6SdPV36fv9y+1DHKHh9hC8vm/JBeXD0tbp3jMP0oRTmzXya o2ux89Zj9NTHokDLzaWcg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudefgdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvvefuffgjkfggtgfgsehtqh ertddtreejnecuhfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgv mhgvrhhssehfrghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeetleefgeevle fgkeeggeehjefhfeefueevhfeihfekffefkedthedtvedvhedtieenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrsh esfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 12 Feb 2024 07:42:01 -0500 (EST) In-reply-to: <87r0hh6g1d.fsf@gmail.com> Received-SPF: pass client-ip=64.147.123.21; envelope-from=joostkremers@fastmail.fm; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:316129 Archived-At: On Mon, Feb 12 2024, Herman, G=C3=A9za wrote: [...] > this is not true, then Emacs works unexpectedly in my opinion. See this > Makefile example: "$(info })" (this prints a } to stdout). In this case,= emacs [...] > What do you think, shouldn't Emacs consider the kind of parenthesis when = during > searching for a pair? (in other words, it should ignore all other kinds of > parentheses when it searches for a pair) In my opinion, it should not consider the type of parenthesis, because I me= ss up my parentheses much more often than I run into cases where I'm using a parenthesis that is not part of a pair and where it's impossible to escape = it. --=20 Joost Kremers Life has its moments