[Openmcl-devel] Emacs: local variables list contains values that may not be safe

R. Matthew Emerson rme at clozure.com
Thu Dec 13 02:39:03 UTC 2007


On Dec 12, 2007, at 9:20 PM, Gary Byers wrote:

> This seems to be a multiple-choice question, and the best answer seems
> to be '!'.  I assume that that answer will write something to your
> ~/.emacs, which will keep emacs from getting excited the next time
> it tries to parse an attribute line that contains "Package: CCL".

If you're using Aquamacs Emacs, which tries to do things "like a Mac  
OS X app", it remembers it in ~/Library/Preferences/Aquamacs Emacs/ 
customizations.el.

I'm not too clear on what's wrong with "~/.emacs", but Aquamacs also  
suggests that you use ~/Library/Preferences/Aquamacs Emacs/ 
Preferences.el instead, although it is gracious enough to load both.


>
> On Wed, 12 Dec 2007, Ron Garret wrote:
>
>> From the if-it's-not-one-thing-it's-another department...
>>
>> Just now (at least it seems like it started just now -- I don't
>> remember ever encountering this before, and I've been using emacs for
>> a long, long time) whenever I try to edit a Lisp file in emacs I  
>> get a
>> message like this:
>>
>>
>> The local variables list in l1-application.lisp
>> contains values that may not be safe (*).
>>
>> Do you want to apply it?  You can type
>> y  -- to apply the local variables list.
>> n  -- to ignore the local variables list.
>> !  -- to apply the local variables list, and permanently mark these
>>      values (*) as safe (in the future, they will be set
>> automatically.)
>>
>>  * Package : CCL
>>
>>
>> This persists even if I get rid of my .emacs file, so it's not a
>> result of any of my customizations (which were pretty minimal  
>> anyway).
>> Does anyone know how to get emacs to stop doing this?



More information about the Openmcl-devel mailing list