GNU bug report logs - #13425
new css-mode indenter

Previous Next

Package: emacs;

Reported by: E Sabof <esabof <at> gmail.com>

Date: Sun, 13 Jan 2013 07:45:01 UTC

Severity: wishlist

Done: Simen Heggestøyl <simenheg <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Simen Heggestøyl <simenheg <at> gmail.com>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 13425 <at> debbugs.gnu.org, Tom Tromey <tom <at> tromey.com>
Subject: Re: bug#13425: close this bug?
Date: Sun, 29 Jan 2017 18:38:25 +0100
On Sun, Jan 29, 2017 at 6:16 PM, Stefan Monnier 
<monnier <at> IRO.UMontreal.CA> wrote:
> The above problem is trivially fixed with the patch below, but it 
> seems
> too easy, so it probably introduces problems elsewhere.

Indeed, that causes problems with selectors that contain colons, like:

div:first-child,
div:last-child {
   top: 1.5rem;
}

Which gets indented like:

div:first-child,
   div:last-child {
   top: 1.5rem;
}

And SCSS mixins, like:

@include foo-mixin(
   $foo: 'foo',
   $bar: 'bar,
);

Which gets indented like:

@include foo-mixin(
   $foo: 'foo',
	  $bar: 'bar,
);

-- Simen







This bug report was last modified 8 years and 112 days ago.

Previous Next


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