From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9796: 24.0.90; Major mode selection after "save as" Date: Wed, 19 Oct 2011 20:30:53 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319070901 23722 80.91.229.12 (20 Oct 2011 00:35:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2011 00:35:01 +0000 (UTC) Cc: 9796@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 02:34:56 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGgb2-0006pb-Dl for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Oct 2011 02:34:56 +0200 Original-Received: from localhost ([::1]:54884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGgb1-00025e-KO for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 20:34:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGgaw-00024w-TD for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 20:34:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGgav-0000GX-Nq for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 20:34:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGgY8-00086M-LX for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 20:31:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGgZB-0000NB-JQ for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 20:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Oct 2011 00:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9796 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9796-submit@debbugs.gnu.org id=B9796.13190707301369 (code B ref 9796); Thu, 20 Oct 2011 00:33:01 +0000 Original-Received: (at 9796) by debbugs.gnu.org; 20 Oct 2011 00:32:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGgYL-0000M2-K5 for submit@debbugs.gnu.org; Wed, 19 Oct 2011 20:32:09 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGgYI-0000LX-Hd for 9796@debbugs.gnu.org; Wed, 19 Oct 2011 20:32:07 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAAZrn05MCqLO/2dsb2JhbABEqQGBBoFuAQEEAVYjEAsOJhIUGA0kiBO2WYgbBKEshEU X-IronPort-AV: E=Sophos;i="4.69,375,1315195200"; d="scan'208";a="143191802" Original-Received: from 76-10-162-206.dsl.teksavvy.com (HELO pastel.home) ([76.10.162.206]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 19 Oct 2011 20:30:55 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C82524E131; Wed, 19 Oct 2011 20:30:53 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Wed, 19 Oct 2011 17:51:48 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 20:33:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52889 Archived-At: >> Changing a buffer's filename changes the major-mode (if >> change-major-mode-with-file-name is non-nil), but does not re-hack the >> local variables. > I guess it probably should, since any specified file local variables get > clobbered by the mode change. As mentioned in some earlier post (several months ago), I think that normal-mode should run hack-local-variables. Stefan