GNU bug report logs - #25480
cc-mode: open-paren-in-column-0 of comment affects non-comment indentation

Previous Next

Packages: cc-mode, emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Wed, 18 Jan 2017 22:10:02 UTC

Severity: normal

Found in version 26.0.50

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 25480 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 25480 <at> debbugs.gnu.org, Dima Kogan <dima <at> secretsauce.net>,
 Noam Postavsky <npostavs <at> users.sourceforge.net>
Subject: Re: bug#25480: 26.0.50;
 cc-mode: punctuation in comments can affect non-comment indentation
Date: Wed, 23 May 2018 23:24:51 -0400
close 25480
quit

Dmitry Gutov <dgutov <at> yandex.ru> writes:

> On 11/29/17 5:24 AM, Noam Postavsky wrote:
>
>> 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; };
>
> Seems fixed on master (likely to be released as Emacs 27 someday)

Actually, I can't reproduce it on emacs-26 now either.  Anyway, I don't
see any need to keep this open.




This bug report was last modified 7 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.