From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44451: 27.1; doc string of `read-char-from-minibuffer' Date: Sat, 07 Nov 2020 11:12:53 +0200 Message-ID: <83mtzt7coa.fsf@gnu.org> References: <06536d27-20de-407a-b79a-a633c0c459a3@default> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7839"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44451-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 07 10:14:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbKIT-0001vI-Fs for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 10:14:09 +0100 Original-Received: from localhost ([::1]:34432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbKIS-0001M2-4j for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 04:14:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbKIM-0001Lm-Aj for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 04:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbKIM-0002ij-0B for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 04:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbKIL-0005pU-SD for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 04:14:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2020 09:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 44451 X-GNU-PR-Package: emacs Mail-Followup-To: 44451@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 44451-done@debbugs.gnu.org id=D44451.160474038122318 (code D ref 44451); Sat, 07 Nov 2020 09:14:01 +0000 Original-Received: (at 44451-done) by debbugs.gnu.org; 7 Nov 2020 09:13:01 +0000 Original-Received: from localhost ([127.0.0.1]:57944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbKHN-0005no-3x for submit@debbugs.gnu.org; Sat, 07 Nov 2020 04:13:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbKHL-0005nb-Pb for 44451-done@debbugs.gnu.org; Sat, 07 Nov 2020 04:13:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55608) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbKHG-0002O0-8q; Sat, 07 Nov 2020 04:12:54 -0500 Original-Received: from [176.228.60.248] (port=4565 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbKHE-0004oi-TC; Sat, 07 Nov 2020 04:12:53 -0500 In-Reply-To: <06536d27-20de-407a-b79a-a633c0c459a3@default> (message from Drew Adams on Wed, 4 Nov 2020 10:40:01 -0800 (PST)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192823 Archived-At: > Date: Wed, 4 Nov 2020 10:40:01 -0800 (PST) > From: Drew Adams > > "Read a character from the minibuffer, prompting for PROMPT." > > You are not prompted for PROMPT. You are prompted (for a char) > with PROMPT. Fixed. > "When HISTORY is a symbol, then allows navigating in a history." > > English: it should be "When...symbol, allow navigating..." Fixed. > But it's not clear what "navigating in a history" means. The > description of `M-n' etc. isn't clear - or needed. And what if > HISTORY is non-nil but not a symbol? You get an error, I think. > In any case, I suggest you just say that HISTORY is passed to > `read-from-minibuffer', which is the case. That isn't accurate: this function really expects HISTORY to be a symbol of a history variable.