emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.g0@libero.it>
To: Bruno Barbier <brubar.cs@gmail.com>, emacs-orgmode@gnu.org
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Strange warnings from htmlize.el
Date: Thu, 1 Aug 2024 17:04:08 +0200	[thread overview]
Message-ID: <e03dd01f-8db9-421d-bedf-8f098259ff83@libero.it> (raw)
In-Reply-To: <66ab70d8.5d0a0220.1d6779.38fa@mx.google.com>

Il 01/08/2024 13:26, Bruno Barbier ha scritto:
> 
> Hi Angelo,
> 
> Angelo Graziosi <angelo.g0@libero.it> writes:
> 
>> With the last Emacs master build (20240731_183641) I get a lot of
>> warnings like this:
>>
>>
>> Warning (emacs): Cannot fontify source block (htmlize.el >= 1.34 required)
>>
>>
>> when I export an old ORG document in HTML (C-c C-e h h).
>>
>> Until some time ago, I had  exported the same document and many more in
>> the same manner and never seen those warnings (just Emacs master and ORG
>> versions changed).
>>
>> What happened?
> 
> 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?

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.

Thanks,
   Angelo.


  reply	other threads:[~2024-08-01 15:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-31 21:55 Strange warnings from htmlize.el Angelo Graziosi
2024-08-01 11:26 ` Bruno Barbier
2024-08-01 15:04   ` Angelo Graziosi [this message]
2024-08-01 15:16     ` Ihor Radchenko
2024-08-04 18:44       ` Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e03dd01f-8db9-421d-bedf-8f098259ff83@libero.it \
    --to=angelo.g0@libero.it \
    --cc=brubar.cs@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).