From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#15422: 24.3.50; `read-string': different parameter name from `read-from-minibuffer' Date: Fri, 29 Apr 2016 15:45:46 +0200 Message-ID: <87y47w7cl1.fsf@gnus.org> References: <11d850fa-d73e-4699-a11c-50efa70d297c@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1461937611 30414 80.91.229.3 (29 Apr 2016 13:46:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Apr 2016 13:46:51 +0000 (UTC) Cc: 15422@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 29 15:46:34 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aw8kb-0000q6-BN for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 15:46:33 +0200 Original-Received: from localhost ([::1]:54592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw8kX-0002wW-Il for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Apr 2016 09:46:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47628) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw8kL-0002b4-AK for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 09:46:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aw8k9-0007kJ-L6 for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 09:46:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aw8k9-0007jB-Iv for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 09:46:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aw8k6-00054F-6H for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2016 09:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Apr 2016 13:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15422 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15422-submit@debbugs.gnu.org id=B15422.146193755218788 (code B ref 15422); Fri, 29 Apr 2016 13:46:02 +0000 Original-Received: (at 15422) by debbugs.gnu.org; 29 Apr 2016 13:45:52 +0000 Original-Received: from localhost ([127.0.0.1]:54154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aw8jw-0004sh-7B for submit@debbugs.gnu.org; Fri, 29 Apr 2016 09:45:52 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:55385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aw8ju-0004qX-Dq for 15422@debbugs.gnu.org; Fri, 29 Apr 2016 09:45:50 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1aw8jq-0000II-Vd; Fri, 29 Apr 2016 15:45:49 +0200 In-Reply-To: <11d850fa-d73e-4699-a11c-50efa70d297c@default> (Drew Adams's message of "Fri, 20 Sep 2013 08:02:17 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117172 Archived-At: Drew Adams writes: > `read-string' calls its parameter INITIAL-INPUT. > `read-from-minibuffer' calls its parameter INITIAL-CONTENTS. > > But the doc string of `read-string' says that parameter INITIAL-INPUT > "behaves as in `read-from-minibuffer'", which clearly makes no sense > since `r-f-m' has no such parameter. > > The two should have the same name if the doc for one refers to the > other. Somebody has sneakily changed the doc string: If non-nil, second arg INITIAL-INPUT is a string to insert before reading. This argument has been superseded by DEFAULT-VALUE and should normally be= nil in new code. It behaves as INITIAL-CONTENTS in =91read-from-minibuffer= =92 (which see). --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no