From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: which-function deficiency in C mode Date: Wed, 21 Jun 2006 14:32:40 -0400 Message-ID: Reply-To: sds@podval.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1150916071 19522 80.91.229.2 (21 Jun 2006 18:54:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jun 2006 18:54:31 +0000 (UTC) Cc: alexr@msil.sps.mot.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 21 20:54:25 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 1Ft7qJ-0004q1-Av for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2006 20:54:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ft7qI-0006jD-V1 for ged-emacs-devel@m.gmane.org; Wed, 21 Jun 2006 14:54:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ft7q8-0006j8-E6 for emacs-devel@gnu.org; Wed, 21 Jun 2006 14:54:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ft7q6-0006iB-Il for emacs-devel@gnu.org; Wed, 21 Jun 2006 14:54:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ft7q6-0006i3-Fz for emacs-devel@gnu.org; Wed, 21 Jun 2006 14:54:10 -0400 Original-Received: from [66.155.124.107] (helo=janestcapital.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ft7gE-0007UT-1M for emacs-devel@gnu.org; Wed, 21 Jun 2006 14:43:58 -0400 Original-Received: from loki.janestcapital.quant [209.213.205.130] by janestcapital.com with ESMTP (SMTPD32-8.13) id A0CC1187009C; Wed, 21 Jun 2006 14:32:44 -0400 Original-Received: from quant8.janestcapital.quant (quant8.janestcapital.quant [192.168.250.217]) by loki.janestcapital.quant (Postfix) with ESMTP id B52F83680AA; Wed, 21 Jun 2006 14:32:44 -0400 (EDT) Original-Received: from quant8.janestcapital.quant (PLEASE_CONFIG_NETWORK [127.0.0.1]) by quant8.janestcapital.quant (8.13.6/8.13.5) with ESMTP id k5LIWi4P026237; Wed, 21 Jun 2006 14:32:44 -0400 Original-Received: (from sds@localhost) by quant8.janestcapital.quant (8.13.6/8.13.6/Submit) id k5LIWe0j026236; Wed, 21 Jun 2006 14:32:40 -0400 X-Authentication-Warning: quant8.janestcapital.quant: sds set sender to sds@podval.org using -f Original-To: emacs-devel@gnu.org Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:56066 Archived-At: GNU Emacs 22.0.50.6 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2006-06-19 on quant8 which-function (and thus which-function-mode) does not determine the "function name" correctly in the following common cases: typedef struct foo { int bar; char* baz; } foo_t; typedef struct { int bar; char* baz; } foo_t; note that "struct foo" appears to be handled properly. I cannot figure out what is amiss (it is even unclear what facility - add-log and imenu - is used when). -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://thereligionofpeace.com http://pmw.org.il http://camera.org http://honestreporting.com Only adults have difficulty with child-proof caps.