From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: should search ring contain duplicates? Date: Thu, 04 May 2006 14:25:43 +0200 Message-ID: <8564kmvuwo.fsf@lola.goethe.zz> References: <200605030727.k437R2Wx009975@amrm2.ics.uci.edu> <87bqufwbls.fsf@jurta.org> <85iromw09n.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146745597 28533 80.91.229.2 (4 May 2006 12:26:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 May 2006 12:26:37 +0000 (UTC) Cc: Juri Linkov , dann@ics.uci.edu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 04 14:26:34 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 1FbcuS-0001tC-KW for ged-emacs-devel@m.gmane.org; Thu, 04 May 2006 14:26:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FbcuR-0007nA-TX for ged-emacs-devel@m.gmane.org; Thu, 04 May 2006 08:26:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fbcu9-0007lE-9h for emacs-devel@gnu.org; Thu, 04 May 2006 08:26:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fbcu8-0007kn-Oc for emacs-devel@gnu.org; Thu, 04 May 2006 08:26:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fbcu8-0007ke-KH for emacs-devel@gnu.org; Thu, 04 May 2006 08:26:00 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fbcuk-0006Dc-6Y for emacs-devel@gnu.org; Thu, 04 May 2006 08:26:38 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Fbcu8-0006zg-05; Thu, 04 May 2006 08:26:00 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E13731C3ACCD; Thu, 4 May 2006 14:25:43 +0200 (CEST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Thu, 04 May 2006 14:19:59 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:53898 Archived-At: storm@cua.dk (Kim F. Storm) writes: > David Kastrup writes: > >> What is the rationale for making this a macro? > > It's named ...-push :-) > >> Sure, you need to quote history in the call then, but it seems like >> the trouble for a macro is not really warranted. > > You're right, so let's change it to a defun. > > But then, to reduce confusion, the name should be `add-to-history', > and the sequence of args changed to match the interface of add-to-list. Sounds reasonable. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum