* bug#40460: 26.3; Make arg of `forward-whitespace' and `forward-symbol' optional
@ 2020-04-06 0:32 Drew Adams
0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2020-04-06 0:32 UTC (permalink / raw)
To: 40460
I see no reason why these commands are handled differently from
`forward-sexp', `forward-word', etc. Why is their arg not optional?
That makes no difference when they are used interactively, but for Lisp
code, why not make they be like other `forward-<thing>' functions?
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.18362
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
* bug#40460: 26.3; Make arg of `forward-whitespace' and `forward-symbol' optional
2017-01-13 16:49 bug#25439: 24.5; `forward-*' cmds: numeric ARG should always be optional Drew Adams
@ 2021-03-01 15:37 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-03-01 15:37 UTC (permalink / raw)
To: Drew Adams; +Cc: 25439, 40460
Drew Adams <drew.adams@oracle.com> writes:
> The numeric argument to most `forward-*' commands is optional,
> defaulting to 1. This should be the case in general. These three
> commands require their ARG, but they should not. It should be
> optional and default to 1.
>
> `forward-button'
> `forward-symbol'
> `forward-whitespace'
It's true that this is somewhat inconsistent -- but I also think it's a
mistake that the other `forward-*' functions have an optional argument.
So I don't think making these follow that pattern is a move in the right
direction, and I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-01 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-06 0:32 bug#40460: 26.3; Make arg of `forward-whitespace' and `forward-symbol' optional Drew Adams
-- strict thread matches above, loose matches on Subject: below --
2017-01-13 16:49 bug#25439: 24.5; `forward-*' cmds: numeric ARG should always be optional Drew Adams
2021-03-01 15:37 ` bug#40460: 26.3; Make arg of `forward-whitespace' and `forward-symbol' optional Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).