GNU bug report logs -
#12761
cl-lib.el functions do not get font-locked like cl.el ones
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Mon, 29 Oct 2012 08:02:01 UTC
Severity: minor
Merged with 15009
Found in versions 24.2.50, 24.3.50
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #12 received at 12761 <at> debbugs.gnu.org (full text, mbox):
>>> `letf' gets font-lock-keyword-face, `cl-letf' does not get fontified.
>> I'm not sure which of the two is a bug, to tell you the truth.
> I guess the bug was ever font-locking things from cl.el that are not in
> Common Lisp.
And to the extent that cl.el's "namespace uncleanliness" was enough to
ostracize it, font-locking the elements which are in Common-Lisp (but
not in core Elisp) was also a mistake.
> So maybe that special treatment (lexical-let, letf, etc)
> should be removed, to make everyone equally miserable.
Right. But then the "cl-*" versions could be fine choices (tho I'd
much rather not hard code those things in the font-lock rules.
Couldn't we build those dynamically by loading cl-lib.el, then going
through the obarray, keeping all macros whose name starts with "cl-" but
not "cl--"?).
Stefan
This bug report was last modified 11 years and 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.