From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] Re: SageMath and Emacs Date: Mon, 20 May 2024 07:03:45 +0000 Message-ID: <87jzjpm0by.fsf@posteo.net> References: <87pltv9ssm.fsf@zohomail.eu> <87o79f18d8.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24414"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Rahguzar Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 20 09:04:56 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s8x4p-00064f-Sv for ged-emacs-devel@m.gmane-mx.org; Mon, 20 May 2024 09:04:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s8x4H-0007JL-Kp; Mon, 20 May 2024 03:04:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8x3o-0006zI-0s for emacs-devel@gnu.org; Mon, 20 May 2024 03:03:55 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s8x3l-0002de-M1 for emacs-devel@gnu.org; Mon, 20 May 2024 03:03:51 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id E9CF5240101 for ; Mon, 20 May 2024 09:03:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1716188627; bh=BUP5U/10Kgp33wnkCZXcU6Q+Gh03O/9r4ulAjZ9t/Tw=; h=From:To:Cc:Subject:OpenPGP:Date:Message-ID:MIME-Version: Content-Type:From; b=i9QJmEaqbmd0qEgQGDyO0N/FrfCX3G8Yvr1uoT89ng99uR+PO4kqQhmOvorEDnmsE RJSccNmxoSPDs9NkD/cCqAD8SWK52CQVn7jFwiVo2N3hQDd6Fk8/59ewRkidF4ieh/ CoM+WmgyL4QivXAxkwQ8FX0Vau/2nJFDo9bZVZlcblRmdNOWIZ8wAW7jDiYNx0je8q sCeTaEjEynpXLRlI59eHNwUsw/MMr8eekHUIxUW3jEwEwSb2yR4tpX3FQe3CVYrmy9 s8g8MicVZnXpgWCspI4hh2i3iBwfseRm/XGKrwgdnYUM/ORC6mweILnV7uzZnxQkIP F7cpfP+sl9PRw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VjT7P3Qgbz6tvs; Mon, 20 May 2024 09:03:45 +0200 (CEST) In-Reply-To: <87o79f18d8.fsf@posteo.net> (Philip Kaludercic's message of "Thu, 09 May 2024 12:24:03 +0000") OpenPGP: id=7126E1DE2F0CE35C770BED01F2C3CC513DB89F66; url="https://keys.openpgp.org/vks/v1/by-fingerprint/7126E1DE2F0CE35C770BED01F2C3CC513DB89F66"; preference=signencrypt Received-SPF: pass client-ip=185.67.36.66; envelope-from=philipk@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319399 Archived-At: Philip Kaludercic writes: > Rahguzar writes: > >> Dear Emacs developers, >> >> I want to ask opinions about including support for SageMath in Emacs or >> GNU ELPA. >> >> SageMath is a niche software but I think the niche is a very important >> one. It is also the best computer algebra system which is also free >> software and hence important to advance free software in a field >> dominated proprietary software. (This dominance is especially sad since >> proprietary software is a very shaky foundation for scientific >> research.) >> >> The SageMath project project provides Emacs modes both for source files >> and repl. They code can be found at >> https://github.com/sagemath/sage-shell-mode >> >> It is a large code base but looking at it a year or so ago, I realized >> that most of the code was implementing functionality that is by now >> included in the python.el in Emacs. SageMath is a thin wrapper around Python >> and as a result basic support for it can be provided by setting some >> variables provided by python.el appropriately. >> >> I wrote such a wrapper around python.el which is hosted at >> https://codeberg.org/rahguzar/sage-mode >> >> There is more code there than needed because I wanted to change some >> behaviors of python.el but now I think those deviations should be >> removed. As a result I think basic functionality can be provided by >> addition of 200-300 lines in python.el (or a separate file requiring >> it). If there is an interest in providing out of box support for >> SageMath I can prepare such a patch. >> >> I have been meaning to send this email for a while but never came around >> to it. I am sending this now because I saw Eli's message about a pretest >> for Emacs 30 being imminent. It might be already too late for Emacs 30 >> but if the pretest is a week or two away there might be time. >> >> If inclusion in Emacs core is not considered a good option, I will like >> to contribute support to ELPA. I would like to hear opinions of the >> people maintaining the current SageMath support and opened an issue at >> https://github.com/sagemath/sage-shell-mode/issues/80 but I haven't >> heard from them (it has only been a few days). > > It certainly can be added to ELPA, but I guess it would be easier to > discuss the matter if you could provide a patch for emacs.git, if that > is not too much work. Ping? >> Thanks, >> Rahguzar >> >> -- Philip Kaludercic on peregrine