From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oPG6NYaz2l44JwAA0tVLHw (envelope-from ) for ; Fri, 05 Jun 2020 21:05:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yAdtMYaz2l5LBwAAbx9fmQ (envelope-from ) for ; Fri, 05 Jun 2020 21:05:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 52B79940039 for ; Fri, 5 Jun 2020 21:05:10 +0000 (UTC) Received: from localhost ([::1]:46190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhJWV-0006jd-NU for larch@yhetil.org; Fri, 05 Jun 2020 17:05:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhJW2-0006iU-Hs for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 17:04:42 -0400 Received: from smtp5-g21.free.fr ([212.27.42.5]:57408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhJW1-0001aQ-6Z for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 17:04:38 -0400 Received: from killashandra.ballybran.fr.free.fr (unknown [IPv6:2a01:e0a:1e2:f8b0:6e3d:5f8:9612:9a5e]) by smtp5-g21.free.fr (Postfix) with ESMTPS id 4D39F5FF20; Fri, 5 Jun 2020 23:04:33 +0200 (CEST) References: <87eeqyyf4t.fsf@killashandra.ballybran.fr> <871rmuw2qd.fsf@kyleam.com> User-agent: mu4e 1.5.1; emacs 27.0.91 From: pierre.techoueyres@gmail.com To: Kyle Meyer Subject: Re: 27.0.91; Avoid error on org-html-fontify-code Message-ID: <87k10lcwr8.fsf@killashandra.ballybran.fr> In-reply-to: <871rmuw2qd.fsf@kyleam.com> Date: Fri, 05 Jun 2020 23:04:33 +0200 MIME-Version: 1.0 Content-Type: text/plain Received-SPF: softfail client-ip=212.27.42.5; envelope-from=pierre.techoueyres@gmail.com; helo=smtp5-g21.free.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 17:04:34 X-ACL-Warn: Detected OS = Windows NT kernel [generic] [fuzzy] X-Spam_score_int: 7 X-Spam_score: 0.7 X-Spam_bar: / X-Spam_report: (0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.91 X-TUID: uXbuviuyD5y7 Hi Kyle, Kyle Meyer writes: > pierre.techoueyres@gmail.com writes: > >> 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 > > Thanks for narrowing the issue and providing an example to trigger it > (not to mention a patch). > >> Subject: [PATCH] ox-html.el: Fix read-only error when export src bloc > > Looks good to me. Applied (c631afd35), with a couple of minor tweaks to > the commit message. Hi kyle, Many thanks for that. If I've well understood it's on master. Do you know (or guess) how long will this take to land in the next release ? I had also open bugs #41641, may be will you close it ?