* File local variable name containing colon?
@ 2010-08-24 15:31 Dan Davison
2010-08-25 3:46 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: Dan Davison @ 2010-08-24 15:31 UTC (permalink / raw)
To: help-gnu-emacs mailing list
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?
Dan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: File local variable name containing colon?
2010-08-24 15:31 File local variable name containing colon? Dan Davison
@ 2010-08-25 3:46 ` Kevin Rodgers
2010-08-25 19:37 ` Dan Davison
[not found] ` <mailman.13.1282765046.3946.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Rodgers @ 2010-08-25 3:46 UTC (permalink / raw)
To: help-gnu-emacs
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:
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: File local variable name containing colon?
2010-08-25 3:46 ` Kevin Rodgers
@ 2010-08-25 19:37 ` Dan Davison
[not found] ` <mailman.13.1282765046.3946.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 4+ messages in thread
From: Dan Davison @ 2010-08-25 19:37 UTC (permalink / raw)
To: Kevin Rodgers; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.13.1282765046.3946.help-gnu-emacs@gnu.org>]
* Re: File local variable name containing colon?
[not found] ` <mailman.13.1282765046.3946.help-gnu-emacs@gnu.org>
@ 2010-08-25 21:30 ` Pascal J. Bourguignon
0 siblings, 0 replies; 4+ messages in thread
From: Pascal J. Bourguignon @ 2010-08-25 21:30 UTC (permalink / raw)
To: help-gnu-emacs
Dan Davison <davison@stats.ox.ac.uk> writes:
> 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.
# Local Variables:
# eval: (setq var:name value)
# End:
should do...
--
__Pascal Bourguignon__ http://www.informatimago.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-25 21:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-24 15:31 File local variable name containing colon? Dan Davison
2010-08-25 3:46 ` Kevin Rodgers
2010-08-25 19:37 ` Dan Davison
[not found] ` <mailman.13.1282765046.3946.help-gnu-emacs@gnu.org>
2010-08-25 21:30 ` Pascal J. Bourguignon
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.