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: Idempotency of add-hook wrt lambda expressions Date: Fri, 06 Mar 2009 10:36:39 +0100 Message-ID: <86eixbgfh4.fsf@lola.quinscape.zz> References: <74F2CF19-2E71-473F-A352-A628B3B29A8E@gmail.com> <861vtcxpt1.fsf@lola.quinscape.zz> <87prgvya1w.fsf@marauder.physik.uni-ulm.de> <3b31caf90903051259r1f6ccf1et8f3d59afd6dcbdbb@mail.gmail.com> <87bpsfy8wr.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236353148 25533 80.91.229.12 (6 Mar 2009 15:25:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 15:25:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Edward O'Connor Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 06 16:27:05 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 1Lfbwk-0004Of-7R for ged-emacs-devel@m.gmane.org; Fri, 06 Mar 2009 16:26:46 +0100 Original-Received: from localhost ([127.0.0.1]:43610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfbvO-0003Vc-3u for ged-emacs-devel@m.gmane.org; Fri, 06 Mar 2009 10:25:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfWU3-0000Rz-Lg for emacs-devel@gnu.org; Fri, 06 Mar 2009 04:36:47 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfWU1-0000RU-Pt for emacs-devel@gnu.org; Fri, 06 Mar 2009 04:36:46 -0500 Original-Received: from [199.232.76.173] (port=39766 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfWU1-0000RO-Ix for emacs-devel@gnu.org; Fri, 06 Mar 2009 04:36:45 -0500 Original-Received: from mail.quinscape.de ([212.29.44.217]:40467) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LfWU0-00022k-Qb for emacs-devel@gnu.org; Fri, 06 Mar 2009 04:36:45 -0500 Original-Received: (qmail-ldap/ctrl 15572 invoked from network); 6 Mar 2009 09:36:41 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by quinx.quinscape.de (qmail-ldap-1.03) with SMTP for ; 6 Mar 2009 09:36:40 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id C37C68F1AE; Fri, 6 Mar 2009 10:36:39 +0100 (CET) In-Reply-To: <87bpsfy8wr.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Thu, 05 Mar 2009 22:08:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.3-2; AVE: 7.9.0.105; VDF: 7.1.2.128; host: quinscape.de) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 06 Mar 2009 10:25:16 -0500 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:109492 Archived-At: Reiner Steib writes: > On Thu, Mar 05 2009, Edward O'Connor wrote: > >>> Maybe we should provide turn-on-auto-fill-mode and use it here? >> >> `turn-on-auto-fill' and `turn-off-auto-fill' are already defined in >> simple.el. > > Oh, stupid me. I thought it should be interactive, so I only checked > `M-x turn-on-a TAB' and got "No match". > >> The docs should just be updated to use them. > > Agreed. They already mention this as a simpler variant, right after the passage I quoted. But that does not change that the "complex" variant is presented first, and with the full intent of showing the use of lambda in a hook. -- David Kastrup