← Back to team overview

dolfin team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/error-control] Rev 5211: Add documentation (I think) and use the peculiar dolfin convention for]

 

On 7 November 2010 21:41, Marie Rognes <meg@xxxxxxxxx> wrote:
> On 07. nov. 2010 21:27, Kristian Ølgaard wrote:
>> On 7 November 2010 11:59, Marie E. Rognes <meg@xxxxxxxxx> wrote:
>>
>>> On 6. nov. 2010, at 00:17, Anders Logg <logg@xxxxxxxxx> wrote:
>>>
>>>
>>>> It is not peculiar, it's just the right way to brace!
>>>>
>>>>
>>> No, it isn't.
>>>
>> Yes, it is!
>>
>> http://www.fenicsproject.org/doc/styleguides/codestyleguides.html#placement-of-brackets-and-indent-style
>>
>> :)
>>
>> Kristian
>>
>>
>
> I fully agree that it is the DOLFIN way. Hence, my previous comment on
> adapting to the DOLFIN convention. However, that does not mean that it
> is not "peculiar" or that it is the right way. At least, it is not the
> true way ;)

I tend to disagree, I like BSD/Allman best.

> However, more importantly than discussing religion: how do you get your
> emacs to get the indentation right?

I don't know since I just use gedit, occasionally vi (we can disagree
on that too ;) ), but I found this page:

http://www.emacswiki.org/emacs/IndentingC

hope it helps.

Kristian

> --
> Marie
>



Follow ups

References