unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#54479: 27.2; Doc string of `read-char-from-minibuffer-insert-other'
@ 2022-03-20 15:35 Drew Adams
  2022-03-20 16:23 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2022-03-20 15:35 UTC (permalink / raw)
  To: 54479

The doc string of this command is less than comprehensible, IMO.

  Handle inserting of a character other than allowed.
  Display an error on trying to insert a disallowed character.
  Also discard all previous input in the minibuffer.

To me, this doesn't say anything about what this command does.  After
all, it's a _command_, not just a function that reads a char
(presumably).  What does it do - what do you use it for?

What does "handle" mean here?  What are the "allowed" chars, and in what
way are they "allowed"?  What's meant by "previous input" here?
___

A guess is that by discarding "previous input" is meant first clear the
minibuffer - remove its content.  ("Previous input" suggests minibuffer
history.)

In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.19043
System Description: Microsoft Windows 10 Pro (v10.0.2009.19043.1526)






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

* bug#54479: 27.2; Doc string of `read-char-from-minibuffer-insert-other'
  2022-03-20 15:35 bug#54479: 27.2; Doc string of `read-char-from-minibuffer-insert-other' Drew Adams
@ 2022-03-20 16:23 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-03-20 16:23 UTC (permalink / raw)
  To: Drew Adams; +Cc: 54479-done

> From: Drew Adams <drew.adams@oracle.com>
> Date: Sun, 20 Mar 2022 15:35:09 +0000
> 
> The doc string of this command is less than comprehensible, IMO.
> 
>   Handle inserting of a character other than allowed.
>   Display an error on trying to insert a disallowed character.
>   Also discard all previous input in the minibuffer.
> 
> To me, this doesn't say anything about what this command does.

Thanks, I fixed that.





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

end of thread, other threads:[~2022-03-20 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-20 15:35 bug#54479: 27.2; Doc string of `read-char-from-minibuffer-insert-other' Drew Adams
2022-03-20 16:23 ` 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).