From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2LL0AtOmq2YxFwAA62LTzQ:P1 (envelope-from ) for ; Thu, 01 Aug 2024 15:16:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2LL0AtOmq2YxFwAA62LTzQ (envelope-from ) for ; Thu, 01 Aug 2024 17:16:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VInFJFn8; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722525395; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=1pPhNn3r/zYmj1WXvMv1RGNY4IYfNgjFeVRptjY0ddY=; b=bOzBSOhFxPavjEiesW/WgV6k40+wLtXNR+Lw0apBG9pGWEsdAcEFsG+2NDqTMvZjyY2HDi uoF8HgL3pS8F7VuOEIpopTnOeaTmcqsYWV5JjqEWiFDwbRNZOCov9/SKN1VjhtLHBNRODV 4YQivHJzB4rPnhv36fuhih3LGp4LHLNY/98Y3fjftRAv0U/rlRmofhFJiX4HGrRTuJ/XGD biLmr5DD+yP9AYfp0lM+ZZpTIkUDJTp88sD+WfQygTk/+Pjhr9CqFgDcDlUuyXu8JEsRa5 sqqiNcJAJv195YS0zm+c8ALTIa5WQbyJ63qFKYgUmZPpIGdv40gdvIef0FwBDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=VInFJFn8; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722525395; a=rsa-sha256; cv=none; b=pax/76nrK7/ildSuCmO/k5uY3e6n6lON9H1k7o/fBSHnzm+nRmTzDxUVy9ggC9E0wRGEMT sKzgeSqUFw3TeHnqbzOj5tkolLyVXHKZ0gls4bGfxbk8EgzHZJ0ygfQjJIvDxtUkUQSTqt x41s0BHGoT/Yoh61TtqRrfION4ksnDRGuqLlfHHAMPelKqgb7gNTs+aZaI3Hbv2Y0P6a1M YNBZshR/XjwPjl+ZdtDm8SXoUbl9r6YRVuIfo1PUSOslr2RHxxk9v5r+i9fpFGKUxJjzXZ RY8Gk1mUbxZEDUF63VCeozdLZ3uLJGgKM+5R/i3F7bbuqYariKrTXJY7+jWiTw== 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 A92E61142E for ; Thu, 1 Aug 2024 17:16:34 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sZXWa-0001SE-2Y; Thu, 01 Aug 2024 11:15:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZXWY-0001RP-Hx for emacs-orgmode@gnu.org; Thu, 01 Aug 2024 11:15:26 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sZXWW-0004PB-MI for emacs-orgmode@gnu.org; Thu, 01 Aug 2024 11:15:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 5D8B6240101 for ; Thu, 1 Aug 2024 17:15:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1722525320; bh=UQgNNQFUDuX9EfgvZyk7t5pSCumcuqgXJbIXFk3axbU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=VInFJFn83SbkOFtmPhI7tcj5GrZw2MrklM+L5C9hmpXYCMPr8NKpgj7M41FSdAJ76 /fzDSFsOLPSIqnlkBLNbKv372Z/lC9YzJ1Tb3gCsL1uU32XEd0xH44Z4Nu8UggZPi8 vhv+GY/PDaoQpJtLZliqs/fX5S/5RSDE1GBoVre1UyMi68MVluZVPv/0Z1R4C4S+45 Gla6BH6eLkhVPkpPswurfEpFmXyNxseOGv0eCTMOFSDsS7xkWv1edBuP9Txld9eBAp n1bBkKE5J57VGE0ee4huid/EaaW8GIwSVbM3HrnMqwsNnHfeStThuWEFQ8LO2H9cqm jiy6bVa+bliyw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WZXZv3pG5z9rxF; Thu, 1 Aug 2024 17:15:19 +0200 (CEST) From: Ihor Radchenko To: Angelo Graziosi Cc: Bruno Barbier , emacs-orgmode@gnu.org, emacs-devel Subject: Re: Strange warnings from htmlize.el In-Reply-To: References: <66ab70d8.5d0a0220.1d6779.38fa@mx.google.com> Date: Thu, 01 Aug 2024 15:16:42 +0000 Message-ID: <87jzh0b7dx.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A92E61142E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.65 X-Spam-Score: -9.65 X-TUID: zkj5JlKD7RbG Angelo Graziosi writes: >> This warning is from Org. It's telling you that you need to install the >> htmlize package in your new Emacs. > > If ORG is in Emacs core and it needs this package, shouldn't the package > be in core too? That's out of our control. htmlize is not strictly required. But without htmlize, code in the code blocks is not colored. Note that what is now a warning used to be a message. Now, it is more visible, which was the reason why this was promoted to warning. > In any case I have "fixed" this removing the language from #+BEGIN_SRC. > For example: > > -#+BEGIN_SRC sh > +#+BEGIN_SRC > > which for me is enough. You can also: 1. Suppress the warning 2. Set `org-html-htmlize-output-type' to nil to tell Org not to try coloring -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at