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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: phillip.lord@HIDDEN (Phillip Lord); dated Tue, 19 Jan 2016 19:05:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 22410 <at> debbugs.gnu.org:


Received: (at 22410) by debbugs.gnu.org; 17 Nov 2019 06:48:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 01:48:14 2019
Received: from localhost ([127.0.0.1]:40047 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iWEM2-0008Qy-2k
	for submit <at> debbugs.gnu.org; Sun, 17 Nov 2019 01:48:14 -0500
Received: from quimby.gnus.org ([95.216.78.240]:43148)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iWEM0-0008Qj-IB
 for 22410 <at> debbugs.gnu.org; Sun, 17 Nov 2019 01:48:13 -0500
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1iWELs-00049v-AU; Sun, 17 Nov 2019 07:48:06 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: phillip.lord@HIDDEN (Phillip Lord)
Subject: Re: bug#22410: htmlfontify and interaction with preproc-font
References: <87wpr51jdi.fsf@HIDDEN> <87lh7cxrjb.fsf@HIDDEN>
Date: Sun, 17 Nov 2019 07:48:03 +0100
In-Reply-To: <87lh7cxrjb.fsf@HIDDEN> (Phillip Lord's message of "Tue,
 26 Jan 2016 15:57:12 +0000")
Message-ID: <8736enf17g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: phillip.lord@HIDDEN (Phillip Lord) writes: >
 phillip.lord@HIDDEN (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
 t [...] Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 URIBL_BLOCKED          ADMINISTRATOR NOTICE: The query to URIBL was
 blocked.  See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
 for more information. [URIs: gnu.org]
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 22410
Cc: 22410 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

phillip.lord@HIDDEN (Phillip Lord) writes:

> phillip.lord@HIDDEN (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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#22410; Package emacs. Full text available.

Message received at 22410 <at> debbugs.gnu.org:


Received: (at 22410) by debbugs.gnu.org; 26 Jan 2016 15:57:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 26 10:57:16 2016
Received: from localhost ([127.0.0.1]:37811 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aO5zY-0001gQ-0y
	for submit <at> debbugs.gnu.org; Tue, 26 Jan 2016 10:57:16 -0500
Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:35014)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <phillip.lord@HIDDEN>) id 1aO5zV-0001gI-Qg
 for 22410 <at> debbugs.gnu.org; Tue, 26 Jan 2016 10:57:14 -0500
Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk)
 by cheviot22.ncl.ac.uk with esmtp (Exim 4.63)
 (envelope-from <phillip.lord@HIDDEN>) id 1aO5zV-0002HV-Db
 for 22410 <at> debbugs.gnu.org; Tue, 26 Jan 2016 15:57:13 +0000
Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]
 helo=localhost)
 by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63)
 (envelope-from <phillip.lord@HIDDEN>) id 1aO5zV-00041j-2X
 for 22410 <at> debbugs.gnu.org; Tue, 26 Jan 2016 15:57:13 +0000
From: phillip.lord@HIDDEN (Phillip Lord)
To: 22410 <at> debbugs.gnu.org
Subject: Re: bug#22410: htmlfontify and interaction with preproc-font
References: <87wpr51jdi.fsf@HIDDEN>
Date: Tue, 26 Jan 2016 15:57:12 +0000
In-Reply-To: <87wpr51jdi.fsf@HIDDEN> (Phillip Lord's message of "Tue,
 19 Jan 2016 19:04:09 +0000")
Message-ID: <87lh7cxrjb.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 22410
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

phillip.lord@HIDDEN (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@HIDDEN:
bug#22410; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jan 2016 19:04:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 19 14:04:28 2016
Received: from localhost ([127.0.0.1]:54032 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aLbZs-0003Ju-7L
	for submit <at> debbugs.gnu.org; Tue, 19 Jan 2016 14:04:28 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49533)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZq-0003Ja-IS
 for submit <at> debbugs.gnu.org; Tue, 19 Jan 2016 14:04:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZk-00075o-Mw
 for submit <at> debbugs.gnu.org; Tue, 19 Jan 2016 14:04:21 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.2 required=5.0 tests=BAYES_40,BODY_URI_ONLY,
 TVD_SPACE_RATIO,TVD_SPACE_RATIO_MINFP autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42275)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZk-00075k-Ja
 for submit <at> debbugs.gnu.org; Tue, 19 Jan 2016 14:04:20 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40502)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZj-00070Z-T9
 for bug-gnu-emacs@HIDDEN; Tue, 19 Jan 2016 14:04:20 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZe-00075P-Va
 for bug-gnu-emacs@HIDDEN; Tue, 19 Jan 2016 14:04:19 -0500
Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:48521)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZe-00074v-P9
 for bug-gnu-emacs@HIDDEN; Tue, 19 Jan 2016 14:04:14 -0500
Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk)
 by cheviot22.ncl.ac.uk with esmtp (Exim 4.63)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZc-0006RC-Ez
 for bug-gnu-emacs@HIDDEN; Tue, 19 Jan 2016 19:04:12 +0000
Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]
 helo=localhost)
 by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63)
 (envelope-from <phillip.lord@HIDDEN>) id 1aLbZc-0005xt-Cj
 for bug-gnu-emacs@HIDDEN; Tue, 19 Jan 2016 19:04:12 +0000
From: phillip.lord@HIDDEN (Phillip Lord)
To: bug-gnu-emacs@HIDDEN
Subject: htmlfontify and interaction with preproc-font
Date: Tue, 19 Jan 2016 19:04:09 +0000
Message-ID: <87wpr51jdi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)



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




Acknowledgement sent to phillip.lord@HIDDEN (Phillip Lord):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#22410; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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