[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22410: htmlfontify and interaction with preproc-font
From: |
Phillip Lord |
Subject: |
bug#22410: htmlfontify and interaction with preproc-font |
Date: |
Tue, 26 Jan 2016 15:57:12 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
phillip.lord@russet.org.uk (Phillip Lord) writes:
> https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00892.html
I have investigated further.
hfy-face-at appears to be returning the right thing, but htmlfontify
seems not to produce overlapping fonts. So, looking at the first:
#define EMACS_BUFFER_H
from buffer.h with preproc-font installed.
This is from htmlfontify.el
#+begin_src html
<span class="preprocessor">#</span>
<span class="preprocessor">define</span>
<span class="preprocessor-background"> </span>
<span class="variable-name">EMACS_BUFFER_H</span>
#+end_src
And this is from htmlize.el
#+begin_src html
<span class="preproc-font-lock-preprocessor-background">
<span class="preprocessor">#define</span>
</span>
<span class="preproc-font-lock-preprocessor-background"> </span>
<span class="preproc-font-lock-preprocessor-background">
<span class="variable-name">EMACS_BUFFER_H</span>
</span>
#+end_src
AFAICT, this all happens in hfy-fontify-buffer, and I haven't found the
energy to step through this yet.