unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Sven Joachim <svenjoac@gmx.de>, martin rudalics <rudalics@gmx.at>
Cc: bug-cc-mode@gnu.org, 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: Wed, 20 Jun 2007 11:23:28 +0100	[thread overview]
Message-ID: <20070620102328.GA2995@muc.de> (raw)
In-Reply-To: <4672CDAA.7060500@gmx.at>

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.

      parent reply	other threads:[~2007-06-20 10:23 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
2007-06-15 23:54   ` Alan Mackenzie
2007-06-20 10:23   ` Alan Mackenzie [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070620102328.GA2995@muc.de \
    --to=acm@muc.de \
    --cc=bug-cc-mode@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).