Hi, It was the original .el file. Following your suggestion I narrowed the offending section down to (eval-when-compile (require 'cl))
or just (require 'cl) AFAICS. Yet when I do an eval-current-buffer on cl.el I don't get any problems - presumably I need to get rid of cl.elc and recompile the thing. OK, thanks for you help (note to self: must learn e-lisp one of these days...) cheers, Paul > -----Original Message----- > From: Jason Rumney [mailto:[EMAIL PROTECTED] > Sent: 21 March 2006 22:27 > To: Bowman, Paul (HBOS Group Technology) > Cc: [email protected] > Subject: Re: [h-e-w] ruby-mode.el crashes my Emacs 2.3.1 on NT4 > > > [EMAIL PROTECTED] writes: > > > Hi, > > > > After copying ruby-mode.el from the current ruby release into my > > Emacs/lisp/progmodes folder, my attempt to load-library ruby-mode > > ends consistently in a pretty abrupt crash. > > Is there a ruby-mode.elc as well, or only ruby-mode.el? If there is an > elc file, try deleting it. If it works after that, you can recreate > the elc file with M-x byte-compile-file. The original elc file may > have been compiled with an incompatible version of XEmacs (I think the > current version of XEmacs is bytecode compatible with the current > version of Gnu Emacs, but there have been incompatibilities in the > past) > > If Emacs is crashing with just the .el file, then instead of loading > it in one go, open the file and execute parts of the file with M-x > eval-region until you narrow down the function that is causing the > crash. > > -- ------------------------------------------------------------------------------ HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are authorised and regulated by the Financial Services Authority. ==============================================================================
