Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#510 closed bug (not a bug)

Singular emacs interfaces appears to not be fully functional

Reported by:… Owned by: mschulze
Priority: minor Milestone: 3-2-0 and higher
Component: dontKnow Version: 3-1-6
Keywords: Cc:


I maintain a Singular package in Fedora, and it was reported an error message when starting emacs. My first guess is that it would be better to disable the emacs interface package, as the last Changelog entry is from 2000, but Singular maintainers may have some extra comment.

The Singular rpm bug report is at and you can look the the rpm sources at

Change History (3)

comment:1 Changed 10 years ago by boehm

Owner: changed from somebody to mschulze

Use ESingular instead.

comment:2 in reply to:  1 Changed 10 years ago by mschulze

Resolution: not a bug
Status: newclosed

The problem seems to be in your Singular.spec file:

mv $RPM_BUILD_ROOT%{_emacs_sitelispdir}/singular/.emacs-singular \


The file .emacs-singular is not supposed to be copied into the emacs start directory (see information in the header of this file). It should only be loaded when emacs is started by ESingular which will first set the variable singular-emacs-home-directory.

comment:3 Changed 10 years ago by…

I used to use emacs long ago, but not for over a decade, so I think I cannot correct the other issues that happen when doing the correction suggested above. After that, running ESingular I see in the emacs *Messages* buffer:

Loading /usr/share/emacs/site-lisp/site-start.d/asy-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/desktop-entry-mode-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/emacs-color-theme-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/maxima-modes.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/rpmdev-init.el (source)...done
Loading /usr/share/emacs/site-lisp/site-start.d/systemtap-init.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading /usr/share/emacs/site-lisp/singular/.emacs-singular...
Loading paren...done
progn: Symbol's value as variable is void: current-menubar

If I click the Singular menu, I see the options:

| Start default |
| Start...      |

If I click "Start default", in *Messages* I see:

Symbol's function definition is void: singular

If I click "Start..." I see in *Messages*:

Symbol's function definition is void: singular-other

I would prefer to correct any remaining issue instead of no longer generating a Singular-emacs package... Any idea as to what I may be missing?

$ rpm -q emacs
$ rpm -qi Singular-emacs
Name        : Singular-emacs
Version     : 3.1.5
Release     : 6.fc20
Architecture: x86_64
Install Date: Tue 24 Sep 2013 01:04:39 AM BRT
Group       : Applications/Engineering
Size        : 464072
License     : BSD and LGPLv2+ and GPLv2+
Signature   : RSA/SHA256, Wed 07 Aug 2013 02:09:22 AM BRT, Key ID 2eb161fa246110c1
Source RPM  : Singular-3.1.5-6.fc20.src.rpm
Build Date  : Wed 22 May 2013 03:59:40 PM BRT
Build Host  :
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
Summary     : Emacs mode for Singular
Description :
Emacs mode for Singular.
$ rpm -ql Singular-emacs

What I did before the tests above was:

$ sudo mv /usr/share/emacs/site-lisp/site-start.d/singular-init.el  /usr/share/emacs/site-lisp/singular/.emacs-singular
Note: See TracTickets for help on using tickets.