From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11142: 24.0.94; objc-mode fails for imenu and which-function-mode Date: Fri, 13 Apr 2012 14:53:30 +0800 Message-ID: <871unsp1g5.fsf@gnu.org> References: <20120406171154.GA3085@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1334300104 9960 80.91.229.3 (13 Apr 2012 06:55:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2012 06:55:04 +0000 (UTC) Cc: Leo , 11142@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 13 08:55:03 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 1SIaPN-0000Gq-9G for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Apr 2012 08:55:01 +0200 Original-Received: from localhost ([::1]:34739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIaPM-0005l3-HD for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Apr 2012 02:55:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIaPJ-0005ky-Vw for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 02:54:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIaPF-00077A-DI for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2012 02:54:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIaP8-00076V-10; Fri, 13 Apr 2012 02:54:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SIaQL-0005WL-VS; Fri, 13 Apr 2012 02:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 13 Apr 2012 06:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11142 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 11142-submit@debbugs.gnu.org id=B11142.133430010821154 (code B ref 11142); Fri, 13 Apr 2012 06:56:01 +0000 Original-Received: (at 11142) by debbugs.gnu.org; 13 Apr 2012 06:55:08 +0000 Original-Received: from localhost ([127.0.0.1]:55489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIaPS-0005V7-DF for submit@debbugs.gnu.org; Fri, 13 Apr 2012 02:55:06 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:34717) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SIaPP-0005Uw-HV for 11142@debbugs.gnu.org; Fri, 13 Apr 2012 02:55:04 -0400 Original-Received: from [155.69.18.242] (port=56426 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SIaO7-0005VE-OP; Fri, 13 Apr 2012 02:53:44 -0400 In-Reply-To: <20120406171154.GA3085@acm.acm> (Alan Mackenzie's message of "Fri, 6 Apr 2012 17:11:54 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) 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-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:58976 Archived-At: Alan Mackenzie writes: > Brilliant diagnosis, absolutely right! Thanks. There're some pretty > non-standard coding techniques in that file. ;-) > > Here's the final bit of the fix; please try it out if you haven't done > already, and let me know whether it works fully. Hi Alan, Looks like c-defun-name still doesn't work right for objc-mode. Could you take a look at the patch from Jan Dj=C3=A4rv in Bug#9032? Thanks. (Th= at should go into trunk since it's not a regression).