From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: query-replace in isearch (was Re: should search ring contain duplicates?) Date: Mon, 29 May 2006 02:39:13 -0400 Message-ID: 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> <878xopbue3.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1148884848 8531 80.91.229.2 (29 May 2006 06:40:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 May 2006 06:40:48 +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 Mon May 29 08:40:47 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 1FkbQk-0005BD-JO for ged-emacs-devel@m.gmane.org; Mon, 29 May 2006 08:40:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FkbQk-0008Uo-2v for ged-emacs-devel@m.gmane.org; Mon, 29 May 2006 02:40:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FkbPT-0007eI-Ks for emacs-devel@gnu.org; Mon, 29 May 2006 02:39:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FkbPS-0007d7-DH for emacs-devel@gnu.org; Mon, 29 May 2006 02:39:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FkbPS-0007ci-37 for emacs-devel@gnu.org; Mon, 29 May 2006 02:39:26 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FkbUx-0006Qu-Qh for emacs-devel@gnu.org; Mon, 29 May 2006 02:45:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FkbPF-00032n-G2; Mon, 29 May 2006 02:39:14 -0400 Original-To: Juri Linkov In-reply-to: <878xopbue3.fsf@jurta.org> (message from Juri Linkov on Fri, 26 May 2006 01:47:45 +0300) 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:55407 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? I don't mind using a variable name that opens the room for other extensions, but we don't need those other extensions now. So please call it `history-add-new-input', and initially just define the values t and nil.