Re: [CMake] Emacs cmake-mode indentation flaw

2017-06-03 Thread Sergey Zakharchenko
Hi Chuck, Frank, > On Fri, Jun 2, 2017 at 1:57 AM, Frank Roland wrote: >> I indents the closing paren would expect it to be indented like this: >> foo( >>bar >>) >> I would expect the single closing paren to be not indendet. > It's really a matter of personal

Re: [CMake] Emacs cmake-mode indentation flaw

2017-06-02 Thread Chuck Atkins
Hi Frank, It's really a matter of personal style. There's a multitude of different ways that people format multi-line function calls so no one way is right or wrong. For instance: foo( bar1 bar2) foo( bar1 bar2 ) foo( bar1 bar2 ) foo(bar1 bar2) foo(bar1 bar2 )

[CMake] Emacs cmake-mode indentation flaw

2017-06-01 Thread Frank Roland
There is probably a faulty indentation implemented in cmake-mode for emacs regarding closing parens. If you have the following source code: foo( bar ) I indents the closing parenwould expect it to be indented like this: foo( bar ) I would expect the single closing paren to be not