emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: absurd (was: Xemacs 21.5.32 & org-8.03 almost)
Date: Mon, 10 Jun 2013 13:01:27 +0200	[thread overview]
Message-ID: <87obbe8c1k.fsf@gilgamesch.quim.ucm.es> (raw)

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

             reply	other threads:[~2013-06-10 11:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 11:01 Uwe Brauer [this message]
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

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87obbe8c1k.fsf@gilgamesch.quim.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

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