+++ This bug was initially created as a clone of Bug #831449 +++ 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): emacs.x86_64 1:24.0.95-1.fc17 How reproducible: whenever I start the emacs Steps to Reproduce: 1. emacs -nw <file name> 2. 3. Actual results: Symbol's value as variable is void: inhibit-first-line-modes-regexps Expected results: Additional info: --- Additional comment from garrett.mitchener on 2012-06-13 14:24:46 EDT --- I just ran into this. There are initialization files /usr/share/emacs/site-lisp/gnu-smalltalk/smalltalk-mode.elc /usr/share/emacs/site-lisp/goodies/ctypes.elc ... (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 then 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*
/usr/share/emacs/24.2/etc/NEWS *** The variable `inhibit-first-line-modes-regexps' has been renamed to `inhibit-local-variables-regexps'. As the name suggests, it now applies to ALL file local variables, not just -*- lines. The associated `inhibit-first-line-modes-suffixes' has been renamed in the corresponding way. sed -e 's/inhibit-first-line-modes-regexps/inhibit-local-variables-regexps/g' Easy enough fix...
The problem still exist in Fedora 18: emacs-gnu-smalltalk-3.2.4-3.fc18.2.noarch emacs-gnu-smalltalk-el-3.2.4-3.fc18.2.noarch
Info: There is are new packages for Fedora 18 and 19 which fix the problem. See bug #968063 . Please test the packages if you have access to F18 oder F19, and leave karma (feedback). For the emacs package try su -c 'yum update --enablerepo=updates-testing emacs-gnu-smalltalk'
+1 worksforme
This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed.