Bug 754592

Summary: Emacs always gives bogus "bmacs" error
Product: [Fedora] Fedora Reporter: Ed Friedman <edfriedmangvs>
Component: biglooAssignee: Jerry James <loganjerry>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: jonathan.underwood, kklic, loganjerry, michel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: bigloo-3.7a-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-04 02:44:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed Friedman 2011-11-16 22:27:00 UTC
Description of problem:
Emacs gives an error message when launching and will not read the .emacs file or the filename if you launch it with the command "emacs filename"

Version-Release number of selected component (if applicable):
emacs-23.3-7.fc16.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Try launching emacs, with or without a .emacs file present
2.Or try launching "emacs filename" with same results as above happening
3.
  
Actual results:
Cannot open load file: bmacs
error message appears on bottom of window, filename is not open if one was specified, and .emacs file is ignored if it is present.

Expected results:
No error message should appear. Filename should open if present and .emacs should be implemented if present.

Additional info:
Xemacs works perfectly, and it transferred the .emacs file over and implemented it properly.

Comment 1 Karel Klíč 2011-11-22 16:01:27 UTC
Hello,

emacs-23.3-7.fc16.x86_64 works well here. Two ideas:

1) Try launching 'emacs -Q'. Does it show the error message?

2) Try removing emacs and emacs-common packages and installing them again. Does it help?

Thanks.

Comment 2 Ed Friedman 2011-11-22 20:48:43 UTC
1) emacs -Q  removed the error message

2) after removing emacs and emacs-common (and all of their dependent rpm's), I discovered that the offending rpm is:

emacs-bigloo-3.7a-1.fc16.noarch

Everything works fine so long as emacs-bigloo is not installed.

Comment 3 Karel Klíč 2011-11-23 09:29:37 UTC
Thank you. Reassigning to bigloo.

Comment 4 Jerry James 2011-11-23 16:12:26 UTC
I have presumably the same setup: x86_64 Fedora 16, emacs and emacs-bigloo installed, but I don't see this problem.  The bmacs.el file is loaded properly when I start emacs.  Can you try reinstalling emacs-bigloo and see if the problem persists?  I wonder if that package was damaged somehow; i.e., bmacs.el somehow got deleted.

Comment 5 Ed Friedman 2011-11-23 16:37:08 UTC
The problem persists when the emacs-bigloo rpm is installed again. When doing a rpm -q -l on the installed rpm (emacs-bigloo-3.7a-1.fc16.noarch), it is clear that there is no bmacs.el present.

Comment 6 Jerry James 2011-11-23 16:55:08 UTC
Aha!  bmacs.el is not getting byte compiled, so there is no bmacs.elc.  Therefore, you only get bmacs.el if you have the emacs-bigloo-el package installed (which I do).  OK, now I know how to fix this.  Thanks for the information, Ed.

Comment 7 Fedora Update System 2011-11-23 20:40:06 UTC
bigloo-3.7a-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/bigloo-3.7a-2.fc16

Comment 8 Fedora Update System 2011-11-25 01:59:38 UTC
Package bigloo-3.7a-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing bigloo-3.7a-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16354/bigloo-3.7a-2.fc16
then log in and leave karma (feedback).

Comment 9 Jerry James 2011-12-01 22:44:26 UTC
Ed, I saw your negative karma and comment.  But this update does fix the problem for me, so I don't understand what is going on.  Do you see /usr/share/emacs/site-lisp/bigloo/bmacs.elc after installing the updated emacs-bigloo package?

Comment 10 Jerry James 2011-12-02 14:50:03 UTC
Ed, I've tried on 3 different computers now.  I can reproduce the problem with bigloo-3.7a-1, but I cannot reproduce after installing bigloo-3.7a-2.  I'm going to push this update to stable.  If you still experience problems, please follow up here so we can determine what else needs to be done.

Comment 11 Ed Friedman 2011-12-02 19:30:52 UTC
If you look at Comment 8, you will see that you only said to install the updated bigloo package. Once I installed the updated emacs-bigloo package as well, then everything worked fine.

Comment 12 Fedora Update System 2011-12-04 02:44:16 UTC
bigloo-3.7a-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.