From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0r.migadu.com with LMTPS id eQDfDQAgjWB1IAEALuJCtg (envelope-from ) for ; Sat, 01 May 2021 11:31:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id vTsnCQAgjWA2UwAA1q6Kng (envelope-from ) for ; Sat, 01 May 2021 09:31:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8071E1832C for ; Sat, 1 May 2021 11:31:39 +0200 (CEST) Received: from localhost ([::1]:49306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lclyL-0000Qc-EM for larch@yhetil.org; Sat, 01 May 2021 05:31:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lclxA-0000Om-0V for emacs-orgmode@gnu.org; Sat, 01 May 2021 05:30:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:41341) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lclx9-0005Q9-G5; Sat, 01 May 2021 05:30:23 -0400 Received: from [78.194.183.21] (port=48610 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lclx6-0002bj-Dl; Sat, 01 May 2021 05:30:21 -0400 Received: by guerry (Postfix, from userid 1000) id 5BA101A60F0E; Sat, 1 May 2021 11:30:18 +0200 (CEST) From: Bastien To: Anthony Carrico Subject: Re: Bug: JavaScript in HTML export not recognized by LibreJS as free [9.4.5 (9.4.5-16-g94be20-elpaplus @ /home/jorge/.config/emacs/elpa/org-plus-contrib-20210412/)] In-Reply-To: <498dbe2e-0cd2-c81e-7960-4a26c566a1f7@memebeam.org> (Anthony Carrico's message of "Mon, 26 Apr 2021 16:36:28 -0400") Organization: GNU References: <87czupy7mn.fsf@kyleam.com> <073538d9-09ac-7c6f-0188-6e75d0daf438@memebeam.org> <87im49usgf.fsf@bzg.fr> <498dbe2e-0cd2-c81e-7960-4a26c566a1f7@memebeam.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 01 May 2021 11:30:18 +0200 Message-ID: <87sg36rec5.fsf@bzg.fr> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619861499; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Y80g65EDExiVqIilgeB/g374XBnh2LDJqlrzh771Am8=; b=XSeBiwsVUcJpLfhXwxXrvDzrmfQ7+tfTgeKji9fE6Fh2InvIb2T+Bjz8VCecV0EU83IEeI SB+2CPhC/GguatA+vFYoGVZgambP6IuvpsLccFFMQIzmn6j8cqpZ6JrR0/XHOefj76sRnc MSRrDsMg/gKNswjUuEglVf234ecVkPGik58EBqTq2jvW0SUMUYZHr/YBhm1RG937WLGZSj o2mW8xnFqBnlsQ9OIv4F5RJ6S5+FFno9pwAewpQnhPVRCMWTggN2c0ilws3xg27ttp+0JX P9O16Fq93NEQ5qAnxDykaDTmjQ4P2MxdwxTAUbSokfCCUgTdmEGGqmhwvEjQWA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619861499; a=rsa-sha256; cv=none; b=NSpnEC7zz8nofiB/ZEOq1k3OGyIAjgfomWG0p1+nuOH4IaRxvmZ5eKvPhSzCpzQYAZUsGq 6Lptnd09bqU78RXRo2FHatzyDpdzbMYmMPffmzBEQcctK0HgLhrx5Ixyzn9WhzXXrWFe0g wSN26kgjvwR+npq1ABMy6lXEd69MW9xdeMtpCMAkSznvMCGSgNnEWRTWJ6p7CTt+BXnNs+ fxGwT3qrmKko+4OG8vC7LCb1cy7IGOu+5EsZvKbsquA+LUT2gI3H0Ijm/N8eIJEI/KqjfI mTNNhDdau+RUHq3tTnSdEA+BXvFPey2MjkIaSP8JkcE19Qsrq9/NX3/9gfYeyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8071E1832C X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: xlrYJPK9oyvE Hi Anthony, Anthony Carrico writes: > The original implementation flip-flops between cached and normal > classes (six statements removed in the original patch), whereas my > clone adds and removes a class name from the classList (three > statements inserted in the original patch). Thanks - I replayed this change with commit dcd7b576b in maint. > I did intend to make a > material change which would create a new public domain implementation > of the original API. I did not intended to disrespect Carsten's work > or to detract from it, and I apologize to anyone who did not consider > it to be a good-faith gesture. I did honestly believe that the > org-mode code base would welcome a public domain clone of the script > functionality to resolve the issue at hand. Absolutely no need to apologize here! Sorry if my message was read as a reproach, it was definitely not. > I did offer an opinion on license insertion: My opinion is that > org-export is a means to save an org-mode file in html format, and > that org-mode authors don't view their documents as derivative works > of the org-export markup. I still believe inserting a license into > exported documents is a mistake. FWIW I also think inserting Javascript in HTML export is wrong. Commit bb24248b8 turns `org-html-head-include-scripts' to nil by default, I advertized the change in etc/ORG-NEWS. > Bastien: You certainly have my permission to use my > CodeHighlightOn/CodeHighlightOff implementation as you see fit, > including licensing it under the GPLv3+ Done, thanks for explicitely permitting this. In general, I tend to agree that we should get rid of this small Javascript snippet and that the feature provided is not critical, but let's keep it until someone shows that he can reactivate it with some existing Javascript library. Thanks, -- Bastien