From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel 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 Message-ID: <4672CDAA.7060500@gmx.at> References: <4672C0C8.1030406@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181928848 1859 80.91.229.12 (15 Jun 2007 17:34:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 17:34:08 +0000 (UTC) Cc: bug-cc-mode@gnu.org, Alan Mackenzie , Zack Weinberg , emacs-devel@gnu.org To: Sven Joachim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 15 19:34:06 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HzFgT-0002wQ-Rp for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 19:34:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzFgT-0001pL-4p for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 13:34:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzFgP-0001p5-LR for emacs-devel@gnu.org; Fri, 15 Jun 2007 13:34:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzFgN-0001ot-6H for emacs-devel@gnu.org; Fri, 15 Jun 2007 13:34:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzFgN-0001oq-44 for emacs-devel@gnu.org; Fri, 15 Jun 2007 13:33:59 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1HzFgM-0005U9-2R for emacs-devel@gnu.org; Fri, 15 Jun 2007 13:33:58 -0400 Original-Received: (qmail invoked by alias); 15 Jun 2007 17:33:56 -0000 Original-Received: from M3085P030.adsl.highway.telekom.at (EHLO [88.117.33.158]) [88.117.33.158] by mail.gmx.net (mp045) with SMTP; 15 Jun 2007 19:33:56 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+QbngZM2aQHqs40FblcmRbC2dGPDAGZT+mfqNTSA n8EUl0M16Yo45x User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <4672C0C8.1030406@gmx.de> X-Y-GMX-Trusted: 0 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72978 Archived-At: > 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?