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

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

C++ variable declaration alignment.


From: Andrea Venturoli
Subject: C++ variable declaration alignment.
Date: Wed, 18 Jul 2012 17:16:40 +0200
User-agent: Mozilla/5.0 (X11; FreeBSD i386; rv:13.0) Gecko/20120622 Thunderbird/13.0.1

Hello.
I'm using emacs to code in C++ and I'm unhappy with how it alignes variable declarations.

What I get is:

double a,
  b;

What I'd like to get is:
double a,
       b;

Is there any way to do this?



Also, suppose I have:

return a==b||
  a==c||
  a==d;

I'd like to get:
return a==b||
       a==c||
       a==d;

Is this possible too?


 bye & Thanks
        av.


reply via email to

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