GNU bug report logs -
#60267
The auto keyword is blocked in c-ts-mode
Previous Next
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
Message #11 received at 60267 <at> debbugs.gnu.org (full text, mbox):
Yuan Fu <casouri <at> gmail.com> writes:
>> 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.
This should be fixed now. When you have time, please give it a try!
Thanks,
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.