GNU bug report logs - #22410
htmlfontify and interaction with preproc-font

Previous Next

Package: emacs;

Reported by: phillip.lord <at> russet.org.uk (Phillip Lord)

Date: Tue, 19 Jan 2016 19:05:01 UTC

Severity: normal

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 22410 <at> debbugs.gnu.org (full text, mbox):

From: phillip.lord <at> russet.org.uk (Phillip Lord)
To: 22410 <at> debbugs.gnu.org
Subject: Re: bug#22410: htmlfontify and interaction with preproc-font
Date: Tue, 26 Jan 2016 15:57:12 +0000
phillip.lord <at> 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.





This bug report was last modified 4 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.