GNU bug report logs - #60296
The imenu is not created properly in c-ts-mode

Previous Next

Package: emacs;

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

Date: Sat, 24 Dec 2022 09:33:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 60296-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: e190 <at> 163.com
Cc: 60296-done <at> debbugs.gnu.org
Subject: Re: bug#60296: The imenu is not created properly in c-ts-mode
Date: Sat, 24 Dec 2022 19:00:21 -0800
"e190 <at> 163.com" <e190 <at> 163.com> writes:

> From: sniper <e190 <at> 163.com>
> To: bug-gnu-emacs <at> gnu.org
> Subject: 29.0.60; The imenu is not created properly in c-ts-mode.
>
> ``` c
> char *test(int size){
> return NULL;
> }
> ```
> If c-ts-mode is enabled in a c file, the imenu created will be [` test(int size)`] if the return type of the function is a
> pointer.
> The expected display should just be the function name [` test `], with no subsequent arguments

Thanks, this should be fixed now.

Yuan




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

Previous Next


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