[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ediff: Error during redisplay
From: |
Stephen Berman |
Subject: |
Re: ediff: Error during redisplay |
Date: |
Fri, 20 May 2005 15:22:17 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
On Fri, 20 May 2005 12:52:26 +0200 (CEST) Frederik Fouvry <address@hidden>
wrote:
> Symptoms:
>
> Using ediff, I get very often (i.e. on every region at least
> twice) in *Message*:
>
> Error during redisplay: (search-failed \([\][\]\)\([(|)]\)\(\?:\)?)
I think that's due to this change:
2005-05-19 Daniel Pfeiffer <address@hidden>
* font-lock.el (lisp-font-lock-keywords-2): Do \\) only in
strings, because (eq ... ?\\) is fairly frequent.
To suppress the message set the NOERROR argument of re-search-forward
to t:
*** /home/steve/cvsroot/emacs/lisp/font-lock.el.~1.256.~ 2005-05-20
12:59:37.000000000 +0200
--- /home/steve/cvsroot/emacs/lisp/font-lock.el 2005-05-20 15:07:06.000000000
+0200
***************
*** 2055,2061 ****
("\\&\\sw+\\>" . font-lock-type-face)
;; Make regexp grouping constructs bold, so they stand out, but only
in strings.
((lambda (bound)
! (if (re-search-forward "\\([\\][\\]\\)\\([(|)]\\)\\(\\?:\\)?" bound)
(let ((face (get-text-property (1- (point)) 'face)))
(if (listp face)
(memq 'font-lock-string-face face)
--- 2055,2061 ----
("\\&\\sw+\\>" . font-lock-type-face)
;; Make regexp grouping constructs bold, so they stand out, but only
in strings.
((lambda (bound)
! (if (re-search-forward "\\([\\][\\]\\)\\([(|)]\\)\\(\\?:\\)?" bound t)
(let ((face (get-text-property (1- (point)) 'face)))
(if (listp face)
(memq 'font-lock-string-face face)