From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?B?Tm9yZGz2dw==?= Newsgroups: gmane.emacs.help Subject: Re: Extending Alignment in C/C++ expressions (align.el) Date: Tue, 11 Sep 2007 04:14:57 -0700 Organization: http://groups.google.com Message-ID: <1189509297.802688.33670@r29g2000hsg.googlegroups.com> References: <1189427856.416129.298270@o80g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1189510884 447 80.91.229.12 (11 Sep 2007 11:41:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 11:41:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 21:41:08 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IVBbg-0002l4-DM for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 21:41:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IV47O-0006tg-7X for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 07:41:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r29g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 150.227.15.253 Original-X-Trace: posting.google.com 1189509299 30213 127.0.0.1 (11 Sep 2007 11:14:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 11 Sep 2007 11:14:59 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 netcache (NetCache NetApp/6.1.1RC1) Complaints-To: groups-abuse@google.com Injection-Info: r29g2000hsg.googlegroups.com; posting-host=150.227.15.253; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:151969 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47479 Archived-At: On 10 Sep, 18:30, Tom Tromey wrote: > >>>>> "Nordl=F6w" =3D=3D Nordl=F6w writes: > > Nordl=F6w> How can I extend the Emacs package align.el to make M-x align-= entire > Nordl=F6w> additionally align the if sub-expressions and opening curly-br= aces as > Nordl=F6w> follows?: > > Perhaps try align-regexp. > > Tom The variable `align-rules-list' is really big. How can I easily change/ extend the part concerning c-assignment? Is there perhaps some variant of add-to-list(), say modify-list-item(), that does just that? Thanks again, Per Nordl=F6w