Skip to content

Commit 1df8f12

Browse files
author
Release Manager
committed
Trac #34935: Followup to #34547: fix emacs sage-shell-mode
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
2 parents 77173ef + 49d4ff7 commit 1df8f12

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

build/pkgs/configure/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
tarball=configure-VERSION.tar.gz
2-
sha1=cc57d00f6f8fd1c5123b6f7dee07d8c6c717859d
3-
md5=62d1ead9dd1ddfa11a1c4164f197bddb
4-
cksum=580469152
2+
sha1=76789b1961447494e1413ee2fd1faea93c78fdcc
3+
md5=1835938ed1e66b7225343ca0b551036d
4+
cksum=3073282865
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0f25b00a8e24881db418b69dcfe499d6437aa5b7
1+
4c99a3fb2975d998daa5593c603b9d58dc9a2902

src/sage/interfaces/all.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,9 @@
4343
lazy_import('sage.interfaces.read_data', 'read_data')
4444
lazy_import('sage.interfaces.scilab', 'scilab')
4545
lazy_import('sage.interfaces.tachyon', 'tachyon_rt')
46+
47+
# The following variable is used by sage-shell-mode in emacs:
48+
interfaces = ['gap', 'gap3', 'giac', 'gp', 'mathematica', 'gnuplot',
49+
'kash', 'magma', 'macaulay2', 'maple', 'maxima',
50+
'mathematica', 'mwrank', 'octave', 'r', 'singular',
51+
'sage0', 'sage']

0 commit comments

Comments
 (0)