1. Ivan Andrus
  2. sage-mode
  3. Issues
Issue #14 resolved

Emacs 24.1 in Fedora 17

Anonymous created an issue

If I want to start any sage related command in emacs, I get the following error message:

Don't know how to make a localized variable an alias

After some googling I found out that this seems to be an emacs 24 specific problem.

Can anyone help? It annoys me to work without sage-mode ...

Cheers, maldun

Comments (3)

  1. Ivan Andrus repo owner

    I can't reproduce this on GNU Emacs 24.1.1 on OS X. What exact version of Emacs are you using C-h v emacs-version RET? And what version of sage-mode C-h v sage-mode-version?

    Also, can you tell what variable causes the problem? e.g. What do you see if you turn on debugging with M-x toggle-debug-on-error?

    Having searched online it looks like it might be a bug with python.el rather than sage-mode per se. Supposedly it's fixed now, but 24.1 might have an old version of python.el. You might try upgrading Emacs, though that might not be easy unless a new version is packaged. You could try installing a newer version of python.el, e.g. from https://github.com/fgallina/python.el which should be much easier to do. If you see the problem with sage, but not python, then it's something else.

    Answers to any or all of the questions would be very helpful.

  2. Stefan H. Reiterer

    Thanx alot the debugging command brought it up to light: I had in my .emacs.d directory an old version of emacs-mode installed which caused the bug. simply commenting out the line of the .emacs did the trick ^^

  3. Log in to comment