Skip to content

Commit

Permalink
Trac #34935: Followup to #34547: fix emacs sage-shell-mode
Browse files Browse the repository at this point in the history
It turns out that sage-shell-mode in emacs uses the variable
`interfaces`, deleted from `sage.interfaces.all` in #34547. We restore
that variable (which is not used anywhere in the Sage library) along
with a comment.

URL: https://trac.sagemath.org/34935
Reported by: jhpalmieri
Ticket author(s): John Palmieri
Reviewer(s): Matthias Koeppe
  • Loading branch information
Release Manager committed Feb 1, 2023
2 parents 77173ef + 49d4ff7 commit 1df8f12
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=cc57d00f6f8fd1c5123b6f7dee07d8c6c717859d
md5=62d1ead9dd1ddfa11a1c4164f197bddb
cksum=580469152
sha1=76789b1961447494e1413ee2fd1faea93c78fdcc
md5=1835938ed1e66b7225343ca0b551036d
cksum=3073282865
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0f25b00a8e24881db418b69dcfe499d6437aa5b7
4c99a3fb2975d998daa5593c603b9d58dc9a2902
6 changes: 6 additions & 0 deletions src/sage/interfaces/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@
lazy_import('sage.interfaces.read_data', 'read_data')
lazy_import('sage.interfaces.scilab', 'scilab')
lazy_import('sage.interfaces.tachyon', 'tachyon_rt')

# The following variable is used by sage-shell-mode in emacs:
interfaces = ['gap', 'gap3', 'giac', 'gp', 'mathematica', 'gnuplot',
'kash', 'magma', 'macaulay2', 'maple', 'maxima',
'mathematica', 'mwrank', 'octave', 'r', 'singular',
'sage0', 'sage']

0 comments on commit 1df8f12

Please sign in to comment.