From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Hecker Newsgroups: gmane.emacs.bugs Subject: bug#10932: 23.4; imenu fails on c functions with pointers to function parameters Date: Fri, 02 Mar 2012 23:22:08 -0800 Message-ID: <4F51C6A0.9090009@d6.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1330804367 31830 80.91.229.3 (3 Mar 2012 19:52:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2012 19:52:47 +0000 (UTC) To: 10932@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 03 20:52:47 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S3v0W-0006Ca-2i for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 20:52:44 +0100 Original-Received: from localhost ([::1]:51571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3v0V-0006it-8q for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 14:52:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3uzm-0006iG-27 for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 14:51:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3uzj-0000vz-OO for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 14:51:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3uzj-0000vv-L3 for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 14:51:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S3uzq-00069R-49 for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 14:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chris Hecker Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Mar 2012 19:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.133080427023578 (code B ref -1); Sat, 03 Mar 2012 19:52:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Mar 2012 19:51:10 +0000 Original-Received: from localhost ([127.0.0.1]:60298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3uyz-00067n-M0 for submit@debbugs.gnu.org; Sat, 03 Mar 2012 14:51:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34404) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3jJI-0004FU-0v for submit@debbugs.gnu.org; Sat, 03 Mar 2012 02:23:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3jIg-0003gX-RN for submit@debbugs.gnu.org; Sat, 03 Mar 2012 02:22:44 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:36895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3jIg-0003gR-Nw for submit@debbugs.gnu.org; Sat, 03 Mar 2012 02:22:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3jIM-0006CH-7H for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 02:22:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3jIH-0003ah-Ss for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 02:22:21 -0500 Original-Received: from mail-pz0-f52.google.com ([209.85.210.52]:36600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3jIH-0003a3-JX for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 02:22:17 -0500 Original-Received: by dadp12 with SMTP id p12so2624495dad.39 for ; Fri, 02 Mar 2012 23:22:14 -0800 (PST) Received-SPF: pass (google.com: domain of checker@d6.com designates 10.68.233.97 as permitted sender) client-ip=10.68.233.97; Authentication-Results: mr.google.com; spf=pass (google.com: domain of checker@d6.com designates 10.68.233.97 as permitted sender) smtp.mail=checker@d6.com Original-Received: from mr.google.com ([10.68.233.97]) by 10.68.233.97 with SMTP id tv1mr10337686pbc.152.1330759334255 (num_hops = 1); Fri, 02 Mar 2012 23:22:14 -0800 (PST) Original-Received: by 10.68.233.97 with SMTP id tv1mr8770934pbc.152.1330759334036; Fri, 02 Mar 2012 23:22:14 -0800 (PST) Original-Received: from [192.168.0.100] (c-67-180-254-33.hsd1.ca.comcast.net. [67.180.254.33]) by mx.google.com with ESMTPS id p10sm7141806pbf.20.2012.03.02.23.22.12 (version=SSLv3 cipher=OTHER); Fri, 02 Mar 2012 23:22:13 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 X-Enigmail-Version: 1.3.5 X-Gm-Message-State: ALoCoQkyWB+5G8SirzhQZIiMdNZ55D3A2/hIrlR1AM7NH1fWiQ6dpvPVfldmhoNY1sdtJIT8YEGS X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sat, 03 Mar 2012 14:50:58 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Sat, 03 Mar 2012 14:52:40 -0500 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57470 Archived-At: This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your report will be posted to the bug-gnu-emacs@gnu.org mailing list and the gnu.emacs.bug news group, and at http://debbugs.gnu.org. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': imenu fails to find the Bar function in the following file, it only finds Foo --- func.cpp --- void Foo( void ) { } void Bar( char const* q, void* p, bool (*f)( void ) ) { } --- func.cpp --- Thanks for emacs, I love it! If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/apps/emacs/emacs-23.4/etc/DEBUG. In GNU Emacs 23.4.1 (i386-mingw-nt6.0.6002) of 2012-02-04 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.0.6002 configured using `configure --with-gcc (4.4) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: C++/lw Minor modes in effect: subword-mode: t minibuffer-depth-indicate-mode: t icicle-mode: t which-function-mode: t shell-dirtrack-mode: t nxhtml-menu-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t abbrev-mode: t Recent input: C-q i n t C-x C-s C-n ESC ESC i M-p C-g ESC ESC i * r e C-g C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-f C-f C-f v o i d SPC C-p C-p C-p C-p C-p C-p C-b v o i d SPC C-e C-a C-x C-s C-n C-n C-n C-n C-n C-n C-n C-n ESC ESC i M-p C-g C-g C-p C-p C-p C-e M-b M-b M-b M-b C-f SPC ) S-SPC / / SPC C-x C-s C-n C-n ESC ESC i M-p C-g C-p C-n C-n C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-e C-p C-e M-b M-b M-b M-b M-f M-f M-b , SPC C-x C-s C-n C-n ESC ESC TAB M-p C-g C-p C-p C-e C-p C-p C-a C-p C-p C-p C-p ^ C-n C-s c o n t e t C-s n t C-s C-e C-n C-n C-n C-s t e x t C-e C-x k C-n C-n C-n C-x k C-p C-x k C-n C-n C-x k C-x k C-p C-p C-x k C-n C-x k C-n C-n C-n C-x k C-n C-n C-x k C-n C-n C-x k C-p C-x k C-n C-n C-n C-p C-x k C-; 5 0 C-; 2 C-h i C-s b u g C-s C-e C-a C-s C-s C-s C-s C-x o ESC x r e p o r t - e m Recent messages: Wrote c:/Users/checker/dev/test/func.cpp Quit Mark set [2 times] Mark saved where search started [2 times] Type C-c C-c to view the image as text. Loading vc-bzr...done Type C-c C-c to view the image as text. [10 times] Composing main Info directory...done Mark saved where search started [2 times] Computing completion candidates... Load-path shadows: c:/Users/checker/emacs/nxhtml/util/vline hides ~/emacs/lisp/icicles/vline ~/emacs/lisp/css-mode hides c:/apps/emacs/emacs-23.4/lisp/textmodes/css-mode Features: (shadow sort mail-extr warnings emacsbug vc-bzr image-mode multi-isearch face-remap subword etags-select etags mb-depth two-column bookmark pp icicles icicles-mode dired+ dired-x dired-aux dired icicles-cmd2 easy-mmode icicles-cmd1 icicles-mcmd help-mode icicles-mac icicles-fn icicles-var icicles-opt edmacro kmacro ffap icicles-face thingatpt hexrgb calc-vec calc-forms calc-misc calc-aent calc-prog calc-ext calc calc-loaddefs calc-macs mel-mode browse-url prop-mode pfx-mode message ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 mailabbrev nnheader gmm-utils mailheader canlock hashcash mail-utils smtpmail sendmail rfc2047 rfc2045 ietf-drums qp mm-util mail-prsvr ibuffer ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff caml-font 7z-arc-mode cperl-mode matlab derived tempo which-func imenu cus-edit wid-edit grep cus-start cus-load cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs compile browse-kill-ring view checker-allout checker-outline hmac-sha1 sha1 hex-util tramp-imap assoc tramp-gw tramp-fish tramp-cache tramp-ftp tramp-cmds tramp regexp-opt auth-source gnus-util netrc time-date advice help-fns advice-preload shell comint ring password-cache format-spec tramp-compat trampver nxhtml-autostart nxhtml-autoload majmodpri nxhtml-menu web-autoload nxhtml-base tex-site server info easymenu tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)