Description of problem: With a default F15 instalation, one can install emacs and not xorg-x11-fonts-misc, which with the default emacs font configuration will exit (not start) with error: $ emacs Font `8x13' is not defined No .emacs of .Xdefaults in user directory. Version-Release number of selected component (if applicable): $ rpm -q emacs emacs-23.2-19.fc15.x86_64 $ rpm -q xorg-x11-fonts-misc xorg-x11-fonts-misc-7.5-4.fc15.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Thank you. I added the dependency to the rawhide package for now. It might be backported to older releases with some more important changes later.
I am not sure if this is really still needed? In fact the change only seems to be in rawhide where it is least needed? :) I suspect the bitmap font is not required for emacs >= 23.3 ? Rawhide emacs-24 seems to run just fine without xorg-x11-fonts-misc anyway. I think the same is true for F16 and probably also F15.
I tried the original F15 emacs-23.2 package and current 23.3 package but didn't see the font warning. Any more details on how to reproduce this? I note though that xorg-x11-fonts-misc is larger than emacs itself so this is not such a light dependency.
I moved the to F17 since that is where the change is applied. Do you think the change can be reverted or is it really needed?
Ping? Still no response to this. Could there please be some explanation when this large font has to be installed by default, otherwise can we please drop this large redundant dependency? :-) Thanks
Jens, thank you for the ping. AFAICT this bug happens when you go from minimal install, and install emacs + Xorg server + some minimal window manager such as Xmonad. In this case, no reasonable fonts get installed and emacs exists with an error. It also happened to me some time ago. I agree that we should reproduce this issue in F17. Maybe there is a better way of fixing this via some virtual dependency?
Ah I see - thanks for the explanation. Hmm for that case I am not sure what to suggest, though it is kind of a corner case. What font does emacs use by default for a normal Live or Desktop install say? Anyway we are trying to deprecate bitmap fonts in Fedora, so this change is kind of going against that flow. I think people starting from a minimal install are pretty much on their own and need to pickup their own fonts probably - through I agree things could be made better. Perhaps a @minimal-desktop group would be good?
I think it would be better at least to require dejavu-sans-mono-fonts instead. Depending on a (bitmap) font that is not installed by default in Fedora (ie not listed in the @fonts group) seems unacceptable to me.
Ping! Further if one looks in the font chooser dialog you can see than no bitmaps are listed to choose from. So can you please change the Requires from xorg-x11-fonts-misc to dejavu-sans-mono-fonts which seems to be the default still in F18 too.
I did a test now on a minimal F18 install, where I installed @base-x, xterm and emacs. Note that emacs' ImageMagick dep already pulls in ghostscript-fonts and urw-fonts - so that Emacs uses Nimbus Mono L (together with Nimbus Sans L for its chrome), so there really is no reason to install xorg-x11-fonts-misc. I think Emacs buffers look much better with dejavu Mono than Nimbus though so I still recommend changing the requires to dejavu-sans-mono-fonts. I really wish the redundant dep can be fixed finally in time for F18. If you don't have time then I am happy to do that. :) It would be nice to backport it also to F17.
Jens, thank you for the test! I'm changing the dependency to dejavu-sans-mono-fonts.
emacs-24.1-6.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/emacs-24.1-6.fc17
emacs-24.2-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/emacs-24.2-4.fc18
Package emacs-24.1-6.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing emacs-24.1-6.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16677/emacs-24.1-6.fc17 then log in and leave karma (feedback).
emacs-24.1-6.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.