Le mercredi 18 octobre 2006 10:24, Didier Verna a écrit :
 
         Hi ! 
Hi,
 
 I have not checked precisely, but probably at least since:
 
 2005-10-12  Jérôme Marant  <jmarant(a)free.fr>
 
 	* sh-script.el: Sync with GNU Emacs 21.4
 
 
 the function sh-mode doesn't work in XEmacs. It is defined with
 define-derived-mode and nil as the parent. This makes the resulting function
 try to call (nil) as a function. I'm puzzled that this hasn't been spotted
 earlier. 
It surely was working at the time the patch was committed.
 A quick fix is to make fundamental-mode the parent of sh-mode, but I
fail to
 see the point of defining a _derived_ mode if there is no parent... I suspect
 the semantics of define-derived-mode in GNU Emacs is a bit different ? 
I have no idea.
Regards,
-- 
Jérôme Marant
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta