From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Liang Wang Newsgroups: gmane.emacs.devel Subject: imenu fails to index C function with function pointer as parameter Date: Mon, 22 Aug 2011 14:02:12 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1313992943 20209 80.91.229.12 (22 Aug 2011 06:02:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Aug 2011 06:02:23 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 22 08:02:19 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QvNaV-0007PP-Di for ged-emacs-devel@m.gmane.org; Mon, 22 Aug 2011 08:02:19 +0200 Original-Received: from localhost ([::1]:54450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvNaU-0000As-K5 for ged-emacs-devel@m.gmane.org; Mon, 22 Aug 2011 02:02:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvNaS-0000A4-77 for emacs-devel@gnu.org; Mon, 22 Aug 2011 02:02:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvNaR-0007vN-86 for emacs-devel@gnu.org; Mon, 22 Aug 2011 02:02:16 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:58696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvNaR-0007vG-3J for emacs-devel@gnu.org; Mon, 22 Aug 2011 02:02:15 -0400 Original-Received: by wwj26 with SMTP id 26so2015574wwj.0 for ; Sun, 21 Aug 2011 23:02:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=60viqSwxrtUnSyCs2TUG4kbvolwQshbpaOU5bIb4Zck=; b=xmNlj516ef96KqBIwKjCmETjhtL9caMFL3NVce/N+0J2tXIWOU3EupHSBy4uZSuNMf tX3qmZOm3xLQHKPUBrEFWOYpOpCvHQU13AryYP+xTjtplbPDP+A+Qh+PD7wFBauxfaFG Ri/5Tty5uJnvewzdc333qpaltcR2oHuE/fjqs= Original-Received: by 10.216.71.5 with SMTP id q5mr729699wed.4.1313992933240; Sun, 21 Aug 2011 23:02:13 -0700 (PDT) Original-Received: by 10.216.88.69 with HTTP; Sun, 21 Aug 2011 23:02:12 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143491 Archived-At: Hi, When I try to jump to a function definition which has a function pointer as one of its parameters, imenu fails to recognize such function. One example is static rtx substitute_address (rtx exp, rtx (*no_address_fn) (rtx), rtx (*address_fn) (rtx)) which is from gcc source code in gcc/genattrtab.c. To reproduce it, run M-x imenu RET sub TAB And then, I get [No match]. Other functions are just fine. Thanks, Liang.