[Top][All Lists]

[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:25:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> I don't see the need to push this to emacs-25.  It doesn't seem to be
>> a problem that's critical enough.  I think this should be installed on
>> master, assuming no one objects.
> Not highlighting lambda in those quoted cases isn't wrong because lambda
> is no longer a macro but a symbol.

I tend to agree.  It'd be fine to highlight them, but it's
not necessary.

The form #'(lambda ...) is not deprecated nor do I expect it to become
deprecated any time soon, but most people like myself prefer to simply
use (lambda ...) instead.

In #'(lambda ..) the `lambda' symbol is definitely not a macro, but is
a kind of special form, yet one that's yet different from progn/if/...

So it's OK to highlight it, but it's also perfectly OK not to.

In my buffers it looks like λ anyway, so it really doesn't matter.


PS: If we want to refine highlighting of #' then we could also highlight
    #'<symbol> differently depending on whether <symbol> is a function,
    a macro/specialform (probably highlighted as some sort of error) or
    none of those.

reply via email to

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