GNU bug report logs -
#49598
28.0.50; [Feature Request] Support slurping and barfing operations in lisp-mode
Previous Next
Reported by: Liang-Jie Lee <s930054123yaoyao <at> gmail.com>
Date: Fri, 16 Jul 2021 16:14:02 UTC
Severity: wishlist
Tags: moreinfo
Found in version 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 49598 <at> debbugs.gnu.org (full text, mbox):
On Fri, 16 Jul 2021 at 13:14, Liang-Jie Lee <s930054123yaoyao <at> gmail.com> 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
This bug report was last modified 3 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.