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: # 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