emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR] Allow flattened imenu index


From: Dmitry Gutov
Subject: Re: [FR] Allow flattened imenu index
Date: Tue, 12 Dec 2023 01:54:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 12/12/2023 01:48, João Távora wrote:
On Mon, Dec 11, 2023 at 11:41 PM Dmitry Gutov<dmitry@gutov.dev>  wrote:
On 12/12/2023 01:35, João Távora wrote:
Or maybe say what the ruby-mode imenu backend
does?
Juri just posted a long example of what ruby-mode does (and ruby-ts-mode
too) in his last message in this thread.
OK, and doesn't it answer_your_  question?  With Eglot

Method > ModuleExample::ClassExample > instance_method
Method > ClassExample > class_method

If both methods were named "foo" no problem, right?

But this doesn't look right: if 'class_method' is in a class called ModuleExample::ClassExample, shouldn't its entry look like

  Method > ModuleExample::ClassExample > class_method

as well?

And then, if both 'instance_method' and 'class_method' actually are called 'foo', then we'd have a problem.

This entry from his message also looks odd:

  Module >  > ModuleExample



reply via email to

[Prev in Thread] Current Thread [Next in Thread]