GNU bug report logs - #17345
24.4.50; some into clauses in cl-loop badly font-locked

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Fri, 25 Apr 2014 06:59:02 UTC

Severity: minor

Found in version 24.4.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 17345 <at> debbugs.gnu.org
Subject: Re: bug#17345: 24.4.50; some into clauses in cl-loop badly font-locked
Date: Tue, 29 Apr 2014 06:53:31 +0200
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 21 days ago.

Previous Next


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