From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 1lKnKEzL2V45CAAA0tVLHw (envelope-from ) for ; Fri, 05 Jun 2020 04:34:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wO0KJEzL2V6UOQAAB5/wlQ (envelope-from ) for ; Fri, 05 Jun 2020 04:34:20 +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 B73059402A0 for ; Fri, 5 Jun 2020 04:34:19 +0000 (UTC) Received: from localhost ([::1]:52348 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh43c-0007He-Px for larch@yhetil.org; Fri, 05 Jun 2020 00:34:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41436) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh43E-0007HP-WA for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 00:33:53 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:53595) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh43D-0004Ad-HA for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 00:33:52 -0400 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 4C81E5BB09; Fri, 5 Jun 2020 00:33:49 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=dl7CenMiwWjJwVub6V9WNZw8+ls=; b=tDB7YC IKELq7Dbt5ikFN+G3KgpJO3+0RfuDQ6DmY0qgi5Ax+h7PtbVMV5FWy6UIjmPMatB NIaPmryFJ1KhRGrpsD0XnUH/pokdzh0BURkGpdsUKTPnfFYoz3oAGEUNxk8WnCu/ A+5apYNy+Sd2qjbId7ryDHHbTLeD1AdTPCKig= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 45BC85BB08; Fri, 5 Jun 2020 00:33:49 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=2Y4LIpYJ7cSCpomSnGsaSMvSe2LOP0ol8BQCHHErAmc=; b=ip0CaHM6E4d9mmGTwAzqJa34eoFPcAuWS/mam4lvk/SLqnWGvNh7VOEv6uu/GxPH5jvizgSfk0GA/45jtnDZuHnNSUCUd0e+Vqr64W90VnUKqduhgnRiydP2Imm9sT+6RMPzk2biV1YLzwmp3mAgWRZf3626k85Z/qgtigF01Kk= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 45E155BB06; Fri, 5 Jun 2020 00:33:48 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: pierre.techoueyres@gmail.com, emacs-orgmode@gnu.org Subject: Re: 27.0.91; Avoid error on org-html-fontify-code In-Reply-To: <87eeqyyf4t.fsf@killashandra.ballybran.fr> References: <87eeqyyf4t.fsf@killashandra.ballybran.fr> Date: Fri, 05 Jun 2020 04:33:46 +0000 Message-ID: <871rmuw2qd.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: BFC060BA-A6E5-11EA-A6A6-C28CBED8090B-24757444!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=kyle@kyleam.com; helo=pb-smtp1.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 00:33:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=tDB7YC I; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=ip0CaHM6; dmarc=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: -1.21 X-TUID: rFu+DTyn9ik6 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.