On Tue, Nov 07, 2000 at 06:27:47PM +0100, Hrvoje Niksic wrote:
* An uncompiled backtrace would contain more context information --
you can get it with `(load "parse-time.el")'.
As requested:
,----
| Signaling: (error "Unrecognized char table type" parse-time-syntax)
| make-char-table(parse-time-syntax)
| (defvar parse-time-syntax (make-char-table (quote parse-time-syntax))))
| load-internal("parse-time.el" nil nil nil nil nil)
| load("parse-time.el")
| eval((load "parse-time.el"))
| eval-interactive((load "parse-time.el"))
| eval-last-sexp(nil)
| call-interactively(eval-last-sexp)
`----
* If the code was compiled under GNU Emacs, that may be the problem.
Try recompiling it with XEmacs, and loading it.
This is a file that is part of XEmacs, this has nothing to do with GNU Emacs
(although GNU Emacs does contain this file as well).
To be sure:
,----
| ELISP> (locate-library "parse-time")
| "/usr/local/lib/xemacs/xemacs-packages/lisp/gnus/parse-time.elc"
| ELISP> (locate-library "parse-time.el")
| "/usr/local/lib/xemacs/xemacs-packages/lisp/gnus/parse-time.el"
| ELISP> (locate-library "parse-time.elc")
| "/usr/local/lib/xemacs/xemacs-packages/lisp/gnus/parse-time.elc"
`----
I don't actually use XEmacs so the installed version is as it was built and
installed from source.
I believe the problem is that the code, or some utility function it
calls,
tries to use make-char-table to create a syntax table. Under XEmacs, you
call `make-syntax-table' for that purpose. Can you try that modification
and see if things work out?
I tried this change but it simply caused other problems on loading. Attached
is the diff of the changes I made and here is the backtrace from attempting
to load this new version:
,----
| Signaling: (wrong-type-argument arrayp #s(char-table type syntax data ( (?\^@ ?ÿ) 13)))
| aref(#s(char-table type syntax data ( (?\^@ ?ÿ) 13)) ?0)
| (if (aref parse-time-digits ?0) nil (loop for i from ?0 to ?9 do (set-char-table-range
parse-time-digits i ...)))
| )
| (unless (aref parse-time-digits ?0) (loop for i from ?0 to ?9 do (set-char-table-range
parse-time-digits i ...)))
| )
| load-internal("~/temp/parse-time.el" nil nil nil nil nil)
| load("~/temp/parse-time.el")
| load-library("~/temp/parse-time.el")
| eval((load-library "~/temp/parse-time.el"))
| eval-interactive((load-library "~/temp/parse-time.el"))
| eval-last-sexp(nil)
| call-interactively(eval-last-sexp)
`----
--
Take a look in Hagbard's World: | lbdb.el - LBDB interface.
http://www.hagbard.demon.co.uk/ | sawfish.el - Sawfish mode.
http://www.acemake.com/hagbard/ | uptimes.el - Record emacs uptimes.
emacs software, including.......| quickurl.el - Recall lists of URLs.