I updated my copy of the org-mode source tree today and tried to compile it for XEmacs. It failed with the following error (reformatted slightly with a path shortened): ,---- | xemacs -batch -q -eval " | (progn | (add-to-list (quote load-path) | (expand-file-name \"./lisp/\")) | (add-to-list (quote load-path) | \"~/usr/local/share/xemacs/site-lisp\"))" | -f batch-byte-compile lisp/org.el | Compiling /path/org-mode/lisp/org.el... | While compiling org-set-emph-re in file /path/org-mode/lisp/org.el: | ** variable stacked bound but not referenced | While compiling org-set-regexps-and-options: | !! Wrong number of arguments ((#<subr store-match-data> 2)) | >>Error occurred processing lisp/org.el: | Wrong number of arguments: #<subr store-match-data>, 2 `---- I see `store-match-data' called on line 8379 of org.el. Running git-blame against that line shows it not having changed since 22 March 2008. -- Steven E. Harris
Org-mode never calls store-match-date with two arguments.
I can only guess, maybe you have some file that was compiled
for Emacs (not XEmacs), and this file is loaded during the compilation
of Org-mode.
- Carsten
On Jan 25, 2009, at 6:53 PM, Steven E. Harris wrote:
> I updated my copy of the org-mode source tree today and tried to
> compile
> it for XEmacs. It failed with the following error (reformatted
> slightly with a path shortened):
>
> ,----
> | xemacs -batch -q -eval "
> | (progn
> | (add-to-list (quote load-path)
> | (expand-file-name \"./lisp/\"))
> | (add-to-list (quote load-path)
> | \"~/usr/local/share/xemacs/site-lisp\"))"
> | -f batch-byte-compile lisp/org.el
> | Compiling /path/org-mode/lisp/org.el...
> | While compiling org-set-emph-re in file /path/org-mode/lisp/org.el:
> | ** variable stacked bound but not referenced
> | While compiling org-set-regexps-and-options:
> | !! Wrong number of arguments ((#<subr store-match-data> 2))
> | >>Error occurred processing lisp/org.el:
> | Wrong number of arguments: #<subr store-match-data>, 2
> `----
>
> I see `store-match-data' called on line 8379 of org.el.
> Running git-blame against that line shows it not having changed
> since 22
> March 2008.
>
> --
> Steven E. Harris
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Carsten Dominik <dominik@science.uva.nl> writes: > Org-mode never calls store-match-date with two arguments. Yes, I see: ,---- | % find . -name '*.el' | xargs grep store-match | ./lisp/org-mouse.el: (store-match-data mdata)) | ./lisp/org.el: (store-match-data match-data) `---- > I can only guess, maybe you have some file that was compiled for Emacs > (not XEmacs), and this file is loaded during the compilation of > Org-mode. Well, the Makefile invokes XEmacs with the "-q" switch, so there should only be core packages loaded. I tried cleaning out all the compiled files and building org-mode again, to no avail. The error message be misreporting the offending call. (Not that that assertion helps us find the problem any more easily.) -- Steven E. Harris