[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C style alist question?
From: |
Eli Zaretskii |
Subject: |
Re: C style alist question? |
Date: |
Thu, 11 Apr 2019 17:22:10 +0300 |
> Date: Thu, 11 Apr 2019 03:16:59 +0200
> From: Ergus <address@hidden>
> Cc: address@hidden
>
> But other common policies around are:
>
> 1) add only tabs (and ignore the small mismatch in some cases)
>
> int function(int var1,
> ------->double b,
> ------->double c)
> {
> ------->for (int i = 0; i < 10; ++i)
> ------->------->myprintf ("%d\n",
> ------->------->------->i);
> }
AFAIU, this is the 'linux' style in CC Mode.
> 2) Use tabs (but only for indentation) and spaces to align
>
> int function(int var1,
> .............double b)
> {
> ------->for (int i = 0; i < 10; ++i)
> ------->------->myprintf ("%d\n",
> ------->------->..........i);
> }
And this is the 'bsd' style.
Can you use these built-in styles to get what you want? Or did I
misunderstand what you are looking for?