From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#9796: 24.0.90; Major mode selection after "save as" Date: Wed, 19 Oct 2011 17:43:27 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1319060646 27666 80.91.229.12 (19 Oct 2011 21:44:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 21:44:06 +0000 (UTC) Cc: 9796@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 19 23:44:02 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 1RGdvd-000800-Un for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 23:44:02 +0200 Original-Received: from localhost ([::1]:37605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGdvd-0007Li-G7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Oct 2011 17:44:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGdva-0007Kc-VW for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 17:43:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGdvZ-0007mV-JS for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 17:43:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGdvZ-0007mQ-EN for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 17:43:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RGdwb-0004zn-ME for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2011 17:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2011 21:45: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.131906067819161 (code B ref 9796); Wed, 19 Oct 2011 21:45:01 +0000 Original-Received: (at 9796) by debbugs.gnu.org; 19 Oct 2011 21:44:38 +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 1RGdwB-0004yx-V5 for submit@debbugs.gnu.org; Wed, 19 Oct 2011 17:44:37 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10] ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGdw9-0004yq-B5 for 9796@debbugs.gnu.org; Wed, 19 Oct 2011 17:44:34 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RGdv5-0001zl-HY; Wed, 19 Oct 2011 17:43:27 -0400 X-Spook: Janet Reno Fedayeen sweep Cocaine undercover Maple red X-Ran: a4B&f)VJ,:%%y,QA+6Du263%uH-'7`o{WHM(>G|mjob~)bbrp6Y{[HoLLS3*44K1BYdszx X-Hue: blue X-Attribution: GM In-Reply-To: (Dani Moncayo's message of "Wed, 19 Oct 2011 19:09:24 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 Oct 2011 17:45: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:52878 Archived-At: The issue you are reporting is specific to sql-mode. The [] piece is added by sql-highlight-product, which sql-mode runs via hack-local-variables-hook. 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.