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: position on changing defaults? Date: Thu, 06 Mar 2008 11:20:24 -0500 Message-ID: References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu> <200803052230.m25MUORx001881@sallyv1.ics.uci.edu> <871w6ou4xb.fsf@jurta.org> <200803060358.m263wveh005067@sallyv1.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204820494 19541 80.91.229.12 (6 Mar 2008 16:21:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 16:21:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 17:21:52 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 1JXIqC-0007O0-Fv for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 17:21:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXIpe-0007e8-MY for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 11:20:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXIpX-0007cx-Uz for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:20:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXIpV-0007ba-SG for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:20:27 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXIpV-0007bT-I3 for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:20:25 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXIpV-0004WX-81 for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:20:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAL+oz0fO+LKX/2dsb2JhbACsQ4EH X-IronPort-AV: E=Sophos;i="4.25,456,1199682000"; d="scan'208";a="15661277" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 06 Mar 2008 11:20:24 -0500 Original-Received: from pastel.home ([206.248.178.151]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id MTA69624; Thu, 06 Mar 2008 11:20:24 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 5919A816B; Thu, 6 Mar 2008 11:20:24 -0500 (EST) In-Reply-To: <200803060358.m263wveh005067@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Wed, 05 Mar 2008 19:58:57 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: 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:91504 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. Stefan