From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Smith Newsgroups: gmane.emacs.bugs Subject: bug#36678: 27.0.50; imenu not working in C++ (maybe because of namespace) Date: Fri, 02 Aug 2019 15:56:59 -0400 Organization: GNU's Not UNIX! Message-ID: References: <20190717163427.18177.qmail@mail.muc.de> <20190731155610.x33urisumbblyryu@Ergus> <20190802193315.GC11966@ACM> Reply-To: psmith@gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="56198"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36678@debbugs.gnu.org To: Alan Mackenzie , Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 02 22:08:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1htdqb-000EUq-Go for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Aug 2019 22:08:17 +0200 Original-Received: from localhost ([::1]:37290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htdqa-0007E1-Ia for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Aug 2019 16:08:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57008) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htdqR-0007Dg-8c for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 16:08:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htdqQ-0004OL-CS for bug-gnu-emacs@gnu.org; Fri, 02 Aug 2019 16:08:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htdqM-0004K2-N2; Fri, 02 Aug 2019 16:08:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1htdqM-0004cO-GD; Fri, 02 Aug 2019 16:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Smith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 02 Aug 2019 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36678 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 36678-submit@debbugs.gnu.org id=B36678.156477645417708 (code B ref 36678); Fri, 02 Aug 2019 20:08:02 +0000 Original-Received: (at 36678) by debbugs.gnu.org; 2 Aug 2019 20:07:34 +0000 Original-Received: from localhost ([127.0.0.1]:57809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htdpu-0004bX-Bk for submit@debbugs.gnu.org; Fri, 02 Aug 2019 16:07:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htdfm-0002Ac-JL for 36678@debbugs.gnu.org; Fri, 02 Aug 2019 15:57:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44718) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1htdfg-0003zm-Vl; Fri, 02 Aug 2019 15:57:01 -0400 Original-Received: from [50.226.24.42] (port=56098 helo=pdslaptop) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1htdfg-0001rU-6v; Fri, 02 Aug 2019 15:57:00 -0400 In-Reply-To: <20190802193315.GC11966@ACM> X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Mailman-Approved-At: Fri, 02 Aug 2019 16:07:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164392 Archived-At: I certainly don't want to discourage anyone from pursuing new features and capabilities if they want to. However, my personal opinion is that it's likely not the most productive use of time. IMHO cc-mode should continue to focus on formatting (which is clearly no small task, but which it's very good at!) and not attempt to also get involved with indexing. The future (again IMO) for indexing and code introspection is in LSP: there are very good LSP servers for C++ that are free (I use ccls personally) and there are also very good LSP clients for Emacs (I use lsp-mode). And of course there are LSP servers for many languages which can all be used with the same LSP client. Since the servers are external (ccls is based on clang) they are very fast and can do much, MUCH more than imenu-type indexing. I honestly can't imagine working on a larger codebase without it, anymore. I don't personally use imenu but a quick search shows that there are integrations of imenu and lsp-mode available. Just my $0.02!!