emacs-devel
[Top][All Lists]
Advanced

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

Re: query-replace in isearch (was Re: should search ring contain duplica


From: Kim F. Storm
Subject: Re: query-replace in isearch (was Re: should search ring contain duplicates?)
Date: Sun, 14 May 2006 22:52:20 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     >                                                         Using
>     > add-to-history will treat this new element just like other new
>     > elements on the same history list.  That seems right to me.  Do you
>     > think it is wrong in this case?
>
>     It is wrong if history-delete-duplicates is nil; then it unconditionally
>     adds an element even if it is equal to the head of the history.
>
> If history-delete-duplicates is nil, why is that behavior wrong?
> Isn't it normal, in that case, to add the new element unconditionally?

read-from-minibuffer doesn't add it unless KEEP-ALL is non-nil.

so for consistency, neither should add-to-history IMO.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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