|
From: | Stefan Monnier |
Subject: | bug#7567: Please add a history variable to read-regexp |
Date: | Thu, 09 Dec 2010 22:06:45 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> 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). > Let INITIAL-INPUT be. -- John Lennon > No one is forced to use it. What did it ever do to you? ;-) It's too low-level: better provide a DEFAULT-VALUE and then the function can decide to do as we do (i.e. put default in prompt and in M-n) or as they do (put it as the initial contents, selected so that delete-selection-mode can get rid of it in a pinch). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |