From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#13862: 24.3.50; File local-variables error: (error "Local variables entry is missing the prefix") Date: Sun, 03 Mar 2013 21:44:55 +0530 Message-ID: <87bob0794w.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1362327388 16706 80.91.229.3 (3 Mar 2013 16:16:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Mar 2013 16:16:28 +0000 (UTC) To: 13862@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 03 17:16:52 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UCBam-0008Dj-1K for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Mar 2013 17:16:52 +0100 Original-Received: from localhost ([::1]:41789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCBaQ-0005oB-MK for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Mar 2013 11:16:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCBZr-00058r-Cm for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2013 11:15:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCBZp-0002NG-GN for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2013 11:15:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCBZp-0002NC-2c for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2013 11:15:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UCBZy-0004Uv-8K for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2013 11:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Mar 2013 16:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 13862 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136232733517250 (code B ref -1); Sun, 03 Mar 2013 16:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Mar 2013 16:15:35 +0000 Original-Received: from localhost ([127.0.0.1]:57272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCBZW-0004U7-63 for submit@debbugs.gnu.org; Sun, 03 Mar 2013 11:15:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43502) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UCBZS-0004Tt-4q for submit@debbugs.gnu.org; Sun, 03 Mar 2013 11:15:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCBZB-0002ID-PM for submit@debbugs.gnu.org; Sun, 03 Mar 2013 11:15:15 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:49820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCBZB-0002I7-Lx for submit@debbugs.gnu.org; Sun, 03 Mar 2013 11:15:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCBZA-0004x2-J5 for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2013 11:15:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCBZ9-0002Hk-BX for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2013 11:15:12 -0500 Original-Received: from mail-pb0-f41.google.com ([209.85.160.41]:35733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCBZ9-0002HZ-5c for bug-gnu-emacs@gnu.org; Sun, 03 Mar 2013 11:15:11 -0500 Original-Received: by mail-pb0-f41.google.com with SMTP id um15so2623099pbc.0 for ; Sun, 03 Mar 2013 08:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=wjqw2XtmoOfHQDYz5W99U4Pbi50322BP/0ytndjH/9E=; b=TxSQ2qPguL/yp/mD4EYE3fcBt7VCUU6ap4moCMviprugMG8Y9Cpa6uQlJ/q8nUemEZ LV3/roIt7/b+JqgKim97i6zl2sSFfxccf80apkPkp/HKEKIrnBpZWH/H0ZlomEkdua0V QcQSdqcRk29t7dHaSq9FqpK4nnvv8jTFw9A/QVJwXJre//FUGM8SBnhn7JLCZdtq/t4U 4dX1U/h1W/PrxuUSmwvBSeK8ry3fSbOXJ9anHby4mNrNgjQ3v2aX5i+CXKV/K5PScRBc Rs76T/znBhmFRImmODtr7yMP3e6OEU/KhVz0iCfSNgmbHgH8nlO9bFgmyUHzkrboxVg8 /KEw== X-Received: by 10.66.230.234 with SMTP id tb10mr27595786pac.182.1362327310541; Sun, 03 Mar 2013 08:15:10 -0800 (PST) Original-Received: from debian-6.05 ([115.242.155.185]) by mx.google.com with ESMTPS id hu2sm19144332pbc.38.2013.03.03.08.15.07 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 03 Mar 2013 08:15:09 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72046 Archived-At: --=-=-= Content-Type: text/plain 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 eggert@cs.ucla.edu-20130302183934-3d4pouz6i3qwkxs9 Windowing system distributor `The X.Org Foundation', version 11.0.10707000 System Description: Debian GNU/Linux 6.0.5 (squeeze) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-ox-html.el-org-html-code-org-html-verbatim-Transcode.patch >From 75708cf644944d301e57bc343db8749b8fa3c242 Mon Sep 17 00:00:00 2001 From: Jambunathan K 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 --=-=-=--