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: Tue, 22 Oct 2013 10:58:37 +1300 (NZDT) Message-ID: <54359.202.78.240.7.1382392717.squirrel@mail.orcon.net.nz> References: <5263DCF3.7070501@orcon.net.nz> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1382392759 31567 80.91.229.3 (21 Oct 2013 21:59:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 21:59:19 +0000 (UTC) Cc: yary , 15577 <15577@debbugs.gnu.org> To: "Stefan Monnier" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 23:59: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 1VYNVR-0007vn-PE for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 23:59:22 +0200 Original-Received: from localhost ([::1]:42009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYNVR-0006E3-6i for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 17:59:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYNVF-0006Dv-Pd for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 17:59:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYNV8-000740-Ca for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 17:59:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYNV8-00073u-8z for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 17:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VYNV7-0008Qu-M3 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 17:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Phil Sainty" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2013 21:59:01 +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.138239272632393 (code B ref 15577); Mon, 21 Oct 2013 21:59:01 +0000 Original-Received: (at 15577) by debbugs.gnu.org; 21 Oct 2013 21:58:46 +0000 Original-Received: from localhost ([127.0.0.1]:33498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYNUr-0008QO-IU for submit@debbugs.gnu.org; Mon, 21 Oct 2013 17:58:45 -0400 Original-Received: from nctlincom01.orcon.net.nz ([60.234.4.69]:43144) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYNUn-0008Q7-D0 for 15577@debbugs.gnu.org; Mon, 21 Oct 2013 17:58:43 -0400 Original-Received: from mx5.orcon.net.nz (mx5.orcon.net.nz [219.88.242.55]) by nctlincom01.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9LM52wF021482 for <15577@debbugs.gnu.org>; Tue, 22 Oct 2013 11:05:02 +1300 Original-Received: from Debian-exim by mx5.orcon.net.nz with local (Exim 4.69) (envelope-from ) id 1VYNUj-0002r8-FS for 15577@debbugs.gnu.org; Tue, 22 Oct 2013 10:58:37 +1300 Original-Received: from [172.16.100.200] (helo=mail.orcon.net.nz) by mx5.orcon.net.nz with esmtp (Exim 4.69) (envelope-from ) id 1VYNUj-0002qZ-4r; Tue, 22 Oct 2013 10:58:37 +1300 Original-Received: from 202.78.240.7 (SquirrelMail authenticated user 15631029) by mail.orcon.net.nz with HTTP; Tue, 22 Oct 2013 10:58:37 +1300 (NZDT) In-Reply-To: User-Agent: SquirrelMail/1.4.5 X-Priority: 3 (Normal) Importance: Normal X-DSPAM-Check: by mx5.orcon.net.nz on Tue, 22 Oct 2013 10:58:37 +1300 X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Oct 22 10:58:37 2013 X-DSPAM-Confidence: 0.6168 X-DSPAM-Probability: 0.0000 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, default) X-CanIt-Geo: No geolocation information available for 172.16.100.200 X-CanItPRO-Stream: base:default X-Canit-Stats-ID: 06KDW52x9 - 2a1779e0634b - 20131022 X-Scanned-By: CanIt (www . roaringpenguin . com) on 172.16.100.174 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:79479 Archived-At: >> I prefer the way you're going, > > Just to clarify, in case there was some confusion: I'm not actually > working on any of that. I'm just giving guidance for someone who > wants to write a patch. That comment may have been directed at me (and I do indeed intend to provide a patch). I need to rework some code to make the major mode variable detection more generally-available, as my existing solution to avoid applying a major mode local variable depends on hack-local-variables being called, but that doesn't happen in all cases. I think it's looking promising, though. -Phil