unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#60103: 28.2; Doc string of `previous-history-element'
@ 2022-12-15 21:05 Drew Adams
  2022-12-16 15:33 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2022-12-15 21:05 UTC (permalink / raw)
  To: 60103

The doc string says this:

  Puts previous element of the minibuffer history in the minibuffer.
  With argument N, it uses the Nth previous element.

That second line makes it sound like arg N is optional.  It's not -
there is no _without_ argument N.

In GNU Emacs 28.2 (build 2, x86_64-w64-mingw32)
 of 2022-09-13 built on AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.19044
System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.2251)

Configured using:
 'configure --with-modules --without-dbus --with-native-compilation
 --without-compress-install CFLAGS=-O2'

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
XPM ZLIB

(NATIVE_COMP present but libgccjit not available)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60103: 28.2; Doc string of `previous-history-element'
  2022-12-15 21:05 bug#60103: 28.2; Doc string of `previous-history-element' Drew Adams
@ 2022-12-16 15:33 ` Eli Zaretskii
  2022-12-16 17:53   ` Drew Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2022-12-16 15:33 UTC (permalink / raw)
  To: Drew Adams; +Cc: 60103

> From: Drew Adams <drew.adams@oracle.com>
> Date: Thu, 15 Dec 2022 21:05:31 +0000
> 
> The doc string says this:
> 
>   Puts previous element of the minibuffer history in the minibuffer.
>   With argument N, it uses the Nth previous element.
> 
> That second line makes it sound like arg N is optional.  It's not -
> there is no _without_ argument N.

What do you mean by "no _without_"?  This command is bound to M-p in
the minibuffer, and I can definitely invoke it as "just" M-n,
_without_ any prefix argument.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60103: 28.2; Doc string of `previous-history-element'
  2022-12-16 15:33 ` Eli Zaretskii
@ 2022-12-16 17:53   ` Drew Adams
  2022-12-16 18:48     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2022-12-16 17:53 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 60103@debbugs.gnu.org

> > The doc string says this:
> >
> >   Puts previous element of the minibuffer history in the minibuffer.
> >   With argument N, it uses the Nth previous element.
> >
> > That second line makes it sound like arg N is optional.  It's not -
> > there is no _without_ argument N.
> 
> What do you mean by "no _without_"?  This command is bound to M-p in
> the minibuffer, and I can definitely invoke it as "just" M-n,
> _without_ any prefix argument.

I mean "without argument N", not "without a prefix
arg".

It's not possible to invoke the function without
providing argument N - it's not optional.

If you want to say something like "With numeric
prefix argument N..." then that would be fine.

Thx.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#60103: 28.2; Doc string of `previous-history-element'
  2022-12-16 17:53   ` Drew Adams
@ 2022-12-16 18:48     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2022-12-16 18:48 UTC (permalink / raw)
  To: Drew Adams; +Cc: 60103-done

> From: Drew Adams <drew.adams@oracle.com>
> CC: "60103@debbugs.gnu.org" <60103@debbugs.gnu.org>
> Date: Fri, 16 Dec 2022 17:53:34 +0000
> 
> > > The doc string says this:
> > >
> > >   Puts previous element of the minibuffer history in the minibuffer.
> > >   With argument N, it uses the Nth previous element.
> > >
> > > That second line makes it sound like arg N is optional.  It's not -
> > > there is no _without_ argument N.
> > 
> > What do you mean by "no _without_"?  This command is bound to M-p in
> > the minibuffer, and I can definitely invoke it as "just" M-n,
> > _without_ any prefix argument.
> 
> I mean "without argument N", not "without a prefix
> arg".
> 
> It's not possible to invoke the function without
> providing argument N - it's not optional.
> 
> If you want to say something like "With numeric
> prefix argument N..." then that would be fine.

That's what I did (the original doc string didn't mention the prefix
argument explicitly, but clearly alluded to that when it said
"argument").





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-16 18:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-15 21:05 bug#60103: 28.2; Doc string of `previous-history-element' Drew Adams
2022-12-16 15:33 ` Eli Zaretskii
2022-12-16 17:53   ` Drew Adams
2022-12-16 18:48     ` Eli Zaretskii

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