GNU bug report logs - #16846
24.3.50.1; Info 48.2.4.1 Specifying File Variables

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Sat, 22 Feb 2014 20:08:01 UTC

Severity: normal

Tags: notabug

Merged with 16836

Found in version 24.3.50.1

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: Juanma Barranquero <lekktu <at> gmail.com>, 16846 <at> debbugs.gnu.org
Subject: bug#16846: acknowledged by developer ()
Date: Mon, 24 Feb 2014 16:59:57 +0100
Am 24.02.2014 14:41, schrieb Nicolas Richard:
> Andreas Röhler <andreas.roehler <at> 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.






This bug report was last modified 11 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.