[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55788: [PATCH] Improve documentation of the raise-sexp command
From: |
Lars Ingebrigtsen |
Subject: |
bug#55788: [PATCH] Improve documentation of the raise-sexp command |
Date: |
Sat, 04 Jun 2022 13:58:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Daniel Martín <mardani29@yahoo.es> writes:
> I propose to change it to something more descriptive, like:
>
> Replace the enclosing parenthesis structure with ARG sexps from point.
I don't think that really explains a lot more than the current doc
string.
But there's no need to be terse here, and in a case like this, an
example explains more than any text could, so I've changed the doc
string to this in Emacs 29 now:
"Raise ARG sexps higher up the tree.
This means that the ARGth enclosing form will be deleted and
replaced with the form that follows point.
For instance, if you have:
(let ((foo 2))
(progn
(setq foo 3)
(zot)
(+ foo 2)))
and point is before (zot), `M-x raise-sexp' will give you
(let ((foo 2))
(zot))"
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#55788: [PATCH] Improve documentation of the raise-sexp command, Daniel Martín, 2022/06/03
- bug#55788: [PATCH] Improve documentation of the raise-sexp command,
Lars Ingebrigtsen <=
- bug#55788: [PATCH] Improve documentation of the raise-sexp command, Juri Linkov, 2022/06/06
- bug#55788: [PATCH] Improve documentation of the raise-sexp command, Eli Zaretskii, 2022/06/06
- bug#55788: [PATCH] Improve documentation of the raise-sexp command, Lars Ingebrigtsen, 2022/06/06
- bug#55788: [PATCH] Improve documentation of the raise-sexp command, Eli Zaretskii, 2022/06/06
- bug#55788: [PATCH] Improve documentation of the raise-sexp command, Lars Ingebrigtsen, 2022/06/06
- bug#55788: [PATCH] Improve documentation of the raise-sexp command, Eli Zaretskii, 2022/06/06