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

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

bug#13038: 24.2.90; Error reading dir-locals: (end-of-file) [2 times]


From: Leo
Subject: bug#13038: 24.2.90; Error reading dir-locals: (end-of-file) [2 times]
Date: Fri, 30 Nov 2012 17:14:09 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (OS X 10.8.2)

On 2012-11-30 15:37 +0800, Glenn Morris wrote:
> Leo wrote:
>
>> 1. In a directory, create an empty file .dir-locals.el
>
> Why do you need to do that?

Stop a sub-directory from inheriting local settings from its parent.

In my case, the parent has local settings for general cases and the
sub-directory is an exception and should not inherit those settings.

I can work around this bug by inserting a useless sexp in the file but
this stops one from quickly 'M-! touch .dir-locals.el' and be done with
it.

I hope this is a good use case.

>> 2. Open any file in that directory to get this error:
>>
>>     Error reading dir-locals: (end-of-file)
>
> Yes, what's wrong with that?

Seeing this error every time one opens a file in that directory or its
sub-directories is annoying.

Leo





reply via email to

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