bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25480: 26.0.50; cc-mode: punctuation in comments can affect non-comm


From: Noam Postavsky
Subject: bug#25480: 26.0.50; cc-mode: punctuation in comments can affect non-comment indentation
Date: Tue, 28 Nov 2017 21:24:38 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

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

Dima Kogan <address@hidden> 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; };






reply via email to

[Prev in Thread] Current Thread [Next in Thread]