Bug 126165
Summary: | font-lock mode fails to fontify preprocesser definitions | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ted Baltz <eabaltz> |
Component: | emacs | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-06-04 07:00:39 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: | |||
Bug Depends On: | |||
Bug Blocks: | 158044 |
Description
Ted Baltz
2004-06-16 23:24:01 UTC
> A vanilla emacs 21.3 does not display this behavior when built for FC2
So you saying that this works with a build of emacs-21.3.tar.gz
but not the emacs in FC2?
Following the steps you describe for me it works fine for me.
> So you saying that this works with a build of emacs-21.3.tar.gz
> but not the emacs in FC2?
That's right. The FC2 emacs fails, but building emacs-21.3.tar.gz
works fine (with the one caveat that setarch i386 is required). For
what it's worth, I have this problem with two separate FC2 installs
(P4 desktop, PIII laptop).
I did choose to install everything, including all languages, on both
machines, and they were both clean installs, and the issue was there
before I did anything else.
How about with "emacs --no-site-file"? The problem is still there with both: emacs -q --no-site-file and emacs --no-site-file One added bit of info, my work machine was just upgraded to "Red Hat Enterprise Linux WS release 3 (Taroon Update 3)" which has emacs-21.3-4, and the problem is NOT there. I see this problem on Fedora Core 3 emacs-21.3-17 as well, both with and without "-q --no-site-file", and with and without lazy-lock enabled (which causes problems for me in Makefiles with conditionals (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=145759)). RHAS-3 emacs-21.3-4 does not have the problem. Still don't know how to reproduce this. You're running emacs under X windows? What locale are you using? As in bug 145759 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=145759), I see this problem under both X Windows and consoles, with both LANG=en_US.UTF-8 and LC_ALL=C, and suspect that the bugs are related. I have LANG=en_US.ISO8859-1 LC_COLLATE=C The problem persists if I remove both definitions. I updated cc-mode in emacs-21.4-5 to the latest version, since that is apparently where the problem is. Could you please test that to see if it fixes the problem for you, and if so close this bug as fixed in rawhide. Thanks. [Alternatively if you're not able to test the latest emacs from FC development or rebuild the srpm, you make like to try to install the latest cc-mode release yourself separately and test that. See the tracker bug 158044 for the location.] Yup, the new version of c-mode did the trick. Thanks. |