Bug 833100

Summary: Elisp packages require rebuild for Emacs 24
Product: [Fedora] Fedora Reporter: Karel Klíč <kklic>
Component: gnu-smalltalkAssignee: Jochen Schmitt <jochen>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 17CC: brpocock, edgar.hoch, garrett.mitchener, jochen, jonathan.underwood, lxtnow, rvokal, wlee
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 831449 Environment:
Last Closed: 2013-08-01 01:19:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 831449    

Description Karel Klíč 2012-06-18 15:05:00 UTC
+++ 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*

Comment 2 Bruce-Robert Pocock 2013-03-29 14:45:35 UTC
/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...

Comment 3 Edgar Hoch 2013-05-04 01:30:42 UTC
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

Comment 4 Edgar Hoch 2013-05-30 19:46:07 UTC
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'

Comment 5 Bruce-Robert Pocock 2013-05-31 15:06:17 UTC
+1 worksforme

Comment 6 Fedora End Of Life 2013-07-03 23:00:33 UTC
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.

Comment 7 Fedora End Of Life 2013-08-01 01:19:11 UTC
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.