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