From: phillip.lord@russet.org.uk (Phillip Lord)
To: 22410@debbugs.gnu.org
Subject: bug#22410: htmlfontify and interaction with preproc-font
Date: Tue, 26 Jan 2016 15:57:12 +0000 [thread overview]
Message-ID: <87lh7cxrjb.fsf@russet.org.uk> (raw)
In-Reply-To: <87wpr51jdi.fsf@russet.org.uk> (Phillip Lord's message of "Tue, 19 Jan 2016 19:04:09 +0000")
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.
next prev parent reply other threads:[~2016-01-26 15:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-19 19:04 bug#22410: htmlfontify and interaction with preproc-font Phillip Lord
2016-01-26 15:57 ` Phillip Lord [this message]
2019-11-17 6:48 ` Lars Ingebrigtsen
2020-08-12 3:23 ` Stefan Kangas
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lh7cxrjb.fsf@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--cc=22410@debbugs.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.