[CMake] Emacs cmake-mode indentation flaw

Sergey Zakharchenko doublef.mobile at gmail.com
Sat Jun 3 08:15:53 EDT 2017


Hi Chuck, Frank,

> On Fri, Jun 2, 2017 at 1:57 AM, Frank Roland <theldoria at hotmail.com>
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 style.  There's a multitude of different
ways that people format multi-line function calls so no one way is right or
wrong.

That's true and I know much CMake code is written in the style which
matches the current cmake-mode behaviour, but it would be awesome if it
could be configurable; I'd certainly be willing to help test/debug this (my
preferences match Frank's).

Best regards,

-- 
DoubleF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170603/62d494c4/attachment.html>


More information about the CMake mailing list