From: Drew Adams <drew.adams@oracle.com>
To: 61609@debbugs.gnu.org
Subject: bug#61609: 26.3; Doc strings of `just-one-space` and `delete-horizontal-space'
Date: Sat, 18 Feb 2023 17:19:06 +0000 [thread overview]
Message-ID: <SJ0PR10MB5488CDB1F4AD80C1CA54C045F3A69@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
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''
next reply other threads:[~2023-02-18 17:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-18 17:19 Drew Adams [this message]
2023-02-18 18:04 ` bug#61609: 26.3; Doc strings of `just-one-space` and `delete-horizontal-space' 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=SJ0PR10MB5488CDB1F4AD80C1CA54C045F3A69@SJ0PR10MB5488.namprd10.prod.outlook.com \
--to=drew.adams@oracle.com \
--cc=61609@debbugs.gnu.org \
/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.