all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* `safe-local-variable' updates for Common Lisp programmers
@ 2006-11-14 22:55 Edward O'Connor
  2006-11-14 23:39 ` Stefan Monnier
  2006-11-15 22:59 ` Richard Stallman
  0 siblings, 2 replies; 9+ messages in thread
From: Edward O'Connor @ 2006-11-14 22:55 UTC (permalink / raw)


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
hober0@gmail.com

Ense petit placidam sub libertate quietem.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-11-20 16:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14 22:55 `safe-local-variable' updates for Common Lisp programmers Edward O'Connor
2006-11-14 23:39 ` Stefan Monnier
2006-11-15 22:59 ` Richard Stallman
2006-11-18  0:14   ` Johan Bockgård
2006-11-18 16:05     ` Richard Stallman
2006-11-19 17:57       ` Stefan Monnier
2006-11-20 12:59         ` Richard Stallman
2006-11-20 15:37           ` Stefan Monnier
2006-11-20 16:08         ` Johan Bockgård

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.