From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: xemacs error when calling org-install Date: Sun, 02 Jan 2011 18:02:07 +0100 Message-ID: <874o9rutm8.wl%dmaus@ictsoc.de> References: <7zbp4wljlg.fsf@vzell-de.de.oracle.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0026247226==" Return-path: Received: from [140.186.70.92] (port=48651 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZRLj-0000l8-10 for emacs-orgmode@gnu.org; Sun, 02 Jan 2011 12:04:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZRKN-00045r-PI for emacs-orgmode@gnu.org; Sun, 02 Jan 2011 12:02:44 -0500 Received: from mailout110.xlhost.de ([213.202.242.110]:43993 helo=mysql1.xlhost.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZRKN-00045b-Cb for emacs-orgmode@gnu.org; Sun, 02 Jan 2011 12:02:43 -0500 In-Reply-To: <7zbp4wljlg.fsf@vzell-de.de.oracle.com> 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: "Dr. Volker Zell" Cc: emacs-orgmode@gnu.org --===============0026247226== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Jan__2_18:02:07_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Jan__2_18:02:07_2011-1 Content-Type: text/plain; charset=US-ASCII At Wed, 08 Dec 2010 10:06:19 +0100, Dr. Volker Zell wrote: > > Hi > > Under xemacs when calling the following from org-mode-7.3 I get: > > (require 'org-install) -> Wrong number of arguments: custom-autoload, 3 > > > This is because xemacs defines custom-autoload only with two arguments: > > `custom-autoload' is a compiled Lisp function > -- loaded from "/misc/src/release/xemacs-21.5.28-3/src/xemacs-21.5.28/lisp/custom.elc" > (custom-autoload SYMBOL LOAD) > > Documentation: > Mark SYMBOL as autoloaded custom variable and add dependency LOAD. This is a problem, indeed: The autoloads in org-install.el are generated by the Makefile (i.e. make org-install.el). The stable version of Org mode ships with a pre-generated org-install.el and without recreating this file with Xemacs it won't run. The =custom-autoload= is created only once for ob-tangle.el: ,---- | ;;;###autoload | (defcustom org-babel-tangle-lang-exts | '(("emacs-lisp" . "el")) | "Alist mapping languages to their file extensions. | The key is the language name, the value is the string that should | be inserted as the extension commonly used to identify files | written in this language. If no entry is found in this list, | then the name of the language is used." | :group 'org-babel-tangle | :type '(repeat | (cons | (string "Language name") | (string "File Extension")))) `---- As this the autoload directive was added deliberately I suppose there was a reason for this to be there: If this is the case, there seems not very much we can do about this. The autoload generating function in =autoloads.el= always creates a call to custom-autoload with a third argument. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Jan__2_18:02:07_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk0gr48ACgkQma24O1pEeOa9UQD9FMNOGTAxf40/J9udTiE3320B i3IW1jf/vD6Wq3VgP24BAK7ByyfpkSCqMuv03xKZ1K3HTzNTdoLhlNarKYSVbx5S =fvO8 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Jan__2_18:02:07_2011-1-- --===============0026247226== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0026247226==--