Subject: bug#16846: acknowledged by developer ()

From: Andreas Röhler <[email-masked]>
Date: Mon, 24 Feb 2014 16:59:57 +0100

Am 24.02.2014 14:41, schrieb Nicolas Richard:
> Andreas Röhler <[email-masked]> writes:
>>>> -*- lexical-binding: t -*-
>>   It works but sends an error.
>> Sending the error upon working code is a bug.
>
> It might help if you say why do you write the line "-*- lexical-binding:
> t -*-",

Just an example here, want lexical-binding in buffer.

and in particular why you did not add comment syntax (i.e. semi
> colons) at the beginning of it. What doc did you read that lead you to
> write that ?
>

I'm referring to:

48.2.4.1 Specifying File Variables
..................................

There are two ways to specify file local variable values: in the first
line, or with a local variables list.  Here's how to specify them in the
first line:

      -*- mode: MODENAME; VAR: VALUE; ... -*-

You can specify any number of variable/value pairs in this way, each
pair with a colon and semicolon.

;;;;;;;

BTW left out the semicolon as understood it's to separate pairs.
The error

Symbol's value as variable is void: -*-

is signaled too with semicolon added.