all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: mardani29@yahoo.es, 55788@debbugs.gnu.org, juri@linkov.net
Subject: bug#55788: [PATCH] Improve documentation of the raise-sexp command
Date: Mon, 06 Jun 2022 15:13:56 +0200	[thread overview]
Message-ID: <87zgique7f.fsf@gnus.org> (raw)
In-Reply-To: <83a6aq7xhy.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 Jun 2022 16:05:45 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> Like this?
>
>   (defun raise-sexp (&optional n)
>     "Raise N sexps one level higher up the tree.
>
>   This function removes the sexp enclosing the form which follows
>   point, and then re-inserts N sexps following point, thus raising
>   those N sexps one level up.
>
>   Interactively, N is the numeric prefix argument, and defaults to 1.

Yup, looks good.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-06-06 13:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m1y1ydnuj5.fsf.ref@yahoo.es>
2022-06-04  0:26 ` bug#55788: [PATCH] Improve documentation of the raise-sexp command Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-04 11:58   ` Lars Ingebrigtsen
2022-06-06  7:33     ` Juri Linkov
2022-06-06 10:44       ` Eli Zaretskii
2022-06-06 12:57         ` Lars Ingebrigtsen
2022-06-06 13:05           ` Eli Zaretskii
2022-06-06 13:13             ` Lars Ingebrigtsen [this message]
2022-06-06 14:11               ` Eli Zaretskii

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=87zgique7f.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=55788@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=juri@linkov.net \
    --cc=mardani29@yahoo.es \
    /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.