From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Condition to link to javascript code? Date: Thu, 15 Dec 2016 04:01:17 +0100 Message-ID: <87eg19uc8y.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481770934 4375 195.159.176.226 (15 Dec 2016 03:02:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 03:02:14 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 04:02:10 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cHMJ7-0008A4-NM for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2016 04:02:09 +0100 Original-Received: from localhost ([::1]:51892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHMJ7-0000yo-68 for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2016 22:02:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHMIX-0000sd-HV for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:01:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHMIU-0006PO-GN for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:01:33 -0500 Original-Received: from [195.159.176.226] (port=40653 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cHMIU-0006Or-AE for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:01:30 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cHMIL-00012W-4Y for emacs-devel@gnu.org; Thu, 15 Dec 2016 04:01:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:RO4hfY/2xe16HPNXbK3Xl+GFFWE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210468 Archived-At: Hi all, what are the conditions to link to a Javascript library within Emacs core code? https://github.com/viebel/klipse is a Javascript library, published under GPLv3, that allows code evaluation in HTML pages. We would like to let the org-mode HTML exporter use Klipse so that HTML exports of code blocks make them executable in the HTML output. I see two potential problems: 1. librejs could complain about Klipse not being safe. 2. We need to use these links, which point to Google servers: (2) is easy (but not practical) to circumvent, as we can host the files anywhere. (1) seems more problematic. Any advice on how to deal with those issues? Thanks! -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Wed, 14 Dec 2016 22:41:29 -0500 Message-ID: <66227baf-977f-9e4c-c820-f5bd11035e73@gmail.com> References: <87eg19uc8y.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Xt5qRLrVkFK2dpbnBh34bHW0dlH98elqK" X-Trace: blaine.gmane.org 1481773334 5222 195.159.176.226 (15 Dec 2016 03:42:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 03:42:14 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 04:42:10 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cHMvq-00005S-Ar for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2016 04:42:10 +0100 Original-Received: from localhost ([::1]:52026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHMvq-00089L-Ms for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2016 22:42:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHMvk-00082h-He for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:42:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHMvh-0007EH-EZ for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:42:04 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.131]:56277) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHMvh-00070v-3s for emacs-devel@gnu.org; Wed, 14 Dec 2016 22:42:01 -0500 Original-Received: from [18.189.106.208] ([18.189.106.208]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.168]) with ESMTPSA (Nemesis) id 0MPt6U-1cCP6g0BOM-004xPx for ; Thu, 15 Dec 2016 04:41:36 +0100 In-Reply-To: <87eg19uc8y.fsf@gnu.org> X-Provags-ID: V03:K0:PcIPnR6V9AiIAyS0JNpXr9wojIHGBxjU2gHRl/q8jN3X0revML0 8MB3QmLwK/AtwtRfnTA2r1WQLSKkcljF1Svu+IvO56Rn4MxDnvw/SvxSicIe1K+tdZEAMCj ke6qmH9D0rW7PLtstVBJHL/cmImzGeeFBVP/xH6CFC/iAAo2kv0QhWvNRW+YJHVptEqy59R Jbkwcon1mNzzJDLiclc8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:9QgpKZYEs6o=:fdrSJR7kVLA6+CDWrhPi00 SjtVxyEw5DBUJ80ZfyEQ+R9Zour1dxbDVqlfIcZB/UKohfdmi41yFN2jvICooXelP70eejnZ9 P4jx++CwuyUa03Py5IEKPH60YXsfcvSoFlEKctn7XznHaLKToOHgCWI52TAyYmGvbWSMDHwMd u8nbuwLEmT+/SFjjSXIlDm+gVVLrFbn2FnB6MgPix8TiJaEVrtIPWulILRWKpJNlvw4pq9XRq FvzcGN5XyJ0uSy32cxOmQpGIUyxzvmMN5OXaZy8JAzhR2G1KSQHun0XlmTFMzSvd2mvu/1NrZ J4kpnz4ZZEoBlIfrXtzMQ/SIF+lDPLbFCo1RsIrTLCtB5BmefLLaIG+zh6WkBqnqBfcnHcESv ZAMzauxivHz8nqenvVdutjuEmmZfKZC6KqSeujpFicxZO5j3uiLq5H9YHVOIbNV4/uTVYx6a6 XW1oN2mbpmhAJX02FTmngbE4E9DiB9TqpZ9Cav5HsZ5NMMoyWNXmRecHoEIYfSDKbhj4hpBYe X9raehF+laZPiw2q1B936psKMMf9ywRCN4qJhSSHJ0KaoH8sfKc1VdYx93lzTWi49I3F2dc0E i8pskGvNdCtS5Uhfnlri9XWqv4z7tU+dFpB4hVLAIuUqIombn9WfUh1EhjSwn/ViNYm/pdZER Qy427OebUpQbT+uYyWZ3Fa/PB/nA0+Z5GLgZQi1QWp4SahW5NUq6+vyqcyhQ3skYvrcQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.131 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210469 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Xt5qRLrVkFK2dpbnBh34bHW0dlH98elqK Content-Type: multipart/mixed; boundary="I5CHwAQpt1udbWCHn0NLUNh9wuCNTslQf"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <66227baf-977f-9e4c-c820-f5bd11035e73@gmail.com> Subject: Re: Condition to link to javascript code? References: <87eg19uc8y.fsf@gnu.org> In-Reply-To: <87eg19uc8y.fsf@gnu.org> --I5CHwAQpt1udbWCHn0NLUNh9wuCNTslQf Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2016-12-14 22:01, Bastien wrote:=20 > 1. librejs could complain about Klipse not being safe. > =85 > (1) seems more problematic. Could klipse be updated to include a LibreJS-friendly header? Or could L= ibreJS be taught specifically about that library? If so, there shouldn't= be an issue with (1), right? Cl=E9ment. --I5CHwAQpt1udbWCHn0NLUNh9wuCNTslQf-- --Xt5qRLrVkFK2dpbnBh34bHW0dlH98elqK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYUhDpAAoJEPqg+cTm90wjzFUQAI0s4RXHRlRUMtX4s4yRkXCJ i1SAXXiRcHHuJ4jg6rnbE/NXwEsMRU2GtsEx9daOLdYqi6APC/Wr8mALdjIqX/1E 2vaEvjmlqYoBvSjfn3RSKecqgw7tEnC/8GzFux4iyF5yFwP1UNwQ4F8hvQx9UyK5 e9mBIEx3w5u8DZjAqwjycfbcuCdqpNxb3SyFLj3HXt+dl4LSGZVf6litX6F0XZyE o8rtv3/4NypydHxJ1GuhXcliGAbsxxXvMl7ZbK2tcBNdvfbRXjn7FekSSOG6453T i3GqMOJC+lV4ruPkv5qqCBN55MWnB1FijR8gzWSG0VoApCjqg5b3oDeOZQ/tqmgs OU1aeuE2hzFfFqS//lk+cmrCNbfv1fcI2NlQtdVXMU480eLVfzCqovlFnGYihGEa ocymWx+GjG+14efgUwKFkzCNXLi9CrtYm/L/DmC1/FS5hf4baBGbBHhhuIXpnNS9 8YGEx0buZ0T46J/1+8k1951hD+T9EqYNz/SDKsj5O1lubJMug/F0ggk1VTVgcqJJ UWyV13sd3BD9L4R77g4oxfWXM+WEfMis7onjmsm2TPZWhaGI/7J7FhyKC4cR6MG/ fg3Xgmw8JKVG/7ZUlnaqlbnn68trQwLuUdZPES4sihWdDC+6/i/ovFJ3L3Cr4mx7 s6/Ro+5/cQpEfCwBO/Eg =iy1Q -----END PGP SIGNATURE----- --Xt5qRLrVkFK2dpbnBh34bHW0dlH98elqK-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Thu, 15 Dec 2016 13:12:03 +0100 Message-ID: <87vaule6i4.fsf@gnu.org> References: <87eg19uc8y.fsf@gnu.org> <66227baf-977f-9e4c-c820-f5bd11035e73@gmail.com> 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 1481803977 8404 195.159.176.226 (15 Dec 2016 12:12:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2016 12:12:57 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: =?utf-8?Q?Cl=C3=A9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 13:12:49 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cHUu1-0000ol-0B for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2016 13:12:49 +0100 Original-Received: from localhost ([::1]:53989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHUu5-0000iL-47 for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2016 07:12:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHUtR-0000VR-Te for emacs-devel@gnu.org; Thu, 15 Dec 2016 07:12:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHUtR-0007JI-5r for emacs-devel@gnu.org; Thu, 15 Dec 2016 07:12:13 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHUtK-0007Gv-I0; Thu, 15 Dec 2016 07:12:06 -0500 Original-Received: from gob75-8-88-165-217-246.fbx.proxad.net ([88.165.217.246]:57966 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cHUtK-00027Y-1O; Thu, 15 Dec 2016 07:12:06 -0500 Original-Received: by bzg.fr (Postfix, from userid 1000) id D190738BAE4; Thu, 15 Dec 2016 13:12:03 +0100 (CET) In-Reply-To: <66227baf-977f-9e4c-c820-f5bd11035e73@gmail.com> (=?utf-8?Q?=22Cl=C3=A9ment?= Pit--Claudel"'s message of "Wed, 14 Dec 2016 22:41:29 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210474 Archived-At: Hi Cl=C3=A9ment, Cl=C3=A9ment Pit--Claudel writes: > On 2016-12-14 22:01, Bastien wrote:=20 >> 1. librejs could complain about Klipse not being safe. >> =E2=80=A6 >> (1) seems more problematic. > > Could klipse be updated to include a LibreJS-friendly header? Or > could LibreJS be taught specifically about that library? If so, there > shouldn't be an issue with (1), right? Yes, right -- I've already forwarded the documentation to the klipse.js developer on how to make it librejs-compatible, I'll see if he can take this road. --=20 Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Sat, 17 Dec 2016 10:47:42 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1481989672 4688 195.159.176.226 (17 Dec 2016 15:47:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Dec 2016 15:47:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 17 16:47:48 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cIHDA-0000Ql-BM for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2016 16:47:48 +0100 Original-Received: from localhost ([::1]:37072 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIHDE-0007OA-Nv for ged-emacs-devel@m.gmane.org; Sat, 17 Dec 2016 10:47:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIHD5-0007GW-Sq for emacs-devel@gnu.org; Sat, 17 Dec 2016 10:47:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIHD5-0007Ri-75 for emacs-devel@gnu.org; Sat, 17 Dec 2016 10:47:43 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47690) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIHD5-0007Rb-3y for emacs-devel@gnu.org; Sat, 17 Dec 2016 10:47:43 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cIHD4-0005EK-Hw; Sat, 17 Dec 2016 10:47:42 -0500 In-reply-to: <87eg19uc8y.fsf@gnu.org> (message from Bastien on Thu, 15 Dec 2016 04:01:17 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210589 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > what are the conditions to link to a Javascript library within Emacs > core code? How is such a thing even possible? > We would like to let the org-mode HTML exporter use Klipse so that > HTML exports of code blocks make them executable in the HTML output. I don't understand what it means for an Emacs Lisp program to "use Klipse". Could you please explain the scenario in more detail? > 2. We need to use these links, which point to Google servers: That is no good; it is not right to direct users to visit a particular server, regardless of whose server it is -- whether it is Google, or the FSF, or yours, or mine. 1. librejs could complain about Klipse not being safe. There are various ways to fix that. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Sun, 18 Dec 2016 18:47:52 +0100 Message-ID: <87pokpnn7b.fsf@bzg.fr> References: <87eg19uc8y.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482083296 16809 195.159.176.226 (18 Dec 2016 17:48:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2016 17:48:16 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 18 18:48:12 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cIfZD-0003GR-2H for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2016 18:48:11 +0100 Original-Received: from localhost ([::1]:41612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIfZH-0001PD-CH for ged-emacs-devel@m.gmane.org; Sun, 18 Dec 2016 12:48:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIfZA-0001P5-VX for emacs-devel@gnu.org; Sun, 18 Dec 2016 12:48:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIfZ6-0000Cv-Fb for emacs-devel@gnu.org; Sun, 18 Dec 2016 12:48:08 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIfZ6-0000Cr-Bf for emacs-devel@gnu.org; Sun, 18 Dec 2016 12:48:04 -0500 Original-Received: from [78.192.157.63] (port=43372 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cIfYy-0002Ys-U9; Sun, 18 Dec 2016 12:47:57 -0500 Original-Received: by bzg.fr (Postfix, from userid 1000) id A37F038BAB1; Sun, 18 Dec 2016 18:47:52 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Sat, 17 Dec 2016 10:47:42 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210605 Archived-At: Hi Richard, Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > what are the conditions to link to a Javascript library within Emacs > > core code? > > How is such a thing even possible? When a user exports an org-mode buffer to HTML, the HTML output can contain links to external Javascript libraries. We solved one of the problems by asking the author of the klipse Javascript library to release it in a way that librejs accepts. There is still the more general problem of linking to a library hosted on Google's servers. For example, the resulting HTML would contain these links: https://storage.googleapis.com/app.klipse.tech/css/codemirror.css https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/klipse_plugin.min.js Is it fine? > > We would like to let the org-mode HTML exporter use Klipse so that > > HTML exports of code blocks make them executable in the HTML output. > > I don't understand what it means for an Emacs Lisp program to > "use Klipse". Could you please explain the scenario in more > detail? Klipse is a Javascript library which allows to interpret a program within a HTML page. Take a simple Scheme sexp: (+ 1 2) When put within a HTML tag: (+ 1 2) Then using klipse, this part of the HTML page becomes interactive. You can edit it and evaluate it. > > 2. We need to use these links, which point to Google servers: > > That is no good; it is not right to direct users to visit a particular > server, regardless of whose server it is -- whether it is Google, or > the FSF, or yours, or mine. This is not about *visiting* a server, it's about using a resource on a server (in this case, the klipse.js library). What do you suggest? Asking users to download klipse.js and use it on their own servers? It seems to me that the point of librejs is precisely to be able to trust js code, even if it's not hosted on your server. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 15:20:57 +0800 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e012285beceae980543fdc268 X-Trace: blaine.gmane.org 1482132106 19336 195.159.176.226 (19 Dec 2016 07:21:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 07:21:46 +0000 (UTC) Cc: Richard Stallman , emacs-devel To: Bastien Guerry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 08:21:41 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cIsGT-0004Dm-Ap for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 08:21:41 +0100 Original-Received: from localhost ([::1]:43833 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIsGX-00020x-LI for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 02:21:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIsFr-0001xC-5h for emacs-devel@gnu.org; Mon, 19 Dec 2016 02:21:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIsFq-00028N-3Q for emacs-devel@gnu.org; Mon, 19 Dec 2016 02:21:03 -0500 Original-Received: from mail-wj0-x22f.google.com ([2a00:1450:400c:c01::22f]:33446) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIsFm-000269-Vt; Mon, 19 Dec 2016 02:20:59 -0500 Original-Received: by mail-wj0-x22f.google.com with SMTP id xy5so141012801wjc.0; Sun, 18 Dec 2016 23:20:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wIczR735Hz6ynFJ3ySks+jvQKonilnYKG78J8+RiYCI=; b=g421hWQZ4+ynRcIFIcTL/U7gISUkAkyrOU88kTv0POg6uiLSxb+41b98h8Q/oubWgq ciRSNzCD+sHV2lpKjYjKjYIpIqYcfvIAIi3z0RVu2M0oQ1IQ9+/+m+opqMvxl3ZqncEz zZY09wp6Cp0PbWuzsf3RqXsFnFo4o5IOc+pa5sJFGLSnG+FXFRIYkbp+GPuTZMQ3YDVY 4TgV4JJUmZKo1549/FGMDTgnJZbmyEV0Bs8psSyzmJ2QXwcCFwAdO+UbVxhtIpsfsUq6 VaOBNTfwcaYTeC+cDJn8QWEJEcqbtkLAbC4eSM57HgJG8+6oWMbcUXLpnDzy2vFw3qLd dbfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wIczR735Hz6ynFJ3ySks+jvQKonilnYKG78J8+RiYCI=; b=T9T0tM5HX6TvpiB3rfHglMVnN0BcAZTn5dhWher++3gBed9PfecKrcbSbfWlT2h+IY Gd41bIe8lUO2Vl4aqKaMUfJDjqnFy8q0ZkBhT9zJfxelFusujFiwLRY+bxeUBZ8B+her oGm/VLo90GUKvFCxHPQcvlT/bytfY8mGsClX07UaurJP73DuTuB+xds5EJrQdXBJnjTq I4WrO62BpHk8geTV6oY3xJ+0ypa0o+ZODbS3NNqJHo7gW0B5ar1LwjetzLbIf12LqpeM kSGBTtsu0BqGlkfDSRFklAh+IMONrOCSmzSxgLvUYBWMgaobNhhfsCBtGKF3WgOwGHEP xF5g== X-Gm-Message-State: AIkVDXIbC2JbO+1cHirgLWmXGuZfz+porO0H8YX1frT6BZSwVuyX85BmCkBZUactKUc7MVg0QS+UkrI33gHJfA== X-Received: by 10.194.145.197 with SMTP id sw5mr12232153wjb.156.1482132057657; Sun, 18 Dec 2016 23:20:57 -0800 (PST) Original-Received: by 10.80.135.165 with HTTP; Sun, 18 Dec 2016 23:20:57 -0800 (PST) In-Reply-To: <87pokpnn7b.fsf@bzg.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c01::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210619 Archived-At: --089e012285beceae980543fdc268 Content-Type: text/plain; charset=UTF-8 On 19 December 2016 at 01:47, Bastien Guerry wrote: > There is still the more general problem of linking to a library hosted > on Google's servers. > > For example, the resulting HTML would contain these links: > > https://storage.googleapis.com/app.klipse.tech/css/codemirror.css > https://storage.googleapis.com/app.klipse.tech/plugin_ > prod/js/klipse_plugin.min.js Wouldn't it make more sense to simply include these files in the package? I can imagine it could be quite annoying to be on a plane when exporting a HTML file and not being able to use the result just because one doesn't have any Internet connectivity. --089e012285beceae980543fdc268 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable --089e012285beceae980543fdc268-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 09:06:34 +0100 Message-ID: <87lgvc8hrp.fsf@bzg.fr> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> 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 1482134829 26753 195.159.176.226 (19 Dec 2016 08:07:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 08:07:09 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) Cc: Richard Stallman , emacs-devel To: Elias =?utf-8?Q?M=C3=A5rtenson?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 09:06:56 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cIsyF-0004pK-KB for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 09:06:55 +0100 Original-Received: from localhost ([::1]:43953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIsyI-0002ph-Gn for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 03:06:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIsyD-0002pR-6p for emacs-devel@gnu.org; Mon, 19 Dec 2016 03:06:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIsyC-0005FU-6e for emacs-devel@gnu.org; Mon, 19 Dec 2016 03:06:53 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIsy5-0005BF-4P; Mon, 19 Dec 2016 03:06:45 -0500 Original-Received: from [78.192.157.63] (port=38310 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cIsxx-0003pr-3M; Mon, 19 Dec 2016 03:06:37 -0500 Original-Received: by bzg.fr (Postfix, from userid 1000) id 3AA0D38BABA; Mon, 19 Dec 2016 09:06:34 +0100 (CET) In-Reply-To: ("Elias =?utf-8?Q?M=C3=A5rtenson=22's?= message of "Mon, 19 Dec 2016 15:20:57 +0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210620 Archived-At: Hi Elias, Elias M=C3=A5rtenson writes: > On 19 December 2016 at 01:47, Bastien Guerry wrote: > > There is still the more general problem of linking to a library > hosted > on Google's servers. >=20=20=20=20 > For example, the resulting HTML would contain these links: >=20=20=20=20 > https://storage.googleapis.com/app.klipse.tech/css/codemirror.css > https://storage.googleapis.com/app.klipse.tech/plugin_prod/js/ > klipse_plugin.min.js > > Wouldn't it make more sense to simply include these files in the > package? Yes, why not. But I'd like to find a solution for users who are not currently in a plane too. So I really need to understand whether it is acceptable for a free software to link to a GPLv3-licensed+librejs-accepted javascript library on a Google server. --=20 Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 16:46:57 +0800 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1145a8365fdf630543fef6b3 X-Trace: blaine.gmane.org 1482137266 30913 195.159.176.226 (19 Dec 2016 08:47:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 08:47:46 +0000 (UTC) Cc: Richard Stallman , emacs-devel To: Bastien Guerry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 09:47:38 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cItbc-0006O2-Dy for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 09:47:36 +0100 Original-Received: from localhost ([::1]:44049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cItbg-0002nL-UA for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 03:47:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cItb6-0002nG-2M for emacs-devel@gnu.org; Mon, 19 Dec 2016 03:47:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cItb5-0004xP-Ab for emacs-devel@gnu.org; Mon, 19 Dec 2016 03:47:04 -0500 Original-Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:36864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cItb1-0004uj-70; Mon, 19 Dec 2016 03:46:59 -0500 Original-Received: by mail-wm0-x234.google.com with SMTP id t79so94152820wmt.0; Mon, 19 Dec 2016 00:46:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fMUrke224dyocE6+wsjRAld2ZVOXnWqiEz22x0yES4Q=; b=caQW3z0ikMnHpIdJ2f5wqUlGhXaoQ0hFMGa78ZX59ram9CLxhqAepRDC1PATyXtR1X +dyMrb8dPkKkZfVV8gtLSBs8am3iU5yvTCMHui6KAYrAjXJ9YPkXa8ueG+jmd8fxOksi G3DVvfVVPgxJM0PjW39tlUOdADBN2UJPNIXb7RxZqt2EOtXhCRz0CLZocMZzQllMYT5i eZtO1haSJJXv9PxLcTKxr4xoajRPyC4FK3COB6W0EbDcl5hAkcKt+HZhgBq2bE5bTj8s 0UN6p9OEqRURR8GBwjFhXOFQ0LLDx4HS45YIKu88f6tMt2lPypeXC07tC04Zq/0nsUT8 yanQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fMUrke224dyocE6+wsjRAld2ZVOXnWqiEz22x0yES4Q=; b=LW8iPRAllPt5eSTIPz1BSRLrWqhRSBK3THQR+fGNQjOwKIuXSJJSAeQmnTCSKpmsgw sUQNsNOlCrJGcxISLhKMvGDvSWBubq3+8L9YXAOd3BRj5lh9dN2BoeRi0lp3itEqw64+ Nqo5kUIs78PHHikO7/XGRMAo+Jy1qyFLunU+B6UjFEgHGj5T9U94Wl7Wp6fL7/WICnHo o9gwZJdAkabJpC9ap4f7tKaVdnfTHuyNUcx/ekrfh6Ia0Z2h6uhakZnZ8gZz7HH9V2zF 31lffmkAe9SCYgafCTIU0V0dOVe2uYYVJaVlPs40jZgC1M0xX9XtklS7DjQRty4XT8xn ahXw== X-Gm-Message-State: AIkVDXJgUiAUEeg+ylkVLYLEldjaQW4WkEqR0OSOCzFLSPlptjapW2BX9uy2WwI6FNFlJ8LH1PdWd8JCzYaI5w== X-Received: by 10.28.20.70 with SMTP id 67mr11787538wmu.102.1482137217783; Mon, 19 Dec 2016 00:46:57 -0800 (PST) Original-Received: by 10.80.135.165 with HTTP; Mon, 19 Dec 2016 00:46:57 -0800 (PST) In-Reply-To: <87lgvc8hrp.fsf@bzg.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210621 Archived-At: --001a1145a8365fdf630543fef6b3 Content-Type: text/plain; charset=UTF-8 On 19 December 2016 at 16:06, Bastien Guerry wrote: > > But I'd like to find a solution for users who are not currently in a > plane too. > > So I really need to understand whether it is acceptable for a free > software to link to a GPLv3-licensed+librejs-accepted javascript > library on a Google server. But if you solve the problem for people on airplanes, then it's be solved for everybody else since there will be no need to download anything from a Google server, or did I completely misunderstand what this tool does? --001a1145a8365fdf630543fef6b3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 1= 9 December 2016 at 16:06, Bastien Guerry <bzg@gnu.org> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">
But I'd like to find a solution for users who are not currently in a plane too.

So I really need to understand whether it is acceptable for a free
software to link to a GPLv3-licensed+librejs-accepted javascript
library on a Google server.

But if you solv= e the problem for people on airplanes, then it's be solved for everybod= y else since there will be no need to download anything from a Google serve= r, or did I completely misunderstand what this tool does?=C2=A0
=
--001a1145a8365fdf630543fef6b3-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 08:07:52 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482152899 7704 195.159.176.226 (19 Dec 2016 13:08:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 13:08:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bastien Guerry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 14:08:14 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cIxfn-0000YB-DO for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 14:08:11 +0100 Original-Received: from localhost ([::1]:45327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxfq-0000lD-6F for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 08:08:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxfY-0000hU-SC for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:08:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIxfU-0007za-Kg for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:07:56 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIxfU-0007zP-H4 for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:07:52 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cIxfU-0001bm-0A; Mon, 19 Dec 2016 08:07:52 -0500 In-reply-to: <87pokpnn7b.fsf@bzg.fr> (message from Bastien Guerry on Sun, 18 Dec 2016 18:47:52 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210625 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > When a user exports an org-mode buffer to HTML, the HTML output can > contain links to external Javascript libraries. I see. > We solved one of the problems by asking the author of the klipse > Javascript library to release it in a way that librejs accepts. That will eliminate one problem for all the web pages that use klipse, so it is a good thing. > There is still the more general problem of linking to a library hosted > on Google's servers. That's the issue. I don't think we should output references to a library to be loaded directly off anyone's server. (Google is no worse or better than anyone else.) > Klipse is a Javascript library which allows to interpret a program > within a HTML page. Does this mean it contains a Scheme interpreter written in Javascript? Why in the world do we want Emacs to output such a thing??? > This is not about *visiting* a server, it's about using a resource on > a server (in this case, the klipse.js library). Yes, I know -- but either way it is directing the user to run software off a specific server, and that's the issue. > It seems to me that the point of librejs is precisely to be able to > trust js code, even if it's not hosted on your server. It avoids running nonfree software, but that still doesn't make things entirely right. Users should decide which version of a program to run, not follow someone's decisions automatically. > Wouldn't it make more sense to simply include these files in the package? I > can imagine it could be quite annoying to be on a plane when exporting a > HTML file and not being able to use the result just because one doesn't > have any Internet connectivity. That's another reason not to load files from a server. > Asking users to download klipse.js and use it on their own servers? That would certainly solve the problem. But I still have to ask, why in the world do we want Emacs to output such a thing??? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 08:44:24 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482155086 2139 195.159.176.226 (19 Dec 2016 13:44:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 13:44:46 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 14:44:42 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cIyF7-0008Hm-1b for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 14:44:41 +0100 Original-Received: from localhost ([::1]:45639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIyFB-0007oV-JO for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 08:44:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cIyF5-0007oE-10 for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:44:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cIyF0-00010F-GJ for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:44:39 -0500 Original-Received: from [195.159.176.226] (port=38025 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cIyF0-0000xt-AW for emacs-devel@gnu.org; Mon, 19 Dec 2016 08:44:34 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cIyEr-0005ui-QE for emacs-devel@gnu.org; Mon, 19 Dec 2016 14:44:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 10 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:/i3/ihNhuCd6PcQ5eFKsbu6NNHU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210630 Archived-At: > So I really need to understand whether it is acceptable for a free > software to link to a GPLv3-licensed+librejs-accepted javascript > library on a Google server. I think as long as this URL is not fetched automatically in unexpected circumstances, I think it's fine, yes. I.e. given that it's Free, the main remaining issues are convenience and privacy. Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 17:32:19 +0100 Message-ID: <878trb517w.fsf@bzg.fr> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> 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 1482165290 23990 195.159.176.226 (19 Dec 2016 16:34:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 16:34:50 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) Cc: Richard Stallman , emacs-devel To: Elias =?utf-8?Q?M=C3=A5rtenson?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 17:34:42 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJ0te-0004kG-0T for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 17:34:42 +0100 Original-Received: from localhost ([::1]:46497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ0th-0000KU-TI for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 11:34:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ0re-0007K1-08 for emacs-devel@gnu.org; Mon, 19 Dec 2016 11:32:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ0rc-000301-UO for emacs-devel@gnu.org; Mon, 19 Dec 2016 11:32:37 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ0rV-0002uS-4C; Mon, 19 Dec 2016 11:32:29 -0500 Original-Received: from [78.192.157.63] (port=38690 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cJ0rN-0006M2-TG; Mon, 19 Dec 2016 11:32:22 -0500 Original-Received: by bzg.fr (Postfix, from userid 1000) id 2D9DD38BA87; Mon, 19 Dec 2016 17:32:19 +0100 (CET) In-Reply-To: ("Elias =?utf-8?Q?M=C3=A5rtenson=22's?= message of "Mon, 19 Dec 2016 16:46:57 +0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210642 Archived-At: Hi Elias, Elias M=C3=A5rtenson writes: > But if you solve the problem for people on airplanes, then it's be > solved for everybody else since there will be no need to download > anything from a Google server, or did I completely misunderstand what > this tool does? If everybody uses the resulting HTML on its own computer, then the problem is solved: the HTML refers to a local klipse.js libarary that the user can freely use. But I expect most people want to put the resulting HTML somewhere on a web server. In this case, they might find useful to use klipse.js by linking to the location of that library. I'm not opposed to the "host-everything-you-can" solution but I need to understand what are the conditions for linking to an external javascript library, provided that this library is GLPv3, passes the librejs tests successfully, and is hosted on Google's server. --=20 Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 11:52:02 -0500 Message-ID: <2b6ba313-478f-9863-e572-5ce9dd7200f1@gmail.com> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Wt1dHVHukvt7Qfo9j8NO0AIvrO6JxJSqF" X-Trace: blaine.gmane.org 1482166681 25114 195.159.176.226 (19 Dec 2016 16:58:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 16:58:01 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 17:57:58 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJ1G6-0005D0-MF for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 17:57:54 +0100 Original-Received: from localhost ([::1]:46681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ1G9-0007SP-JB for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 11:57:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ1Ab-0001pj-JQ for emacs-devel@gnu.org; Mon, 19 Dec 2016 11:52:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ1AY-0005Yj-FZ for emacs-devel@gnu.org; Mon, 19 Dec 2016 11:52:13 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.131]:60905) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJ1AY-0005YP-5b for emacs-devel@gnu.org; Mon, 19 Dec 2016 11:52:10 -0500 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.168]) with ESMTPSA (Nemesis) id 0M3O8y-1cap8S1iCm-00r21o for ; Mon, 19 Dec 2016 17:52:08 +0100 In-Reply-To: <878trb517w.fsf@bzg.fr> X-Provags-ID: V03:K0:N7QSQZU7aIUslIti1SEFRTy7tNzIjbR9DLacWusz09vhWrqPxRH HR1+eeW0m7xV7tYjBokO/RcHSZG5qq/3TieOILF4TKEqv9gHJHyzN+mxtRBNu46nMpFiBMB bx1yDWck8nL1cUSmEOU17OTBuFF4mt6vQXDj/Rj2JuLjMovm76lIMG+xdk9ng2a/O8HPr98 dSO0Ie8aWopBg7u6cMu6Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:mA4mAtgPbuY=:w9wbSUmsx3TLNxNAk1rxa+ kQgKgGl8Ay8e6OboT5OKsoXWheXYWz1NHzEgL3V6QqkJPnzT98tGikRx5FL14CUDDNW5XtTIp CLpqu16AfquirpS9nb1JzEb8DL8hgAk5JNDQTP0r4eYOwjO8YRWzPUmLAttChJ2+zIk8PO2mr wGa9zbHXt6YABTng3WBij+iMuWTdX6RgD32dcfCnMI/sYub3tl3nVDxgYPp30MqfiTycRJZTS LQee4l6bPgJm7tyB7z9UUX77DOEEdNxuaOhiFeMjFK5VV4BJrvxyshuVtWkY5brSIsDzS2ilj VU8fahwaotpvPSiPmkRIxcP6PaT8TLBto/m4f/Kfo3obpDIs/WHCxOGB8MmNvdtley4rPhv1F aJuTiORhUYP40KmzjnEzOxEod2NeVghTC+GfpcFuIhrQW12YpBxTy+zTpUBrgE4p/nLXfUpxy WDwAhpWgps7Cze7U5KaYpAnPzmYReIWheO4CAmkv1Qg6NOkohMUcabKr6+mq3w8AECqSJLymm YMCh+gkXEPaj7VXhL7l6Tq99CHNnsIcSXjj6L2PXyhOma/ZBJvGh+a8k0hTctSl3ZXeKlR1Nv UJw4sINMGjQ77MJJpywULHKYqbhMLepaJ9P9uLCiGWqYA6jg+urHRow6BKaBRjs4dktlNFzYQ JrrMwa9ABkBAq5eAu9lHizwd287Zpi1/4N88gnTXH1KngW6IptaXvTB/2Idq5MSnMjF4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.131 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210643 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Wt1dHVHukvt7Qfo9j8NO0AIvrO6JxJSqF Content-Type: multipart/mixed; boundary="oA0NnmO4EDwkrcW9MkpDf7XOrxsGwK1uh"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <2b6ba313-478f-9863-e572-5ce9dd7200f1@gmail.com> Subject: Re: Condition to link to javascript code? References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> In-Reply-To: <878trb517w.fsf@bzg.fr> --oA0NnmO4EDwkrcW9MkpDf7XOrxsGwK1uh Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-12-19 11:32, Bastien Guerry wrote: > I'm not opposed to the "host-everything-you-can" solution but I need > to understand what are the conditions for linking to an external > javascript library, provided that this library is GLPv3, passes the > librejs tests successfully, and is hosted on Google's server. Legally, it's entirely fine. Ethically, it would be nice to include a us= er-configurable variable, so that users can configure Org-mode to export = a version of the HTML code that uses a self-hosted copy of Klipse. Cl=C3=A9ment. --oA0NnmO4EDwkrcW9MkpDf7XOrxsGwK1uh-- --Wt1dHVHukvt7Qfo9j8NO0AIvrO6JxJSqF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYWBAyAAoJEPqg+cTm90wjSQkP+QFAG4ehdq47GzIKx8IfbXs+ EYwfi0YZSDxH8U1JN0tyLZQfEV7oOJxjWwTMFlKL6YysU1JtzwlBq1sJgx/0yRvK Mlf7/nePVpkvkE7meAW4shgbp9+ML5VUO23iz1wlX7BvgU0P1b/0BSVpzgibGVOd BLgME3NYIcJTw0wCApAu2e8wnnZEF9daP5S25cGCMLf/RZ7zcQXTUzysg8n0QIwA e5a39Pb8VtWfMgq2yiZP+iLYC2IipLjN5/V5MRE2RvYcpYVEQ9Kp3U7PYVO9dS41 Tk27PqfxJk8qkaC+iov38VspWCq872K+y4wDMNX7vWcHFRJqda3nTiBF0dWKWV2d ygd9c5BdxY9drD219rYT3OB6h7uw3rlDdEfhqGJISnbdUQgywMehlQuXGZb88o6x jHvdosGjJ01kdkhlPWlKIMObZO/85z7QtpBoihFd7DMvw/Kgq8eCA865ao3c9IHu KMGbqR3vH4Ff8xyNJwfyJRe6GEUiHmg/AInWLyJTbVxwavAkHEbt4wNDwgRE9s4r gVD8mp7rJ6VaJxCCwq4PM3iqMeYkZ25DbWO0LmcC0OADnJRk6rOo0G6u3QKZs5E9 8jsuidyu8F69yzloLW4sevfxnjeEPnmZFm7zIMVg3NEpycqOfKN0z3dZHeP1zIMn ez/7cpBqB7S974dTXDoz =5Wkg -----END PGP SIGNATURE----- --Wt1dHVHukvt7Qfo9j8NO0AIvrO6JxJSqF-- From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bastien Guerry Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Mon, 19 Dec 2016 18:01:59 +0100 Message-ID: <87h95z3la0.fsf@bzg.fr> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482167204 1809 195.159.176.226 (19 Dec 2016 17:06:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Dec 2016 17:06:44 +0000 (UTC) User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 19 18:06:40 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJ1OZ-00082D-TR for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 18:06:40 +0100 Original-Received: from localhost ([::1]:46862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ1Oc-0006Wk-HD for ged-emacs-devel@m.gmane.org; Mon, 19 Dec 2016 12:06:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ1KK-0004AN-4x for emacs-devel@gnu.org; Mon, 19 Dec 2016 12:02:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ1KG-0002ZZ-5n for emacs-devel@gnu.org; Mon, 19 Dec 2016 12:02:16 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ1KG-0002ZU-2d for emacs-devel@gnu.org; Mon, 19 Dec 2016 12:02:12 -0500 Original-Received: from [78.192.157.63] (port=38808 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cJ1K6-0007Ta-7l; Mon, 19 Dec 2016 12:02:02 -0500 Original-Received: by bzg.fr (Postfix, from userid 1000) id A22B338BA8E; Mon, 19 Dec 2016 18:01:59 +0100 (CET) In-Reply-To: (Richard Stallman's message of "Mon, 19 Dec 2016 08:07:52 -0500") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210644 Archived-At: Hi Richard, thanks for your answer. So we won't let org-mode output HTML links to a Javascript library hosted on someone else's server. Note that we already do this in org-mode for two Javascript libraries: - info.js hosted on http://orgmode.org/org-info.js - MathJax.js hosted on http://cdn.mathjax.org/mathjax/latest/MathJax.js So I guess we have to remove these links too? Richard Stallman writes: > That would certainly solve the problem. But I still have to ask, > why in the world do we want Emacs to output such a thing??? Many users use org-mode to create web pages. Some of these web pages are about programming. Embedding a Scheme interpreter written in Javascript* in these pages is a nice way of demonstrating how Scheme works: the web page reader can read the code, modify it and evaluate it. * http://www.biwascheme.org is the Javascript Scheme interpreter used by the Klipse library. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Tue, 20 Dec 2016 13:15:14 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482257755 18156 195.159.176.226 (20 Dec 2016 18:15:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2016 18:15:55 +0000 (UTC) Cc: lokedhs@gmail.com, emacs-devel@gnu.org To: Bastien Guerry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 20 19:15:44 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJOwu-0002hU-RI for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2016 19:15:40 +0100 Original-Received: from localhost ([::1]:52832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJOwz-0004pl-CV for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2016 13:15:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJOwZ-0004dF-Qa for emacs-devel@gnu.org; Tue, 20 Dec 2016 13:15:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJOwY-0002rI-Sy for emacs-devel@gnu.org; Tue, 20 Dec 2016 13:15:19 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJOwV-0002pH-Al; Tue, 20 Dec 2016 13:15:15 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cJOwU-0000w4-77; Tue, 20 Dec 2016 13:15:14 -0500 In-reply-to: <878trb517w.fsf@bzg.fr> (message from Bastien Guerry on Mon, 19 Dec 2016 17:32:19 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210667 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > If everybody uses the resulting HTML on its own computer, then the > problem is solved: the HTML refers to a local klipse.js libarary that > the user can freely use. That's the case I had in mind. But maybe I was mistaken. > But I expect most people want to put the resulting HTML somewhere on > a web server. In this case, they might find useful to use klipse.js > by linking to the location of that library. Is this feature mainly intended for exporting HTML to put on a server for others to visit? That does make sense, finally. If it's a choice between linking to klipse.js on the same server and linking to klipse.js on the Google server, I see no particular ethical reason to prefer one or the other. The ethical issue that does arise here is that it would be good to give the user the power to optionally select a (perhaps modified) version of klisp.js to use. Is that possible? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Tue, 20 Dec 2016 13:16:19 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87h95z3la0.fsf@bzg.fr> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482257801 11638 195.159.176.226 (20 Dec 2016 18:16:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2016 18:16:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bastien Guerry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 20 19:16:37 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJOxo-0002BL-3K for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2016 19:16:36 +0100 Original-Received: from localhost ([::1]:52836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJOxs-0005RG-Iv for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2016 13:16:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJOxZ-0005Jw-CK for emacs-devel@gnu.org; Tue, 20 Dec 2016 13:16:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJOxY-0003KL-74 for emacs-devel@gnu.org; Tue, 20 Dec 2016 13:16:21 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJOxY-0003KF-3q for emacs-devel@gnu.org; Tue, 20 Dec 2016 13:16:20 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cJOxX-000151-HK; Tue, 20 Dec 2016 13:16:19 -0500 In-reply-to: <87h95z3la0.fsf@bzg.fr> (message from Bastien Guerry on Mon, 19 Dec 2016 18:01:59 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210668 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > So we won't let org-mode output HTML links to a Javascript library > hosted on someone else's server. > Note that we already do this in org-mode for two Javascript libraries: > - info.js hosted on http://orgmode.org/org-info.js > - MathJax.js hosted on http://cdn.mathjax.org/mathjax/latest/MathJax.js > So I guess we have to remove these links too? Since you pointed out that the reason to make these files is to post them on web sites for other people to visit, I've reconsidered that conclusion. In this scenario, there is nothing essentially wrong with loading free JS from whichever site it might be. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Tue, 20 Dec 2016 12:10:23 -0700 Organization: XCP-1 Message-ID: <3a6a7a07-abd2-f8d0-2123-8aceaedf4ee5@lanl.gov> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482261040 23617 195.159.176.226 (20 Dec 2016 19:10:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2016 19:10:40 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 Cc: lokedhs@gmail.com, emacs-devel@gnu.org To: Richard Stallman , Bastien Guerry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 20 20:10:37 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJPo4-0005QJ-IP for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2016 20:10:36 +0100 Original-Received: from localhost ([::1]:53049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJPo8-0005Y5-Ns for ged-emacs-devel@m.gmane.org; Tue, 20 Dec 2016 14:10:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJPnz-0005Xz-MG for emacs-devel@gnu.org; Tue, 20 Dec 2016 14:10:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJPnv-0005nY-Kx for emacs-devel@gnu.org; Tue, 20 Dec 2016 14:10:31 -0500 Original-Received: from proofpoint4.lanl.gov ([2001:400:4210:400::a4]:40056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJPnv-0005mZ-C4 for emacs-devel@gnu.org; Tue, 20 Dec 2016 14:10:27 -0500 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailgate4.lanl.gov (8.15.0.59/8.15.0.59) with ESMTP id uBKJAN30004593; Tue, 20 Dec 2016 12:10:23 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id CD41614420F1; Tue, 20 Dec 2016 12:10:23 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from bismuth.lanl.gov (bismuth.lanl.gov [128.165.246.103]) by mailrelay1.lanl.gov (Postfix) with ESMTP id B27C114420E6; Tue, 20 Dec 2016 12:10:23 -0700 (MST) In-Reply-To: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.154, 1.0.8, 0.0.0000 definitions=2016-12-20_14:2016-12-20, 2016-12-20, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2001:400:4210:400::a4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210671 Archived-At: > If it's a choice between linking to klipse.js on the same server > and linking to klipse.js on the Google server, I see no particular > ethical reason to prefer one or the other. Are you concerned about the XSS possibilities if the other host (Google in this case) decided to change the JavaScript served at the well-known address to take advantage of its inclusion in a webpage with a security context? Certainly the use of "standard" JavaScript libraries loaded from foreign servers is commonplace, but I think the security concern is at least worth considering (unless I completely misunderstand it). Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rasmus Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Wed, 21 Dec 2016 12:28:52 +0100 Message-ID: <87oa05h66j.fsf@gmx.us> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1482319815 29359 195.159.176.226 (21 Dec 2016 11:30:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2016 11:30:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 21 12:30:06 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJf5p-0005at-9n for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2016 12:29:57 +0100 Original-Received: from localhost ([::1]:56359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJf5s-0006S7-6S for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2016 06:30:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJf5K-0006Ry-0G for emacs-devel@gnu.org; Wed, 21 Dec 2016 06:29:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJf5G-0004lD-1N for emacs-devel@gnu.org; Wed, 21 Dec 2016 06:29:26 -0500 Original-Received: from [195.159.176.226] (port=59690 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJf5F-0004ki-Qr for emacs-devel@gnu.org; Wed, 21 Dec 2016 06:29:21 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cJf4t-0007xr-CM for emacs-devel@gnu.org; Wed, 21 Dec 2016 12:28:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEX+/v7f3+CTk5O/v8C/ wMHPz8+fn6Cvr7C/wL92dXahoZ/AwL9MTEyAgH9gX19+f4AwLzN/gIBRedkoAAAACXBIWXMAAABI AAAASABGyWs+AAABfUlEQVRIDd3B0VbbQBBEwdstzYx3BYL8/88GYTCytD5xHpMq/gGyp5m/EInK xfMs4JLBs9TYZOdZ0diExZOisVHjGVGhamyi8UCJb2qVruTT1BkKZ4ovZsdiJJJwcBVN3CgZagJP fPHCTQYjaoIsNmEXNzInilryRZAFyGIvxUG89mmeJwFZgIM9JQc9uXEA6YUdc1S+iC/mgxs7FRwo X1ZxNRfQ2FNxr79N4qYL5IUdc68He1MIWvAjxR3ZYk9C4keKg7k1u4sHOiOqtTMiOg8EI9mCxyRO ojkYirf1tVmcRDaBOPAaHElsZidKcW9loAKIjGRdm8VeFQNeyjlX87unEDeKOV5Wzpa2CGaxF79a a3YWZ9E5m9bgEQcDsvsiBi5mLPz+xtnUxICytRQnYTMg58KZyilGmjgLu8RYBgfKluJKTRyVS3yR FjsnvskhdAlXEWGuFOXszp5pX4KdFIKoJYJ7+sTRpap6Zs+Ne9XCn+hDzDEvl6k24j/wGxJYCCwe kUkPAAAAAElFTkSuQmCC Cancel-Lock: sha1:Za5wZaC3vNhpcgoDhpAYrDoQfj0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210689 Archived-At: Hi, Richard Stallman writes: > > But I expect most people want to put the resulting HTML somewhere on > > a web server. In this case, they might find useful to use klipse.js > > by linking to the location of that library. > > Is this feature mainly intended for exporting HTML to put on > a server for others to visit? That does make sense, finally. Yes, it’s meant for exporting a Org file so other people can read it. In a recent example, an author was using the setup for publishing his induction notes for programming for students on his website. > If it's a choice between linking to klipse.js on the same server > and linking to klipse.js on the Google server, I see no particular > ethical reason to prefer one or the other. OK. > The ethical issue that does arise here is that it would be good to > give the user the power to optionally select a (perhaps modified) > version of klisp.js to use. Is that possible? Yes, it's just the default value of a defcustom. You can change it to point to whichever version you like — even on a file-by-file basis, I think. Rasmus -- One thing that is clear: it's all down hill from here From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Wed, 21 Dec 2016 12:14:40 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <3a6a7a07-abd2-f8d0-2123-8aceaedf4ee5@lanl.gov> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482340504 24096 195.159.176.226 (21 Dec 2016 17:15:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2016 17:15:04 +0000 (UTC) Cc: bzg@gnu.org, lokedhs@gmail.com, emacs-devel@gnu.org To: Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 21 18:14:54 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJkTd-0004wa-PJ for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2016 18:14:53 +0100 Original-Received: from localhost ([::1]:58147 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJkTf-0000LY-3A for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2016 12:14:55 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJkTZ-0000LG-1R for emacs-devel@gnu.org; Wed, 21 Dec 2016 12:14:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJkTY-0002RL-2Z for emacs-devel@gnu.org; Wed, 21 Dec 2016 12:14:49 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJkTR-0002Lq-Kg; Wed, 21 Dec 2016 12:14:41 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cJkTQ-0004cJ-8q; Wed, 21 Dec 2016 12:14:40 -0500 In-reply-to: <3a6a7a07-abd2-f8d0-2123-8aceaedf4ee5@lanl.gov> (message from Davis Herring on Tue, 20 Dec 2016 12:10:23 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210698 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > Certainly the use of "standard" JavaScript libraries loaded from foreign > servers is commonplace, but I think the security concern is at least > worth considering (unless I completely misunderstand it). I am no expert on that issue, so I defer to those who are. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Wed, 21 Dec 2016 12:18:38 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1482340778 13741 195.159.176.226 (21 Dec 2016 17:19:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 21 Dec 2016 17:19:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rasmus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 21 18:19:34 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJkY5-0002Tm-2l for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2016 18:19:29 +0100 Original-Received: from localhost ([::1]:58166 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJkY9-00030R-Ln for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2016 12:19:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJkXL-0002st-Op for emacs-devel@gnu.org; Wed, 21 Dec 2016 12:18:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJkXK-0004ji-NV for emacs-devel@gnu.org; Wed, 21 Dec 2016 12:18:43 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJkXH-0004hY-Qe; Wed, 21 Dec 2016 12:18:39 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cJkXG-0005PT-Qt; Wed, 21 Dec 2016 12:18:38 -0500 In-reply-to: <87oa05h66j.fsf@gmx.us> (message from Rasmus on Wed, 21 Dec 2016 12:28:52 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210700 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > The ethical issue that does arise here is that it would be good to > > give the user the power to optionally select a (perhaps modified) > > version of klisp.js to use. Is that possible? > Yes, it's just the default value of a defcustom. You can change it to > point to whichever version you like — even on a file-by-file basis, I > think. We are miscommunicating. The defcustom can be set by the person who generates the HTML file and posts it. But that's not who I mean by "the user." I'm talking about the user who visits that HTML file in a browser. That is who will run klisp.js, so that's who really should have control over which version of klisp.js to run. Is there a way to set that up? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Christopher Allan Webber Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Wed, 21 Dec 2016 21:13:53 -0600 Message-ID: <87fulgveoe.fsf@dustycloud.org> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1482376714 31281 195.159.176.226 (22 Dec 2016 03:18:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 03:18:34 +0000 (UTC) User-Agent: mu4e 0.9.16; emacs 25.1.1 Cc: Bastien Guerry , lokedhs@gmail.com, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 22 04:18:25 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cJttM-0006Ff-Su for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2016 04:18:04 +0100 Original-Received: from localhost ([::1]:60200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJttR-00028R-1M for ged-emacs-devel@m.gmane.org; Wed, 21 Dec 2016 22:18:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJtpR-0006Vo-Jh for emacs-devel@gnu.org; Wed, 21 Dec 2016 22:14:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJtpQ-0000VP-SX for emacs-devel@gnu.org; Wed, 21 Dec 2016 22:14:01 -0500 Original-Received: from dustycloud.org ([50.116.34.160]:57518) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJtpM-0000SP-Ud; Wed, 21 Dec 2016 22:13:57 -0500 Original-Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id DC68A26702; Wed, 21 Dec 2016 22:13:54 -0500 (EST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 50.116.34.160 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210723 Archived-At: Richard Stallman writes: > If it's a choice between linking to klipse.js on the same server > and linking to klipse.js on the Google server, I see no particular > ethical reason to prefer one or the other. There's one reason at least; using content from Google's servers can result in Google collecting information about what web pages people are visiting. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Rasmus Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Thu, 22 Dec 2016 11:24:07 +0100 Message-ID: <87y3z8feig.fsf@gmx.us> References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1482402326 4506 195.159.176.226 (22 Dec 2016 10:25:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 10:25:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 22 11:25:20 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cK0Yf-0007gW-St for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2016 11:25:09 +0100 Original-Received: from localhost ([::1]:33160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK0Yh-0000GR-DA for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2016 05:25:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK0Y3-0000FP-IQ for emacs-devel@gnu.org; Thu, 22 Dec 2016 05:24:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK0Xy-0002fa-5f for emacs-devel@gnu.org; Thu, 22 Dec 2016 05:24:31 -0500 Original-Received: from [195.159.176.226] (port=53350 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cK0Xx-0002eY-Un for emacs-devel@gnu.org; Thu, 22 Dec 2016 05:24:26 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cK0Xp-00026Y-WA for emacs-devel@gnu.org; Thu, 22 Dec 2016 11:24:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@blaine.gmane.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAAAAAByaaZbAAAAAmJLR0QA/4ePzL8AAAAJcEhZ cwAAAEgAAABIAEbJaz4AAAIDSURBVEjHhZbLlSUhDEMJR2EptZuQY5oFtjHF6zMsqhdtIfkn3rKx zf6TB9sGAxGRn/yuHYtty5I0UDgigyueZRt2/Dm2kjEiApMExstsOboAKkY7Am9dgFnGsO+3ksaF kCQTUcpsL88zEMbaFAUIbHn5qo9dKdhkEZrABZiIuj8pJHHud0rikSRLhp0CR4+sVeF8C2sHklQA 9j/W1HIdm/CpEhmynrsHB9FZcwD4b8DWQUDA7s6a9fHMwLYJu7KOHbVOffLbk2GbwEQE3WivHuyE ZBdy/nJMAwBka41NUAUmHBuC02dLlcPstaXDSFzx72gMdRswCLqsfBguSJWoEK+kMVW9cxtQDPwV P0YvyNntPtwQJcDdhvaIdRNw9d3HaHoV16OnK+5eT6Aao0UH8YXqVDUkEZZZlxoOSrOqIAmkYzMj E07imXQEsgtQVpq4NIeaLFrUXlHWlM9jB92HuPtAqz85jHhgNI7hG01Rm7cdtfQUwxk/hiV4OweU fXxshqume/a2Z/AD8OnB2D0J7NBH0ukxYxlqXfHFwHi0xvCN5gE3Qwfze09hSnpnome1HephqIS5 nL9eLs02aJ2U+eTQT9HMWcs/jtKclIIGwWzc97E7ZeV/DGe+/c25AHrDR1l1Aa7LXLmeFPQA9gOS z0hF9yMh4RvQy1Xj1jbWP1Tm+Qe9IHnKji7ROAAAAABJRU5ErkJggg== Cancel-Lock: sha1:58maDjbwCT5/ds45rk0n4cdoAOE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210731 Archived-At: Hi, Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > > The ethical issue that does arise here is that it would be good to > > > give the user the power to optionally select a (perhaps modified) > > > version of klisp.js to use. Is that possible? > > > Yes, it's just the default value of a defcustom. You can change it to > > point to whichever version you like — even on a file-by-file basis, I > > think. > > We are miscommunicating. Indeed. > The defcustom can be set by the person who generates the HTML file and > posts it. But that's not who I mean by "the user." > > I'm talking about the user who visits that HTML file in a browser. > That is who will run klisp.js, so that's who really should have > control over which version of klisp.js to run. If I have write-access to the html file then yes; the user can change the klipse.js URL in the header of the file. If it is read-only, as when published via to the web, then the user would need something like the Firefox addon "Decentraleyes" (I don’t know if it works with GNU IceCat): Protects you against tracking through "free", centralized, content delivery. It prevents a lot of requests from reaching networks like Google Hosted Libraries, and serves local files to keep sites from breaking. Complements regular content blockers. https://addons.mozilla.org/en-US/firefox/addon/decentraleyes/ > Is there a way to set that up? I would advocate a user solution like "Decentraleyes" that would work in general across pages. Regards, Rasmus -- It was you, Jezebel, it was you From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Thu, 22 Dec 2016 14:54:37 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87fulgveoe.fsf@dustycloud.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482436546 11245 195.159.176.226 (22 Dec 2016 19:55:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 19:55:46 +0000 (UTC) Cc: bzg@gnu.org, lokedhs@gmail.com, emacs-devel@gnu.org To: Christopher Allan Webber Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 22 20:55:38 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cK9Sg-0001fv-TK for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2016 20:55:35 +0100 Original-Received: from localhost ([::1]:35966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9Sl-0007V0-6x for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2016 14:55:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9Ru-0007T0-UE for emacs-devel@gnu.org; Thu, 22 Dec 2016 14:54:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK9Ru-0001X7-3o for emacs-devel@gnu.org; Thu, 22 Dec 2016 14:54:47 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9Ro-0001UM-QB; Thu, 22 Dec 2016 14:54:40 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cK9Rl-0006Lz-4Z; Thu, 22 Dec 2016 14:54:37 -0500 In-reply-to: <87fulgveoe.fsf@dustycloud.org> (message from Christopher Allan Webber on Wed, 21 Dec 2016 21:13:53 -0600) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210742 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > If it's a choice between linking to klipse.js on the same server > > and linking to klipse.js on the Google server, I see no particular > > ethical reason to prefer one or the other. > There's one reason at least; using content from Google's servers can > result in Google collecting information about what web pages people are > visiting. Some other server might also collect data. Also, is klipse.js likely to stay in the cache for a long time? If so, whichever server it is will only find out the first time someone gets klipse.js. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Thu, 22 Dec 2016 14:56:23 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> <87y3z8feig.fsf@gmx.us> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1482436654 26641 195.159.176.226 (22 Dec 2016 19:57:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Dec 2016 19:57:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Rasmus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 22 20:57:27 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cK9US-0005mR-8G for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2016 20:57:24 +0100 Original-Received: from localhost ([::1]:35987 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9UW-0000Fn-SC for ged-emacs-devel@m.gmane.org; Thu, 22 Dec 2016 14:57:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9TX-0000BY-SG for emacs-devel@gnu.org; Thu, 22 Dec 2016 14:56:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cK9TX-0002fC-25 for emacs-devel@gnu.org; Thu, 22 Dec 2016 14:56:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cK9TU-0002dJ-Fl; Thu, 22 Dec 2016 14:56:24 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cK9TT-000727-U6; Thu, 22 Dec 2016 14:56:24 -0500 In-reply-to: <87y3z8feig.fsf@gmx.us> (message from Rasmus on Thu, 22 Dec 2016 11:24:07 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210743 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > I'm talking about the user who visits that HTML file in a browser. > > That is who will run klisp.js, so that's who really should have > > control over which version of klisp.js to run. > If I have write-access to the html file then yes; the user can change the > klipse.js URL in the header of the file. In the general case, users who visit a web page in the browser do not have write access to it on the server. I'm concerned about that general case. Could you put some JS code into the page that would give the user a way to specify a different URL for klipse.js? Perhaps that could be stored in a cookie or something else in the browser. Regarding Decentraleyes: > If it is read-only, as when > published via to the web, then the user would need something like the > Firefox addon "Decentraleyes" (I don’t know if it works with GNU IceCat): Maybe it is a good solution, but I can't tell from what you sent. Can you show me a clearer description of what features this addon actually has? I can't tell what this description implies > Protects you against tracking through "free", centralized, content > delivery. It prevents a lot of requests from reaching networks like > Google Hosted Libraries, and serves local files to keep sites from > breaking. Complements regular content blockers. in regard to klipse.js. Also, is Decentraleyes free software? What is its license? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Fri, 23 Dec 2016 14:33:19 +0100 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87fulgveoe.fsf@dustycloud.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482500034 24801 195.159.176.226 (23 Dec 2016 13:33:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2016 13:33:54 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 23 14:33:50 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cKPyn-0005iQ-Ch for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 14:33:49 +0100 Original-Received: from localhost ([::1]:39248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKPys-0000ea-14 for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 08:33:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKPyh-0000eC-8p for emacs-devel@gnu.org; Fri, 23 Dec 2016 08:33:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKPyb-0005Mk-6H for emacs-devel@gnu.org; Fri, 23 Dec 2016 08:33:43 -0500 Original-Received: from [195.159.176.226] (port=55414 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKPya-0005MW-Vf for emacs-devel@gnu.org; Fri, 23 Dec 2016 08:33:37 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cKPyR-00038N-BH for emacs-devel@gnu.org; Fri, 23 Dec 2016 14:33:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@blaine.gmane.org In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210751 Archived-At: Am 22.12.2016 um 20:54 schrieb Richard Stallman: > Also, is klipse.js likely to stay in the cache for a long time? > If so, whichever server it is will only find out the first time > someone gets klipse.js. That's a commonly held misconception. Most CDN that use long cache expirations (a year is commonly seen) have separate mechanisms in place to ensure that the cached copy can be replaced/updated before expiration. The CDN server will generally get at least one HEAD request for each vist, even if the cached copy for most or all of the actual library content is getting used in the end. -- Achim. (on the road :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Fri, 23 Dec 2016 14:40:18 +0100 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> <87y3z8feig.fsf@gmx.us> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482500452 19526 195.159.176.226 (23 Dec 2016 13:40:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2016 13:40:52 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 23 14:40:48 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cKQ5W-00048k-9R for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 14:40:46 +0100 Original-Received: from localhost ([::1]:39267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKQ5a-000246-U3 for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 08:40:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKQ5U-000241-5C for emacs-devel@gnu.org; Fri, 23 Dec 2016 08:40:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKQ5P-0000UJ-An for emacs-devel@gnu.org; Fri, 23 Dec 2016 08:40:44 -0500 Original-Received: from [195.159.176.226] (port=39664 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKQ5P-0000Tl-3v for emacs-devel@gnu.org; Fri, 23 Dec 2016 08:40:39 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cKQ5F-0002Nb-M0 for emacs-devel@gnu.org; Fri, 23 Dec 2016 14:40:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 53 Original-X-Complaints-To: usenet@blaine.gmane.org In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210752 Archived-At: Am 22.12.2016 um 20:56 schrieb Richard Stallman: > Could you put some JS code into the page that would give the user > a way to specify a different URL for klipse.js? Perhaps that could > be stored in a cookie or something else in the browser. You could do that by rewriting the page into the form that is then ultimately displayed in the browser. But I don't consider that a good solution as the user doesn't know what's going to happen before trying to use the file (and not at all if the respective cookie already exists, which the user might have forgotten about or has been dropped in from somewhere). > Maybe it is a good solution, but I can't tell from what you sent. > Can you show me a clearer description of what features this addon > actually has? Basically, it intercepts requests to several CDN and delivers those files from a local repository (delivered with the extension) instead. You can configure it to block requests to those CDN altogether even when the requested file is not locally available. It doesn't cache anything not available from the repository (and also doesn't use anything in Firefox's cache). That's a good thing in a way, but limits you to the selection of locally available files that come with the extension. Creating a custom repository is listed as a "planned feature", though. > > Protects you against tracking through "free", centralized, content > > delivery. It prevents a lot of requests from reaching networks like > > Google Hosted Libraries, and serves local files to keep sites from > > breaking. Complements regular content blockers. > > in regard to klipse.js. I've not looked into it in much detail, but I think that klipse.js is not yet included in decentraleyes, so it would either block the request totally or allow it to go to the Google API CDN, depending on configuration. The more permanent solution for this problem would be to use a local filtering/blocking (like privoxy, GPLv2). It would also need to cache CDN files, which privoxy doesn't do; it must be chained with a caching proxy (like squid, GPLv2) to do that. If it would then download missing files via TOR it could completely eliminate tracking via CDN. It would sure be a nice thing to have something like that in a ready-to-use fashion. > Also, is Decentraleyes free software? What is its license? MPL-2.0 according to the home page. -- Achim. (on the road :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Fri, 23 Dec 2016 11:18:31 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87fulgveoe.fsf@dustycloud.org> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482509941 2292 195.159.176.226 (23 Dec 2016 16:19:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2016 16:19:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 23 17:18:52 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cKSYP-0007Fh-Ce for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 17:18:45 +0100 Original-Received: from localhost ([::1]:39803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSYT-0004ex-Un for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 11:18:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSYN-0004ep-7H for emacs-devel@gnu.org; Fri, 23 Dec 2016 11:18:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKSYM-0007ta-E1 for emacs-devel@gnu.org; Fri, 23 Dec 2016 11:18:43 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSYC-0007cA-DJ; Fri, 23 Dec 2016 11:18:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cKSYB-0001XQ-S8; Fri, 23 Dec 2016 11:18:31 -0500 In-reply-to: (message from Achim Gratz on Fri, 23 Dec 2016 14:33:19 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210754 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > That's a commonly held misconception. Most CDN that use long cache > expirations (a year is commonly seen) have separate mechanisms in place > to ensure that the cached copy can be replaced/updated before > expiration. The CDN server will generally get at least one HEAD request > for each vist, even if the cached copy for most or all of the actual > library content is getting used in the end. Thanks for the correction. This tips the scales, I think. So I think that we should recommend people who export HTML host their own copy of klipse.js _and likewise the other libraries that the generated output uses_. It would be good to set the defaults so as to presume that will be done. But there is no need to eliminate the global variables that direct the HTML exporter, so people who do exportation will be able to point to Google's copy if they want to. Bastien, what do you think of this? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Fri, 23 Dec 2016 11:18:32 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> <87y3z8feig.fsf@gmx.us> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482509970 16239 195.159.176.226 (23 Dec 2016 16:19:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2016 16:19:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 23 17:19:24 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cKSYw-0002j2-0T for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 17:19:18 +0100 Original-Received: from localhost ([::1]:39804 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSZ0-0004tS-Lr for ged-emacs-devel@m.gmane.org; Fri, 23 Dec 2016 11:19:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSYr-0004sP-ND for emacs-devel@gnu.org; Fri, 23 Dec 2016 11:19:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKSYq-0008TM-Vh for emacs-devel@gnu.org; Fri, 23 Dec 2016 11:19:13 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKSYD-0007do-3T; Fri, 23 Dec 2016 11:18:33 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cKSYC-0001Xp-KM; Fri, 23 Dec 2016 11:18:32 -0500 In-reply-to: (message from Achim Gratz on Fri, 23 Dec 2016 14:40:18 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210755 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Could you put some JS code into the page that would give the user > > a way to specify a different URL for klipse.js? Perhaps that could > > be stored in a cookie or something else in the browser. > You could do that by rewriting the page into the form that is then > ultimately displayed in the browser. But I don't consider that a good > solution as the user doesn't know what's going to happen before trying > to use the file (and not at all if the respective cookie already exists, > which the user might have forgotten about or has been dropped in from > somewhere). I don't follow the meaning of that text. For instance, "rewriting the page into the form that is then ultimately displayed..." Could you explain what sort of rewrite you mean? The JS code I propose would indeed change the page -- but only in a single detail, the URL for klipse.js. That change hardly qualifies as "rewriting". So what "rewriting" is it? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Sat, 24 Dec 2016 12:41:47 +0100 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> <87y3z8feig.fsf@gmx.us> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482580686 31216 195.159.176.226 (24 Dec 2016 11:58:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2016 11:58:06 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 24 12:58:01 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cKkxV-0006Ex-3i for ged-emacs-devel@m.gmane.org; Sat, 24 Dec 2016 12:57:53 +0100 Original-Received: from localhost ([::1]:43196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKkxZ-0004TH-ID for ged-emacs-devel@m.gmane.org; Sat, 24 Dec 2016 06:57:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKkiS-0000WO-BK for emacs-devel@gnu.org; Sat, 24 Dec 2016 06:42:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKkiP-0008V0-6n for emacs-devel@gnu.org; Sat, 24 Dec 2016 06:42:20 -0500 Original-Received: from [195.159.176.226] (port=33927 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cKkiP-0008Un-0Z for emacs-devel@gnu.org; Sat, 24 Dec 2016 06:42:17 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cKkiC-0002mD-Qk for emacs-devel@gnu.org; Sat, 24 Dec 2016 12:42:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@blaine.gmane.org In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210782 Archived-At: Am 23.12.2016 um 17:18 schrieb Richard Stallman: > I don't follow the meaning of that text. For instance, "rewriting the > page into the form that is then ultimately displayed..." Could you > explain what sort of rewrite you mean? > > The JS code I propose would indeed change the page -- but only in a > single detail, the URL for klipse.js. That change hardly qualifies > as "rewriting". So what "rewriting" is it? You have to rewrite the DOM the browser sees before rendering the page (or at least before it renders the part that loads klipse.js). Whether you replace the complete page or just a single node isn't much of a difference conceptually. The original page would always need to be loaded at least partly, then check for the availability of local script files, decide on where to load them from, then render the modified page. In order to be responsive, those decisions need to be made as early as possible, so it'd be a mistake to render much of the page before getting there. You'd also have to ensure that the browser doesn't prefetch the server versions (i.e. because they are visible in the document before you get to remove them from the final DOM). -- Achim. (on the road :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Sat, 24 Dec 2016 13:55:18 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> <87y3z8feig.fsf@gmx.us> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482605785 7867 195.159.176.226 (24 Dec 2016 18:56:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2016 18:56:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 24 19:56:20 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cKrUN-0000pG-NZ for ged-emacs-devel@m.gmane.org; Sat, 24 Dec 2016 19:56:15 +0100 Original-Received: from localhost ([::1]:44522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKrUS-00037P-4h for ged-emacs-devel@m.gmane.org; Sat, 24 Dec 2016 13:56:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKrTj-00037J-Lo for emacs-devel@gnu.org; Sat, 24 Dec 2016 13:55:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cKrTi-0005Nq-RC for emacs-devel@gnu.org; Sat, 24 Dec 2016 13:55:35 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cKrTS-0005Ek-Vg; Sat, 24 Dec 2016 13:55:19 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cKrTS-0001x7-8t; Sat, 24 Dec 2016 13:55:18 -0500 In-reply-to: (message from Achim Gratz on Sat, 24 Dec 2016 12:41:47 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210790 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > You have to rewrite the DOM the browser sees before rendering the page > (or at least before it renders the part that loads klipse.js). "Rewrite" normally means making big changes, but I think you're using it to mean "alter". Indeed, my proposal would include altering the DOM. > The original page would always need to be > loaded at least partly, then check for the availability of local script > files, decide on where to load them from, then render the modified page. That makes sense. > In order to be responsive, those decisions need to be made as early as > possible, so it'd be a mistake to render much of the page before getting > there. That makes sense. You'd also have to ensure that the browser doesn't prefetch the > server versions (i.e. because they are visible in the document before > you get to remove them from the final DOM). There is no reason for the initial HTML to refer to klipse.js at all. Since that is a Javascript program, there is no point fetching it at all unless Javascript is enabled. If the URL for loading it is filled in by execution of other previous JS code, there is no chance of prefetching klipse.js from anywhere. So, is there any flaw in this plan? -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html. From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Sun, 25 Dec 2016 11:04:40 +0100 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> <87y3z8feig.fsf@gmx.us> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1482660349 13844 195.159.176.226 (25 Dec 2016 10:05:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2016 10:05:49 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 25 11:05:44 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cL5gT-0002ix-GX for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2016 11:05:41 +0100 Original-Received: from localhost ([::1]:46318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cL5gY-0007WY-4l for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2016 05:05:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cL5ft-0007TT-Bp for emacs-devel@gnu.org; Sun, 25 Dec 2016 05:05:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cL5fq-0007bU-8y for emacs-devel@gnu.org; Sun, 25 Dec 2016 05:05:05 -0500 Original-Received: from [195.159.176.226] (port=54783 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cL5fq-0007a0-3G for emacs-devel@gnu.org; Sun, 25 Dec 2016 05:05:02 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cL5fc-0004dL-2T for emacs-devel@gnu.org; Sun, 25 Dec 2016 11:04:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@blaine.gmane.org In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210801 Archived-At: Am 24.12.2016 um 19:55 schrieb Richard Stallman: > There is no reason for the initial HTML to refer to klipse.js at all. > Since that is a Javascript program, there is no point fetching it at > all unless Javascript is enabled. The script name and the server address have to be recorded somewhere in the file unless I misunderstood what you are trying to do. > If the URL for loading it is filled in by execution of other previous > JS code, there is no chance of prefetching klipse.js from anywhere. Browsers are quite good at prefetching stuff and some might do it speculatively, so I suspect that the ultimate URL for the script has to be obfuscated a bit so it's only put together when actually used. > So, is there any flaw in this plan? I think it should work if the prefetch can be safely prevented. It's just quite a bit more involved and it would mean distributing multiple files to the user (unless klipse.js can be embedded, optionally of course). -- Achim. (on the road :-) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Condition to link to javascript code? Date: Sun, 25 Dec 2016 15:43:00 -0500 Message-ID: References: <87eg19uc8y.fsf@gnu.org> <87pokpnn7b.fsf@bzg.fr> <87lgvc8hrp.fsf@bzg.fr> <878trb517w.fsf@bzg.fr> <87oa05h66j.fsf@gmx.us> <87y3z8feig.fsf@gmx.us> Reply-To: rms@gnu.org NNTP-Posting-Host: blaine.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: blaine.gmane.org 1482698645 15427 195.159.176.226 (25 Dec 2016 20:44:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Dec 2016 20:44:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: Achim Gratz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 25 21:44:02 2016 Return-path: Envelope-to: ged-emacs-devel@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 1cLFeB-0003FP-L7 for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2016 21:43:59 +0100 Original-Received: from localhost ([::1]:47904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLFeG-0001Q7-DS for ged-emacs-devel@m.gmane.org; Sun, 25 Dec 2016 15:44:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLFdS-0001P8-27 for emacs-devel@gnu.org; Sun, 25 Dec 2016 15:43:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLFdR-0008OE-Ez for emacs-devel@gnu.org; Sun, 25 Dec 2016 15:43:14 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLFdF-0008Hx-ET; Sun, 25 Dec 2016 15:43:01 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cLFdE-0008SA-O7; Sun, 25 Dec 2016 15:43:00 -0500 In-reply-to: (message from Achim Gratz on Sun, 25 Dec 2016 11:04:40 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210809 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > There is no reason for the initial HTML to refer to klipse.js at all. > > Since that is a Javascript program, there is no point fetching it at > > all unless Javascript is enabled. > The script name and the server address have to be recorded somewhere in > the file unless I misunderstood what you are trying to do. Yes, but they don't have to be included as a link that would cause a browser to prefetch anything. They can be included as strings, which get concatenated when used. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.