* OSF2.0 emacs has problems with byte-compile
@ 1994-04-19 19:25 Dr Marco Luchini
0 siblings, 0 replies; only message in thread
From: Dr Marco Luchini @ 1994-04-19 19:25 UTC (permalink / raw)
OK,
I've narrowed the problem down to a much more basic one. I have
singularly failed to byte-compile almost any elisp code using the emacs
with OSF2.0. Specifically:
[femto|77> emacs -batch -q -f batch-byte-compile prefix-regn.el
Compiling /home/luchini/lisp/prefix-regn.el...
Compiling /home/luchini/lisp/prefix-regn.el (prefix-region)...
>>Error occurred processing prefix-regn.el: Wrong type argument ((symbolp 0))
Wrong type argument: symbolp, 0
[femto|78> which emacs
/usr/bin/emacs
[femto|79> more prefix-regn.el
;;; prefix-rgn.el
;;;
;;; Obtained from the elisp archive at tut.cis.ohio-state.edu on Sep. 19, 1991.
(provide 'prefix-region)
(defun prefix-region (begin end prefix)
"Prefix every line in the region between BEGIN and END with the string PREFIX
."
(interactive "r\nsPrefix: ")
(save-excursion
(save-restriction
(narrow-to-region begin end)
(goto-char (point-min))
(while (re-search-forward "^" nil t)
(replace-match prefix t t)))))
prefix-region.el is the smallest lisp file which I could find which does
this. The same error (Wrong type argument: symbolp,0) occurs with every
other bit of elisp I try to byte-compile. The debugger shows it
occurring in different routines though.
(a) Can anybody reproduce this or am I having nightmares?
(b) Does anybody know what has happened to emacs?
It has just occurred to me to try byte-compiling the elisp files that
come with the distribution. The result is in two categories:
(1)
[femto|115> emacs -batch -q -f batch-byte-compile /usr/lib/emacs/lisp/yow.el
Compiling /usr/lib/emacs/lisp/yow.el...
Compiling /usr/lib/emacs/lisp/yow.el (yow)...
>>Error occurred processing /usr/lib/emacs/lisp/yow.el: Wrong type argument ((symbolp 0))
Wrong type argument: symbolp, 0
or (2)
[femto|120> emacs -batch -q -f batch-byte-compile /usr/lib/emacs/lisp/fortran.el
Compiling /usr/lib/emacs/lisp/fortran.el...
Compiling /usr/lib/emacs/lisp/fortran.el (fortran-mode)...
Fatal error (11).Segmentation fault (core dumped)
It therefore seems that the elc files were not produced with the emacs
that gets distributed. It is possible that they are still the ones
produced by OSF1.2 where everything was working OK.
Or is there something deeply screwed up with my installation?
Thanks, Marco
--
-------------------------------------------------------------------------
Marco Luchini Internet : m.luchini@ic.ac.uk
Department of Mathematics Telephone: +44 71 589 5111 x5765
Imperial College Fax: +44 71 225 8361
London SW7 2BZ, UK
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1994-04-19 19:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-04-19 19:25 OSF2.0 emacs has problems with byte-compile Dr Marco Luchini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox