all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo Liu <sdl.web@gmail.com>
Cc: 23465@debbugs.gnu.org
Subject: bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword
Date: Wed, 11 May 2016 08:25:10 -0400	[thread overview]
Message-ID: <jwv37po7psq.fsf-monnier+bug#23465@gnu.org> (raw)
In-Reply-To: <m24ma4q5gn.fsf@gmail.com> (Leo Liu's message of "Wed, 11 May 2016 18:00:56 +0800")

>> 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.


        Stefan


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	other threads:[~2016-05-11 12:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-06 10:07 bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword Anders Lindgren
2016-05-06 18:32 ` Anders Lindgren
2016-05-10 15:00   ` Anders Lindgren
2016-05-10 16:25     ` Eli Zaretskii
2016-05-10 22:09       ` Dmitry Gutov
2016-05-11  9:19         ` Anders Lindgren
2016-05-11  9:34         ` Anders Lindgren
2016-05-11  9:46           ` Eli Zaretskii
2016-05-12  5:49             ` John Wiegley
2016-05-11 10:18           ` Dmitry Gutov
2016-05-11 12:32             ` Stefan Monnier
2016-05-11 12:39               ` Dmitry Gutov
2016-05-11 13:08               ` Anders Lindgren
2016-05-11 13:35                 ` Stefan Monnier
2016-05-11 15:02                   ` Anders Lindgren
2018-01-28 23:31                 ` Noam Postavsky
2018-01-29  7:56                   ` Anders Lindgren
2018-01-29 12:25                     ` Noam Postavsky
2018-01-29 12:52                       ` Anders Lindgren
2020-08-19 12:20   ` Lars Ingebrigtsen
2016-05-11 10:00 ` Leo Liu
2016-05-11 12:25   ` Stefan Monnier [this message]
2016-05-12  1:32 ` Leo Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jwv37po7psq.fsf-monnier+bug#23465@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=23465@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.