From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Use Emacs as the IDE for Wolfram Mathematica. Date: Mon, 24 May 2021 23:37:43 +0800 Message-ID: References: <87czthxhtk.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13341"; mail-complaints-to="usenet@ciao.gmane.io" To: Christopher Dimech , Emanuel Berg , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 24 17:38:23 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llCet-0003CZ-AR for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 17:38:23 +0200 Original-Received: from localhost ([::1]:40942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llCes-0000Hb-8k for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 24 May 2021 11:38:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llCeW-0000HH-Ru for help-gnu-emacs@gnu.org; Mon, 24 May 2021 11:38:00 -0400 Original-Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:37669) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llCeV-0005f2-1Z for help-gnu-emacs@gnu.org; Mon, 24 May 2021 11:38:00 -0400 Original-Received: by mail-lj1-x22f.google.com with SMTP id e2so27833549ljk.4 for ; Mon, 24 May 2021 08:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=pGNeqKgDFEGw7d4qKlMJ0YquI2qxYhrzVatwiFgmQGE=; b=b9lk9UVazzyPaZX0PzzxgD8H3Xw4Z968bTUTdk1XAT2bjoqh1dbo9CVHnIUtl8WG34 xmZ0lqYWjPqAKK9VJoiNFhD15QRkP6elwLtQSBsGj8HOcNoTII6vNH4OFQmgEIEd7P4j 4ZONzn4Cpre+yPS/o+W0iAjgWBCGZRCtAEGwRP3dmTyqcCj6TR12wh6Tl5S1hnKIdoTp pIdRgQMMkIbuLQX5A87FNPkNWpc3lT6lecIOXTOA/vOj3Zpu09/bZF8WDO98ibC9Wh4X jqYsjRDUWclFO3qS26sUu4AbjOx2mWHVuoXAX4myYWZDmuaS7b6kgVLOPT1HQhZZM855 lSeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=pGNeqKgDFEGw7d4qKlMJ0YquI2qxYhrzVatwiFgmQGE=; b=IqkenhFeti/RtySOlFCRVK0vGP8dbXoAc4nRgOX4dIZ4eQSjnWUNCeBVWPtNNjBPNq 8sJFL03e2lR/esQiduZsjHyjH7RLjh4ZGzxjdWzjgYM/9Df8TEqg94rUYc3nXRgtTP1L jp8pvrz07/FoLyrwAMPffdkzH5fm6Tjubzfad6zZBJgPnaYX698015yIPrNsGznHM8W7 DuMSJ30HADgQGdRemENLOKcNrfaqOWGnM+7tsEChbR7CQmf4PzlTBFSj2yvYciloQ10l ZTh6q3k0/UqXGZZwFDoo9Ufclhjxza4AeyTmhfexbOB4IEsokJx3qR7qRj6qA5sqwIrO iwIg== X-Gm-Message-State: AOAM533VToxeRB+WnThtGPgiiCThsIiVstbWEOte3K6Q5nAfhFCEnryZ bFdmEPyiYRCoVmMzjvpE2jQ8EzGFi6KcCt+uyJc= X-Google-Smtp-Source: ABdhPJxXKwjsG5yxgRCN/CZuUCuWj8gBm4uFHguedvlxbG0ICXp61D/3YtiYh9qZN0LgnEsC5UzK7FJUppKLLKMvMj0= X-Received: by 2002:a2e:9588:: with SMTP id w8mr14587365ljh.320.1621870675891; Mon, 24 May 2021 08:37:55 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=hongyi.zhao@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130186 Archived-At: On Mon, May 24, 2021 at 10:13 PM Jean Louis wrote: > > * Christopher Dimech [2021-05-24 15:48]: > > You can add functionality as you wish. When you use emacs for > > personal use, you are not bound to GPL Licensed code only. > > (=E2=9C=BF=E2=95=B9=E2=97=A1=E2=95=B9) That is right. Only that it is not= a licensed software. I mean > it is possible to imagine it is licensed, but it cannot be conveyed or > given to anybody unless licensed properly. > > > > If that package runs without modification of Emacs software, it does > > > not modify Emacs, it is just data that is interpreted. It also cannot > > > require any of GPL libraries that are GPL licensed. However, majority > > > of packages are written with the purpose to modify Emacs. Not to use > > > Emacs Lisp solely for its own purposes. > > > > It could be for personal use, but not part of emacs. > > You got it right. > > > > If you write such code, under conditions not to modify Emacs, not to > > > use GPL-ed libraries, then it could be proprietary. Otherwise legally > > > it cannot be. Question is why would anybody use Emacs to write such > > > interpreted programs when there are many other programming languages > > > with MIT licensed libraries. > > > > You are correct, I was talking from the legal point of view, and > > about emacs support for Wolfram Mathematica. Ubuntu is one such > > system, where you have free software where proprietary code is added > > to it. > > Ubuntu is operating system, is is collection of software. It is not > impossible to have collection with mix of proprietary and free > software, I have seen such collections since 1999. > > Emacs support for proprietary software would be possible if such > support is in terms of a mode that just takes care of editing. > > Problem would be if Emacs package requires the proprietary software > and GPL-ed software in the same time. > > The IDE and modes most probably do not require, they would just > execute external problem. I found that the following project which is provided as a vscode plugin. As far as I know, this one has the best support for the Wolfram Mathematica language based on the Microsoft Language Server Protocol (LSP). And it also has the support for Emacs as described here, , with the following specific settings: (add-to-list 'lsp-language-id-configuration '(wolfram-mode . "Mathematica")= ) (lsp-register-client (make-lsp-client :language-id 'wolfram :new-connection (lsp-tcp-server-command (lambda (port) `("wolfram" ;; or "wolframscript" "-script" ;; or "-file" "path/to/lsp-wl/init.wls" ,(concat "--socket=3D" (number-to-string port) )))) :major-modes '(wolfram-mode) :server-id 'lsp-wl )) HY > > > > MIT licensed libraries one can use how one wants, GPL-ed no. > > > > MIT has used many licenses, and it is ambiguous because many faili > > to distinguish between them. One should not use the term "MIT > > License". > > Yes, but you got it. > > > -- > Jean > > Take action in Free Software Foundation campaigns: > https://www.fsf.org/campaigns > > Sign an open letter in support of Richard M. Stallman > https://stallmansupport.org/ > --=20 Assoc. Prof. Hongyi Zhao Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering NO. 552 North Gangtie Road, Xingtai, China