[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7567: Please add a history variable to read-regexp
From: |
Stefan Monnier |
Subject: |
bug#7567: Please add a history variable to read-regexp |
Date: |
Thu, 09 Dec 2010 09:28:16 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> So after reading the rest of the thread, I think I finally understand
>> that you want to "add a history *argument* to read-regexp", right?
>> Then it sounds perfectly acceptable.
> For consistency, `read-regexp' could have the same function signature
> as other minibuffer reading functions, e.g. like `read-string':
> (read-string PROMPT &optional INITIAL-INPUT HISTORY DEFAULT-VALUE
> INHERIT-INPUT-METHOD)
> (read-regexp PROMPT &optional INITIAL-INPUT HISTORY DEFAULT-VALUE
> INHERIT-INPUT-METHOD)
No: new such functions should not offer both INITIAL-INPUT and
DEFAULT-VALUE. Instead, they should (like read-regexp) only accept
DEFAULT-VALUE (and automatically add it to the prompt in the standard
format).
Stefan
- bug#7567: Please add a history variable to read-regexp, (continued)
bug#7567: Please add a history variable to read-regexp, Stefan Monnier, 2010/12/06
- bug#7567: Please add a history variable to read-regexp, Juri Linkov, 2010/12/07
- bug#7567: Please add a history variable to read-regexp, Drew Adams, 2010/12/07
- bug#7567: Please add a history variable to read-regexp, Stefan Monnier, 2010/12/09
- bug#7567: Please add a history variable to read-regexp, Drew Adams, 2010/12/09
- bug#7567: Please add a history variable to read-regexp, Stefan Monnier, 2010/12/09
bug#7567: Please add a history variable to read-regexp,
Stefan Monnier <=
bug#7567: Please add a history variable to read-regexp, Drew Adams, 2010/12/09
bug#7567: Please add a history variable to read-regexp, Stefan Monnier, 2010/12/09
bug#7567: Please add a history variable to read-regexp, Drew Adams, 2010/12/09
bug#7567: Please add a history variable to read-regexp, Stefan Monnier, 2010/12/10
bug#7567: Please add a history variable to read-regexp, Lennart Borgman, 2010/12/07