unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 14743@debbugs.gnu.org
Subject: bug#14743: 24.3.50; doc string of `read-regexp'
Date: Sat, 29 Jun 2013 00:02:58 -0700 (PDT)	[thread overview]
Message-ID: <79a924fd-61b6-4c78-b699-9c7487df55c4@default> (raw)
In-Reply-To: <d8f12d1e-416d-4fc0-b953-d762eaa8d749@default>

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 `\\<minibuffer-local-map>\\[next-history-element]'.  The values 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'."





  reply	other threads:[~2013-06-29  7:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28 21:46 bug#14743: 24.3.50; doc string of `read-regexp' Drew Adams
2013-06-29  7:02 ` Drew Adams [this message]
2013-06-29 22:20   ` Juri Linkov
2013-06-29 23:06     ` Drew Adams
2014-02-08  6:40 ` Lars Ingebrigtsen
2014-02-10  4:33   ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79a924fd-61b6-4c78-b699-9c7487df55c4@default \
    --to=drew.adams@oracle.com \
    --cc=14743@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).