* font-lock-keywords for new macros
@ 2012-11-19 17:30 Daniel Hackney
2012-11-19 18:32 ` Stefan Monnier
2012-11-19 18:49 ` Glenn Morris
0 siblings, 2 replies; 3+ messages in thread
From: Daniel Hackney @ 2012-11-19 17:30 UTC (permalink / raw)
To: Emacs development discussions
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
Many of the new macros in 24.3 aren't in `lisp-font-lock-keywords' which
means they don't get highlighted. This is true for the `cl-*' macros, as
well as `ert-deftest'. There are probably some others which aren't
fontified either.
[-- Attachment #2: Type: text/html, Size: 275 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: font-lock-keywords for new macros
2012-11-19 17:30 font-lock-keywords for new macros Daniel Hackney
@ 2012-11-19 18:32 ` Stefan Monnier
2012-11-19 18:49 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2012-11-19 18:32 UTC (permalink / raw)
To: Daniel Hackney; +Cc: Emacs development discussions
> Many of the new macros in 24.3 aren't in `lisp-font-lock-keywords' which
> means they don't get highlighted. This is true for the `cl-*' macros, as
> well as `ert-deftest'. There are probably some others which aren't
> fontified either.
FWIW, I think we should not hardcode the list of macros in
lisp-font-lock-keywords but instead build it dynamically (e.g. with an
after-load-functions hook to flush the cached regexp).
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: font-lock-keywords for new macros
2012-11-19 17:30 font-lock-keywords for new macros Daniel Hackney
2012-11-19 18:32 ` Stefan Monnier
@ 2012-11-19 18:49 ` Glenn Morris
1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2012-11-19 18:49 UTC (permalink / raw)
To: Daniel Hackney; +Cc: Emacs development discussions
Daniel Hackney wrote:
> Many of the new macros in 24.3 aren't in `lisp-font-lock-keywords' which
> means they don't get highlighted. This is true for the `cl-*' macros, as
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12761
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-19 18:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-19 17:30 font-lock-keywords for new macros Daniel Hackney
2012-11-19 18:32 ` Stefan Monnier
2012-11-19 18:49 ` Glenn Morris
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).