[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `safe-local-variable' updates for Common Lisp programmers

From: Stefan Monnier
Subject: Re: `safe-local-variable' updates for Common Lisp programmers
Date: Tue, 14 Nov 2006 18:39:03 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

> Andreas Fuchs recently pointed out[0] that Common Lisp files often have
> a file-local variables section which specifies the package and syntax of
> the code in the file. For example:

>            -*- mode: lisp; package: cl-user; syntax: ansi -*-

> Andreas does the following in his .emacs; perhaps these should be the
> default (at least, for files in lisp-mode)?

> ,----
> | (put 'package 'safe-local-variable 'symbolp)
> | (put 'Package 'safe-local-variable 'symbolp)
> | (put 'syntax 'safe-local-variable 'symbolp)
> | (put 'Syntax 'safe-local-variable 'symbolp)
> | (put 'Base 'safe-local-variable 'integerp)
> | (put 'base 'safe-local-variable 'integerp)
> `----

Why do people set those vars like you show?  I.e. which piece of code makes
use of that?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]