GNU bug report logs - #10932
23.4; imenu fails on c functions with pointers to function parameters

Previous Next

Packages: cc-mode, emacs;

Reported by: Chris Hecker <checker <at> d6.com>

Date: Sat, 3 Mar 2012 19:52:01 UTC

Severity: normal

Found in version 23.4

Fixed in version 24.3

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10932 in the body.
You can then email your comments to 10932 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10932; Package emacs. (Sat, 03 Mar 2012 19:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chris Hecker <checker <at> d6.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 03 Mar 2012 19:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Hecker <checker <at> d6.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.4; imenu fails on c functions with pointers to function parameters
Date: Fri, 02 Mar 2012 23:22:08 -0800
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 <at> 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 <C-backspace> i n t C-x C-s C-n ESC ESC i M-p C-g
ESC ESC i * r e <tab> <return> 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 <C-backspace> v o i d SPC C-p C-p C-p C-p C-p C-p
C-b <C-backspace> 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 <return> 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 <return> 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 <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> , SPC C-x C-s C-n C-n ESC ESC
TAB M-p <return> C-g C-p C-p C-e C-p C-p C-a C-p C-p
C-p C-p <C-end> <C-home> <switch-frame> <switch-frame>
^ C-n C-s c o n t e t C-s <backspace> <backspace> n
t C-s C-e <return> C-n C-n C-n C-s t e x t C-e <return>
<return> C-x k <return> C-n C-n C-n <return> C-x k
<return> C-p <return> C-x k <return> C-n C-n <return>
C-x k <return> <return> C-x k <return> C-p C-p <return>
C-x k <return> C-n <return> C-x k <return> C-n C-n
C-n <return> C-x k <return> C-n C-n <return> C-x k
<return> C-n C-n <return> C-x k <return> C-p <return>
C-x k <return> C-n C-n C-n C-p <return> C-x k <return>
C-; 5 0 <help-echo> <down-mouse-1> <mouse-1> C-; 2
C-h i <tab> <tab> <tab> <return> C-s b u g C-s C-e
C-a C-s C-s C-s C-s <return> <return> C-x o ESC x r
e p o r t - e m <tab> <return>

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)




Reply sent to Noam Postavsky <npostavs <at> users.sourceforge.net>:
You have taken responsibility. (Sun, 26 Jun 2016 04:20:02 GMT) Full text and rfc822 format available.

Notification sent to Chris Hecker <checker <at> d6.com>:
bug acknowledged by developer. (Sun, 26 Jun 2016 04:20:02 GMT) Full text and rfc822 format available.

Message #10 received at 10932-done <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 10932-done <at> debbugs.gnu.org
Cc: Chris Hecker <checker <at> d6.com>
Subject: Bug #10932: 23.4; imenu fails on c functions with pointers to
 function parameters
Date: Sun, 26 Jun 2016 00:19:04 -0400
Version: 24.3

I see the problem in 23.4, but not in 24.3, so it seems to have been
fixed sometime in between.




Information forwarded to bug-gnu-emacs <at> gnu.org, bug-cc-mode <at> gnu.org:
bug#10932; Package emacs,cc-mode. (Sun, 26 Jun 2016 08:25:01 GMT) Full text and rfc822 format available.

Message #13 received at 10932 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Noam Postavsky <npostavs <at> users.sourceforge.net>
Cc: 10932 <at> debbugs.gnu.org
Subject: Re: bug#10932: Bug #10932: 23.4;
 imenu fails on c functions with pointers to function parameters
Date: 26 Jun 2016 08:24:40 -0000
Hello, Noam.

In article <mailman.80.1466914808.26859.bug-gnu-emacs <at> gnu.org> you wrote:
> Version: 24.3

> I see the problem in 23.4, but not in 24.3, so it seems to have been
> fixed sometime in between.

Yes.  More precisely, in what is now commit
3fc9b2184582296ffe4a602d87534f35ba4b4919 on 2011-08-27.  Apologies for
not closing the bug.

-- 
Alan Mackenzie (Nuremberg, Germany).





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Jul 2016 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 51 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.