From: "Tobias C. Rittweiler" <tcr@freebits.de>
To: emacs-devel@gnu.org
Subject: Re: Low redisplay performance (23 regression)
Date: Thu, 30 Apr 2009 22:34:16 +0200 [thread overview]
Message-ID: <873abpx4mv.fsf@freebits.de> (raw)
In-Reply-To: jwviqkl29vs.fsf-monnier+emacs@gnu.org
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Could you show the value of font-lock-keywords in that buffer?
Sure.
-T.
PS.
Value:
(t
(("(\\(\\(\\s_\\|\\w\\)*:\\(define-\\|do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)" 1 font-lock-keyword-face)
("(\\(\\(define-\\|do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)" 1 font-lock-keyword-face)
("(\\(check-\\(\\s_\\|\\w\\)*\\)" 1 font-lock-warning-face)
(slime-search-suppressed-forms 0 'slime-reader-conditional-face t)
("(\\(def\\(\\(advice\\|alias\\|generic\\|macro\\*?\\|method\\|setf\\|subst\\*?\\|un\\*?\\|ine-\\(condition\\|\\(?:derived\\|\\(?:global\\(?:ized\\)?-\\)?minor\\|generic\\)-mode\\|method-combination\\|setf-expander\\|skeleton\\|widget\\|function\\|\\(compiler\\|modify\\|symbol\\)-macro\\)\\)\\|\\(const\\(ant\\)?\\|custom\\|varalias\\|face\\|parameter\\|var\\)\\|\\(class\\|group\\|theme\\|package\\|struct\\|type\\)\\)\\)\\>[ '(]*\\(setf[ ]+\\sw+)\\|\\sw+\\)?"
(1 font-lock-keyword-face)
(9
(cond
((match-beginning 3)
font-lock-function-name-face)
((match-beginning 6)
font-lock-variable-name-face)
(t font-lock-type-face))
nil t))
("^;;;###\\([-a-z]*autoload\\)" 1 font-lock-warning-face prepend)
("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend)
("(\\(cond\\(?:ition-case\\)?\\|eval-\\(?:a\\(?:fter-load\\|nd-compile\\|t-startup\\)\\|next-after-load\\|when\\(?:-compile\\)?\\)\\|i\\(?:f\\|nline\\)\\|l\\(?:ambda\\|et\\*?\\)\\|prog[*12nv]?\\|save-\\(?:current-buffer\\|excursion\\|match-data\\|restriction\\|selected-window\\|window-excursion\\)\\|track-mouse\\|unwind-protect\\|w\\(?:hile\\(?:-no-input\\)?\\|ith-\\(?:c\\(?:a\\(?:\\(?:se\\|tegory\\)-table\\)\\|urrent-buffer\\)\\|electric-help\\|local-quit\\|no-warnings\\|output-to-\\(?:string\\|temp-buffer\\)\\|s\\(?:elected-\\(?:frame\\|window\\)\\|yntax-table\\)\\|t\\(?:emp-\\(?:buffer\\|\\(?:fil\\|messag\\)e\\)\\|imeout\\(?:-handler\\)?\\)\\)\\)\\)\\>" . 1)
("(\\(b\\(?:\\(?:loc\\|rea\\)k\\)\\|c\\(?:ase\\|case\\|ompiler-let\\|typecase\\)\\|d\\(?:e\\(?:cla\\(?:im\\|re\\)\\|structuring-bind\\)\\|o\\(?:\\*\\|list\\|times\\)?\\)\\|e\\(?:\\(?:type\\)?case\\)\\|flet\\|go\\|handler-\\(?:bind\\|case\\)\\|i\\(?:gnore-errors\\|n-package\\)\\|l\\(?:abels\\|exical-let\\*?\\|o\\(?:cally\\|op\\)\\)\\|m\\(?:acrolet\\|ultiple-value-\\(?:bind\\|prog1\\)\\)\\|proclaim\\|re\\(?:start-\\(?:bind\\|case\\)\\|turn\\(?:-from\\)?\\)\\|symbol-macrolet\\|t\\(?:agbody\\|\\(?:h\\|ypecas\\)e\\)\\|unless\\|w\\(?:hen\\|ith-\\(?:accessors\\|co\\(?:mpilation-unit\\|ndition-restarts\\)\\|hash-table-iterator\\|input-from-string\\|o\\(?:pen-\\(?:file\\|stream\\)\\|utput-to-string\\)\\|package-iterator\\|s\\(?:imple-restart\\|lots\\|tandard-io-syntax\\)\\)\\)\\)\\>" . 1)
("(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\>[ ']*\\(\\sw+\\)?"
(1 font-lock-keyword-face)
(2 font-lock-constant-face nil t))
("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>" 1 font-lock-warning-face)
("\\\\\\\\\\[\\(\\sw+\\)\\]" 1 font-lock-constant-face prepend)
("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend)
("\\<:\\sw+\\>" 0 font-lock-builtin-face)
("\\<\\&\\sw+\\>" . font-lock-type-face)
((lambda
(bound)
(catch 'found
(while
(re-search-forward "\\(\\\\\\\\\\)\\(?:\\(\\\\\\\\\\)\\|\\((\\(?:\\?[0-9]*:\\)?\\|[|)]\\)\\)" bound t)
(unless
(match-beginning 2)
(let
((face
(get-text-property
(1-
(point))
'face)))
(when
(or
(and
(listp face)
(memq 'font-lock-string-face face))
(eq 'font-lock-string-face face))
(throw 'found t)))))))
(1 'font-lock-regexp-grouping-backslash prepend)
(3 'font-lock-regexp-grouping-construct prepend)))
("(\\(\\(\\s_\\|\\w\\)*:\\(define-\\|do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)"
(1 font-lock-keyword-face))
("(\\(\\(define-\\|do-\\|with-\\)\\(\\s_\\|\\w\\)*\\)"
(1 font-lock-keyword-face))
("(\\(check-\\(\\s_\\|\\w\\)*\\)"
(1 font-lock-warning-face))
(slime-search-suppressed-forms
(0 'slime-reader-conditional-face t))
("(\\(def\\(\\(advice\\|alias\\|generic\\|macro\\*?\\|method\\|setf\\|subst\\*?\\|un\\*?\\|ine-\\(condition\\|\\(?:derived\\|\\(?:global\\(?:ized\\)?-\\)?minor\\|generic\\)-mode\\|method-combination\\|setf-expander\\|skeleton\\|widget\\|function\\|\\(compiler\\|modify\\|symbol\\)-macro\\)\\)\\|\\(const\\(ant\\)?\\|custom\\|varalias\\|face\\|parameter\\|var\\)\\|\\(class\\|group\\|theme\\|package\\|struct\\|type\\)\\)\\)\\>[ '(]*\\(setf[ ]+\\sw+)\\|\\sw+\\)?"
(1 font-lock-keyword-face)
(9
(cond
((match-beginning 3)
font-lock-function-name-face)
((match-beginning 6)
font-lock-variable-name-face)
(t font-lock-type-face))
nil t))
("^;;;###\\([-a-z]*autoload\\)"
(1 font-lock-warning-face prepend))
("\\[\\(\\^\\)"
(1 font-lock-negation-char-face prepend))
("(\\(cond\\(?:ition-case\\)?\\|eval-\\(?:a\\(?:fter-load\\|nd-compile\\|t-startup\\)\\|next-after-load\\|when\\(?:-compile\\)?\\)\\|i\\(?:f\\|nline\\)\\|l\\(?:ambda\\|et\\*?\\)\\|prog[*12nv]?\\|save-\\(?:current-buffer\\|excursion\\|match-data\\|restriction\\|selected-window\\|window-excursion\\)\\|track-mouse\\|unwind-protect\\|w\\(?:hile\\(?:-no-input\\)?\\|ith-\\(?:c\\(?:a\\(?:\\(?:se\\|tegory\\)-table\\)\\|urrent-buffer\\)\\|electric-help\\|local-quit\\|no-warnings\\|output-to-\\(?:string\\|temp-buffer\\)\\|s\\(?:elected-\\(?:frame\\|window\\)\\|yntax-table\\)\\|t\\(?:emp-\\(?:buffer\\|\\(?:fil\\|messag\\)e\\)\\|imeout\\(?:-handler\\)?\\)\\)\\)\\)\\>"
(1 font-lock-keyword-face))
("(\\(b\\(?:\\(?:loc\\|rea\\)k\\)\\|c\\(?:ase\\|case\\|ompiler-let\\|typecase\\)\\|d\\(?:e\\(?:cla\\(?:im\\|re\\)\\|structuring-bind\\)\\|o\\(?:\\*\\|list\\|times\\)?\\)\\|e\\(?:\\(?:type\\)?case\\)\\|flet\\|go\\|handler-\\(?:bind\\|case\\)\\|i\\(?:gnore-errors\\|n-package\\)\\|l\\(?:abels\\|exical-let\\*?\\|o\\(?:cally\\|op\\)\\)\\|m\\(?:acrolet\\|ultiple-value-\\(?:bind\\|prog1\\)\\)\\|proclaim\\|re\\(?:start-\\(?:bind\\|case\\)\\|turn\\(?:-from\\)?\\)\\|symbol-macrolet\\|t\\(?:agbody\\|\\(?:h\\|ypecas\\)e\\)\\|unless\\|w\\(?:hen\\|ith-\\(?:accessors\\|co\\(?:mpilation-unit\\|ndition-restarts\\)\\|hash-table-iterator\\|input-from-string\\|o\\(?:pen-\\(?:file\\|stream\\)\\|utput-to-string\\)\\|package-iterator\\|s\\(?:imple-restart\\|lots\\|tandard-io-syntax\\)\\)\\)\\)\\>"
(1 font-lock-keyword-face))
("(\\(catch\\|throw\\|featurep\\|provide\\|require\\)\\>[ ']*\\(\\sw+\\)?"
(1 font-lock-keyword-face)
(2 font-lock-constant-face nil t))
("(\\(abort\\|assert\\|warn\\|check-type\\|cerror\\|error\\|signal\\)\\>"
(1 font-lock-warning-face))
("\\\\\\\\\\[\\(\\sw+\\)\\]"
(1 font-lock-constant-face prepend))
("`\\(\\sw\\sw+\\)'"
(1 font-lock-constant-face prepend))
("\\<:\\sw+\\>"
(0 font-lock-builtin-face))
("\\<\\&\\sw+\\>"
(0 font-lock-type-face))
((lambda
(bound)
(catch 'found
(while
(re-search-forward "\\(\\\\\\\\\\)\\(?:\\(\\\\\\\\\\)\\|\\((\\(?:\\?[0-9]*:\\)?\\|[|)]\\)\\)" bound t)
(unless
(match-beginning 2)
(let
((face
(get-text-property
(1-
(point))
'face)))
(when
(or
(and
(listp face)
(memq 'font-lock-string-face face))
(eq 'font-lock-string-face face))
(throw 'found t)))))))
(1 'font-lock-regexp-grouping-backslash prepend)
(3 'font-lock-regexp-grouping-construct prepend))
("^\\s("
(0
(if
(memq
(get-text-property
(match-beginning 0)
'face)
'(font-lock-string-face font-lock-doc-face font-lock-comment-face))
(list 'face font-lock-warning-face 'help-echo "Looks like a toplevel defun: escape the parenthesis"))
prepend)))
Local in buffer l1-unicode.lisp; global value is nil
next prev parent reply other threads:[~2009-04-30 20:34 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-20 21:58 Low redisplay performance (23 regression) David Reitter
2009-04-20 22:31 ` Deniz Dogan
2009-04-20 22:33 ` Chong Yidong
2009-04-20 23:20 ` David Reitter
2009-04-21 3:15 ` Eli Zaretskii
2009-04-21 12:36 ` Juanma Barranquero
2009-04-21 13:51 ` David Reitter
2009-04-21 14:20 ` Juanma Barranquero
2009-04-21 18:58 ` Eli Zaretskii
2009-04-21 19:07 ` Eli Zaretskii
2009-04-21 23:24 ` Juanma Barranquero
2009-04-21 20:19 ` David Reitter
2009-04-21 20:53 ` Chong Yidong
2009-04-21 22:15 ` David Reitter
2009-04-22 15:30 ` Daniel Clemente
2009-04-22 15:50 ` David Reitter
2009-04-22 16:28 ` Chong Yidong
2009-04-22 18:26 ` David Reitter
2009-04-23 13:34 ` Willem Rein Oudshoorn
2009-04-23 22:45 ` Miles Bader
2009-05-06 13:28 ` Willem Rein Oudshoorn
2009-04-22 22:58 ` YAMAMOTO Mitsuharu
2009-04-23 1:01 ` ftx font driver [Re: Low redisplay performance (23 regression)] Kenichi Handa
2009-04-23 7:31 ` YAMAMOTO Mitsuharu
2009-04-23 11:22 ` Kenichi Handa
2009-04-23 12:38 ` Chong Yidong
2009-04-23 14:56 ` Stefan Monnier
2009-04-24 1:09 ` Kenichi Handa
2009-04-24 2:01 ` Stefan Monnier
2009-04-24 3:52 ` Chong Yidong
2009-04-25 14:38 ` Chong Yidong
2009-04-21 23:16 ` Low redisplay performance (23 regression) Juanma Barranquero
2009-04-21 14:56 ` William Xu
2009-04-21 15:30 ` David Reitter
2009-04-22 14:25 ` William Xu
2009-04-29 10:17 ` Tobias C. Rittweiler
2009-04-29 11:54 ` David Reitter
2009-04-29 13:33 ` Stefan Monnier
2009-04-29 17:35 ` Tobias C. Rittweiler
2009-04-29 20:20 ` Stefan Monnier
2009-04-30 7:34 ` Tobias C. Rittweiler
2009-04-30 20:00 ` Stefan Monnier
2009-04-30 20:34 ` Tobias C. Rittweiler [this message]
2009-04-29 18:01 ` Tobias C. Rittweiler
2009-04-29 17:40 ` Tassilo Horn
2009-04-29 17:49 ` David Reitter
2009-04-29 18:21 ` Tassilo Horn
[not found] ` <14FF0914-56BA-41D6-85DA-A4024694CF75@gmail.com>
2009-04-29 19:45 ` Tassilo Horn
2009-04-29 18:45 ` Chong Yidong
2009-04-30 2:46 ` YAMAMOTO Mitsuharu
2009-04-30 3:49 ` Chong Yidong
2009-04-30 6:27 ` YAMAMOTO Mitsuharu
2009-04-29 22:10 ` Miles Bader
2009-04-30 5:05 ` Chong Yidong
2009-04-30 7:53 ` Tobias C. Rittweiler
2009-04-30 9:37 ` Tassilo Horn
2009-04-30 12:44 ` David Reitter
2009-04-29 18:38 ` Dan Nicolaescu
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=873abpx4mv.fsf@freebits.de \
--to=tcr@freebits.de \
--cc=emacs-devel@gnu.org \
/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.