Created attachment 484199 [details] the mentioned little latex file opend with emacs Description of problem: a LaTeX file opened in emacs (in LaTeX mode) shows black rectangles in stead of characters for all text inside the begin/end verbatim tags. This little latex example triggers the problem: >cat latex_verbatim_font_problem.tex \documentclass[10pt]{article} \begin{verbatim} dear all, \end{verbatim} \end{document} The problem only occurs if emacs opens in its own window, not if it opens inside a text terminal. The effect is clearly visible on the attached window dump. Version-Release number of selected component (if applicable): >emacs --version GNU Emacs 23.2.1 How reproducible: always Steps to Reproduce: 1. create the little latex file as included above and name it: latex_verbatim_font_problem.tex 2. open it with emacs from the commandline like this: emacs latex_verbatim_font_problem.tex Actual results: black squares appear for all text within the verbatim keywords Expected results: the verbatim text should be displayed in some default font, even if the intended font is not present for whatever reason. Additional info:
I'm seeing this on rawhide in emacs 23.3.1 as well
I fixed this by installing emacs-auctex. Not sure if this should be a dependency somewhere? I forget where LaTeX mode is installed from, but it seems that latex-mode needs emacs-auctex.
(In reply to comment #2) > I fixed this by installing emacs-auctex. Not sure if this should be a > dependency somewhere? I forget where LaTeX mode is installed from, but it > seems that latex-mode needs emacs-auctex. No - the latex mode that comes with Emacs shouldn't (and doesn't) require AucTeX to work.
Hi, today I moved to Fedora14 and the problem still persists.
This bug is present in Fedora 15 too. emacs-23.2-17.fc15.x86_64
BTW, installing emacs-auctex (plus the single dependency dvipng), then restarting emacs, did magically fix the problem for me too. I have no idea why though. Installing : dvipng-1.14-1.fc15.x86_64 1/2 Installing : emacs-auctex-11.86-6.fc15.noarch 2/2
Also for me the bug is still present in Fedora 15, and a slightly newer emacs version: emacs-23.2-19.fc15.x86_64
(In reply to comment #6) > BTW, installing emacs-auctex (plus the single dependency dvipng), > then restarting emacs, did magically fix the problem for me too. Ditto for me.
the same problem is still present in Fedora 16, using emacs version: emacs-23.3-8.fc16.x86_64 If this is no Fedora specific issue, could someone please report this upstream (or if this has been done already include a reference here).
the same problem is still present in Fedora 17, using emacs version: emacs-24.0.95-1.fc17.x86_64
Hi all. I found this discussion when I had the same problem with emacs on cygwin. It is actually a false setting for the font face. I fixed it (for me): M-x customize-face (enter) tex-verbatim (enter) Then edit: Font Family: * Font Foundry: courier Save the options. The package maintainer may add this setting to the official release.
The problem still persists in Fedora 17 (emacs version emacs-24.1-3.fc17.x86_64) Also I can confirm the workaround presented by A.J. does solve the issue. A manual addition of the following line to the .emacs file would probably do the same: (custom-set-faces '(tex-verbatim ((t (:foundry "courier" :family "*"))))) Both solutions are workarounds, and I agree this should be fixed in the emacs package itself.
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached 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 to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. 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. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
as mentioned in comment 12, this issue is not yet fixed in the emacs package for Fedora 17. Please reopen.
Just for the record, the problem seems fixed in Fedora 18 now for software version: emacs-24.2-18.fc18.x86_64
This problem exists in Fedora 20, emacs-24.3-13.fc20.x86_64 The workaround also still works.
What do you have in .emacs file? On my F20 I have installed version emacs-24.16 and all work properly. Text in verbatim section is shown correctly. My .emacs file is: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(send-mail-function (quote mailclient-send-it))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (desktop-save-mode 1) (put 'upcase-region 'disabled nil) (autoload 'rpm-spec-mode "rpm-spec-mode.el" "RPM spec mode."t) (setq auto-mode-alist(append'(("\\.spec" .rpm-spec-mode)) auto-mode-alist)) (setq user-mail-address "phracek") (server-start)
Just tested again with emacs-24.3-11.fc19.x86_64 and still see the problem: /usr/bin/emacs --no-site-file -q -l dot_emacs latex_verbatim_font_problem.tex displays correctly with this minimal dot_emacs: === (setq auto-mode-alist () ) (custom-set-variables '(inhibit-startup-screen t)) === However, if I remove the setq auto-mode-alist command the problem is back again, and the verbatim text is displayed with missing font.
emacs-24.3-13.fc20.x86_64 also shows the same problem.
issue seems solved in fedora21 with emacs-24.4-3.fc21.x86_64 I no longer see the font problem with the minimal dot_emacs as mentioned in comment #18. If no others object I think this one can be closed.
The bug is assigned to Fedora 20 where is emacs-24.3.
The issue is fixed in next release.