sagemath / sage-shell-mode

Emacs front end for SageMath
GNU General Public License v3.0
98 stars 16 forks source link

Sage support in Emacs or GNU ELPA #80

Open aikrahguzar opened 2 months ago

aikrahguzar commented 2 months ago

A while ago, I was looking to change some things in sage-shell-mode and realized that most of the code in it is replicating Python support that is already present in Emacs. This is likely because it was written before the current python.el got into Emacs.

As a result, I tried writing an alternative to sage-shell-mode that just relies on python.el for most part. The result is here https://codeberg.org/rahguzar/sage-mode

I have been using it for some time and I think it covers the basic aspects. It is quite small but can be slimmed down further by using the completion facilities of python.el.

I want to ask Emacs developers about including it in Emacs so that Emacs can have out of the box sage support or else putting it on GNU ELPA. If anyone has any suggestions/objections to that, please let me know.