unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: John Wiegley <johnw@gnu.org>
Subject: Re: align.el: css-mode
Date: Thu, 13 Jan 2005 18:34:29 -0700	[thread overview]
Message-ID: <m2wtugrdy2.fsf@Majnun.local> (raw)
In-Reply-To: <quack.20050113T1615.877jmgamsl@quack.cs.berkeley.edu> (Karl Chen's message of "Thu, 13 Jan 2005 16:15:22 -0800")

Karl Chen <quarl@cs.berkeley.edu> writes:

> Hi, I suggest the following patch to support aligning CSS
> declarations.
>
> --- .backup/align.el.~1~        2003-09-01 08:45:04.000000000 -0700
> +++ align.el    2005-01-13 16:11:35.000000000 -0800
> @@ -578,7 +578,13 @@
>       (justify  . t)
>       (run-if   . ,(function
>                    (lambda ()
> -                    (eq '- current-prefix-arg))))))
> +                    (eq '- current-prefix-arg)))))
> +
> +    (css-declaration
> +     (regexp   . "^\\s-*\\w+:\\(\\s-*\\).*;")
> +     (group    . (1))
> +     (modes    . '(css-mode html-mode))))
> +

Sounds reasonable to me.

John

  reply	other threads:[~2005-01-14  1:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14  0:15 align.el: css-mode Karl Chen
2005-01-14  1:34 ` John Wiegley [this message]
2005-02-13 22:43   ` Karl Chen

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=m2wtugrdy2.fsf@Majnun.local \
    --to=johnw@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).