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 16:13:20 -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> <200803061911.m26JB6ID015946@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 1204838045 24543 80.91.229.12 (6 Mar 2008 21:14:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 21:14:05 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 22:14:32 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 1JXNPx-0005Te-7B for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 22:14:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXNPP-0000sV-Ii for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 16:13:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXNP2-0000f2-Sq for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:13:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXNOz-0000dH-J7 for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:13:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXNOz-0000dE-FS for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:13:21 -0500 Original-Received: from 206-248-178-151.dsl.teksavvy.com ([206.248.178.151] helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXNOz-0007ck-Bx for emacs-devel@gnu.org; Thu, 06 Mar 2008 16:13:21 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 77A22B40B3; Thu, 6 Mar 2008 16:13:20 -0500 (EST) In-Reply-To: <200803061911.m26JB6ID015946@sallyv1.ics.uci.edu> (Dan Nicolaescu's message of "Thu, 06 Mar 2008 11:11:06 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-Greylist: delayed 153958 seconds by postgrey-1.27 at monty-python; Thu, 06 Mar 2008 16:13:21 EST 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:91550 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. > Sounds good. Just wondering if we could get all modes to do that, some > still want to be compatible with emacs-20... We could get al the modes bundled with Emacs to do that. For the rest, clearly we have no control over them, Stefan