From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Can't compile Date: 25 Feb 2007 18:36:14 GMT Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1172428841 14406 80.91.229.12 (25 Feb 2007 18:40:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Feb 2007 18:40:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 25 19:40:35 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLOIU-00009u-MY for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2007 19:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLOIU-0003CD-NT for geh-help-gnu-emacs@m.gmane.org; Sun, 25 Feb 2007 13:40:34 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-X-Trace: individual.net FiGYF2wpodmaJx+NEroYXQzOzwZaIrlzpmTb//zW5291FkoDTS Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:145858 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41462 Archived-At: Xavier Maillard wrote: > nero.el:2119:1:Error: Symbol's function definition is void: nero-follow-numbers > make: *** [nero.elc] Error 1 [...] > nero-follow-numbers is a (defined) function used in a macro. i had the same problem recently with XEmacs (a defun used in a macro defined in the same file). i solved it by wrapping the defun in an eval-and-compile. so you could try: (eval-and-compile (defun nero-follow-numbers (lis handler) "Used by `nero-defjump' to add a nested list of actions. Each action corresponds to following a given numbered link in LIS. The last link in the list is followed using HANDLER." (let (ret) (nero-recursively-add-number-actions (reverse lis) handler ret)))) no idea if this is the proper way to handle it, but it worked. the same code compiled without problems on GNU/Emacs 22.0.91.1 (without the eval-and-compile, i mean). i'm not really sure what the story is there... -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)