From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bill Wohler Newsgroups: gmane.emacs.devel Subject: Re: Defining your own defun breaks find-function-search-for-symbol Date: Mon, 10 Apr 2006 14:34:58 -0700 Organization: Newt Software Message-ID: <87psjpt8ql.fsf@olgas.newt.com> References: <30417.1144454556@olgas.newt.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1144704962 26496 80.91.229.2 (10 Apr 2006 21:36:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Apr 2006 21:36:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 10 23:36:00 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 1FT43D-0004vV-BW for ged-emacs-devel@m.gmane.org; Mon, 10 Apr 2006 23:35:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FT43C-0000PJ-Dx for ged-emacs-devel@m.gmane.org; Mon, 10 Apr 2006 17:35:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FT42z-0000P3-Eo for emacs-devel@gnu.org; Mon, 10 Apr 2006 17:35:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FT42y-0000Or-5L for emacs-devel@gnu.org; Mon, 10 Apr 2006 17:35:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FT42y-0000Oo-38 for emacs-devel@gnu.org; Mon, 10 Apr 2006 17:35:44 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FT47g-0001df-Nv for emacs-devel@gnu.org; Mon, 10 Apr 2006 17:40:37 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FT42l-0004pJ-DN for emacs-devel@gnu.org; Mon, 10 Apr 2006 23:35:31 +0200 Original-Received: from c-67-161-47-42.hsd1.ca.comcast.net ([67.161.47.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Apr 2006 23:35:31 +0200 Original-Received: from wohler by c-67-161-47-42.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Apr 2006 23:35:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-67-161-47-42.hsd1.ca.comcast.net User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:ehtNjfvdlegyrs/YuiEesX7x5+0= 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:52621 Archived-At: Stefan Monnier writes: >> We've (the MH-E team) developed mh-defun-compat (and mh-defmacro-compat) > [...] >> The problem is that if perform describe-function or describe-variable on >> the functions and variables that these functions define, and then click >> on the file in which they are defined, you get an error: > >> Cannot find definition of `mh-letter-fill-column' in library `mh-e.el' > > I believe the patch below which I've just installed fixes the problem. ... > - (concat "^([^ ]+" find-function-space-re "['(]" > + (concat "^([^ ]+" find-function-space-re "['(]?" Indeed. Nicely done, thanks! -- Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian! If you're passed on the right, you're in the wrong lane.