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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22410 in the body.
You can then email your comments to 22410 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22410; Package emacs. (Tue, 19 Jan 2016 19:05:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to phillip.lord <at> russet.org.uk (Phillip Lord):
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 19 Jan 2016 19:05:01 GMT) Full text and rfc822 format available.

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

From: phillip.lord <at> russet.org.uk (Phillip Lord)
To: bug-gnu-emacs <at> gnu.org
Subject: htmlfontify and interaction with preproc-font
Date: Tue, 19 Jan 2016 19:04:09 +0000

https://lists.gnu.org/archive/html/emacs-devel/2016-01/msg00892.html




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22410; Package emacs. (Tue, 26 Jan 2016 15:58:01 GMT) Full text and rfc822 format available.

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.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#22410; Package emacs. (Sun, 17 Nov 2019 06:49:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: phillip.lord <at> russet.org.uk (Phillip Lord)
Cc: 22410 <at> debbugs.gnu.org
Subject: Re: bug#22410: htmlfontify and interaction with preproc-font
Date: Sun, 17 Nov 2019 07:48:03 +0100
phillip.lord <at> russet.org.uk (Phillip Lord) writes:

> 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

(This bug report unfortunately got no feedback at the time.)

It's not quite clear what this bug report is referring to.  Is
htmlfontify.el fontifying the HTML in question wrong?  What is
preproc-font?  Is it an external package?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Wed, 12 Aug 2020 03:24:01 GMT) Full text and rfc822 format available.

Notification sent to phillip.lord <at> russet.org.uk (Phillip Lord):
bug acknowledged by developer. (Wed, 12 Aug 2020 03:24:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 22410-done <at> debbugs.gnu.org, Phillip Lord <phillip.lord <at> russet.org.uk>
Subject: Re: bug#22410: htmlfontify and interaction with preproc-font
Date: Tue, 11 Aug 2020 20:23:15 -0700
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> phillip.lord <at> russet.org.uk (Phillip Lord) writes:
>
>> 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
>
> (This bug report unfortunately got no feedback at the time.)
>
> It's not quite clear what this bug report is referring to.  Is
> htmlfontify.el fontifying the HTML in question wrong?  What is
> preproc-font?  Is it an external package?

More information was requested, but none was given within 38 weeks, so
I'm closing this bug.  If this is still an issue, please reply to this
email (use "Reply to all" in your email client) and we can reopen the
bug report.

Best regards,
Stefan Kangas




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 09 Sep 2020 11:24:05 GMT) Full text and rfc822 format available.

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.