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

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

RE: [h-e-w] Off Topic: Align mode and aligning comments


From: Underwood, Jonathan
Subject: RE: [h-e-w] Off Topic: Align mode and aligning comments
Date: Wed, 25 Sep 2002 23:23:13 -0400

Not an emacs solution, but running the indent program over the file will
line up your comments as you want. indent comes with cygwin too. indent also
spaces things nicely.

jonathan

> -----Original Message-----
> From: Paul Whitfield [mailto:address@hidden
> Sent: September 25, 2002 11:16 PM
> To: address@hidden
> Subject: [h-e-w] Off Topic: Align mode and aligning comments
> 
> 
> Hi All,
> 
> Here is non-windows question for pondering
> 
> I would like to force align.el to align my comments in C code
> for example if I run align over the following code
> 
> int i; /* This is a comment */
> struct t_a a;  /*Another comment */
> 
> I would like it to be aligned as
> 
> int    i;     /* This is a comment */
> struct t_a a; /* Another comment */
> 
> Currently align refuses to align the comments, and
> 
> I am afraid that the align customise options are
> beyond my ken :-(
> 
> 
> 
> Thanks in advance
> 
> Paul
> 
> 
> 




reply via email to

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