From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geoff Gole Newsgroups: gmane.emacs.devel Subject: Re: Idempotency of add-hook wrt lambda expressions Date: Thu, 5 Mar 2009 17:23:34 +0900 Message-ID: References: <74F2CF19-2E71-473F-A352-A628B3B29A8E@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236241435 3028 80.91.229.12 (5 Mar 2009 08:23:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 08:23:55 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org, david.reitter@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 05 09:25:12 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lf8tB-0006jk-An for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2009 09:25:09 +0100 Original-Received: from localhost ([127.0.0.1]:56269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf8rp-00030m-Ui for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2009 03:23:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lf8rj-0002xu-Uv for emacs-devel@gnu.org; Thu, 05 Mar 2009 03:23:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lf8ri-0002wN-Kf for emacs-devel@gnu.org; Thu, 05 Mar 2009 03:23:39 -0500 Original-Received: from [199.232.76.173] (port=51857 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lf8ri-0002w6-DU for emacs-devel@gnu.org; Thu, 05 Mar 2009 03:23:38 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:44216) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lf8rh-0007E6-Sx for emacs-devel@gnu.org; Thu, 05 Mar 2009 03:23:38 -0500 Original-Received: from wf-out-1314.google.com ([209.85.200.175]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lf8rg-0003Xx-Ad for emacs-devel@gnu.org; Thu, 05 Mar 2009 03:23:36 -0500 Original-Received: by wf-out-1314.google.com with SMTP id 28so3981597wfc.24 for ; Thu, 05 Mar 2009 00:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=4EyrHDYU639yNKQRGjIYfJPOkihVcd+/52JNSvUGm/0=; b=XLXGRQO/qp3PwLu3HaRkEwxasyjEnm87WUpjbn2SPsAPF9ym1pGMhneCC0qzawoVN5 /DiqKUzZ1Oa8mlnQSrLzke8RieTOaLZnp0L/GITwuvIlgVzf26XIbNUL1h3OxgHt8po+ rHhL2P6lI4vhNSltc5JF8lGUt289QUt5xEjWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=VCwaP6PMflmxfHTFHzMRYEVoiaaYmwUeMPCq1v5gJlhOFy9GmjXtdLfHx/9vDqdo5+ a01oRE3yLRrLpYJIk5XHNo3o8jKjTseddZJxBRT/GfEJkHo77Sv/sn4c2OywjdbouMr0 XGNr3W7aVaIZ2HDoVDTRzS+N3u/Uni20ZIJXY= Original-Received: by 10.142.77.7 with SMTP id z7mr409266wfa.230.1236241414425; Thu, 05 Mar 2009 00:23:34 -0800 (PST) In-Reply-To: X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:109465 Archived-At: > I'd much rather add a patch that complains when you pass a lambda to add-hook. Sounds good to me.