From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Why is mumamo-chunk-iss-code not defined? Date: Fri, 11 Dec 2009 23:53:48 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1260572092 11384 80.91.229.12 (11 Dec 2009 22:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Dec 2009 22:54:52 +0000 (UTC) To: emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 11 23:54:46 2009 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 1NJENo-0002Oh-D3 for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Dec 2009 23:54:44 +0100 Original-Received: from localhost ([127.0.0.1]:43963 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJENo-0006dv-At for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Dec 2009 17:54:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJENL-0006bQ-0K for help-gnu-emacs@gnu.org; Fri, 11 Dec 2009 17:54:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJENF-0006Qk-TD for help-gnu-emacs@gnu.org; Fri, 11 Dec 2009 17:54:14 -0500 Original-Received: from [199.232.76.173] (port=48732 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJENF-0006Qb-PV for help-gnu-emacs@gnu.org; Fri, 11 Dec 2009 17:54:09 -0500 Original-Received: from mail-yx0-f191.google.com ([209.85.210.191]:45016) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJENF-0007tq-Ei for help-gnu-emacs@gnu.org; Fri, 11 Dec 2009 17:54:09 -0500 Original-Received: by yxe29 with SMTP id 29so3606421yxe.14 for ; Fri, 11 Dec 2009 14:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=2d7sRn8bmJHhzqI1n1SmijKQCUODQr3diPmbeEzPcTM=; b=DI3oZVEHXkDXFvPehm8oih9t11+wocSQIQZ0SmGNKkZbLEPKpzulwJgjQZO7czs9hv eKkLZmQaj6Nrv1B106IdQedNN9l5BEQugGvfzZuba52wcfxNcFd9a+S7OY+ASqx4YlpO eIR3M4XT2FGQ7eFY7vIpPeI2hbDxv8WwLGy6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=UtxunmJ0NUN/5gbFh+FGY2D9qp934Swgp03nJBNSig54QQsKYyDioUKE0BjjOZv0fL gfikRh8gQy3V0SzwCTJ21b1Vp1+wG3Yc3tWm+wMyxoT4dXvoJXDJWygNy/lkpA/7oHIs KSO6q5YzAh5mxoSJmMXcWIneo7vuF2AVfQnFI= Original-Received: by 10.101.152.32 with SMTP id e32mr3226514ano.73.1260572048166; Fri, 11 Dec 2009 14:54:08 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:70610 Archived-At: When byte compiling a file containing just the code below I get an error iss-mumamo.el:58:1:Error: Symbol's function definition is void: mumamo-chunk-iss-code I do not understand why. define-mumamo-multi-major-mode is a defmacro in mumamo.el. Is there anyone who understand what is wrong? (require 'iss-mode) (require 'mumamo) (defun mumamo-chunk-iss-code (pos min max) "Find [code]...[, return range and `pascal-mode'. See `mumamo-find-possible-chunk' for POS, MIN and MAX." (mumamo-quick-static-chunk pos min max "[code]" "{*** End of CODE **}" nil 'pascal-mode nil)) ;;;###autoload (define-mumamo-multi-major-mode iss-mumamo-mode "Turn on multiple major modes Inno Setup .iss files. The code section will be in `pascal-mode' while the rest will be in `iss-mode'. \[code] ... this will be in `pascal-mode'. Note the end mark below! {*** End of CODE **} " ("Inno ISS Family" iss-mode (mumamo-chunk-iss-code )))