[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cperl + isearch + font-lock-multiline sometimes very slow
From: |
martin rudalics |
Subject: |
Re: cperl + isearch + font-lock-multiline sometimes very slow |
Date: |
Sun, 22 Oct 2006 11:57:44 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Two further issues which, however, don't seem related to the bug:
(1) The following causes an Invalid face reference
(defcustom cperl-invalid-face ; Does not customize with '' on XEmacs
(if cperl-singly-quote-face
'underline ''underline) ; On older Emacsen was evaluated by `font-lock'
(if cperl-singly-quote-face
"*This face is used for highlighting trailing whitespace."
"*Face for highlighting trailing whitespace.")
:type 'face
:version "21.1"
:group 'cperl-faces)
Momentary remedy: Use
(defcustom cperl-invalid-face 'underline
"*Face for highlighting trailing whitespace."
:type 'face
:version "21.1"
:group 'cperl-faces)
instead.
(2) `cperl-mode' sets `font-lock-multiline' _globally_ to t with all
sorts of unpleasing side-effects. This should be obviously done via
`font-lock-set-defaults'.
Momentary remedy: Change the setting of this variable in `cperl-mode'
to:
(set (make-local-variable 'font-lock-multiline) t))
(I think `font-lock-multiline' asks for `make-variable-buffer-local' in
font-lock to defy similar attempts to set this.)
- Re: cperl + isearch + font-lock-multiline sometimes very slow, (continued)
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Klaus Zeitler, 2006/10/20
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/20
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/20
- Re: cperl + isearch + font-lock-multiline sometimes very slow, martin rudalics, 2006/10/21
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/22
- Re: cperl + isearch + font-lock-multiline sometimes very slow, martin rudalics, 2006/10/22
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Chong Yidong, 2006/10/22
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Klaus Zeitler, 2006/10/23
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Stefan Monnier, 2006/10/23
- Re: cperl + isearch + font-lock-multiline sometimes very slow, Stefan Monnier, 2006/10/23
- Re: cperl + isearch + font-lock-multiline sometimes very slow,
martin rudalics <=