From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36678: 27.0.50; imenu not working in C++ (maybe because of namespace) Date: Sat, 03 Aug 2019 10:20:09 +0300 Message-ID: <83v9veemvq.fsf@gnu.org> References: <20190717163427.18177.qmail@mail.muc.de> <20190731155610.x33urisumbblyryu@Ergus> <20190802193315.GC11966@ACM> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="214817"; mail-complaints-to="usenet@blaine.gmane.org" Cc: acm@muc.de, spacibba@aol.com, 36678@debbugs.gnu.org, psmith@gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 03 09:21:12 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 1htoLm-000tnh-PX for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2019 09:21:10 +0200 Original-Received: from localhost ([::1]:38804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htoLl-00069v-Bg for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2019 03:21:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59715) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1htoLh-00069m-1v for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 03:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1htoLg-0007iv-1X for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 03:21:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49425) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1htoLe-0007eM-3p; Sat, 03 Aug 2019 03:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1htoLd-0007WB-Tx; Sat, 03 Aug 2019 03:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 03 Aug 2019 07:21:01 +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.156481683928847 (code B ref 36678); Sat, 03 Aug 2019 07:21:01 +0000 Original-Received: (at 36678) by debbugs.gnu.org; 3 Aug 2019 07:20:39 +0000 Original-Received: from localhost ([127.0.0.1]:58246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htoLH-0007VD-H0 for submit@debbugs.gnu.org; Sat, 03 Aug 2019 03:20:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1htoLF-0007Uy-JB for 36678@debbugs.gnu.org; Sat, 03 Aug 2019 03:20:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1htoL6-0006hJ-QX; Sat, 03 Aug 2019 03:20:28 -0400 Original-Received: from [176.228.60.248] (port=1067 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1htoKs-0002jP-8b; Sat, 03 Aug 2019 03:20:16 -0400 In-reply-to: (message from Richard Stallman on Fri, 02 Aug 2019 22:25:27 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:164416 Archived-At: > From: Richard Stallman > Date: Fri, 02 Aug 2019 22:25:27 -0400 > Cc: acm@muc.de, spacibba@aol.com, 36678@debbugs.gnu.org > > > 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) > > That is not a moral issue but it is something we don't want to support. > Let's make GNU Emacs do a better job of this. It is unreasonable to expect Emacs to be able to do a job as good as the language servers, because that requires to have experts on board that can implement similar capabilities in Emacs's own code, for the plethora of languages that we want to and do support in Emacs major modes. I counted at least 2 dozen programming-language we support in lisp/progmodes/, at least a dozen of them major programming languages that are actively used today to develop and maintain very large software systems. We will never be able to have the expertise about all of these languages nor resources to track their development in a timely fashion. Doing that entirely in Emacs Lisp is already inadequate for several languages, so we will have to go to C, where we have even less expertise and manpower. Therefore, supporting language servers should be an important trend in Emacs development, one of the trends that will ensure its relevance and vitality in the very near future, let alone in the long run. We should definitely want to support that. Whether that server is installed on the end-user's machine or not is a separate issue, but we will simply be unable to support modern IDE features without having an LSP client. Support for editing programs is the main feature of Emacs, so we cannot fall back too much in that department. I see your point about outsourcing some work to an external server, but I think in this case we have no other way but to support such servers, because there's no practical alternative. P.S. Such issues should not be discussed in a bug report.