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

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

bug#16846: acknowledged by developer ()


From: Andreas Röhler
Subject: bug#16846: acknowledged by developer ()
Date: Mon, 24 Feb 2014 16:59:57 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 24.02.2014 14:41, schrieb Nicolas Richard:
Andreas Röhler <andreas.roehler@easy-emacs.de> 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.







reply via email to

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