emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-regexp


From: Juri Linkov
Subject: Re: read-regexp
Date: Sat, 18 Oct 2008 22:59:18 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

>> I thought that the name STRING-DESCRIBING-DEFAULT is too long and clumsy
>> but had no better idea.  Unless you want to propose a better name, I will
>> rename the argument DEFAULT of `read-regexp' to the same name
>> STRING-DESCRIBING-DEFAULT as below with docstring fixes:
>
> DEFAULT-VALUE sounds good enough to me, but please also make sure that
> the doc string does not hint it is somehow related to the "additional
> defaults".  In fact, I suggest to rephrase the last sentence of the
> doc string such that it doesn't use the word "defaults", but instead
> explains that those are values you pass to read-from-minibuffer for
> making them available via M-n.

Ok, this could be rephrased as:

  "Values available via M-n are the string at point, the last isearch
   regexp, the last isearch string, and the last replacement regexp."

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]