From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: position on changing defaults? Date: Thu, 06 Mar 2008 11:11:06 -0800 Message-ID: <200803061911.m26JB6ID015946@sallyv1.ics.uci.edu> 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 1204830750 29054 80.91.229.12 (6 Mar 2008 19:12:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 19:12:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 20:12:57 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 1JXLVf-0004sT-H4 for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 20:12:07 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXLV7-0004xb-Tq for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 14:11:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXLV4-0004wC-95 for emacs-devel@gnu.org; Thu, 06 Mar 2008 14:11:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXLV3-0004uy-Ja for emacs-devel@gnu.org; Thu, 06 Mar 2008 14:11:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXLV3-0004ur-HB for emacs-devel@gnu.org; Thu, 06 Mar 2008 14:11:29 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JXLV3-0004m2-1I for emacs-devel@gnu.org; Thu, 06 Mar 2008 14:11:29 -0500 X-ICS-MailScanner-Watermark: 1205435468.21265@9WhsyZbD+MRFQiFKkysR+Q Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m26JB6ID015946; Thu, 6 Mar 2008 11:11:06 -0800 (PST) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Thu, 06 Mar 2008 11:20:24 -0500") Original-Lines: 13 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:91540 Archived-At: Stefan Monnier writes: > > 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...