Subject: bug#13862: closed (Re: bug#13862: 24.3.50; File local-variables error: (error "Local variables entry is missing the prefix"))

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 04 Mar 2013 07:40:06 +0000

Your bug report

#13862: 24.3.50; File local-variables error: (error "Local variables entry is missing the prefix")

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
13862: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13862
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#13862: 24.3.50; File local-variables error: (error "Local variables entry is missing the prefix")
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Mon, 04 Mar 2013 02:38:31 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.4

Jambunathan K wrote:

> Is there are any local variables in the patch?  There isn't any.  So why
> should we inhibit something that is not there.

Inhibit to prevent a false detection, exactly as in this case.

> If `diff-mode' has no comment syntax defined, then by extension, it
> cannot specify file local variables.

Err, you can specify file local variables without a prefix. Eg etc/NEWS.

Subject: 24.3.50; File local-variables error: (error "Local variables entry is missing the prefix")
From: Jambunathan K <[email-masked]>
To: [email-masked]
Date: Sun, 03 Mar 2013 21:44:55 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

1. emacs -Q 
2. Visit the attached patch file. (I have removed some hunks)

   Side Issue: shouldn't *.patch file open in diff mode.  Currently it
   opens in fundamental mode.

See the following error reported

,----
| File mode specification error: (error "Local variables entry is missing the 
| prefix")
| File local-variables error: (error "Local variables entry is missing the
| prefix")
`----

In GNU Emacs 24.3.50.10 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-03-03 on debian-6.05
Bzr revision: 111916 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:	Debian GNU/Linux 6.0.5 (squeeze)

>From 75708cf644944d301e57bc343db8749b8fa3c242 Mon Sep 17 00:00:00 2001
From: Jambunathan K <[email-masked]>
Date: Sun, 3 Mar 2013 13:51:32 +0530
Subject: [PATCH 1/3] ox-html.el (org-html-code, org-html-verbatim): Transcode value

* lisp/ox-html.el (org-html-code, org-html-verbatim):
Transcode value.
---
 lisp/ox-html.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index a0f3f4f..3a4c0e7 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -1899,7 +1899,7 @@ channel."
 CONTENTS is nil.  INFO is a plist holding contextual
 information."
   (format (or (cdr (assq 'code org-html-text-markup-alist)) "%s")
-	  (org-element-property :value code)))
+	  (org-html-plain-text (org-element-property :value code) info)))

 ;;;; Drawer
@@ -3029,7 +3029,7 @@ holding contextual information."
 CONTENTS is nil.  INFO is a plist holding contextual
 information."
   (format (or (cdr (assq 'verbatim org-html-text-markup-alist)) "%s")
-	  (org-element-property :value verbatim)))
+	  (org-html-plain-text (org-element-property :value verbatim) info)))

 ;;;; Verse Block
-- 
1.7.2.5