emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

27.0.91; Avoid error on org-html-fontify-code


From: pierre . techoueyres
Subject: 27.0.91; Avoid error on org-html-fontify-code
Date: Mon, 01 Jun 2020 17:33:54 +0200
User-agent: mu4e 1.5.1; emacs 27.0.91

Hello Org's developpers,

Some time ago I tried to export in html form an org file containing many
src blocks and ended with the following message :

org-html-do-format-code: Buffer is read-only: #<killed buffer>

After narrowing down my file here are the steps to reproduce :

emacs -q
(require 'htmlize) ;; this is important else `org-html-fontify-code`
                   ;; will keep the wrong branch

;; open the ecm-org-src-ro.org ([1])
;; try to export as html

I've also attached a patch ([2]) to fix this.

I've also opened the bug 41641 with the sames informations.

Pierre

Attachment: ecm-org-src-ro.org
Description: ecm-org-src-ro

Attachment: 0001-ox-html.el-Fix-read-only-error-when-export-src-bloc.patch
Description: 0001-ox-html.el-Fix-read-only-error-when-export-src-bloc.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]