emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#41641: closed (27.0.91; Avoid error on org-html-fontify-code)


From: GNU bug Tracking System
Subject: bug#41641: closed (27.0.91; Avoid error on org-html-fontify-code)
Date: Sun, 07 Jun 2020 16:50:01 +0000

Your message dated Sun, 07 Jun 2020 16:49:24 +0000
with message-id <87h7vm95yj.fsf@kyleam.com>
and subject line Re: bug#41641: 27.0.91; Avoid error on org-html-fontify-code
has caused the debbugs.gnu.org bug report #41641,
regarding 27.0.91; Avoid error on org-html-fontify-code
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41641: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41641
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 27.0.91; Avoid error on org-html-fontify-code Date: Mon, 01 Jun 2020 12:41:41 +0200 User-agent: mu4e 1.5.1; emacs 27.0.91
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

Attachment: ecm-org-src-ro.org
Description: ECM export read-only src blocks

;; try to export as html

I've also attached is a patch to fix this.

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

Pierre

--- End Message ---
--- Begin Message --- Subject: Re: bug#41641: 27.0.91; Avoid error on org-html-fontify-code Date: Sun, 07 Jun 2020 16:49:24 +0000 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Pierre Téchoueyres writes:

> I've also attached is a patch to fix this.

Thanks.

This patch was sent as a separate message to the Org mailing list [0]
and has been applied to the Org repo.  Closing.

[0]: https://orgmode.org/list/87eeqyyf4t.fsf@killashandra.ballybran.fr/


--- End Message ---

reply via email to

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