all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Bastien Guerry <bzg@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Condition to link to javascript code?
Date: Mon, 19 Dec 2016 08:07:52 -0500	[thread overview]
Message-ID: <E1cIxfU-0001bm-0A@fencepost.gnu.org> (raw)
In-Reply-To: <87pokpnn7b.fsf@bzg.fr> (message from Bastien Guerry on Sun, 18 Dec 2016 18:47:52 +0100)

[[[ 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.




  parent reply	other threads:[~2016-12-19 13:07 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-15  3:01 Condition to link to javascript code? Bastien
2016-12-15  3:41 ` Clément Pit--Claudel
2016-12-15 12:12   ` Bastien
2016-12-17 15:47 ` Richard Stallman
2016-12-18 17:47   ` Bastien Guerry
2016-12-19  7:20     ` Elias Mårtenson
2016-12-19  8:06       ` Bastien Guerry
2016-12-19  8:46         ` Elias Mårtenson
2016-12-19 16:32           ` Bastien Guerry
2016-12-19 16:52             ` Clément Pit--Claudel
2016-12-20 18:15             ` Richard Stallman
2016-12-20 19:10               ` Davis Herring
2016-12-21 17:14                 ` Richard Stallman
2016-12-21 11:28               ` Rasmus
2016-12-21 17:18                 ` Richard Stallman
2016-12-22 10:24                   ` Rasmus
2016-12-22 19:56                     ` Richard Stallman
2016-12-23 13:40                       ` Achim Gratz
2016-12-23 16:18                         ` Richard Stallman
2016-12-24 11:41                           ` Achim Gratz
2016-12-24 18:55                             ` Richard Stallman
2016-12-25 10:04                               ` Achim Gratz
2016-12-25 20:43                                 ` Richard Stallman
2016-12-22  3:13               ` Christopher Allan Webber
2016-12-22 19:54                 ` Richard Stallman
2016-12-23 13:33                   ` Achim Gratz
2016-12-23 16:18                     ` Richard Stallman
2016-12-19 13:44         ` Stefan Monnier
2016-12-19 13:07     ` Richard Stallman [this message]
2016-12-19 17:01       ` Bastien Guerry
2016-12-20 18:16         ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1cIxfU-0001bm-0A@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=bzg@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.