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: Backporting changes into emacs-23 prior to pretest Date: Wed, 03 Nov 2010 23:09:34 -0400 Message-ID: References: <87aam38rr0.fsf@stupidchicken.com> <87mxpqqmjm.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1288840205 15858 80.91.229.12 (4 Nov 2010 03:10:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 4 Nov 2010 03:10:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 04 04:09:57 2010 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.69) (envelope-from ) id 1PDqCz-0001i2-Lm for ged-emacs-devel@m.gmane.org; Thu, 04 Nov 2010 04:09:57 +0100 Original-Received: from localhost ([127.0.0.1]:40882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDqCu-0004xp-6C for ged-emacs-devel@m.gmane.org; Wed, 03 Nov 2010 23:09:44 -0400 Original-Received: from [140.186.70.92] (port=48233 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDqCn-0004wn-SC for emacs-devel@gnu.org; Wed, 03 Nov 2010 23:09:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDqCm-0005rd-97 for emacs-devel@gnu.org; Wed, 03 Nov 2010 23:09:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:48991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDqCm-0005rX-5B for emacs-devel@gnu.org; Wed, 03 Nov 2010 23:09:36 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PDqCk-0002er-LR; Wed, 03 Nov 2010 23:09:34 -0400 In-Reply-To: <87mxpqqmjm.fsf@stupidchicken.com> (Chong Yidong's message of "Wed\, 03 Nov 2010 14\:39\:25 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/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:132350 Archived-At: Chong Yidong writes: > Dan Nicolaescu writes: > >> How about this one: >> ** Directory local variables can apply to file-less buffers. >> For example, adding "(diff-mode . ((mode . whitespace)))" to your >> .dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers. >> The code change itself is small, and only touches one or two >> functions. > > I don't think this is a good candidate for backporting, but if you feel > strongly about it, we can discuss more. I think this is important. It completes what .dir-locals.el can do. Without it, you cannot use .dir-locals.el for any of the *vc* buffers. The line I cite above is used to turn on whitespace-mode in *vc diff*. > >> How about the changes to make major modes derive from `prog-mode'? >> [This is not quite finished, but it won't be too hard to finish it...] > > These is mostly a cleanup, right? I don't think it's worth backporting > either. It's a new feature. If all programming modes are derived from `prog-mode', then one can do: (add-hook 'prog-mode 'flyspell-prog-mode) to turn on the fly spell checking for comments and strings in all programming modes. This is not complete on the trunk either. So if you have an aggressive schedule to get the release out, we can let this one go.