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: should search ring contain duplicates? Date: Sat, 06 May 2006 10:25:37 -0400 Message-ID: References: <85slnogtol.fsf@lola.goethe.zz> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1146925641 9886 80.91.229.2 (6 May 2006 14:27:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 May 2006 14:27:21 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 06 16:27:19 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 1FcNkV-0000iO-BT for ged-emacs-devel@m.gmane.org; Sat, 06 May 2006 16:27:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcNkV-0000mZ-4i for ged-emacs-devel@m.gmane.org; Sat, 06 May 2006 10:27:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FcNj3-00007H-4A for emacs-devel@gnu.org; Sat, 06 May 2006 10:25:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FcNj2-000063-AB for emacs-devel@gnu.org; Sat, 06 May 2006 10:25:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FcNj2-00005u-4r for emacs-devel@gnu.org; Sat, 06 May 2006 10:25:40 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FcNjQ-0005xN-7o for emacs-devel@gnu.org; Sat, 06 May 2006 10:26:04 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FcNiz-0004x6-Og; Sat, 06 May 2006 10:25:37 -0400 Original-To: David Kastrup In-reply-to: <85slnogtol.fsf@lola.goethe.zz> (message from David Kastrup on Fri, 05 May 2006 21:25:46 +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:54001 Archived-At: I think that for most uses of a history it makes no sense to keep duplicates. I'd vote for making the default value be t and letting those few modes where duplicates might make sense (e.g. shell-mode?) bind it to nil unless the user has explicitly specified otherwise. IOW the option values could be: nil - means never remove duplicates t (default) - means remove duplicates, but this can be overridden by a mode (e.g. shell-mode) non-nil, non-t - means always remove duplicates (never override) When I responded to this one, I must have been thinking about this one. It appears that I forgot about this one afterward, and remembered only the other complex proposal about properties. I apologize for the confusion. Both this and the proposal about properties are too complex. Even if these features were desirable in general, now would be the wrong time for them. We are close to being ready for pretest. Please propose only things that MUST be done before the release.