From: martin rudalics <rudalics@gmx.at>
To: Sven Joachim <svenjoac@gmx.de>
Cc: bug-cc-mode@gnu.org, Alan Mackenzie <acm@muc.de>,
Zack Weinberg <zackw@panix.com>,
emacs-devel@gnu.org
Subject: Re: [Fwd: Bug#428898: emacs22-gtk: bogus "Local variables entry is missing the prefix" complaint]
Date: Fri, 15 Jun 2007 19:34:34 +0200 [thread overview]
Message-ID: <4672CDAA.7060500@gmx.at> (raw)
In-Reply-To: <4672C0C8.1030406@gmx.de>
> 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?
next prev parent reply other threads:[~2007-06-15 17:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-15 16:39 [Fwd: Bug#428898: emacs22-gtk: bogus "Local variables entry is missing the prefix" complaint] Sven Joachim
2007-06-15 17:34 ` martin rudalics [this message]
2007-06-15 23:54 ` Alan Mackenzie
2007-06-20 10:23 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4672CDAA.7060500@gmx.at \
--to=rudalics@gmx.at \
--cc=acm@muc.de \
--cc=bug-cc-mode@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=svenjoac@gmx.de \
--cc=zackw@panix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.