all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rahguzar <rahguzar@zohomail.eu>
To: emacs-devel@gnu.org
Subject: SageMath and Emacs
Date: Thu, 09 May 2024 12:35:37 +0200	[thread overview]
Message-ID: <87pltv9ssm.fsf@zohomail.eu> (raw)

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

Thanks,
Rahguzar



             reply	other threads:[~2024-05-09 10:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-09 10:35 Rahguzar [this message]
2024-05-09 10:46 ` SageMath and Emacs Eli Zaretskii
2024-05-09 13:01   ` Rahguzar
2024-05-09 12:24 ` [ELPA] " Philip Kaludercic
2024-05-20  7:03   ` Philip Kaludercic
2024-05-20 15:47     ` Rahguzar
2024-05-21  9:54       ` Augusto Stoffel
2024-05-21 17:52         ` Rahguzar

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=87pltv9ssm.fsf@zohomail.eu \
    --to=rahguzar@zohomail.eu \
    --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.