From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: turn-on-*-mode Date: Tue, 16 May 2006 23:44:53 -0400 Message-ID: References: <4469D3B6.2040904@student.lu.se> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1147837516 29581 80.91.229.2 (17 May 2006 03:45:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 May 2006 03:45:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 17 05:45:13 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 1FgCyC-0002Fi-CO for ged-emacs-devel@m.gmane.org; Wed, 17 May 2006 05:45:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgCyB-0004lJ-Pm for ged-emacs-devel@m.gmane.org; Tue, 16 May 2006 23:45:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FgCy0-0004l3-Pv for emacs-devel@gnu.org; Tue, 16 May 2006 23:44:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FgCxy-0004kr-C0 for emacs-devel@gnu.org; Tue, 16 May 2006 23:44:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FgCxy-0004ko-77 for emacs-devel@gnu.org; Tue, 16 May 2006 23:44:54 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FgD0k-0007zd-K4 for emacs-devel@gnu.org; Tue, 16 May 2006 23:47:46 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FgCxx-0001Nn-Gb; Tue, 16 May 2006 23:44:53 -0400 Original-To: sds@podval.org In-reply-to: (message from Sam Steingold on Tue, 16 May 2006 11:04:59 -0400) 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:54616 Archived-At: The only situation where the turn-on-*-mode functions are really needed is hooks: (add-hook 'text-mode-hook 'turn-on-auto-fill) is much better than (add-hook 'text-mode-hook (lambda () (auto-fill-mode 1))) Right. So my idea is, let's add such functions for the modes people often want to enable in these hooks.