all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: norris <shading.young@gmail.com>
To: 62953@debbugs.gnu.org
Subject: bug#62953: 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	[thread overview]
Message-ID: <CAL+47W3x0afEsicM2S4xhb2UiuO518CdcF2PXFwQoGEQ7vwBSg@mail.gmail.com> (raw)
In-Reply-To: <CAL+47W2=E49DUM=HKG=JWWYzgGU_ONR7aiCM4J21Wz3C4iipnw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

> 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.

[-- Attachment #2: Type: text/html, Size: 748 bytes --]

  parent reply	other threads:[~2023-04-22  2:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-19 15:02 bug#62953: 29.0.60; c-ts-mode: extra line indentation is required after brackets norris
2023-04-20  6:08 ` Eli Zaretskii
     [not found]   ` <CAL+47W2=E49DUM=HKG=JWWYzgGU_ONR7aiCM4J21Wz3C4iipnw@mail.gmail.com>
2023-04-22  2:59     ` norris [this message]
2023-04-22  3:18       ` norris
2023-04-22  7:38         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAL+47W3x0afEsicM2S4xhb2UiuO518CdcF2PXFwQoGEQ7vwBSg@mail.gmail.com \
    --to=shading.young@gmail.com \
    --cc=62953@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.