From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#36678: 27.0.50; imenu not working in C++ (maybe because of namespace) Date: Sat, 03 Aug 2019 23:01:17 -0400 Message-ID: References: <20190717163427.18177.qmail@mail.muc.de> <20190731155610.x33urisumbblyryu@Ergus> <20190802193315.GC11966@ACM> <20190803112734.GA5573@ACM> <6bd84b972db36b359b7151755b90eb87d56e61a1.camel@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="251158"; mail-complaints-to="usenet@blaine.gmane.org" Cc: acm@muc.de, spacibba@aol.com, 36678@debbugs.gnu.org To: psmith@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 04 05:02:10 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 1hu6mf-00138y-No for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Aug 2019 05:02:09 +0200 Original-Received: from localhost ([::1]:42704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu6me-00034m-Ad for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2019 23:02:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41891) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu6mZ-00033Q-JF for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 23:02:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hu6mY-0000DE-M4 for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 23:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51496) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hu6mY-0000DA-If; Sat, 03 Aug 2019 23:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hu6mY-0003h6-CU; Sat, 03 Aug 2019 23:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 04 Aug 2019 03:02: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.156488768514115 (code B ref 36678); Sun, 04 Aug 2019 03:02:02 +0000 Original-Received: (at 36678) by debbugs.gnu.org; 4 Aug 2019 03:01:25 +0000 Original-Received: from localhost ([127.0.0.1]:60317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu6lx-0003fa-Gx for submit@debbugs.gnu.org; Sat, 03 Aug 2019 23:01:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu6lw-0003fN-2r for 36678@debbugs.gnu.org; Sat, 03 Aug 2019 23:01:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hu6lq-0008P2-T3; Sat, 03 Aug 2019 23:01:18 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hu6lp-0006RP-WE; Sat, 03 Aug 2019 23:01:18 -0400 In-Reply-To: <6bd84b972db36b359b7151755b90eb87d56e61a1.camel@gnu.org> (message from Paul Smith on Sat, 03 Aug 2019 11:09:29 -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:164528 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > What I'm suggesting is that we may consider it OK for cc-mode to make > simplifying assumptions about the structure of the code it uses to > provide some basic indexing capability for imenu (such as, functions > start in column 1). That is the approach I have used since the start. > And then suggest that for users who have more > complex requirements (for example their code cannot meet these > simplifying assumptions) that they should investigate more > sophisticated setups based on LSP (or whatever they like). Instead of giving up, let's design additional simplifying conventions. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)