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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Simen Heggestøyl <simenheg <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#13425: closed (new css-mode indenter)
Date: Sat, 04 Feb 2017 19:32:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 04 Feb 2017 20:31:11 +0100
with message-id <1486236671.5094.0 <at> smtp.gmail.com>
and subject line Re: bug#13425: close this bug?
has caused the debbugs.gnu.org bug report #13425,
regarding new css-mode indenter
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
13425: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13425
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: E Sabof <esabof <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: new css-mode indenter
Date: Sun, 13 Jan 2013 07:43:31 +0000
[Message part 3 (text/plain, inline)]
I've written a new indenter for CSS, which fixes issues with mulitline
statements following a colon, and comments:

body {
    color: #333;
    font: 15px "Helvetica Neue",
        Helvetica,
        Arial,
        "Nimbus Sans L",
        sans-serif;
    font-weight: 300;
    line-height: 1.625;
    a { /* It also handles SCSS */
        font: 15px "Helvetica Neue",
            Helvetica,
            Arial,
            "Nimbus Sans L",
            sans-serif;
        /* Some comment */
    }
    /* Some comment at the end of a block */
}

I wondered whether this functionality could be integrated into Emacs.
https://github.com/sabof/es-css-mode
https://github.com/sabof/es-lib (it takes some functions from it)

Evgeni
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Simen Heggestøyl <simenheg <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>, esabof <at> gmail.com
Cc: 13425-done <at> debbugs.gnu.org, Tom Tromey <tom <at> tromey.com>
Subject: Re: bug#13425: close this bug?
Date: Sat, 04 Feb 2017 20:31:11 +0100
Good, I've installed the patch as f6ff7bb1fcd062fe. It should cover
the mentioned test cases.

I'm closing this bug since the current CSS indenter now handles
multiline property values better.

Evgeni, I'm sorry that your report had to sit around for so
long. Thank you for prodding us to improve the indentation engine in
this regard!

-- 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.