Red Hat Bugzilla – Bug 831449
Elisp packages require rebuild for Emacs 24
Last modified: 2013-02-28 07:25:44 EST
Description of problem:
When we start the emacs to open a file, it gives an error message as follows:
Symbol's value as variable is void: inhibit-first-line-modes-regexps.
Version-Release number of selected component (if applicable):
whenever I start the emacs
Steps to Reproduce:
1. emacs -nw <file name>
Symbol's value as variable is void: inhibit-first-line-modes-regexps
I just ran into this. There are initialization files
(and the corresponding .el files) that refer to the variable inihibit-first-line-modes-regexps, but it has been renamed in recent versions of emacs. Removing those files got rid of this problem for me. There might be other elisp packages with the same problem. I found these by using grep:
grep -r 'inhibit-first-line' /usr/share/emacs/site-lisp
rpm -qf /usr/share/emacs/site-lisp/gnu-smalltalk/smalltalk-mode.elc
etc. to find the package they belong to.
There might be other emacs packages with this problem that I just don't happen to have.
The real fix is for all those packages to be updated and rebuilt. Meanwhile, at least on my system, I got rid of the problem by removing the emacs-gnu-smalltalk and emacs-goodies packages:
yum erase emacs-gnu-smalltalk* emacs-goodies*
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
When the packages like emacs-gnu-smalltalk* and emacs-goodies* will be rebuilt that all will work.
Corresponding bugzillas reports were opened:
https://bugzilla.redhat.com/show_bug.cgi?id=833100 for emacs-gnu-smalltalk*
https://bugzilla.redhat.com/show_bug.cgi?id=833103 for emacs-goodies*