[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to format a assignment statement in cc-mode
From: |
Yu Hong |
Subject: |
how to format a assignment statement in cc-mode |
Date: |
Thu, 30 Aug 2007 02:01:24 -0700 |
User-agent: |
G2/1.0 |
I have some assignment statements like the following:
int first_variable = 1;
unsigned char another_variable = 'c';
I'm wandering how to make all the all the variable names start on the
same column. And the following equal signs, literal values should all
start on the same column. In this way the statements can be easier to
read. How can i do this easily in emacs? Thanks.
- how to format a assignment statement in cc-mode,
Yu Hong <=