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: Add slurp-sexp and barf-sexp Date: Fri, 01 Oct 2021 08:31:03 +0000 Message-ID: <87v92h1708.fsf@posteo.net> References: <87czop2nre.fsf@posteo.net> <871r55w4dg.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39784"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50929@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 01 10:32:22 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 1mWDxu-000AD5-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Oct 2021 10:32:22 +0200 Original-Received: from localhost ([::1]:60282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWDxt-0000sk-GC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Oct 2021 04:32:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWDxb-0000sX-E3 for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2021 04:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43097) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWDxb-00050Q-5i for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2021 04:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWDxZ-0006QD-R5 for bug-gnu-emacs@gnu.org; Fri, 01 Oct 2021 04:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Oct 2021 08:32:01 +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 Original-Received: via spool by 50929-submit@debbugs.gnu.org id=B50929.163307707524629 (code B ref 50929); Fri, 01 Oct 2021 08:32:01 +0000 Original-Received: (at 50929) by debbugs.gnu.org; 1 Oct 2021 08:31:15 +0000 Original-Received: from localhost ([127.0.0.1]:54643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWDwo-0006PA-RQ for submit@debbugs.gnu.org; Fri, 01 Oct 2021 04:31:15 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:54637) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWDwk-0006On-TT for 50929@debbugs.gnu.org; Fri, 01 Oct 2021 04:31:13 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8E3E2240101 for <50929@debbugs.gnu.org>; Fri, 1 Oct 2021 10:31:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1633077064; bh=ZbcS1WTR3F9l5HBmB7XULtbhK8hAVSR7qloBVPDLa20=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=c24tL7WC86lM3D6W1u1AFUrNGlvs9HX0J6+aT9FkFToZulW11GUVIZAeGqUrV5lhi zZOAcJSHwgtkquqs0WZWAJ2Jnu0zR1FD2NTAN1RkQxIQElQemAErbqnDuhy0h5cnya oPAJNZj4qW8wX3UmRFdqXOo5cJJcPsEx/LD6dz3UB7BwDJu/FE6kQxIcg/hXFsngRv w04bPjqNl0VkDq2CSL71vo6dwyTeqZZhdkrK1z546UN/X7pnJqLrXAq0OLXrM3xs67 CTZ5R0eJh1852XoFYD86WJyKIOFxlVzG9Q+47Bq6Sk8jkYb9wcFde1nncV4DEeXy6z xj7HvWMNrNKqQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HLNc7414tz9rxN; Fri, 1 Oct 2021 10:31:03 +0200 (CEST) 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: <871r55w4dg.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 01 Oct 2021 10:12:11 +0200") 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:216015 Archived-At: Lars Ingebrigtsen writes: > Philip Kaludercic writes: > >> I'd like to suggest adding the command slurp-sexp and barf-sexp to >> lisp.el (perhaps after changing the names). These commands were >> popularized by structural editing packages like Paredit, and allow the >> user to quickly pull or push s-expressions into the current list. > > There's already paredit-forward-slurp-sexp (etc) -- do we need them in > lisp.el, too? Need is a difficult concept: Paredit also has a raise-sexp analogue, so lisp.el doesn't need that either (hence why I added slurp-sexp and barf-sexp right under raise-sexp), beyond the fact that it has already been added to the file. -- Philip Kaludercic