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

Previous Next

Packages: emacs, cc-mode;

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 #13 received at 25480 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>,
 Dima Kogan <dima <at> secretsauce.net>
Cc: 25480 <at> debbugs.gnu.org
Subject: Re: bug#25480: 26.0.50; cc-mode: punctuation in comments can affect
 non-comment indentation
Date: Sat, 10 Feb 2018 12:04:42 +0300
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)




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.