GNU bug report logs - #41641
27.0.91; Avoid error on org-html-fontify-code

Previous Next

Package: org-mode;

Reported by: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>

Date: Mon, 1 Jun 2020 10:42:02 UTC

Severity: normal

Found in version 27.0.91

Done: Kyle Meyer <kyle <at> kyleam.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41641 in the body.
You can then email your comments to 41641 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#41641; Package emacs. (Mon, 01 Jun 2020 10:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Téchoueyres <pierre.techoueyres <at> free.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 01 Jun 2020 10:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-orgmode <at> gnu.org
Subject: 27.0.91; Avoid error on org-html-fontify-code
Date: Mon, 01 Jun 2020 12:41:41 +0200
[Message part 1 (text/plain, inline)]
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
[ecm-org-src-ro.org (text/plain, attachment)]
[Message part 3 (text/plain, inline)]
;; try to export as html

I've also attached is a patch to fix this.
[0001-ox-html.el-Fix-read-only-error-when-export-src-bloc.patch (text/x-patch, attachment)]
[Message part 5 (text/plain, inline)]
Pierre

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41641; Package emacs. (Mon, 01 Jun 2020 11:11:01 GMT) Full text and rfc822 format available.

Message #8 received at 41641 <at> debbugs.gnu.org (full text, mbox):

From: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
To: bug#41641 <41641 <at> debbugs.gnu.org>
Subject: Re: Status: 27.0.91; Avoid error on org-html-fontify-code
Date: Mon, 01 Jun 2020 13:10:44 +0200
tags 41641 patch




Reply sent to Kyle Meyer <kyle <at> kyleam.com>:
You have taken responsibility. (Sun, 07 Jun 2020 16:50:01 GMT) Full text and rfc822 format available.

Notification sent to Pierre Téchoueyres <pierre.techoueyres <at> free.fr>:
bug acknowledged by developer. (Sun, 07 Jun 2020 16:50:01 GMT) Full text and rfc822 format available.

Message #13 received at 41641-done <at> debbugs.gnu.org (full text, mbox):

From: Kyle Meyer <kyle <at> kyleam.com>
To: Pierre Téchoueyres <pierre.techoueyres <at> free.fr>
Cc: emacs-orgmode <at> gnu.org, 41641-done <at> debbugs.gnu.org
Subject: Re: bug#41641: 27.0.91; Avoid error on org-html-fontify-code
Date: Sun, 07 Jun 2020 16:49:24 +0000
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 <at> killashandra.ballybran.fr/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 06 Jul 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.