From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: query-replace in isearch (was Re: should search ring contain duplicates?) Date: Fri, 26 May 2006 01:47:45 +0300 Organization: JURTA Message-ID: <878xopbue3.fsf@jurta.org> References: <200605030727.k437R2Wx009975@amrm2.ics.uci.edu> <87bqufwbls.fsf@jurta.org> <200605031504.k43F49hr001544@scanner2.ics.uci.edu> <87wtcslqoj.fsf@jurta.org> <87slng8c5p.fsf@jurta.org> <87ac9ekbw6.fsf@jurta.org> <878xotibsd.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148597775 16792 80.91.229.2 (25 May 2006 22:56:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 25 May 2006 22:56:15 +0000 (UTC) Cc: dann@ics.uci.edu, emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 26 00:56:11 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FjOkK-00025z-Dn for ged-emacs-devel@m.gmane.org; Fri, 26 May 2006 00:56:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjOkK-0001bf-22 for ged-emacs-devel@m.gmane.org; Thu, 25 May 2006 18:56:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjOk5-0001Zy-Fz for emacs-devel@gnu.org; Thu, 25 May 2006 18:55:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjOk3-0001ZQ-VE for emacs-devel@gnu.org; Thu, 25 May 2006 18:55:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjOk3-0001ZL-Ns for emacs-devel@gnu.org; Thu, 25 May 2006 18:55:43 -0400 Original-Received: from [217.25.160.1] (helo=relay1.binet.com.ua) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FjOom-000869-LY; Thu, 25 May 2006 19:00:37 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by relay1.binet.com.ua (Postfix) with ESMTP id 48DC277E22; Fri, 26 May 2006 01:55:40 +0300 (EEST) Original-Received: from mail.binet.com.ua (i32.dialup.binet.com.ua [217.25.161.96]) by relay1.binet.com.ua (Postfix) with ESMTP id E404C77E09; Fri, 26 May 2006 01:55:37 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 23 May 2006 22:18:32 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by ClamAv at binet.com.ua X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55294 Archived-At: > I agree that a global variable seems like a good solution, > but calling it `history-length' seems counterintuitive. > I suggest calling it `history-dont-add'. This name is too limited and has no room for extensions. What do you think about `history-keep' with values `none', `all', and possibly other values like `empty', `duplicate', `last' (to not compare with the last element before adding a new one) or combinations of them? > Meanwhile, would you please install the previous patch to delete > KEEP_ALL, aside from the parts that change the behavior of command-history, > as I said before? Done. -- Juri Linkov http://www.jurta.org/emacs/