From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iC4JHfYkh2DZjgAAgWs5BA (envelope-from ) for ; Mon, 26 Apr 2021 22:39:18 +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 gNrNGPYkh2AjGAAA1q6Kng (envelope-from ) for ; Mon, 26 Apr 2021 20:39:18 +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 E1BB823004 for ; Mon, 26 Apr 2021 22:39:17 +0200 (CEST) Received: from localhost ([::1]:52686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lb80h-00057D-P8 for larch@yhetil.org; Mon, 26 Apr 2021 16:39:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb7yo-00052q-Nw for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 16:37:22 -0400 Received: from memebeam.org ([80.68.89.71]:41876 helo=jvb.vm.bytemark.co.uk) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lb7yk-0003PU-To for emacs-orgmode@gnu.org; Mon, 26 Apr 2021 16:37:18 -0400 Received: from [192.168.1.27] (dhcp-68-142-39-249.greenmountainaccess.net [::ffff:68.142.39.249]) (AUTH: LOGIN acarrico@memebeam.org, TLS: TLS1.3, 128bits, ECDHE_RSA_AES_128_GCM_SHA256) by jvb.vm.bytemark.co.uk with ESMTPSA id 00000000001E4027.60872456.000066FD; Mon, 26 Apr 2021 16:36:37 -0400 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/)] To: emacs-orgmode@gnu.org References: <87czupy7mn.fsf@kyleam.com> <073538d9-09ac-7c6f-0188-6e75d0daf438@memebeam.org> <87im49usgf.fsf@bzg.fr> From: Anthony Carrico Message-ID: <498dbe2e-0cd2-c81e-7960-4a26c566a1f7@memebeam.org> Date: Mon, 26 Apr 2021 16:36:28 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <87im49usgf.fsf@bzg.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=80.68.89.71; envelope-from=acarrico@memebeam.org; helo=jvb.vm.bytemark.co.uk X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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=1619469558; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8knrF5em6Ar8wdd3Vhs9l9NVnLYi1VjMzK80E6LmDDs=; b=eot+V/tc2SnoQI6rhDECrxIfvjlgxvK95xAUBkjgfWK/5WfXcpVLHN6nQXy8Ml+HAQ+jPo 4jYdATQVQfHyL20fZKPQW/der1bRCNfFu9yvvCmk2lfspJH5Xb8GP/uJEgmRgZ18vhvAgD vv6hRD/ik4KaON96E4iWBmCwDivoHoUZ28m3af5pn5EtXsoNS8n5W+DdFRNFTRxbngHycV 3LaJIyJ2Agb+tVE/7UGrWwlv3l/8H+p2EXYmzTfPLpAlxkJJAGC1chLcTM5j/nPPq2qmjO aaB4c6B/vTJ8baesHyTNfr6ommzkWLEwwN+CbzhQjL8mS+v/jnXD/pO++SfEQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619469558; a=rsa-sha256; cv=none; b=dDRY6iTuJ63lAqOEBlbHHxleAnGVx7N3pzVMH/pl6oNUj3tSJzZ/cCGrOLqyt1iCdatAHs 6bDVo6tawydDFWa+OICemfSMi00BhSslkYC6u78cdfK/5JEO2LBXwCLVacMszy20wliAuc gEQFuBATxDNMjKi+Zk/reYsrgodVaEM+PahI1wvv70kszeu6avgCZfQ+ZKJ/YA9YK2lPaW ZKANrAos2RRjqUXwxYaNpsQLRIVPjBFMJyVAAO4Yg1XKbYz8X7MuXBqQ0x4ThtqYr/P9nZ kL9ApEldP8w5gUPF6r6ONTxg0jhNhByKZe1Ns13ii8Ja02L9uj66LCdIrbyZ9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: E1BB823004 X-Spam-Score: -2.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: vNXzQZNZdDW3 I've trimmed the CC's, and condensed my answers to the various threads below: To Bastien: You are doing a good job respecting the code. Thank you. 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). 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. To the other participants in the thread: To answer your questions, I have been around for the evolution of the FSF, the Open Source movement, and the Creative Commons. I did follow Lawrence Lessig's creation of CC0. I do understand its role. I have Richard Stallman's book on my shelf signed "Happy Hacking, Richard Stallman", and I understand that emacs is his baby. Next are Jessica Litman's and Clay Shirky's, and I also own Lawrence Lessig's and Siva Vaidhyanathan's (missing, somewhere...). I did attend Richard Stallman's lecture at Saint Michael's College, as well as Siva V.'s lecture at Middlebury College. I value the contributions of all these philosophers. I have attempted to look for solutions that would solve both bug reports (license insertion + LibreJS incompatibility) without advocating or offering opinions on the broader philosophical issues. I hope my technical contributions are valued, even if they are not accepted. 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. The FSF encourages authors to choose an approved license for their work, but my impression is that the FSF is also anxious to avoid the notion that their products will do so unintentionally. There is a danger that such an impression would erode their market share, and therefore their ability to advocate for their mission. This stance is apparent in the FSF signalling around project pairs like GCC/LLVM, etc., and I imagine it would apply to equally to emacs, so I think it would be wise to fix both issues if possible. Bastien: You certainly have my permission to use my CodeHighlightOn/CodeHighlightOff implementation as you see fit, including licensing it under the GPLv3+, and that is a reasonable choice for you to make. If you happen to agree with the notion that the org-export output should be license-free, and you want to avoid using a clone of these functions, a third option would be to remove the script in question: The functionality is pretty unusual for a document to trigger, and might not be missed in exchange for a javascript-free export, but I yield to your ultimate decision. Thank you -- Anthony Carrico