* bug#61609: 26.3; Doc strings of `just-one-space` and `delete-horizontal-space'
@ 2023-02-18 17:19 Drew Adams
2023-02-18 18:04 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2023-02-18 17:19 UTC (permalink / raw)
To: 61609
Please mention in the doc strings that a prefix arg is how you get the
behavior described for the argument. The doc strings don't seem to be
properly written for users.
just-one-space:
Delete all spaces and tabs around point, leaving one space (or N spaces).
If N is negative, delete newlines as well, leaving -N spaces.
delete-horizontal-space:
Delete all spaces and tabs around point.
If BACKWARD-ONLY is non-nil, only delete them before point.
Nothing tells you that N for `just-one-space' is the numeric prefix arg
or that BACKWARD-ONLY for `delete-horizontal-space' is the (raw) prefix
arg. Without checking the code users won't have a clue how to get the N
and BACKWORD-ONLY behaviors.
(The descriptions in the manual do provide this info that's missing from
the doc strings.)
In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.19044
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-18 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-18 17:19 bug#61609: 26.3; Doc strings of `just-one-space` and `delete-horizontal-space' Drew Adams
2023-02-18 18:04 ` Eli Zaretskii
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.