From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#36678: 27.0.50; imenu not working in C++ (maybe because of namespace) Date: Sun, 4 Aug 2019 08:51:06 +0000 Message-ID: <20190804085106.GA14630@ACM> References: <20190717163427.18177.qmail@mail.muc.de> <20190731155610.x33urisumbblyryu@Ergus> <20190802193315.GC11966@ACM> <20190803112734.GA5573@ACM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="214385"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: spacibba@aol.com, 36678@debbugs.gnu.org, psmith@gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 04 10:52: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 1huCFN-000teC-W9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Aug 2019 10:52:10 +0200 Original-Received: from localhost ([::1]:43212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huCFM-0004qO-Dl for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Aug 2019 04:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47732) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1huCFI-0004q5-Oh for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2019 04:52:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1huCFH-00061v-KY for bug-gnu-emacs@gnu.org; Sun, 04 Aug 2019 04:52:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51586) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1huCFG-00061D-2x; Sun, 04 Aug 2019 04:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1huCFF-00041f-VB; Sun, 04 Aug 2019 04:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 04 Aug 2019 08:52: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.156490867115412 (code B ref 36678); Sun, 04 Aug 2019 08:52:01 +0000 Original-Received: (at 36678) by debbugs.gnu.org; 4 Aug 2019 08:51:11 +0000 Original-Received: from localhost ([127.0.0.1]:60407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1huCER-00040V-4g for submit@debbugs.gnu.org; Sun, 04 Aug 2019 04:51:11 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:24770 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1huCEO-00040L-L8 for 36678@debbugs.gnu.org; Sun, 04 Aug 2019 04:51:09 -0400 Original-Received: (qmail 39258 invoked by uid 3782); 4 Aug 2019 07:58:33 -0000 Original-Received: from acm.muc.de (p2E5D54CA.dip0.t-ipconnect.de [46.93.84.202]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 04 Aug 2019 09:58:32 +0200 Original-Received: (qmail 14642 invoked by uid 1000); 4 Aug 2019 08:51:06 -0000 Content-Disposition: inline In-Reply-To: X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:164537 Archived-At: Hello, Richard. On Sat, Aug 03, 2019 at 22:56:19 -0400, Richard Stallman wrote: > [[[ 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. ]]] > > CC Mode has had imenu type indexing right from its inception. What is > > changing is the increasing complexity of function definitions, in > > particular, the slow demise of the convention of function names being in > > column zero. > Why is that happening? Is there a practical benefit, or is it just > a matter of fashion, or what? In C++, it's largely the namespace, which is being used ever more. Instead of writing namespace foo { int bar (int baz) { ..... } ..... } , people are indenting within the namespace, something like namespace foo { int bar (int baz) { .... } .... } . Not all the time, but a lot of the time, possibly most of the time. This indentation inside a namespace seems like a natural way to format a program, and people are going to carry on doing it. The issue is how we best deal with this. > -- > Dr Richard Stallman > President, Free Software Foundation (https://gnu.org, https://fsf.org) > Internet Hall-of-Famer (https://internethalloffame.org) -- Alan Mackenzie (Nuremberg, Germany).