bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20282: css-mode: multiple selectors *sometimes* breaks indentation


From: Darren Embry
Subject: bug#20282: css-mode: multiple selectors *sometimes* breaks indentation
Date: Wed, 8 Apr 2015 18:58:34 -0400

The following rather simple example of a chunk of CSS:

    a, b:hover {
           color: black;
       }

gets indented incorrectly.  The second line gets indented seven spaces instead of four; the last gets three spaces instead of zero.

In this more complex example, the closing bracket lines up with the 'j':

    a.b:c,d.e:f,g[h]:i,j[k]:l,.m.n:o,.p.q:r,.s[t]:u,.v[w]:x {
  background-color: white;
                       }

This example, however, is indented just fine:

    a, b:hover, c {
        color: black;
    }

I've tried this in emacs-24.4 and emacs-24.5-rc3 on Linux, as well as 24.4 on the Windows platform.

Regards,
Darren


reply via email to

[Prev in Thread] Current Thread [Next in Thread]