GNU bug report logs -
#17345
24.4.50; some into clauses in cl-loop badly font-locked
Previous Next
Full log
View this message in rfc822 format
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>> in cl-loop "into" and following and even sometimes previous paren is
>> font-locked with font-lock-comment-face:
>
>> --8<---------------cut here---------------start------------->8---
>> and collect (if (fboundp 'package-desc-full-name)
>> id
>> (cons (symbol-name (car id))
>> (package-version-join (cdr id)))) into delete-list
>> ^^^^^^^^^^^^^^^^^^
>> font-lock-comment-face
>> --8<---------------cut here---------------end--------------->8---
>
> That should be font-lock-warning-face,
Yes sorry.
> and it should come with a tooltip attempting the succinctly explain
> the "problem".
It does, "Hidden behind deeper element; Move to another line ?"
> It's just a style warning, that your indentation makes it look like "into
> delete-list" is an argument to `cons' rather than to the surrounding
> `cl-loop'.
Yes probably but the last paren before "into" should not be highlighted IMO.
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
This bug report was last modified 11 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.