From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.devel Subject: Re: position on changing defaults? Date: Sun, 9 Mar 2008 02:00:23 +0100 Organization: GNU's Not UNIX! Message-ID: <200803090100.m2910NoF005986@localhost.localdomain> References: Reply-To: Xavier Maillard NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1205026898 5878 80.91.229.12 (9 Mar 2008 01:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 01:41:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 09 02:42:05 2008 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 1JYAY8-0005Py-U1 for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 02:42:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYAXb-00086A-1E for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 20:41:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYAWv-0007lv-Tl for emacs-devel@gnu.org; Sat, 08 Mar 2008 20:40:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYAWu-0007kr-VB for emacs-devel@gnu.org; Sat, 08 Mar 2008 20:40:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYAWu-0007ki-P5 for emacs-devel@gnu.org; Sat, 08 Mar 2008 20:40:48 -0500 Original-Received: from master.uucpssh.org ([193.218.105.66]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYAWu-0006vI-AE for emacs-devel@gnu.org; Sat, 08 Mar 2008 20:40:48 -0500 Original-Received: by master.uucpssh.org (Postfix, from userid 10) id AF92AC735A; Sun, 9 Mar 2008 02:33:53 +0100 (CET) Original-Received: from localhost.localdomain (IDENT:1000@localhost [127.0.0.1]) by localhost.localdomain (8.14.1/8.13.8) with ESMTP id m2910YSp006009; Sun, 9 Mar 2008 02:00:34 +0100 Original-Received: (from xma@localhost) by localhost.localdomain (8.14.1/8.13.8/Submit) id m2910NoF005986; Sun, 9 Mar 2008 02:00:23 +0100 In-reply-to: (message from Stefan Monnier on Thu, 06 Mar 2008 11:20:24 -0500) User-Agent: Rmail in GNU Emacs 23.0.60.2 on GNU/Linux Jabber-ID: xma01@jabber.fr X-uucpssh: Found to be clean X-uucpssh-SpamCheck: not spam, SpamAssassin (not cached, timed out) X-uucpssh-From: xma@gnu.org X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:91825 Archived-At: > Which is doable. But what if a user wants to turn on flyspell-prog-mode > by default for all programming languages? The only way to do that now is > to add a bunch of `add-hook's in .emacs > It would be nice to have a generic solution for all these (no idea what > that might be...) One solution is to introduce a new major mode `prog-mode' and then make all other programming modes inherit from it. I like this solution. Xavier -- http://www.gnu.org http://www.april.org http://www.lolica.org