GNU bug report logs - #60267
The auto keyword is blocked in c-ts-mode

Previous Next

Package: emacs;

Reported by: "e190 <at> 163.com" <e190 <at> 163.com>

Date: Fri, 23 Dec 2022 04:08:01 UTC

Severity: normal

Fixed in version 29.1

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Yuan Fu <casouri <at> gmail.com>
To: e190 <at> 163.com
Cc: 60267 <at> debbugs.gnu.org
Subject: bug#60267: The auto keyword is blocked in c-ts-mode
Date: Fri, 23 Dec 2022 13:17:55 -0800

> On Dec 22, 2022, at 7:06 PM, e190 <at> 163.com wrote:
> 
> From: sniper <e190 <at> 163.com>
> To: bug-gnu-emacs <at> gnu.org
> Subject: 30.0.50; The auto keyword is blocked in c-ts-mode
> Date: Fri, 23 Dec 2022 11:01:37 +0800
> Message-ID: <87h6xmakmm.fsf <at> sniper-VirtualBox.mail-host-address-is-not-set>
> --text follows this line--
> 
> If it is in the c file, enable c-ts-mode.
> Then the code pops up and emacs freezes.
> 
> ``` c
> for (auto i = 0; i < 0; ++i) {
> }
> ```
> 
> But if there is an int, there is no problem. Once you remove the int, emacs will get stuck
> 
> ``` c
> for (auto int i = 0; i < 0; ++i) {
> }
> ```

Thanks, I’ll look into it.

Yuan



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

Previous Next


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