From: "Jie Zhang" <jzhang918@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Problem report: No syntax highlight for C
Date: Sat, 3 Jun 2006 20:15:41 +0800 [thread overview]
Message-ID: <6f48278f0606030515l2e127dfcj126dc28a121b723a@mail.gmail.com> (raw)
In-Reply-To: <20060603105839.GA1078@muc.de>
On 6/3/06, Alan Mackenzie <acm@muc.de> wrote:
> On Sat, Jun 03, 2006 at 10:59:01AM +0300, Eli Zaretskii wrote:
> > [Please don't take the discussion off the list]
>
> Yes, please don't! Otherwise, I can't see it, and can't reply to it.
> :-(
>
Oops! This was not what I meant to do. It must be an accident.
> > > Date: Sat, 3 Jun 2006 08:59:41 +0800
> > > From: "Jie Zhang" <jzhang918@gmail.com>
> > > (emacs t.c)
> > > For information about the GNU Project and its goals, type C-h C-p.
> > > t.c has auto save data; consider M-x recover-this-file
> > > Loading cc-mode...done
> > > File mode specification error: (void-variable c-font-lock-keywords-3)
>
> > > The last line seems pointing out the cause of this issue.
>
> > Yes, it does. But we have to find out what causes that error.
>
> This is (probably) the problem with eval-after-load that I was trying to
> fix with my recent amendments. The following form in cc-mode.el:
>
> (eval-after-load "font-lock"
> '(require 'cc-fonts))
>
> fails to trigger if Emacs's directory (e.g. ~acm/emacs/emacs/) is
> actually a symbolic link to another directory.
>
> Jie, is this the way your Emacs directory is set up? Are you actually
No.
> running the Emacs CVS? (Try M-x emacs-version. The CVS will tell you
> something like "GNU Emacs 22.0.50 ...." whereas the released version will
> be "GNU Emacs 21.4.1 .....".
>
Yes.
> As a workaround, please try putting the following into your .emacs:
>
> (require 'cc-mode)
> (require 'cc-fonts)
>
> Does this make the problem go away?
>
Yes.
Jie
prev parent reply other threads:[~2006-06-03 12:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-02 17:07 Problem report: No syntax highlight for C Jie Zhang
2006-06-02 17:55 ` David Kastrup
2006-06-02 21:03 ` Eli Zaretskii
[not found] ` <6f48278f0606021759raaa2f9an793e07bd7cb23347@mail.gmail.com>
2006-06-03 7:59 ` Eli Zaretskii
2006-06-03 11:59 ` Jie Zhang
2006-06-03 14:05 ` Eli Zaretskii
2006-06-03 17:30 ` Jie Zhang
2006-06-03 18:17 ` Eli Zaretskii
2006-06-04 15:04 ` Jie Zhang
2006-06-04 18:48 ` Eli Zaretskii
2006-06-05 4:44 ` Jie Zhang
2006-06-05 19:27 ` Eli Zaretskii
2006-06-06 5:52 ` Jie Zhang
[not found] ` <20060603105839.GA1078@muc.de>
2006-06-03 12:15 ` Jie Zhang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6f48278f0606030515l2e127dfcj126dc28a121b723a@mail.gmail.com \
--to=jzhang918@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.