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: Sat, 3 Jun 2006 19:59:10 +0800

On 6/3/06, Eli Zaretskii <address@hidden> wrote:
[Please don't take the discussion off the list]

> Date: Sat, 3 Jun 2006 08:59:41 +0800
> From: "Jie Zhang" <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.

> The messages in the *Messages* buffer are:
>
> (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.

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.


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.


Jie



$ cvs -z9 -q diff -u -p -N -D20060524 -D20060525 ChangeLog
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/src/ChangeLog,v
retrieving revision 1.5083
retrieving revision 1.5086
diff -u -p -r1.5083 -r1.5086
--- ChangeLog   23 May 2006 08:12:13 -0000      1.5083
+++ ChangeLog   24 May 2006 13:51:11 -0000      1.5086
@@ -1,3 +1,61 @@
+2006-05-24  Alan Mackenzie  <address@hidden>
+
+       * lread.c (Vload_history): Enhance doc-string to say that the file
+       is the absolute truename of the loaded file.
+
+       * lread.c (Vafter_load_alist): doc-string: state that an element
+       now has a regexp to match file names, not a file name as such.
+
+       * lread.c (readevalloop): Call file-truename on the name for
+       load-history, except at preloading time.
+
+       * lread.c (Fload): At preloading time, preserve the extension of
+       the filename which goes into load-history.  New variable
+       hist_file_name.
+
+       * lread.c (Fload): Do eval-after-load stuff by calling the lisp
+       function do-after-load-evaluation.
+
+2006-05-24  YAMAMOTO Mitsuharu  <address@hidden>
+
+       * mac.c (ae_attr_table): New variable.
+       (syms_of_mac): Intern and staticpro its elements.
+       (mac_aelist_to_lisp): Also convert Apple event attributes.
+       (mac_ae_put_lisp): New function.
+       (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text.
+
+       * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc.
+
+       * macselect.c (Qemacs_suspension_id): New variable.
+       (syms_of_macselect): Intern and staticpro it.
+       (struct suspended_ae_info): New struct.
+       (deferred_apple_events, defer_apple_events)
+       (Fmac_process_deferred_apple_events): Use it.
+       (suspended_apple_events): New variable.
+       (mac_handle_apple_event_1): New function.
+       (mac_handle_apple_event): Use it.  Don't process previously
+       suspended events.
+       (cleanup_suspended_apple_events, get_suspension_id)n
+       (cleanup_all_suspended_apple_events): New functions.
+       (init_apple_event_handler): Call cleanup_all_suspended_apple_events
+       at exit.
+       (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter)
+       (Fmac_resume_apple_event): New defuns.
+       (syms_of_macselect): Defsubr them.
+
+       * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]:
+       Fix last change.  Don't map `fn' modifier if pressed with F1 ... F12.
+
+       * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator.
+       (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator.
+       (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]:
Likewise.+       (gestaltSystemVersionMajor,
gestaltSystemVersionMinor)
+       (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]:
+       Likewise.
+       (typeUTF8Text, kEventParamWindowMouseLocation)
+       [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise.
+       (x_get_focus_frame, mac_ae_put_lisp): Add externs.
+
2006-05-23  YAMAMOTO Mitsuharu  <address@hidden>

       * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove.
@@ -18,6 +76,9 @@

2006-05-21  Richard Stallman  <address@hidden>

+       * xfaces.c (best_matching_font): Abort for best == NULL
+       before we start to use it.
+
       * buffer.c (syms_of_buffer, Fmake_overlay): Doc fixes.

2006-05-20  Kim F. Storm  <address@hidden>




reply via email to

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