[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] xemacs error when calling org-install
From: |
David Maus |
Subject: |
Re: [Orgmode] xemacs error when calling org-install |
Date: |
Sun, 02 Jan 2011 18:02:07 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
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.... address@hidden
Email..... address@hidden
pgpHWXc2JXwOG.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Orgmode] xemacs error when calling org-install,
David Maus <=