[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
`safe-local-variable' updates for Common Lisp programmers
From: |
Edward O'Connor |
Subject: |
`safe-local-variable' updates for Common Lisp programmers |
Date: |
Tue, 14 Nov 2006 17:55:24 -0500 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.3 (berkeley-unix) |
Hi,
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)
`----
Ted
0. http://boinkor.net/archives/2006/11/three_useful_emacs_hacks_for_l.html
--
Edward O'Connor
address@hidden
Ense petit placidam sub libertate quietem.
- `safe-local-variable' updates for Common Lisp programmers,
Edward O'Connor <=