[Top][All Lists]

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

Re: should search ring contain duplicates?

From: Kim F. Storm
Subject: Re: should search ring contain duplicates?
Date: Thu, 04 May 2006 17:07:43 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

> I am not interested in considering such a complex proposal.

There is nothing complex about it (with the latest add-to-history)

> Please let's not spend time discussing it.

Is it better to spend the time on finding and fixing bugs like this, when
people copy/paste code ?? :

        (when (> (length regexp-search-ring) regexp-search-ring-max)
          (setcdr (nthcdr (1- search-ring-max) regexp-search-ring) nil)))

There are many places where this would be useful!


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

reply via email to

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