all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jason Vas Dias"<jason.vas.dias@ptt.ie>
To: Alan Mackenzie <acm@muc.de>
Cc: 72126-done@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>,
	jason.vas.dias@gmail.com, jason.vas.dias@ptt.ie,
	jason.vas.dias@pttireland.ie, emacs-devel@gnu.org
Subject: bug#72126: closed (Bug#72126 fixed: v29.2 Java FontLock mode weirdness ?)
Date: Sat, 27 Jul 2024 01:52:38 +0100	[thread overview]
Message-ID: <hhikwr64h5.fsf@ptt.ie> (raw)
In-Reply-To: <ZqPIMKavQXyKm8zS@ACM>



Yes, thank you Alan, that fixed it ! :

# diff -U1 cc-engine.el~ cc-engine.el
--- cc-engine.el~	2024-06-21 14:09:32.000000000 +0100
+++ cc-engine.el	2024-07-27 01:38:10.486395403 +0100
@@ -8525,3 +8525,4 @@
 
-  (let ((start (point))
+ (let ((start (point))
+       	(old-record-type-identifiers c-record-type-identifiers)
 	(old-found-types (copy-hash-table c-found-types))
@@ -8562,3 +8563,4 @@
 
-	(setq c-found-types old-found-types)
+       (setq  c-record-type-identifiers old-record-type-identifiers
+	      c-found-types old-found-types)
 	(goto-char start)

[root@jvdspc:/usr/share/emacs/29.4/lisp/progmodes [4474] 01:45:06 #:79!:35920]{1}
# emacs --batch -l comp -f batch-byte+native-compile cc-engine.el 
... OK

I then loaded /tmp/a.java:

class a {

    public void f() {
        int a = ( b < c ) 
    }
}

and c is no longer green !

Thank you, Best Regards

Jason



  reply	other threads:[~2024-07-27  0:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-14 15:33 v29.2 Java FontLock mode weirdness ? Jason Vas Dias
2024-07-14 20:39 ` Alan Mackenzie
2024-07-15  2:24   ` Eli Zaretskii
2024-07-15 13:37     ` v29.4: Anomalous Highlighting in "Java//l Abbrev" (java-mode) Jason Vas Dias
2024-07-22 12:40   ` Bug#72126 fixed: v29.2 Java FontLock mode weirdness ? Alan Mackenzie
2024-07-22 12:40   ` bug#72126: " Alan Mackenzie
2024-07-26 13:26 ` bug#72126: closed (Bug#72126 fixed: v29.2 Java FontLock mode weirdness ?) Jason Vas Dias
2024-07-26 13:26 ` Jason Vas Dias
2024-07-26 16:00   ` Alan Mackenzie
2024-07-26 16:00   ` Alan Mackenzie
2024-07-27  0:52     ` Jason Vas Dias [this message]
2024-07-27  0:52     ` Jason Vas Dias

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=hhikwr64h5.fsf@ptt.ie \
    --to=jason.vas.dias@ptt.ie \
    --cc=72126-done@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=jason.vas.dias@gmail.com \
    --cc=jason.vas.dias@pttireland.ie \
    /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.