From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#14743: 24.3.50; doc string of `read-regexp' Date: Sat, 29 Jun 2013 00:02:58 -0700 (PDT) Message-ID: <79a924fd-61b6-4c78-b699-9c7487df55c4@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372489451 26937 80.91.229.3 (29 Jun 2013 07:04:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Jun 2013 07:04:11 +0000 (UTC) To: 14743@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 29 09:04:08 2013 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 1UspCZ-0004Gu-N9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 09:04:07 +0200 Original-Received: from localhost ([::1]:51043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UspCZ-0002oV-Az for geb-bug-gnu-emacs@m.gmane.org; Sat, 29 Jun 2013 03:04:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UspCW-0002oQ-Ca for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 03:04:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UspCV-0004p5-Cq for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 03:04:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53425) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UspCV-0004p0-86 for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 03:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UspCU-0007Wv-FK for bug-gnu-emacs@gnu.org; Sat, 29 Jun 2013 03:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jun 2013 07:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14743 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14743-submit@debbugs.gnu.org id=B14743.137248939328877 (code B ref 14743); Sat, 29 Jun 2013 07:04:02 +0000 Original-Received: (at 14743) by debbugs.gnu.org; 29 Jun 2013 07:03:13 +0000 Original-Received: from localhost ([127.0.0.1]:47741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UspBg-0007Vg-6Y for submit@debbugs.gnu.org; Sat, 29 Jun 2013 03:03:12 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:36014) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UspBa-0007V8-Kt for 14743@debbugs.gnu.org; Sat, 29 Jun 2013 03:03:07 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5T72xrM018040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <14743@debbugs.gnu.org>; Sat, 29 Jun 2013 07:03:00 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5T72xVp003065 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <14743@debbugs.gnu.org>; Sat, 29 Jun 2013 07:02:59 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by userz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5T72xHT003061 for <14743@debbugs.gnu.org>; Sat, 29 Jun 2013 07:02:59 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75709 Archived-At: The PROMPT description is also not quite correct. Suggestion: "Read and return a regular expression as a string. If PROMPT does not end with a colon and possibly whitespace then append \": \" to it. Optional argument DEFAULT is a string or a list of the form \(DEFLT . SUGGESTIONS), where DEFLT is a string or nil. The string DEFAULT or DEFLT is added to the prompt and is returned as the default value if the user enters empty input. The empty string is returned if DEFAULT or DEFLT is nil and the user enters empty input. SUGGESTIONS is a list of strings that can be inserted into the minibuffer using `\\\\[next-history-element]'. The v= alues supplied in SUGGESTIONS are prepended to the list of standard suggestions, which include the tag at point, the last isearch regexp, the last isearch string, and the last replacement regexp. Optional argument HISTORY is a symbol to use for the history list. If nil then use `regexp-history'."