--- Begin Message ---
Subject: |
24.3.50; File local-variables error: (error "Local variables entry is missing the prefix") |
Date: |
Sun, 03 Mar 2013 21:44:55 +0530 |
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 address@hidden
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description: Debian GNU/Linux 6.0.5 (squeeze)
0001-ox-html.el-org-html-code-org-html-verbatim-Transcode.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#13862: 24.3.50; File local-variables error: (error "Local variables entry is missing the prefix") |
Date: |
Mon, 04 Mar 2013 02:38:31 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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.
--- End Message ---