all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Mauro Aranda <maurooaranda@gmail.com>
Cc: 37074@debbugs.gnu.org
Subject: bug#37074: 27.0.50; Emacs Lisp mode: Special form names used as variable names sometimes have font-lock-keyword-face
Date: Fri, 20 May 2022 03:47:10 +0200	[thread overview]
Message-ID: <8735h57z6p.fsf@gnus.org> (raw)
In-Reply-To: <CABczVwcP4VZoVG0+g0j3wxzjexuWFR9GNwi4c1SEcM16O2YoUQ@mail.gmail.com> (Mauro Aranda's message of "Sun, 18 Aug 2019 11:35:32 -0300")

Mauro Aranda <maurooaranda@gmail.com> writes:

> Starting from emacs -Q, in the *scratch* buffer type:
> (let ((function 'foo))
>   function)
>
> Note that function gets the font-lock-keyword-face.  I think it shouldn't,
> because it is being used as a variable.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This has been fixed by now.

> Similarly, if you type:
> (defun foo (function)
>   nil)
>
> the same happens.

And I fixed this in Emacs 29 now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-05-20  1:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-18 14:35 bug#37074: 27.0.50; Emacs Lisp mode: Special form names used as variable names sometimes have font-lock-keyword-face Mauro Aranda
2022-05-20  1:47 ` Lars Ingebrigtsen [this message]

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=8735h57z6p.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=37074@debbugs.gnu.org \
    --cc=maurooaranda@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.