[Top][All Lists]

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

Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms d

From: Stefan Monnier
Subject: Re: [Emacs-diffs] master 51e7e46: Font-lock elisp macros/special forms dynamically
Date: Sun, 15 Mar 2015 15:15:57 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Is it really a good idea to highlight *all* macros? Many are meant to be
> used just like functions and have the same semantics.

IMNSHO most of those are mistakes (should use compiler-macros instead).

> Instead of updating a big macro regexp after load, there should be
> a `declare' attribute that would let specific macros (and functions)
> opt into being fontified specially.

Maybe the other way around would be better: add a declaration that says
"this macro faithfully mimicks the behavior of a function".

> As it is, I'm going to have to disable this functionality locally.

I must admit I haven't tried it out yet, so I'm not sure if I'll like
the result.


reply via email to

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