unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: "rms@gnu.org" <rms@gnu.org>
Cc: "52741@debbugs.gnu.org" <52741@debbugs.gnu.org>
Subject: bug#52741: [External] : Re: bug#52741: 27.2; Doc string of `visual-line-mode'
Date: Fri, 24 Dec 2021 05:32:52 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488B9FFC4974D850CA7ADB4F37F9@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <E1n0bxG-0002Ze-Er@fencepost.gnu.org>

> > 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").

      reply	other threads:[~2021-12-24  5:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-22 22:42 bug#52741: 27.2; Doc string of `visual-line-mode' Drew Adams
2021-12-22 22:45 ` Lars Ingebrigtsen
2021-12-22 23:18   ` bug#52741: [External] : " Drew Adams
2021-12-24  4:13 ` Richard Stallman
2021-12-24  5:32   ` Drew Adams [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SJ0PR10MB5488B9FFC4974D850CA7ADB4F37F9@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=52741@debbugs.gnu.org \
    --cc=rms@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 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).