From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: align.el: css-mode Date: Thu, 13 Jan 2005 16:15:22 -0800 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105662194 7671 80.91.229.6 (14 Jan 2005 00:23:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Jan 2005 00:23:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 14 01:23:02 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CpFBx-0005Es-00 for ; Fri, 14 Jan 2005 01:19:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpFNd-0002q1-EF for ged-emacs-devel@m.gmane.org; Thu, 13 Jan 2005 19:31:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CpFMq-0002e1-Hv for emacs-devel@gnu.org; Thu, 13 Jan 2005 19:31:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CpFMb-0002WF-6C for emacs-devel@gnu.org; Thu, 13 Jan 2005 19:30:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CpFMa-0002VP-Aj for emacs-devel@gnu.org; Thu, 13 Jan 2005 19:30:52 -0500 Original-Received: from [169.229.60.163] (helo=relay0.EECS.Berkeley.EDU) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CpF7c-0001Qb-6a for emacs-devel@gnu.org; Thu, 13 Jan 2005 19:15:24 -0500 Original-Received: from quack.quarl.org (quack.CS.Berkeley.EDU [128.32.132.234]) by relay0.EECS.Berkeley.EDU (8.13.2/8.12.10) with ESMTP id j0E0FMlk010466; Thu, 13 Jan 2005 16:15:22 -0800 (PST) Original-Received: by quack.quarl.org (Postfix, from userid 1000) id 91D54700C9; Thu, 13 Jan 2005 16:15:22 -0800 (PST) Original-To: Emacs Developement List X-Quack-Archive: 1 X-Payment: hashcash 1.2 1:20:050114:emacs-devel@gnu.org::/R3G7CNoq1T4vPvc:0000000000000000000000000000000000000000004OFu X-Hashcash: 1:20:050114:emacs-devel@gnu.org::/R3G7CNoq1T4vPvc:0000000000000000000000000000000000000000004OFu X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:32216 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32216 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)))) + "*A list describing all of the available alignment rules. The format is: -- Karl 2005-01-13 16:13