unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* C++ variable declaration alignment.
@ 2012-07-18 15:16 Andrea Venturoli
  2012-07-18 21:28 ` Peter
  2012-07-19 20:48 ` Chris Gordon-Smith
  0 siblings, 2 replies; 7+ messages in thread
From: Andrea Venturoli @ 2012-07-18 15:16 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-26 15:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-18 15:16 C++ variable declaration alignment Andrea Venturoli
2012-07-18 21:28 ` Peter
2012-07-23 12:08   ` Andrea Venturoli
2012-07-19 20:48 ` Chris Gordon-Smith
2012-07-23 12:07   ` Andrea Venturoli
2012-07-24 22:24     ` Chris Gordon-Smith
2012-07-26 15:50     ` Ludwig, Mark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).