GNU bug report logs -
#52741
27.2; Doc string of `visual-line-mode'
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Wed, 22 Dec 2021 22:44:02 UTC
Severity: minor
Found in version 27.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #19 received at 52741 <at> debbugs.gnu.org (full text, mbox):
> > What on earth is ARG, for interactive use? The description of
> > interactive use should talk about things like a prefix arg, not about
> > unexplained things like ARG. How will a user know how to pass argument
> > ARG interactively?
>
> It's standard -- every user should know how to give a command a numeric arg.
Sure. But the doc string normally says, "With a
prefix arg...", or "A numeric prefix arg means...".
or some such.
It doesn't talk about an undescribed ARG in the
context of interactive use. If it talks about ARG
in that context, it tells you it's the prefix arg.
This is the relevant part of the doc string in
question, for Emacs 27.2, which is what I reported on:
If called interactively, enable Visual-Line mode if
ARG is positive, and disable it if ARG is zero or
negative.
What's missing there is "prefix" or (preferably)
"numeric prefix", before "ARG" (or "arg").
This bug report was last modified 3 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.