From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: which-function deficiency in C mode Date: Sat, 24 Jun 2006 04:31:26 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1151137903 27501 80.91.229.2 (24 Jun 2006 08:31:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 24 Jun 2006 08:31:43 +0000 (UTC) Cc: alexr@msil.sps.mot.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 24 10:31:42 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Fu3YL-0005Yn-6N for ged-emacs-devel@m.gmane.org; Sat, 24 Jun 2006 10:31:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fu3YK-00058G-Ng for ged-emacs-devel@m.gmane.org; Sat, 24 Jun 2006 04:31:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fu3Y7-00057v-Jx for emacs-devel@gnu.org; Sat, 24 Jun 2006 04:31:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fu3Y7-00057b-4p for emacs-devel@gnu.org; Sat, 24 Jun 2006 04:31:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fu3Y7-00057Y-01 for emacs-devel@gnu.org; Sat, 24 Jun 2006 04:31:27 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fu3jU-00089r-SV for emacs-devel@gnu.org; Sat, 24 Jun 2006 04:43:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Fu3Y6-0005aU-7D; Sat, 24 Jun 2006 04:31:26 -0400 Original-To: sds@podval.org In-reply-to: (message from Sam Steingold on Wed, 21 Jun 2006 14:32:40 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:56143 Archived-At: which-function (and thus which-function-mode) does not determine the "function name" correctly in the following common cases: typedef struct foo { int bar; Since which-function-mode uses the results of imenu, I think the first step is to see whether imenu parses that wrong. Could you do that? typedef struct { int bar; char* baz; } foo_t; That is surely hopeless.