GNU bug report logs - #43265
28.0.50; Inconsistent fontifying in elisp-mode

Previous Next

Package: emacs;

Reported by: Mauro Aranda <maurooaranda <at> gmail.com>

Date: Mon, 7 Sep 2020 20:06:02 UTC

Severity: minor

Tags: confirmed

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tsdh <at> gnu.org, 43265 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, maurooaranda <at> gmail.com
Subject: bug#43265: 28.0.50; Inconsistent fontifying in elisp-mode
Date: Sun, 24 Jan 2021 21:16:33 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Before this, special forms and macros were handled in the same way, but
>> the commit message doesn't really explain why this was changed.
>
>   https://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00327.html

Skimming that thread, I can't see any explanation for why we don't check
that special forms are in a function position, while we do that for
macros?

I.e.,

(setq a '(if a b))

is currently fontified incorrectly, while

(setq a '(when a b))

is fontified correctly.

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




This bug report was last modified 4 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.