From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [emacs-orgmode-owner@gnu.org: noutline.el doesn't byte-compile] Date: Mon, 7 Aug 2006 17:38:37 +0200 Message-ID: References: <20060802172645.GB5514@zax.ifi.uio.no> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GA8xr-0000lg-Vx for emacs-orgmode@gnu.org; Mon, 07 Aug 2006 13:32:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GA8xq-0000jW-CD for emacs-orgmode@gnu.org; Mon, 07 Aug 2006 13:32:31 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GA8xq-0000jK-6F for emacs-orgmode@gnu.org; Mon, 07 Aug 2006 13:32:30 -0400 Received: from [194.134.35.175] (helo=smtp04.wanadoo.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GA927-0002dQ-Gr for emacs-orgmode@gnu.org; Mon, 07 Aug 2006 13:36:55 -0400 In-Reply-To: <20060802172645.GB5514@zax.ifi.uio.no> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: zvrba@globalnet.hr Cc: emacs-orgmode Hi Zeljko, this looks like a problem with the function `define-minor-mode'. This function is defined in easy-mmode.el, part of the xemacs-base package. Older versions like the one you seem to have do not allow you to specify a "body" as the &rest argument to that function. However, newer versions do allow this argument, and noutline.el is using it. I am running xemacs 21.4 patch 9 on MacOS X, and this already has the new version. So I suggest that you upgrade easy-mmode.el (or better the xemacs-base package or even all packages). - Carsten On Aug 2, 2006, at 19:26, zvrba@globalnet.hr wrote: > I sent this to the mailing list, but it got rejected. I don't want to > subscribe to yet another mailing list, so I'm forwarding this bug > report > again to you. > > Best regards, > Zeljko. > > > From: emacs-orgmode-owner@gnu.org > Date: August 2, 2006 19:16:30 CEST > To: zvrba@globalnet.hr > Subject: noutline.el doesn't byte-compile > > > You are not allowed to post to this mailing list, and your message has > been automatically rejected. If you think that your messages are > being rejected in error, contact the mailing list owner at > emacs-orgmode-owner@gnu.org. > > > From: zvrba@globalnet.hr > Date: August 2, 2006 19:22:19 CEST > To: emacs-orgmode@gnu.org > Subject: noutline.el doesn't byte-compile > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: RIPEMD160 > > Trying to compile noutline.el in xemacs 21.4 (patch 15) on Gentoo > Linux, > I get the following warnings/errors: > > Compiling file /tmp/noutline.el at Wed Aug 2 19:20:46 2006 > While compiling outline-font-lock-face: > ** reference to free variable outline-level > While compiling toplevel forms: > !! Wrong number of arguments ((# &optional init-value lighter keymap) "...(85)" [keymap-doc mode-doc > keymap-name mode-name keymap mode symbol-name format "Non-nil if %s > mode is enabled." "-map" "Keymap for %s mode." progn defvar > make-variable-buffer-local quote intern cond and keymapp listp > easy-mmode-define-keymap t error "Invalid keymap %S" macroexpand > easy-mmode-define-toggle add-minor-mode init-value doc lighter] 12 > ("/usr/lib/xemacs/xemacs-packages/lisp/xemacs-base/easy-mmode.elc" . > 1986)> 8)) > > The noutline.el was freshly downloaded from the web site. Any > suggestions? > > Best regards, > Zeljko. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFE0N9LFtofFpCIfhMRAzW4AKCF9qE8/ggjudJOqn4LR+FlM5KOFACdGwl+ > EKRj5rIa9VFQOVupb2zb5lw= > =AGsq > -----END PGP SIGNATURE----- > > > > > > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477