emacs-devel
[Top][All Lists]
Advanced

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

Re: Default via M-n for M-x occur


From: Juri Linkov
Subject: Re: Default via M-n for M-x occur
Date: Fri, 09 Jul 2004 23:57:22 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

David Kastrup <address@hidden> writes:
> Richard Stallman <address@hidden> writes:
>>     Currently `occur-read-primary-args' sets the default value to the
>>     last element of the regexp history.  But the whole history list is
>>     available by M-p.  It makes no sense to duplicate the last history
>>     element as a default value available by M-n.
>> 
>> Since it does have a default, that default should (for consistency)
>> be available through M-n.
>
> It is not a good idea to mention the default in the prompt then: this
> will lead people to think that just typing RET would provide them
> with the default.

And if RET will not use the default value and the prompt will not
display the default then it makes no sense to make the last history
element available through M-n because exactly the same value (as well
as all other history value) is available through M-n.

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





reply via email to

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