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.