From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: history-delete-duplicates and keep-all Date: Sun, 11 Dec 2005 00:03:41 -0500 Message-ID: References: <87mzj98eh1.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 1134277871 19835 80.91.229.2 (11 Dec 2005 05:11:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Dec 2005 05:11:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 11 06:11:01 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ElJTa-0007YF-GT for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 06:10:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElJU0-0001Sk-G3 for ged-emacs-devel@m.gmane.org; Sun, 11 Dec 2005 00:10:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ElJOW-0006R9-7h for emacs-devel@gnu.org; Sun, 11 Dec 2005 00:05:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ElJOT-0006QB-PO for emacs-devel@gnu.org; Sun, 11 Dec 2005 00:05:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElJOT-0006Pr-BM for emacs-devel@gnu.org; Sun, 11 Dec 2005 00:05:05 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ElJPx-0003zs-PA for emacs-devel@gnu.org; Sun, 11 Dec 2005 00:06:37 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1ElJN7-000497-Ut; Sun, 11 Dec 2005 00:03:42 -0500 Original-To: Juri Linkov In-reply-to: <87mzj98eh1.fsf@jurta.org> (message from Juri Linkov on Sat, 10 Dec 2005 12:29:08 +0200) 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:47437 Archived-At: Currently `keep-all' is used only in `query-replace'. So it is not too late to let-bind `history-delete-duplicates' in this place instead. ... Thus `history-delete-duplicates' should support three different values: We could do that, or make a separate variable. I think a separate variable would be better, because these two different activities are for different purposes. Which means it is really a question of whether to use an argument for this, or a new global variable. This arg also has another drawback: it is available only to one completion function `read-from-minibuffer' and is not available to all other completion functions. I think that is a reason to switch to a variable. Would you please make that change? Please update NEWS and the Lisp manual, too.