From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#7506: Replacement for 'htmlize-region-for-past using htmlfontify? Date: Wed, 18 Nov 2020 20:56:58 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27302"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 7506-done@debbugs.gnu.org, Org-mode , Stefan Monnier , Vivek Dasmohapatra To: Lennart Borgman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 19 05:58:15 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfc1O-0006z7-Tw for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Nov 2020 05:58:14 +0100 Original-Received: from localhost ([::1]:42426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kfc1N-00018F-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Nov 2020 23:58:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kfc1D-0000zb-ND; Wed, 18 Nov 2020 23:58:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kfc1D-0003oH-BI; Wed, 18 Nov 2020 23:58:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kfc1D-0000Pu-AS; Wed, 18 Nov 2020 23:58:03 -0500 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Thu, 19 Nov 2020 04:58:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7506 X-GNU-PR-Package: emacs,org-mode Mail-Followup-To: 7506@debbugs.gnu.org, stefan@marxist.se, lennart.borgman@gmail.com Original-Received: via spool by 7506-done@debbugs.gnu.org id=D7506.16057618261477 (code D ref 7506); Thu, 19 Nov 2020 04:58:03 +0000 Original-Received: (at 7506-done) by debbugs.gnu.org; 19 Nov 2020 04:57:06 +0000 Original-Received: from localhost ([127.0.0.1]:37516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfc0I-0000Nl-IX for submit@debbugs.gnu.org; Wed, 18 Nov 2020 23:57:06 -0500 Original-Received: from mail-ej1-f45.google.com ([209.85.218.45]:38013) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kfc0G-0000Mo-0a for 7506-done@debbugs.gnu.org; Wed, 18 Nov 2020 23:57:05 -0500 Original-Received: by mail-ej1-f45.google.com with SMTP id a16so6046627ejj.5 for <7506-done@debbugs.gnu.org>; Wed, 18 Nov 2020 20:57:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc :content-transfer-encoding; bh=sPaL4VLVNTWsbCVn8/2EgmsqG/SJgysNCoKUEYWx7jc=; b=X2iLfHwU0bYcAmcCot1qTQ877ILuis7+Gsx2NHhPTCBU+zZTDfIfz74cyzvvwL84sh wlW6TxgbRi/jPtEefBuSAjJgQsVwO7WfZpFjLKI3VERVigYrmJ9p3I5xFmA8ghZ9KZ7Q DOkAsLF0Dd1p5SjJIRJ+3RyJMn6Nd4TYltn6Z22ZdGL7nZcRxB6QwefOTvWysGiBkq9v p7x2wsGkn7DM4l9APHNdgQXabOFelXl/s46IVgYHOAxzSrqtVzgXCAORQ8wHih9HhxER jay3+SjJKat2CNthFzgGuqxtotQ6uof1IUng79GwcvUzVoOX21xadYAXTRVdoAkxcfMF 7yOA== X-Gm-Message-State: AOAM530Kwb8Xq7d7G8Z+YYDXndH0HJVkFoXD4v7tsM0MGNW9MEdvL0K3 j1SXb9HBTjKPB2YKlv9mIbHhPZtMh2P6uD4d/oQ= X-Google-Smtp-Source: ABdhPJxPhBSZua7c/oQ4puATOQ7Lnt217Yj5JNb4LSfMLE4XW3Gh2911fMUNfN6KkegrCoYD6gDoq2Zd4Y58H+q5S/s= X-Received: by 2002:a17:906:11d0:: with SMTP id o16mr2424720eja.25.1605761818430; Wed, 18 Nov 2020 20:56:58 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 18 Nov 2020 20:56:58 -0800 In-Reply-To: (Lennart Borgman's message of "Sun, 28 Nov 2010 23:59:37 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193697 Archived-At: Lennart Borgman writes: > On Sun, Nov 28, 2010 at 8:01 PM, Stefan Monnier > wrote: >>> Could we please add a replacement for =C2=A0'htmlize-region-for-past us= ing >>> htmlfontify? >> >> I don't know what is "htmlize-region-for-past(e?)". =C2=A0Care to give u= s >> 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.