gnu.emacs.help
[Top] [All Lists]

Re: Extending Alignment in C/C++ expressions (align.el)

Subject: Re: Extending Alignment in C/C++ expressions align.el
From: Nordlöw
Date: Tue, 11 Sep 2007 04:14:57 -0700
Newsgroups: gnu.emacs.help

On 10 Sep, 18:30, Tom Tromey <tro...@xxxxxxxxxx> wrote:
> >>>>> "Nordlöw" == Nordlöw  <per.nord...@xxxxxxxxx> writes:
>
> Nordlöw> How can I extend the Emacs package align.el to make M-x align-entire
> Nordlöw> additionally align the if sub-expressions and opening curly-braces as
> Nordlöw> 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öw


<Prev in Thread] Current Thread [Next in Thread>