emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* xemacs error when calling org-install
@ 2010-12-08  9:06 Dr. Volker Zell
  2011-01-02 17:02 ` David Maus
  0 siblings, 1 reply; 5+ messages in thread
From: Dr. Volker Zell @ 2010-12-08  9:06 UTC (permalink / raw)
  To: emacs-orgmode

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.

Ciao
  Volker
  

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xemacs error when calling org-install
  2010-12-08  9:06 xemacs error when calling org-install Dr. Volker Zell
@ 2011-01-02 17:02 ` David Maus
  2011-07-11  9:20   ` Sebastien Vauban
  0 siblings, 1 reply; 5+ messages in thread
From: David Maus @ 2011-01-02 17:02 UTC (permalink / raw)
  To: Dr. Volker Zell; +Cc: emacs-orgmode


[-- 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.

Best,
  -- 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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xemacs error when calling org-install
  2011-01-02 17:02 ` David Maus
@ 2011-07-11  9:20   ` Sebastien Vauban
  2011-08-14 11:21     ` Michael Sperber
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastien Vauban @ 2011-07-11  9:20 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Volker and David,

David Maus wrote:
> At Wed, 08 Dec 2010 10:06:19 +0100, Dr. Volker Zell wrote:
>> 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:

I've tried to run my .emacs against XEmacs, and ran into the same problem.

1. Is nobody using XEmacs with Org-mode or
2. am I missing something big?

Best regards,
  Seb

-- 
Sebastien Vauban

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xemacs error when calling org-install
  2011-07-11  9:20   ` Sebastien Vauban
@ 2011-08-14 11:21     ` Michael Sperber
  2011-08-17 10:01       ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Sperber @ 2011-08-14 11:21 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ





"Sebastien Vauban"
<wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:

> Hi Volker and David,
>
> David Maus wrote:
>> At Wed, 08 Dec 2010 10:06:19 +0100, Dr. Volker Zell wrote:
>>> 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:
>
> I've tried to run my .emacs against XEmacs, and ran into the same problem.
>
> 1. Is nobody using XEmacs with Org-mode or
> 2. am I missing something big?

I'm definitely using XEmacs with org-mode, but I usually lag behind a
little bit.  The problem you're citing seems to be gone, but there are
still a number of nits XEmacs runs into when trying to run the current
org-mode.  I'm testing my current set of patches, which I'll submit as
soon as things work satisfactorily.  Let me know if you want them in
advance.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: xemacs error when calling org-install
  2011-08-14 11:21     ` Michael Sperber
@ 2011-08-17 10:01       ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2011-08-17 10:01 UTC (permalink / raw)
  To: Michael Sperber; +Cc: public-emacs-orgmode-mXXj517/zsQ, Sebastien Vauban



Hi Michael,

good to know that you are still watching after Org's compatibility 
with XEmacs :)

Michael Sperber <sperber@deinprogramm.de> writes:

> I'm definitely using XEmacs with org-mode, but I usually lag behind a
> little bit.  The problem you're citing seems to be gone, but there are
> still a number of nits XEmacs runs into when trying to run the current
> org-mode.  I'm testing my current set of patches, which I'll submit as
> soon as things work satisfactorily.  Let me know if you want them in
> advance.

No hurry.  Please send the changes when they are complete.

Thanks again,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-17 10:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-08  9:06 xemacs error when calling org-install Dr. Volker Zell
2011-01-02 17:02 ` David Maus
2011-07-11  9:20   ` Sebastien Vauban
2011-08-14 11:21     ` Michael Sperber
2011-08-17 10:01       ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).