all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Nikodemus Siivola <nikodemus@random-state.net>
Cc: Leo <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: Re: lisp-mode and buffer local variables
Date: Thu, 09 Jun 2011 12:17:59 -0300	[thread overview]
Message-ID: <jwvaadrrq4g.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <BANLkTikRoeMh8gCg7MVjZt3aVDFrL=5tzA@mail.gmail.com> (Nikodemus Siivola's message of "Thu, 9 Jun 2011 14:18:28 +0300")

>> No need for that.  What 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.  Oh 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



      reply	other threads:[~2011-06-09 15:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 21:47 lisp-mode and buffer local variables Nikodemus Siivola
2011-06-08 22:36 ` Leo
2011-06-09  4:20   ` Stefan Monnier
2011-06-09 11:18     ` Nikodemus Siivola
2011-06-09 15:17       ` Stefan Monnier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvaadrrq4g.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=nikodemus@random-state.net \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.