[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword
From: |
Stefan Monnier |
Subject: |
bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword |
Date: |
Wed, 11 May 2016 08:32:52 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> Since #'(lambda is fully equivalent to (lambda, we don't want to write the
> former anymore. The existing uses are probably holdouts from the time when
> the equivalence wasn't true yet.
I think there was something else at play (maybe the efficiency impact of
macro-expanding `lambda'? I don't know): the equivalence has been true
for *many* years already (the `lambda' macro was added sometime in
Emacs-18 already, IIRC (and no, I don't remember it from when it
appeared because I wasn't an Emacs user yet back then, but I traced it
back the RCS history at some point)).
> Let's not give the users a choice, it's not exactly a meaningful one.
Agreed. In most cases whether something is a macro or a special form is
a detail of implementation (typically driven by efficiency or
simplicity).
> We should rather have a standard which faces to use where that's kept
> consistent across major modes.
> Alas, our choice is not easy here, since `font-lock-builtin-face' is
> currently used for keyword symbols.
Not sure what you mean. To the extent that the macro symbols form
syntactic constructs, they correspond to the "reserved keywords" that we
usually highlight in font-lock-keyword-face in other languages, so
I think in this respect, we're pretty much consistent.
Stefan
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Anders Lindgren, 2016/05/06
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Anders Lindgren, 2016/05/06
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Anders Lindgren, 2016/05/10
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Eli Zaretskii, 2016/05/10
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Dmitry Gutov, 2016/05/10
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Anders Lindgren, 2016/05/11
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Anders Lindgren, 2016/05/11
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Eli Zaretskii, 2016/05/11
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, John Wiegley, 2016/05/12
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Dmitry Gutov, 2016/05/11
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword,
Stefan Monnier <=
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Dmitry Gutov, 2016/05/11
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Anders Lindgren, 2016/05/11
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Stefan Monnier, 2016/05/11
- bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Anders Lindgren, 2016/05/11
bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Leo Liu, 2016/05/11
bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword, Leo Liu, 2016/05/11