GNU bug report logs - #15467
CSS-mode gives weird indentation when you put opening bracket on its own line

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Thu, 26 Sep 2013 14:24:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 15467-done <at> debbugs.gnu.org
Subject: bug#15467: CSS-mode gives weird indentation when you put opening bracket on its own line
Date: Mon, 07 Oct 2013 11:41:29 -0400
> This fixes the problem I originally reported, but there seem to be more:
> .x1
> {
> }

> .x2
>  {
>  }

> div.x3
>    {
>    }

Thanks.  Should be fixed now.

> As a feature request, it would be nice if '}' triggered auto-indent on
> insertion, as in e.g. various programming modes.

Now electric-indent-mode obeys css-electric-keys.


        Stefan




This bug report was last modified 11 years and 224 days ago.

Previous Next


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