emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: [make-mode.el] Multi-line font locking not working correctly


From: Richard Stallman
Subject: Re: [make-mode.el] Multi-line font locking not working correctly
Date: Sun, 05 Jun 2005 16:26:18 -0400

I think the only feasible fix for this problem is to turn off the new
feature of highlighting the value assigned to the make macro, and go
back to highlighting only the macro name.

It is sort of unfortunate, but I don't know how to fix it any better
than this.


*** make-mode.el        03 Jun 2005 06:39:21 -0400      1.100
--- make-mode.el        05 Jun 2005 13:03:07 -0400      
***************
*** 291,297 ****
  ;; that if you change this regexp you might have to fix the imenu index in
  ;; makefile-imenu-generic-expression.
  (defconst makefile-macroassign-regex
!   "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=[ 
\t]*\\(\\(?:.+\\\\\n\\)*.+\\)\\|[*:+]?[:?]?=[ \t]*\\(\\(?:.*\\\\\n\\)*.*\\)\\)"
    "Regex used to find macro assignment lines in a makefile.")
  
  (defconst makefile-var-use-regex
--- 291,297 ----
  ;; that if you change this regexp you might have to fix the imenu index in
  ;; makefile-imenu-generic-expression.
  (defconst makefile-macroassign-regex
!   "^ *\\([^ \n\t][^:#= \t\n]*\\)[ \t]*\\(?:!=\\|[*:+]?[:?]?=\\)"
    "Regex used to find macro assignment lines in a makefile.")
  
  (defconst makefile-var-use-regex




reply via email to

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