emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: "Dr. Volker Zell" <dr.volker.zell@oracle.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: xemacs error when calling org-install
Date: Sun, 02 Jan 2011 18:02:07 +0100	[thread overview]
Message-ID: <874o9rutm8.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <7zbp4wljlg.fsf@vzell-de.de.oracle.com>

[-- Attachment #1.1: Type: text/plain, Size: 1799 bytes --]

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.

  -- David
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

  reply	other threads:[~2011-01-02 17:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-08  9:06 xemacs error when calling org-install Dr. Volker Zell
2011-01-02 17:02 ` David Maus [this message]
2011-07-11  9:20   ` Sebastien Vauban
2011-08-14 11:21     ` Michael Sperber
2011-08-17 10:01       ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874o9rutm8.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=dr.volker.zell@oracle.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).