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: 17 Jul 2019 14:39:49 -0000 Organization: muc.de e.V. Message-ID: <20190717143949.87668.qmail@mail.muc.de> References: <20190715203338.btcmpy3jnfmxa3f7@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="135375"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.2-RELEASE-p9 (amd64)) Cc: 36678@debbugs.gnu.org To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 17 16:40:08 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 1hnl6F-000Z3B-9A for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 16:40:07 +0200 Original-Received: from localhost ([::1]:57968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnl6D-0001JS-Ov for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 10:40:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43720) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnl6B-0001J4-5J for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 10:40:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnl6A-0003ct-2T for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 10:40:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnl69-0003ch-Ul; Wed, 17 Jul 2019 10:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnl69-0000yd-NJ; Wed, 17 Jul 2019 10:40:01 -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: Wed, 17 Jul 2019 14:40: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.15633743963739 (code B ref 36678); Wed, 17 Jul 2019 14:40:01 +0000 Original-Received: (at 36678) by debbugs.gnu.org; 17 Jul 2019 14:39:56 +0000 Original-Received: from localhost ([127.0.0.1]:52820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnl64-0000yF-Jt for submit@debbugs.gnu.org; Wed, 17 Jul 2019 10:39:56 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:16726 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1hnl61-0000y6-R2 for 36678@debbugs.gnu.org; Wed, 17 Jul 2019 10:39:54 -0400 Original-Received: (qmail 87669 invoked by uid 3782); 17 Jul 2019 14:39:49 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug 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:163247 Archived-At: Hello, Ergus. In article you wrote: > [-- text/plain, encoding 7bit, charset: us-ascii, 91 lines --] > --text follows this line-- > In the example code (attachement) imenu does not recognizes the > functions. So it shows that there are not candidates when there are. OK. I'll look into this. > In GNU Emacs 27.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.10) > of 2019-07-14 built on Ergus > Repository revision: 783eca57159065ea575622b74e1446853f31621a > Repository branch: master > System Description: Arch Linux [ .... ] > Major mode: C++//l > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > abbrev-mode: t [ .... ] > #ifndef _make_local_matrix_hpp_ > #define _make_local_matrix_hpp_ > #include > #include > #include > #include > #include > namespace miniFE { > void get_recv_info_task(CSRMatrix *A, size_t id, size_t numboxes > const size_t *nrows_array, > size_t Annz, size_t Anrows) > { > } > void get_send_info_task(CSRMatrix *A, size_t id, > size_t numboxes, > int *send_length_local) > { > } > void set_send_info_task(CSRMatrix *A_array, size_t id, > size_t numboxes, > int nelements_to_send_local, > int *elements_to_send_local) > { > } > void make_local_matrix(CSRMatrix *A_array, singleton *sing, size_t numboxes) > { > } > }//namespace miniFE > #endif -- Alan Mackenzie (Nuremberg, Germany).