From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Klein Newsgroups: gmane.emacs.bugs Subject: bug#32722: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ? Date: Thu, 20 Sep 2018 10:13:16 +0200 Organization: roklein.de Message-ID: <20180920101316.2333b69b@lt70.mpip-mainz.mpg.de> References: <531a7f93882cc0d5d09700457d06ea082f47569b.camel@flqt.fr> <83sh2ck42e.fsf@gnu.org> <87va73gn90.fsf@nicolasgoaziou.fr> <83efdqg32d.fsf@gnu.org> <87lg7yfraw.fsf@nicolasgoaziou.fr> <874leme9vp.fsf@aminb.org> <83h8ikenbc.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1537431153 24830 195.159.176.226 (20 Sep 2018 08:12:33 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2018 08:12:33 +0000 (UTC) Cc: n@flqt.fr, rms@gnu.org, amin@gnu.org, 32722@debbugs.gnu.org, rjhorniii@gmail.com, Kaushal Modi To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 20 10:12:28 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2u4a-0006Ky-3t for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2018 10:12:28 +0200 Original-Received: from localhost ([::1]:48849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2u6g-0004ju-C6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2018 04:14:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2u6L-0004hJ-PZ for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2018 04:14:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2u6H-00079J-Rv for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2018 04:14:15 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g2u66-0006x9-Ht; Thu, 20 Sep 2018 04:14:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g2u66-0002Ij-7D; Thu, 20 Sep 2018 04:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Klein Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, emacs-orgmode@gnu.org Resent-Date: Thu, 20 Sep 2018 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32722 X-GNU-PR-Package: emacs,org-mode X-GNU-PR-Keywords: Original-Received: via spool by 32722-submit@debbugs.gnu.org id=B32722.15374312198806 (code B ref 32722); Thu, 20 Sep 2018 08:14:02 +0000 Original-Received: (at 32722) by debbugs.gnu.org; 20 Sep 2018 08:13:39 +0000 Original-Received: from localhost ([127.0.0.1]:46293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2u5j-0002Hy-10 for submit@debbugs.gnu.org; Thu, 20 Sep 2018 04:13:39 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.13]:58867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2u5h-0002Hl-9b for 32722@debbugs.gnu.org; Thu, 20 Sep 2018 04:13:37 -0400 Original-Received: from lt70.mpip-mainz.mpg.de ([194.95.63.248]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M6EOc-1g9Uja3lIO-006clZ; Thu, 20 Sep 2018 10:13:23 +0200 In-Reply-To: <83h8ikenbc.fsf@gnu.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-unknown-openbsd6.3) X-Provags-ID: V03:K1:DIkEe9xSSQC7HlPEJH+8YphSoyDmfp2HtxK4DKNfhT2Km/j+LDN RYoBSxmzZ1JzEG+5Vw0X6+qQl+8P0gkgvnShWwyECluDNiK6YcfzTf9z62AB89UOtKqk+cN jueRSsXpBGAWPgBrsi2XA99Ptpn4KZ7cF6hpXqrlGSiaGXmY2VJQNXmkKvuPN9JW5ldPo3v hfGWK/U+RejeqbJ6J93Ww== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZZ1uA0Ky6aA=:b3XeE76ZWBYTPd5A9o6xuL PRAm13nZ5g0kbhH+pnjdh7AOood7EcFADT6qvZobdUMAlveRrqXQ3YKFTVPaUCwq2NHKg5Mcs hmv/5hGSr0AogCOS8f4RhSadRg1YZ/t8WOmtwiBcN0VcTaZdmw7qr+Aji3cp7/tMEzkxLMNug wW1vM0VaDpKqWPQg4dfsgldsx52fJausgJojWqmOTyM4JexKWcyMOPWAmopPx5lg05lfwrM2U qGzmlcUqzin1ffRSvKYLVpstGgHufHtl9UFDe4jxCIjE5c3MG1cXjemPtGWn2RL8eKxWLdzh1 oZFFA5xpdkZ1wl4gkvsxIrBjkeXedOiBxctJXxCbb+2TIIV0Ejj4Tw8LtM9XW6ps2ibd9RRt2 3WZYd63TWe5B9NQbaZ5AH9b3ku2dPVD7ONtgLMbqLgbPtDrSUzvgsuoD0dxo/hRTnROkYsX8+ 7s01L8hkUXDWlacq3xxRkeB/MyUt/VFTCGo8XzgH1a8xiOxzr7PXqhUx+3v1GvJdkYYmW1VYG XWlZ+ADiQJAjX7vm62whe8+T2AhNGj8lvvi1iSEi5R6Gp/198/sJ9yoNtGkWMtBohcqEkkWTY ga3Kh6X6FLzzElv5Uy6YiJUNA1hX3zjhyVLNxtDn5Z1JnDfKKf127j5s6g7agVyF9YDR4wBXI 3wsEntQx4KmC+Kaqq2UfZMyI0Fwst0rcPdEhiMFM87fHoPZCDBZTLA6wp85VIuXks4OdVSZn/ 3ypWrclUjnFKyckM X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150478 Archived-At: Hi, On Thu, 20 Sep 2018 08:43:19 +0300 Eli Zaretskii wrote: > > From: Kaushal Modi > > Date: Wed, 19 Sep 2018 17:16:28 -0400 > > Cc: Nicolas Goaziou , Glenn Morris > > , n@flqt.fr, Richard Stallman , > > 32722@debbugs.gnu.org, Robert Horn , Eli > > Zaretskii > >=20 > > I got approval from Hrvoje Nik=C5=A1i=C4=87 that he was fine with your > > mirror[0]. > >=20 > > So I believe it should be OK reference that mirror repo in > > ox-html? =20 >=20 > I think we could do better by using htmlfontify.el. I asked a few > questions about that in this discussion, see >=20 > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32722#95 >=20 > Would the Org developers please reply to those questions? If indeed > it is not hard to adapt htmlfontify to be used by Org, then I think > it's a better solution. Not an =E2=80=9COrg developer=E2=80=9D -- I guess mostly Nicolas Goaziou ca= n claim that title at the moment with two thirds of all commits last year.. As to your questions: > This should be very easy to fix, by using temporary buffers with a > copy of the region to produce HTML for. Right? plus removing HTML document headers and footers, remove css stuff, rework this, so we have css to include in the final document... > > Additionally htmlfontify also requires several external tools > > (according to the man page) which might not be available on all > > platform Emacs and org-mode is used on: > >=20 > > - a copy of =E2=80=9Cfind=E2=80=9D which provides the =E2=80=9C-path=E2= =80=9D predicate > > - a copy of =E2=80=9Csed=E2=80=9D > > - a copy of the =E2=80=9Cfile=E2=80=9D command >=20 > These are only needed if one invokes htmlfontify-copy-and-link-dir to > produce HTML for files in a directory. Is that an important use case > for the issue at hand? E.g., if you need to produce HTML for a region > of a buffer, these facilities seem to not be relevant, AFAIU. Did I > miss something? No. At that moment in the discussion it wasn't clear the issue with htmlize= (and github) has been seen fundamentally different by non-org people as op= posed to people developing and using org-mode. > > A switch to htmlfontify might end up in rewriting a good part of > > htmlfontify or some very ugly hacks. >=20 > I wonder whether we could begin by just supporting the immediate use > case(s) in point, maybe that is possible without too much rewriting. See above. > > If Hrvoje Niksic has or is willing to sign the copyright assignment > > documents it will be easier to put htmlize.el into Emacs. >=20 > We've been through this several times in the past: it isn't going to > happen. I think htmlfontify was added to Emacs for that rteason, > among others. Sorry, didn't know there's a history. Best regards Robert