GNU bug report logs - #69657
Missing imenu entries with eglot

Previous Next

Package: emacs;

Reported by: Sebastian Poeplau <sebastian.poeplau <at> mailbox.org>

Date: Fri, 8 Mar 2024 20:33:02 UTC

Severity: normal

Full log


Message #8 received at 69657 <at> debbugs.gnu.org (full text, mbox):

From: Felician Nemeth <felician.nemeth <at> gmail.com>
To: Sebastian Poeplau <sebastian.poeplau <at> mailbox.org>
Cc: 69657 <at> debbugs.gnu.org
Subject: Re: bug#69657: Missing imenu entries with eglot
Date: Fri, 08 Mar 2024 22:44:19 +0100
> 1. Put this code in a C++ source file, e.g., test.cpp:
>
>    class Foo {
>      void bar() {}
>    };
>
> 2. Start eglot with clangd.
> 3. Invoke imenu; there will be a single entry "bar", nested under "Foo".
>    In particular, there is no entry that lets you jump to Foo.

How do you invoke imenu?  If I type M-x imenu-add-menubar-index RET,
then I cannot select "Foo" as you wrote above.  However, if I apply the
patch, the menu looks exactly the same.  On the other hand, the patch
seems to ruin breadcrumb-mode: putting the point after "{}", the
breadcrumb header line shows: "dir/test.cpp: Class > Foo" instead of the
original "dir/test.cpp: Class > Foo > bar".

$ clangd --version
Debian clangd version 14.0.6
Features: linux+grpc




This bug report was last modified 1 year and 93 days ago.

Previous Next


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