emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* absurd (was: Xemacs 21.5.32 & org-8.03 almost)
@ 2013-06-10 11:01 Uwe Brauer
  2013-06-10 17:06 ` absurd Achim Gratz
  0 siblings, 1 reply; 10+ messages in thread
From: Uwe Brauer @ 2013-06-10 11:01 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2013 bytes --]


Now the make process is getting absurd. 
For example I put in org-agenda.el

(if (featurep 'xemacs)
	(define-obsolete-variable-alias 'org-agenda-menu-two-column 'org-agenda-menu-two-columns)
  (define-obsolete-variable-alias 'org-agenda-menu-two-column 'org-agenda-menu-two-columns "24.3"))

Now when I run make, with the local.mk for Xemacs, 

oldorg:	# do what the old Makefile did by default.

,----
[+]
| ##----------------------------------------------------------------------
| ##  CHECK AND ADAPT THE FOLLOWING DEFINITIONS
| ##----------------------------------------------------------------------
| .PHONY: xemacs
| xemacs: up0 doc uncompiled
| EMACS   = /usr/local/bin/xemacs
| prefix  = /home/oub/xemacs/site-lisp/packages
| lispdir = $(prefix)/org
| datadir = $(prefix)/etc/org
| infodir = $(prefix)/info
| 
| BTEST = /bin/true
| BATCH = $(EMACS) -batch -q -vanilla # XEmacs
| # How to byte-compile the whole source directory
| ELCDIR  = $(BATCH) \
|                 --eval '(add-to-list '"'"'load-path ".")' \
|                 --eval '(byte-recompile-directory "." 0)'
`----




I obtain

,----
[+]
| While compiling toplevel forms in file
| /home/oub/ALLES/xemacs/site-lisp/packages/org-8.0.3/lisp/org-agenda.el:
|   !! Wrong number of arguments ((define-obsolete-function-alias 2))
|   !! Wrong number of arguments ((define-obsolete-function-alias 2))
| 
| xemacs exiting.
`----


But  according to the docstring:

,----
[+]
| 
| `define-obsolete-function-alias' is a built-in compiled Lisp function
|   -- loaded from
| "/home/oub/ALLES/Add-Import/xemacs-21.5.32-xsymbol/lisp/obsolete.elc"
| (define-obsolete-function-alias OLDFUN NEWFUN)
| 
| Documentation:
| Define OLDFUN as an obsolete alias for function NEWFUN.
| This makes calling OLDFUN equivalent to calling NEWFUN and marks OLDFUN
| as obsolete.
`----

When I byte compile org-agenda.el individually no such problem occurs. 

What is wrong?

thanks

Uwe Brauer 


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5556 bytes --]

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

end of thread, other threads:[~2013-06-10 21:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10 11:01 absurd (was: Xemacs 21.5.32 & org-8.03 almost) Uwe Brauer
2013-06-10 17:06 ` absurd Achim Gratz
2013-06-10 18:49   ` absurd Achim Gratz
2013-06-10 20:40     ` absurd Uwe Brauer
2013-06-10 20:50       ` absurd Achim Gratz
2013-06-10 20:59         ` absurd Uwe Brauer
2013-06-10 20:45     ` absurd Uwe Brauer
2013-06-10 20:37   ` absurd Uwe Brauer
2013-06-10 20:55     ` absurd Achim Gratz
2013-06-10 21:26       ` absurd Uwe Brauer

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