GNU bug report logs - #62953
29.0.60; c-ts-mode: extra line indentation is required after brackets

Previous Next

Package: emacs;

Reported by: norris <shading.young <at> gmail.com>

Date: Wed, 19 Apr 2023 19:59:02 UTC

Severity: normal

Found in version 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: norris <shading.young <at> gmail.com>
To: 62953 <at> debbugs.gnu.org
Subject: Fwd: bug#62953: 29.0.60; c-ts-mode: extra line indentation is
 required after brackets
Date: Sat, 22 Apr 2023 10:59:07 +0800
[Message part 1 (text/plain, inline)]
> I cannot reproduce this with the latest emacs-29 branch.

I just tried with the latest emacs-29 branch, and found that the c-mode
and c-ts-mode are the same when starting from "emacs -Q".
After RET in both c-mode and c-ts-mode, I got:
```
if (a) {
|}
```
So, extra line might be a feature of a minor mode instead of major c-mode
or c-ts-mode where I was wrong. Then I found that this is a feature of the
package 'smartparens' . I'm trying to find why it does not work in
c-ts-mode.
[Message part 2 (text/html, inline)]

This bug report was last modified 2 years and 35 days ago.

Previous Next


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