all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Anders Lindgren <andlind@gmail.com>, 23465@debbugs.gnu.org
Subject: bug#23465: 25.0.93; `lambda' after hash-quote not highlighted as keyword
Date: Wed, 11 May 2016 08:32:52 -0400	[thread overview]
Message-ID: <jwvwpn06atp.fsf-monnier+bug#23465@gnu.org> (raw)
In-Reply-To: <eef90522-4131-9696-b4ec-8974c6657d6e@yandex.ru> (Dmitry Gutov's message of "Wed, 11 May 2016 13:18:13 +0300")

> 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





  reply	other threads:[~2016-05-11 12:32 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 [this message]
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
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='jwvwpn06atp.fsf-monnier+bug#23465@gnu.org' \
    --to=monnier@iro.umontreal.ca \
    --cc=23465@debbugs.gnu.org \
    --cc=andlind@gmail.com \
    --cc=dgutov@yandex.ru \
    /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.