Subject: bug#25480: 26.0.50; cc-mode: punctuation in comments can affect non-comment indentation

From: Noam Postavsky <[email-masked]>
Date: Tue, 28 Nov 2017 21:24:38 -0500

retitle 25480 cc-mode: open-paren-in-column-0 of comment affects non-comment indentation
quit

Dima Kogan <[email-masked]> writes:

> /*
> aaa). bbb ccc <=
> (dd >= f)
> */
> struct S { int x; };

Doing (setq open-paren-in-column-0-is-defun-start nil) fixes it.

Alternatively, keeping the open paren out of column 0:

/*
aaa). bbb ccc <=
 (dd >= f)
*/

struct S { int x; };