From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Idempotency of add-hook wrt lambda expressions Date: Thu, 05 Mar 2009 11:37:05 -0500 Message-ID: References: <20090305161206.GA1855@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236271134 9357 80.91.229.12 (5 Mar 2009 16:38:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 16:38:54 +0000 (UTC) Cc: Geoff Gole , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 05 17:40:11 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 1LfGc6-0002AX-8Z for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2009 17:40:03 +0100 Original-Received: from localhost ([127.0.0.1]:57575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfGak-0003PK-MB for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2009 11:38:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfGZJ-0002pE-Gt for emacs-devel@gnu.org; Thu, 05 Mar 2009 11:37:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfGZI-0002oW-1P for emacs-devel@gnu.org; Thu, 05 Mar 2009 11:37:09 -0500 Original-Received: from [199.232.76.173] (port=51804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfGZH-0002oJ-Qe for emacs-devel@gnu.org; Thu, 05 Mar 2009 11:37:07 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:4475 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LfGZG-0001DU-VP for emacs-devel@gnu.org; Thu, 05 Mar 2009 11:37:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEAHuOr0nO+KX2/2dsb2JhbACBTthlhAgGhBI X-IronPort-AV: E=Sophos;i="4.38,308,1233550800"; d="scan'208";a="34736956" Original-Received: from 206-248-165-246.dsl.teksavvy.com (HELO pastel.home) ([206.248.165.246]) by ironport2-out.teksavvy.com with ESMTP; 05 Mar 2009 11:37:06 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id B12CC7FA2; Thu, 5 Mar 2009 11:37:05 -0500 (EST) In-Reply-To: <20090305161206.GA1855@muc.de> (Alan Mackenzie's message of "Thu, 5 Mar 2009 16:12:06 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:109475 Archived-At: > I'm not convinced anything's really needed in the add-hook docstring or > manual entry, but if so, I'd suggest something along the lines "you'd > best use a symbol here unless you really know what you're doing". I'm glad we agree. Stefan