From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: electric-pair-mode vs paredit, was: Re: Adding support for xref jumping to headers/interfaces Date: Mon, 13 Nov 2023 03:41:27 +0200 Message-ID: <9f0143b2-bc78-0946-dc87-9090a6f7e3cf@gutov.dev> References: <953056ea-9cfb-34ad-6515-9036633dfdbb@yandex.ru> <2d964697-2b4e-64c7-2f16-aae87e57def4@yandex.ru> <70b681ab-b827-01b4-d4f3-fe0b45cd698d@gutov.dev> <66d0c2b5-a3bb-5389-9642-c7800b21f968@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31321"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: Spencer Baugh , emacs-devel@gnu.org To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 13 02:42:09 2023 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 1r2Lxn-0007se-Ok for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Nov 2023 02:42:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2LxI-00083J-SY; Sun, 12 Nov 2023 20:41: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 1r2LxG-000833-Su for emacs-devel@gnu.org; Sun, 12 Nov 2023 20:41:35 -0500 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2LxD-0008Km-TI for emacs-devel@gnu.org; Sun, 12 Nov 2023 20:41:33 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 7C7A03200063; Sun, 12 Nov 2023 20:41:30 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 12 Nov 2023 20:41:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; 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:sender:subject:subject:to:to; s=fm2; t= 1699839690; x=1699926090; bh=F7tpJuSDnQst4bo+V/kDvS+gWRFEBmE3kOg mjd6vNtY=; b=ONbgnDRiqQkrAL2/5a48FN9FqzjLLaSpjIC4kYUZahLk3/E+PMB oic4l7Aw9KJhUdwe1cTy+nCqBDuXX0Ky22fW6dRTeBE1Qs6j1ZZCG8nRHe1yd5OJ OFfqZsR0/j39IkZMshMP8kWl6Wb+HjV1h2Nqgu6NLTfikdCq8B+kkvhM+SWsC8sy ou5utOFTnguWIIhhi1vwT1dhPXpIvB7xyvJ5A+RxZbDZs64a6FETSVtAw48zV8up zgXruFs8gbprDko0HluCPZjoMMfdFBESxLRCDFNLHF/VsvHrTJDIUkG8DH2M087b NH6YLMNgXJp7gzTEZhmGZ8LVE+itXCWV69w== 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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699839690; x=1699926090; bh=F7tpJuSDnQst4bo+V/kDvS+gWRFEBmE3kOg mjd6vNtY=; b=S1V5x+jWnPHRyJIoWS9N94amSz3HwGUF/CkGr/Zmm13ugfmGjHv hsMyoMGPjxCW2yUt4LLahiM8szrYph/ExBzJQ/rq1DrXbILOTlQQRdLkgY8ZQRr2 d7WHoqsXtaCnN6CA2LhLGQuwAlTwK7oR/AqkR6+mSv1WVZokRYZpkHkGGW8vveuJ s4pojmp2wqEbGqpdQqNu5Wlj3I7dkn+bJg4W0p8kdxmm71+ccXBSOSu4CLEO4O8a IZMxGbuhb1Fj0hG912ffZihlb27CwuTitqPMOklc8PFCUfJW4FzHOEXF+G+RywAG MfN+85CH3TffqaGq8xaaG2EEIV/X2LB7nsg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvledgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfffheeljeffgeffueeghfekkedtfffgheejvdegjeettdduheeufffggfef jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 12 Nov 2023 20:41:28 -0500 (EST) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=64.147.123.25; envelope-from=dmitry@gutov.dev; helo=wout2-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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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:312678 Archived-At: On 13/11/2023 03:16, João Távora wrote: > On Mon, Nov 13, 2023 at 1:05 AM Dmitry Gutov wrote: >> >> On 13/11/2023 03:03, João Távora wrote: > >> electric-pair-mode is necessary but not sufficient. >> >> I'm the structured editing kind of guy. With all the accompanying >> slurping and barfing. > > I slurp. I barf. C-M-k,f,b,u mostly works. I have an extract-list > function too. Perhaps I missed the addition of the slurping and barfing commands to elec-pair? Sexp navigation works indeed. > But I would love that paredit.el would just supply the slurp/barf > commands separate from the broken (IMHO) auto-pairing logic that I'm > not interested in. But I like this one which keeps the code paired and makes sure C-k doesn't kill too much.