From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#50929: [External] : bug#50929: Add slurp-sexp and barf-sexp Date: Tue, 09 Nov 2021 18:44:16 +0000 Message-ID: <87sfw5xj7j.fsf@posteo.net> References: <87czop2nre.fsf@posteo.net> <871r55w4dg.fsf@gnus.org> <87v92h1708.fsf@posteo.net> <87o86zmhg5.fsf@gnus.org> <8735o6zn6l.fsf@posteo.net> <87wnlhy1au.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1035"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "larsi@gnus.org" , "50929@debbugs.gnu.org" <50929@debbugs.gnu.org>, Richard Stallman To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 09 19:45:21 2021 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 1mkW7U-000AYJ-Os for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 19:45:20 +0100 Original-Received: from localhost ([::1]:50130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkW7T-0003xS-Ig for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Nov 2021 13:45:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkW7D-0003wg-3n for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 13:45:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkW7C-0004S4-Qj for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 13:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkW7C-0000gB-Hf for bug-gnu-emacs@gnu.org; Tue, 09 Nov 2021 13:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Nov 2021 18:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch wontfix Original-Received: via spool by 50929-submit@debbugs.gnu.org id=B50929.16364834682551 (code B ref 50929); Tue, 09 Nov 2021 18:45:02 +0000 Original-Received: (at 50929) by debbugs.gnu.org; 9 Nov 2021 18:44:28 +0000 Original-Received: from localhost ([127.0.0.1]:35768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkW6d-0000f5-V0 for submit@debbugs.gnu.org; Tue, 09 Nov 2021 13:44:28 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:44503) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkW6b-0000ep-1K for 50929@debbugs.gnu.org; Tue, 09 Nov 2021 13:44:26 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 18354240104 for <50929@debbugs.gnu.org>; Tue, 9 Nov 2021 19:44:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636483458; bh=QvfryCcLGE/XAWR4x91f8xRhz9XlLwVHC1hNCHdziiI=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=K9JUKogrqjpL48IDRZpeLLmK392JmdnhtDdrYzGtZme76rHEhTAXn+jaV1/+8Ctmg p58tk9fbMmz293lUiypuxixgVC6/SJOwx0vv1sfHWULnQkCgL/GBcLbBbRdD/RLPHd GIGy5LasqA2wCzY/fiDyddEfhiZcv1531CExwZTjTonMExHm9Rk4DyYHojbj/ui452 9amJBXq4SbLpNZDNzvfGGCDuwU52iMVPo4ZYrAQcBeSl7vMdwD1J5ToFO+wPK97doK 5IJOR+wPmG08vrs7Gq4LrZ0KqFMdIp9EnVJmCCib1QiFaocjoRTpijBrDr8PcTOSj5 lxjZhcg+wZB3Q== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HpcMj06D7z9rxD; Tue, 9 Nov 2021 19:44:16 +0100 (CET) Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB In-Reply-To: (Drew Adams's message of "Tue, 9 Nov 2021 16:26:36 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:219470 Archived-At: Drew Adams writes: >> I use C- and C-, but alternatives I can think of are >> M- and M-, C-< and C-> or M-[ and M-]. The former two >> combinations are both bound to left- and right-word, and the latter two >> combination is unbound in emacs-lisp-mode. > > FWIW - > > I'd prefer that no default key bindings be sacrificed > for this. I think you and I already discussed this a few months ago, but binding anything to these keys wouldn't sacrifice anything besides an unbound slot, that the user can still override. > This kind of editing is mostly appropriate for use with "structured > editing" modes that automatically and always pair delimiters. I think > it makes most sense for only such modes to bind keys for such > commands. The reason I suggested adding the commands in the first place is because I think some kind of structural editing can be done without the need for any special modes or the need to bundle commands together. -- Philip Kaludercic