all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eduardo Ochs <eduardoochs@gmail.com>
To: Liang-Jie Lee <s930054123yaoyao@gmail.com>
Cc: 49598@debbugs.gnu.org
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	[thread overview]
Message-ID: <CADs++6hwvLoe=XNna_zbvpN++FqmOz70x0=3RyeYocKncA0jBA@mail.gmail.com> (raw)
In-Reply-To: <871r7yqm7c.fsf@gmail.com>

On Fri, 16 Jul 2021 at 13:14, Liang-Jie Lee <s930054123yaoyao@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





  reply	other threads:[~2021-07-16 20:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16 16:04 bug#49598: 28.0.50; [Feature Request] Support slurping and barfing operations in lisp-mode Liang-Jie Lee
2021-07-16 20:25 ` Eduardo Ochs [this message]
2021-07-19  0:06   ` Richard Stallman
2021-07-17 14:21 ` Lars Ingebrigtsen
2021-08-16 12:14   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADs++6hwvLoe=XNna_zbvpN++FqmOz70x0=3RyeYocKncA0jBA@mail.gmail.com' \
    --to=eduardoochs@gmail.com \
    --cc=49598@debbugs.gnu.org \
    --cc=s930054123yaoyao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.