From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.bugs Subject: bug#49598: 28.0.50; [Feature Request] Support slurping and barfing operations in lisp-mode Date: Fri, 16 Jul 2021 17:25:12 -0300 Message-ID: References: <871r7yqm7c.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14354"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49598@debbugs.gnu.org To: Liang-Jie Lee Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 16 22:26:12 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 1m4UPU-0003WV-78 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Jul 2021 22:26:12 +0200 Original-Received: from localhost ([::1]:41696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4UPT-0002G8-7p for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Jul 2021 16:26:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60970) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4UPL-0002ER-0p for bug-gnu-emacs@gnu.org; Fri, 16 Jul 2021 16:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4UPK-0005vO-P6 for bug-gnu-emacs@gnu.org; Fri, 16 Jul 2021 16:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m4UPK-0005Vz-MY for bug-gnu-emacs@gnu.org; Fri, 16 Jul 2021 16:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eduardo Ochs Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Jul 2021 20:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49598 X-GNU-PR-Package: emacs Original-Received: via spool by 49598-submit@debbugs.gnu.org id=B49598.162646713221154 (code B ref 49598); Fri, 16 Jul 2021 20:26:02 +0000 Original-Received: (at 49598) by debbugs.gnu.org; 16 Jul 2021 20:25:32 +0000 Original-Received: from localhost ([127.0.0.1]:52391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4UOq-0005V8-9X for submit@debbugs.gnu.org; Fri, 16 Jul 2021 16:25:32 -0400 Original-Received: from mail-pg1-f178.google.com ([209.85.215.178]:38564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m4UOn-0005Uu-Ha for 49598@debbugs.gnu.org; Fri, 16 Jul 2021 16:25:30 -0400 Original-Received: by mail-pg1-f178.google.com with SMTP id h4so11064209pgp.5 for <49598@debbugs.gnu.org>; Fri, 16 Jul 2021 13:25:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z23myoGIL80617rI8ZnFK4ZsGnLWwbaC8FduFagzxek=; b=U+VeoyKldtZdIN+qrxotSofq3whzIGahW/Asj36Fiv5dC4GW3jQzktuKVvWX0l5jh4 pEyRMVPru1kRZKLb+DTUOrYiEu9U5znQApoHsujAAWczOS1TthI5P+hRY1IfJ2Kkwsl4 Hkb2vhX599CZLAeoGO5INJHzo5aAxE8V0oZMiGEFj/RJB89pwepav20Sez2JO7YQJ0Ha XHgrZDGmXrLui3gAbH0E70S2ncPNWu6Nsgvd93m8wVcOGBnHWSKoIqoCPZUB+qvD6gQZ kQQ6p5D90+HILuBLqK7wcU+KgHKKYrf/igqEtgsOLAgTWBwtKdsan9dAdw04V7QNtBKG +xow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z23myoGIL80617rI8ZnFK4ZsGnLWwbaC8FduFagzxek=; b=tb5yxuj01U3+3MK5lORARattXl+EPxydLBfErgbHPm6v3QRjGK7s7ci7tkbp77t8PV fHubccatS0kEQdBgJIvTcCxdI+oKrqC5z0ViDfP2MZvXGroBTvBbjw6b4O6/0+kZca2J uT0drO26KO2eVybF/k0AuMZ/4hJCWlYnJtVj4m0bJstak8uScfWXbi1SbOGwHQqL+jyZ b0Jkr+okmhLWbhgLsxc01Dy/lvqQjasy8s/CFWhMIH9ropVUPX6REvfOKye9mccpyOA9 YxF6lOUI9Bc73IF3Knu5nE4HlsRCUOHdr6kEHvHRf0u7S1vZfSTYfUlk/rHXxnoYu/rH K/mg== X-Gm-Message-State: AOAM532buME3oWTZeiuW1uqVGiJ8tYBqyVjIZBYjINdkOTIrelcMQDOb IcSJyZZK8q+wAWUKl1zj7I02lXHWhfSz/wEITOA= X-Google-Smtp-Source: ABdhPJxbIfX3qCkgZhelBDrscK6kVskx28Yl0FJOKOnAbRFBCF5x0i22XvcF6Dj58SiLkxcr5FdzS3jtZW9bT5ez+SY= X-Received: by 2002:a63:ed0a:: with SMTP id d10mr11801349pgi.82.1626467123732; Fri, 16 Jul 2021 13:25:23 -0700 (PDT) In-Reply-To: <871r7yqm7c.fsf@gmail.com> 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:210110 Archived-At: On Fri, 16 Jul 2021 at 13:14, Liang-Jie Lee wrote: > > > Slurping is the operation to expand current S-expression by pulling in > the next outer S-expression, for example (| is cursor): > > (foo (bar |baz) abc efg) -> (foo (bar |baz abc) efg) > > Barfing is the opposite, contracting the S-expression by pushing out > it's last-most form, for example: > > (foo (bar |baz abc) efg) -> (foo (bar |baz) abc efg) > > These operations are provided by many third party packages like paredit, > smartparen, lispy, etc. Many people find it useful (especially when > you want to wrap several expressions into a `let` form), so I propose to > have these operations built in. Hint: if you change that to "How do I implement these operations? I am using the modes such and such to edit Lisp" and send that changed message to html-gnu-emacs you can have these functionalities in a few hours or days instead of in a few months... Cheers, Eduardo Ochs http://angg.twu.net/#eev