GNU bug report logs - #7506
org-html to use htmlfontify

Previous Next

Packages: org-mode, emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Sun, 28 Nov 2010 14:47:02 UTC

Severity: wishlist

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 7506 in the body.
You can then email your comments to 7506 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7506; Package emacs. (Sun, 28 Nov 2010 14:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 28 Nov 2010 14:47:02 GMT) Full text and rfc822 format available.

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

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Emacs Bugs <bug-gnu-emacs <at> gnu.org>
Subject: Replacement for 'htmlize-region-for-past using htmlfontify?
Date: Sun, 28 Nov 2010 15:51:15 +0100
Could we please add a replacement for  'htmlize-region-for-past using
htmlfontify?




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7506; Package emacs. (Sun, 28 Nov 2010 18:56:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 7506 <at> debbugs.gnu.org
Subject: Re: bug#7506: Replacement for 'htmlize-region-for-past using
	htmlfontify?
Date: Sun, 28 Nov 2010 14:01:06 -0500
> Could we please add a replacement for  'htmlize-region-for-past using
> htmlfontify?

I don't know what is "htmlize-region-for-past(e?)".  Care to give us
some context?


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7506; Package notemacs. (Sun, 28 Nov 2010 22:55:01 GMT) Full text and rfc822 format available.

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

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>,
	Vivek Dasmohapatra <vivek <at> etla.org>
Cc: 7506 <at> debbugs.gnu.org
Subject: Re: bug#7506: Replacement for 'htmlize-region-for-past using
	htmlfontify?
Date: Sun, 28 Nov 2010 23:59:37 +0100
On Sun, Nov 28, 2010 at 8:01 PM, Stefan Monnier
<monnier <at> iro.umontreal.ca> wrote:
>> Could we please add a replacement for  'htmlize-region-for-past using
>> htmlfontify?
>
> I don't know what is "htmlize-region-for-past(e?)".  Care to give us
> some context?

I have never used it, but it is used by org-mode when it exports code
fragment in an org-mode file to html. That will show the syntax
coloring (make by font-lock) in the exported html code.

Unfortunately it is a little bit of work to implement this in
htmlfontify if I remember correctly (I am addinng Vivek to the
recievers of this message). Htmlfontify always puts the css code in
the header, i.e. it produces a full html file.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#7506; Package emacs. (Mon, 29 Nov 2010 01:26:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 7506 <at> debbugs.gnu.org
Subject: Re: bug#7506: Replacement for 'htmlize-region-for-past using
	htmlfontify?
Date: Sun, 28 Nov 2010 20:31:20 -0500
> >> Could we please add a replacement for  'htmlize-region-for-past using
> >> htmlfontify?
[...]> 
> I have never used it, but it is used by org-mode when it exports code
> fragment in an org-mode file to html. That will show the syntax
> coloring (make by font-lock) in the exported html code.

How on earth do you expect anyone to figure out what you meant from
your initial report? "org-html uses htmlize; now that there is an
htmlfontify package in Emacs, it would be good to use that instead."

Once again: please take more time when composing your bug reports.
It wastes everbody's time having to play 20 questions.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org, emacs-orgmode <at> gnu.org:
bug#7506; Package emacs,org-mode. (Mon, 29 Nov 2010 02:09:01 GMT) Full text and rfc822 format available.

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

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 7506 <at> debbugs.gnu.org
Subject: Re: bug#7506: Replacement for 'htmlize-region-for-past using
	htmlfontify?
Date: Mon, 29 Nov 2010 03:13:15 +0100
On Mon, Nov 29, 2010 at 2:31 AM, Glenn Morris <rgm <at> gnu.org> wrote:
>
>> >> Could we please add a replacement for  'htmlize-region-for-past using
>> >> htmlfontify?
> [...]>
>> I have never used it, but it is used by org-mode when it exports code
>> fragment in an org-mode file to html. That will show the syntax
>> coloring (make by font-lock) in the exported html code.
>
> How on earth do you expect anyone to figure out what you meant from
> your initial report? "org-html uses htmlize; now that there is an
> htmlfontify package in Emacs, it would be good to use that instead."
>
> Once again: please take more time when composing your bug reports.
> It wastes everbody's time having to play 20 questions.


Sorry if it seemed to confusing. If you knew what
htmlize-region-for-paste does then it probably would be easy to
understand.

Anyway I hope this is something Vivek can figure out how to fix.




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Thu, 19 Nov 2020 04:58:03 GMT) Full text and rfc822 format available.

Notification sent to Lennart Borgman <lennart.borgman <at> gmail.com>:
bug acknowledged by developer. (Thu, 19 Nov 2020 04:58:03 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Lennart Borgman <lennart.borgman <at> gmail.com>
Cc: 7506-done <at> debbugs.gnu.org, Org-mode <emacs-orgmode <at> gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>, Vivek Dasmohapatra <vivek <at> etla.org>
Subject: Re: bug#7506: Replacement for 'htmlize-region-for-past using
 htmlfontify?
Date: Wed, 18 Nov 2020 20:56:58 -0800
Lennart Borgman <lennart.borgman <at> gmail.com> writes:

> On Sun, Nov 28, 2010 at 8:01 PM, Stefan Monnier
> <monnier <at> iro.umontreal.ca> wrote:
>>> Could we please add a replacement for  'htmlize-region-for-past using
>>> htmlfontify?
>>
>> I don't know what is "htmlize-region-for-past(e?)".  Care to give us
>> some context?
>
> I have never used it, but it is used by org-mode when it exports code
> fragment in an org-mode file to html. That will show the syntax
> coloring (make by font-lock) in the exported html code.
>
> Unfortunately it is a little bit of work to implement this in
> htmlfontify if I remember correctly (I am addinng Vivek to the
> recievers of this message). Htmlfontify always puts the css code in
> the header, i.e. it produces a full html file.

The above feature request for `org-html-htmlize-region-for-paste' has
been sitting in the Emacs bug tracker for 10 years.  It seems like no
one on our side has taken an interest in it.

I am now closing this bug in our tracker with a copy to the Org-mode
mailing list, in the hope that someone there will be able to determine
what, if anything, should be done about this.

I hope this doesn't waste any time for the Org-mode maintainers or
anyone else; please feel free to just ignore this email if it is not of
interest.

Thanks.




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

This bug report was last modified 3 years and 123 days ago.

Previous Next


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