unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: E Sabof <esabof@gmail.com>
To: 13425@debbugs.gnu.org
Subject: bug#13425: new css-mode indenter
Date: Sun, 13 Jan 2013 07:43:31 +0000	[thread overview]
Message-ID: <CAEp6DyZKEVqAZyYCvYfy2b9_p4MSNPWoubajJcL4FObMCDEBwQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1243 bytes --]

             reply	other threads:[~2013-01-13  7:43 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-13  7:43 E Sabof [this message]
2013-01-15  5:00 ` bug#13425: new css-mode indenter Stefan Monnier
2013-01-15 19:32   ` E Sabof
2013-01-17  0:17     ` E Sabof
2017-01-25 23:06 ` bug#13425: close this bug? Tom Tromey
2017-01-29 14:01   ` Simen Heggestøyl
2017-01-29 17:16   ` Stefan Monnier
2017-01-29 17:38     ` Simen Heggestøyl
2017-01-29 18:15       ` Stefan Monnier
2017-02-02 19:12         ` Simen Heggestøyl
2017-02-03  0:02           ` Stefan Monnier
2017-02-04 19:31             ` Simen Heggestøyl
2017-01-30 22:17     ` Tom Tromey
2017-01-30 22:28       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEp6DyZKEVqAZyYCvYfy2b9_p4MSNPWoubajJcL4FObMCDEBwQ@mail.gmail.com \
    --to=esabof@gmail.com \
    --cc=13425@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).