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: Defining your own defun breaks find-function-search-for-symbol Date: Sat, 08 Apr 2006 18:34:30 -0400 Message-ID: References: <30417.1144454556@olgas.newt.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1144535689 1630 80.91.229.2 (8 Apr 2006 22:34:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Apr 2006 22:34:49 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 09 00:34:46 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 1FSM0z-0005Kr-0t for ged-emacs-devel@m.gmane.org; Sun, 09 Apr 2006 00:34:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FSM0y-0007n0-C5 for ged-emacs-devel@m.gmane.org; Sat, 08 Apr 2006 18:34:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FSM0m-0007md-Fl for emacs-devel@gnu.org; Sat, 08 Apr 2006 18:34:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FSM0l-0007mP-LJ for emacs-devel@gnu.org; Sat, 08 Apr 2006 18:34:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FSM0l-0007mM-Gq for emacs-devel@gnu.org; Sat, 08 Apr 2006 18:34:31 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FSM53-0002YP-3L for emacs-devel@gnu.org; Sat, 08 Apr 2006 18:38:57 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FSM0k-0007Zc-Qe; Sat, 08 Apr 2006 18:34:30 -0400 Original-To: Bill Wohler In-reply-to: <30417.1144454556@olgas.newt.com> (message from Bill Wohler on Fri, 07 Apr 2006 17:02:36 -0700) 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:52544 Archived-At: We've (the MH-E team) developed mh-defun-compat (and mh-defmacro-compat) to provide either an alias or a definition to a function depending on the availability of the function. I've also created functions like mh-defcustom to strip :package-version from the option definition on systems that do not support it. 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: If you rename your macro to defun-mh-compat, does that fix the problem?