From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#15577: 24.3; dir-local variables not applied when switching major-mode Date: Mon, 21 Oct 2013 02:38:59 +1300 Message-ID: <5263DCF3.7070501@orcon.net.nz> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382276419 17986 80.91.229.3 (20 Oct 2013 13:40:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2013 13:40:19 +0000 (UTC) Cc: 15577 <15577@debbugs.gnu.org> To: yary , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 15:40:22 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VXtEy-0005sf-Ho for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2013 15:40:20 +0200 Original-Received: from localhost ([::1]:36167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXtEy-0007Kb-6F for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2013 09:40:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXtEo-0007KV-VI for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 09:40:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXtEi-0003Pn-CH for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 09:40:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXtEi-0003NR-87 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 09:40:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VXtEg-0001mU-SM for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2013 09:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2013 13:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15577 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15577-submit@debbugs.gnu.org id=B15577.13822763726801 (code B ref 15577); Sun, 20 Oct 2013 13:40:02 +0000 Original-Received: (at 15577) by debbugs.gnu.org; 20 Oct 2013 13:39:32 +0000 Original-Received: from localhost ([127.0.0.1]:58834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXtEC-0001la-0V for submit@debbugs.gnu.org; Sun, 20 Oct 2013 09:39:32 -0400 Original-Received: from nctlincom02.orcon.net.nz ([60.234.4.76]:58894) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VXtE6-0001lM-1g for 15577@debbugs.gnu.org; Sun, 20 Oct 2013 09:39:27 -0400 Original-Received: from mx3.orcon.net.nz (mx3.orcon.net.nz [219.88.242.53]) by nctlincom02.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9KDe5mg008356 for <15577@debbugs.gnu.org>; Mon, 21 Oct 2013 02:40:05 +1300 Original-Received: from Debian-exim by mx3.orcon.net.nz with local (Exim 4.69) (envelope-from ) id 1VXtE1-0008HY-TY for 15577@debbugs.gnu.org; Mon, 21 Oct 2013 02:39:21 +1300 Original-Received: from [121.99.86.188] (helo=[10.1.1.3]) by mx3.orcon.net.nz with esmtpa (Exim 4.69) (envelope-from ) id 1VXtE1-0008Gk-NZ; Mon, 21 Oct 2013 02:39:21 +1300 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 In-Reply-To: X-DSPAM-Check: by mx3.orcon.net.nz on Mon, 21 Oct 2013 02:39:21 +1300 X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon Oct 21 02:39:21 2013 X-DSPAM-Confidence: 0.5395 X-DSPAM-Probability: 0.0001 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, default) X-CanIt-Geo: ip=121.99.86.188; country=NZ; region=E7; city=Auckland; latitude=-36.8667; longitude=174.7667; http://maps.google.com/maps?q=-36.8667,174.7667&z=6 X-CanItPRO-Stream: base:default X-Canit-Stats-ID: 05KDpE5ml - 41b3beee06f7 - 20131021 X-Scanned-By: CanIt (www . roaringpenguin . com) on 172.16.100.175 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79419 Archived-At: I've been experimenting with this today (along the lines of http://lists.gnu.org/archive/html/bug-gnu-emacs/2013-10/msg00534.html ) and one of the things I noticed which I'd not previously considered was the major mode switches which happen every time you enter the minibuffer. I expect that we should make an exception for those mode changes, as (a) that is going to be a far more frequent occurrence -- and for people who enable local variable processing for tramp buffers, probably annoyingly expensive to boot -- but more importantly (b) there surely aren't any actual use-cases for dir/file locals in the minibuffer? Does that sound sensible? -Phil