help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: File local variable name containing colon?


From: Dan Davison
Subject: Re: File local variable name containing colon?
Date: Wed, 25 Aug 2010 15:37:14 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Kevin Rodgers <kevin.d.rodgers@gmail.com> writes:

> Dan Davison wrote:
>> This is valid elisp:
>>
>> (setq var:name 'value)
>>
>> But this doesn't work because the colon causes confusion:
>>
>> # Local Variables:
>> # var:name: value
>> # End:
>>
>> Any way round this?
>
> I would try this:
>
> # Local Variables:
> # var\:name: value
> # End:

Hi Kevin,

Yes, I did try that before posting. But it results in

File local-variables error: (end-of-file)

I also tried surrounding in double quotes "var:name", which results in
the same error.

Dan



reply via email to

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