emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem report: No syntax highlight for C


From: Jie Zhang
Subject: Re: Problem report: No syntax highlight for C
Date: Sun, 4 Jun 2006 01:30:31 +0800

On 6/3/06, Eli Zaretskii <address@hidden> wrote:
> Date: Sat, 3 Jun 2006 19:59:10 +0800
> From: "Jie Zhang" <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden, address@hidden
>
> > > > Is this in "emacs -Q"?  If so, I cannot reproduce this.  Do you have
> > > > any messages in the *Messages* buffer that could shed a light on the
> > > > reason(s)?
> > > >
> > > I'm rather new to emacs. I don't know what exactly "emacs -Q" meas.
> > > Does it means passing -Q to emacs while invoking it?
> >
> > Yes, it means invoke Emacs with the -Q command-line switch.

You didn't say if the problem happens with -Q.  Please do.

It happens with -Q.

> > If using -Q doesn't make this problem go away, please tell how up to
> > date is your Emacs code.  If you checked out the CVS tree yourself,
> > please tell at what date you did that.  If you got the sources from
> > someone else, please tell what is the first entry that you see in the
> > file lisp/ChangeLog.

You didn't reply to this.  Please do.

I'm using the CVS code checked out today. Actually, this problem
exists for me since the code checked out using -D20060525 or later.
The first entry in lisp/ChangeLog in my code is:

2006-06-03  Vivek Dasmohapatra  <address@hidden>

       * progmodes/sh-script.el (sh-quoted-exec): New face for quoted
       exec constructs like `foo bar`.
       (sh-quoted-subshell): New helper function to search for a possibly
       nested subshell (like `` or $()) within a "" quoted string.
       (sh-font-lock-keywords-var): Add sh-quoted-exec for Bash.
       (sh-apply-quoted-subshell): Flag quote characters inside a
       subshell, which is itself already in a quoted region, as
       punctuation, since this is the closest to what they actually are.
       (sh-font-lock-syntactic-keywords): Add sh-quoted-subshell and
       sh-apply-quoted-subshell.
       (sh-font-lock-syntactic-face-function): Apply the new face for
       text inside `` instead of the old font-lock-string-face.

> I have narrowed down the changes which cause this issue. The CVS on
> 20060524 has no such issue, but 20060525 does. There are two and half
> entries which were added between these two dates. I add their owners
> to the CC list. Hope this help.

This doesn't explain why I don't see the problem on my machine, with
today's CVS.  Do you have this problem with every .c file, or just
with some?  If the latter, please post the smallest .c file which
causes the problem.

I have this problem in every .c file I opens. I'm using Ubuntu Dapper,
which is upgraded everyday. I checked out emacs from
":pserver:address@hidden:/sources/emacs".

Jie




reply via email to

[Prev in Thread] Current Thread [Next in Thread]