[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fwd: Bug#428898: emacs22-gtk: bogus "Local variables entry is missi
From: |
Alan Mackenzie |
Subject: |
Re: [Fwd: Bug#428898: emacs22-gtk: bogus "Local variables entry is missing the prefix" complaint] |
Date: |
Wed, 20 Jun 2007 11:23:28 +0100 |
User-agent: |
Mutt/1.5.9i |
Hi, Sven and Martin!
On Fri, Jun 15, 2007 at 07:34:34PM +0200, martin rudalics wrote:
> > I am working on a project that has this local variables block
> > at the end of every file:
> > // Local Variables:
> > // mode: C++
> > // fill-column: 76
> > // c-file-style: "gnu"
> > // indent-tabs-mode: nil
> > // End:
> > // vim: et:sw=2:sts=2:ts=2:cino=>2s,{s,\:s,+s,t0,g0,^-2,e-2,n-2,p2s,(0,=s:
> > emacs21 and emacs-snapshot were perfectly fine with this, but emacs22
> > complains:
> > File local-variables error: (error "Local variables entry is missing the
> prefix")
> > every time I visit such a file. I looked at files.el and could not
> > figure out why.
> It's because `c-remove-any-local-eval-or-mode-variables' doesn't remove
> the newline. Alan?
It's been fixed in the Emacs EMACS_BASE_22 branch and the trunk. Thanks
for reporting the bug!
--
Alan.