bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Anders Lindgren
Subject: bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword
Date: Wed, 11 May 2016 15:08:09 +0200

Hi!
 
> 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).

I, partially, agree.

Emacs has for a long time highlighted "keywords" (taken with a grain of salt) like "progn", "if", "when", "and", "or" etc. In other words, the core functions used when writing elisp. I agree in that it should not matter whether they are implemented in C or using a macro.

However, now Emacs also highlights *all* macros when they are used. In some cases, like in "define-lex-block-type-analyzer", the keyword face is used so much that the visual cues it normally provides are lost. In this case, it would be better to use a different face for the user macros. One candidate would be font-lock-preprocessor-face.


Anyway, we're striding away from the subject here. I'll commit the fix for the "lambda" problem on the master branch and leave it broken on emacs-25.

    -- Anders


reply via email to

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