From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: Idempotency of add-hook wrt lambda expressions Date: Thu, 05 Mar 2009 21:44:11 +0100 Message-ID: <87prgvya1w.fsf@marauder.physik.uni-ulm.de> References: <74F2CF19-2E71-473F-A352-A628B3B29A8E@gmail.com> <861vtcxpt1.fsf@lola.quinscape.zz> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236285909 31986 80.91.229.12 (5 Mar 2009 20:45:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 20:45:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 05 21:46:25 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 1LfKSQ-00063U-3Y for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2009 21:46:18 +0100 Original-Received: from localhost ([127.0.0.1]:49286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfKR4-0006Nd-Rf for ged-emacs-devel@m.gmane.org; Thu, 05 Mar 2009 15:44:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfKQf-0006AH-Nn for emacs-devel@gnu.org; Thu, 05 Mar 2009 15:44:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfKQc-00067h-2c for emacs-devel@gnu.org; Thu, 05 Mar 2009 15:44:27 -0500 Original-Received: from [199.232.76.173] (port=50963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfKQa-00066a-3p for emacs-devel@gnu.org; Thu, 05 Mar 2009 15:44:24 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]:38744) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LfKQV-0005ia-2d; Thu, 05 Mar 2009 15:44:19 -0500 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id n25KiEl6023831; Thu, 5 Mar 2009 21:44:14 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 58DB61367A; Thu, 5 Mar 2009 21:44:14 +0100 (CET) X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Followup-To: David Kastrup , emacs-devel@gnu.org In-Reply-To: <861vtcxpt1.fsf@lola.quinscape.zz> (David Kastrup's message of "Thu, 05 Mar 2009 10:49:14 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-debian-Metrics: poseidon 1169; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new 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:109483 Archived-At: On Thu, Mar 05 2009, David Kastrup wrote: > For example, (info "(emacs) Init Examples") carefully explains > > * Turn on Auto Fill mode automatically in Text mode and related > modes. > > (add-hook 'text-mode-hook > '(lambda () (auto-fill-mode 1))) Maybe we should provide turn-on-auto-fill-mode and use it here? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/