GNU bug report logs - #20096
25.0.50; Add Font-Lock support for subr-x macros

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Thu, 12 Mar 2015 08:43:02 UTC

Severity: wishlist

Tags: fixed

Found in version 25.0.50

Fixed in version 25.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 20096 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 20096 <at> debbugs.gnu.org
Subject: Re: bug#20096: 25.0.50; Add Font-Lock support for subr-x macros
Date: Thu, 12 Mar 2015 10:52:51 -0400
> Is committing the following change the right thing to do?

On that philosophical question, I think the answer would be:
not quite.

Instead, The Right Thing to do, might be to change elisp-mode's
font-lock rules so they check obarray for macros (i.e. use mapatoms +
regexp-opt to generate a macro matching all macros, and probably update
it from after-load-functions)?
That should kill several birds with a single (big) stone.


        Stefan "damn I hate those birds!"




This bug report was last modified 6 years and 38 days ago.

Previous Next


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