help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to format a assignment statement in cc-mode


From: William Xu
Subject: Re: how to format a assignment statement in cc-mode
Date: Fri, 31 Aug 2007 14:01:28 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

David Hansen <david.hansen@gmx.net> writes:

> I haven't tried it myself, but i think the `align' package can do such
> stuff (ships with Emacs 22).

Correct. After `M-x align' on marked region, it turns into: 

,----
| int           first_variable   = 1;
| unsigned char another_variable = 'c';
`----

-- 
William





reply via email to

[Prev in Thread] Current Thread [Next in Thread]