From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikodemus Siivola Newsgroups: gmane.emacs.devel Subject: Re: lisp-mode and buffer local variables Date: Thu, 9 Jun 2011 14:18:28 +0300 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1307618811 13817 80.91.229.12 (9 Jun 2011 11:26:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2011 11:26:51 +0000 (UTC) Cc: Leo , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 13:26:47 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 1QUdNv-0007jm-1v for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2011 13:26:47 +0200 Original-Received: from localhost ([::1]:44387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUdNu-0008HZ-7E for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2011 07:26:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUdFv-00063p-R5 for emacs-devel@gnu.org; Thu, 09 Jun 2011 07:18:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUdFu-0005an-57 for emacs-devel@gnu.org; Thu, 09 Jun 2011 07:18:31 -0400 Original-Received: from mail-px0-f179.google.com ([209.85.212.179]:41414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUdFt-0005aj-Pf for emacs-devel@gnu.org; Thu, 09 Jun 2011 07:18:30 -0400 Original-Received: by pxi2 with SMTP id 2so852565pxi.38 for ; Thu, 09 Jun 2011 04:18:28 -0700 (PDT) Original-Received: by 10.142.5.31 with SMTP id 31mr81468wfe.376.1307618308391; Thu, 09 Jun 2011 04:18:28 -0700 (PDT) Original-Received: by 10.142.223.3 with HTTP; Thu, 9 Jun 2011 04:18:28 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.179 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:140318 Archived-At: On 9 June 2011 07:20, Stefan Monnier wrote: >> ,----[ kill-all-local-variables ] > No need for that. =C2=A0What he wants is for lisp-mode to use a hook run = after > hack-local-variables to inspect the value of common-lisp-style and set > variables base on it. =C2=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. Cheers, -- nikodemus