From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: lisp-mode and buffer local variables Date: Thu, 09 Jun 2011 12:17:59 -0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307634122 18721 80.91.229.12 (9 Jun 2011 15:42:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2011 15:42:02 +0000 (UTC) Cc: Leo , emacs-devel@gnu.org To: Nikodemus Siivola Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 17:41:57 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QUhMo-0000q5-I3 for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2011 17:41:54 +0200 Original-Received: from localhost ([::1]:37205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUhMm-0003RF-UP for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2011 11:41:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:35503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUgzk-0005aD-A7 for emacs-devel@gnu.org; Thu, 09 Jun 2011 11:18:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUgzi-0008NO-Nn for emacs-devel@gnu.org; Thu, 09 Jun 2011 11:18:04 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUgzi-0008NK-FE for emacs-devel@gnu.org; Thu, 09 Jun 2011 11:18:02 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:52292 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1QUgzh-0007Ju-Gj; Thu, 09 Jun 2011 11:18:01 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 6F5EE667EF; Thu, 9 Jun 2011 12:17:59 -0300 (ART) In-Reply-To: (Nikodemus Siivola's message of "Thu, 9 Jun 2011 14:18:28 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140324 Archived-At: >> No need for that. =A0What he wants is for lisp-mode to use a hook run af= ter >> hack-local-variables to inspect the value of common-lisp-style and set >> variables base on it. =A0Oh wait there is one, it's called >> `hack-local-variables-hook'. > Thank you, both. > Stefan -- I'm missing something. Since lisp-mode kills all local > variables, without setting permanent-local all changes I might make in > hack-local-variables-hook are lost. Doesn't matter: lisp-mode is called before hack-local-variables (otherwise file-local variables would never work). Stefan