GNU bug report logs - #8724
23.2; js-mode imenu should be more thorough

Previous Next

Package: emacs;

Reported by: dino chiesa <dpchiesa <at> hotmail.com>

Date: Tue, 24 May 2011 13:16:02 UTC

Severity: wishlist

Found in version 23.2

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, Daniel Colascione <dan.colascione <at> gmail.com>, dino chiesa <dpchiesa <at> hotmail.com>, 8724 <at> debbugs.gnu.org
Subject: bug#8724: 23.2; js-mode imenu should be more thorough
Date: Wed, 10 Jan 2024 03:55:03 -0800
Dmitry Gutov <dgutov <at> yandex.ru> writes:

> On 02.06.2021 10:58, Lars Ingebrigtsen wrote:
>> This was nine years ago -- was there any progress with this?  (It sounds
>> like a good change, but I haven't looked at the code.)
>
> Someone should really work in that direction, since in these nine years JS has
> grown more ways to define a function: e.g. arrow functions, or 'const <function
> name> = ...'.
>
> I've tried simply replacing the definition.
>
> The patch kinda works, except I'm not sure about the (top) and (bottom) items
> that it adds (we don't have any precedent for this, so I vote no), and there's
> some sort of duplication of the entries: I see both (top) and the enclosed
> function name repeated an extra time in the imenu index.

Did you make any further progress here?




This bug report was last modified 95 days ago.

Previous Next


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