Brian Palmer <bpalmer(a)gmail.com> writes:
 This is perhaps suboptimal, but perhaps
 (if (not (fboundp 'prog-mode))
    (define-derived-mode prog-mode fundamental-mode ...))
 and then always derive go-mode from prog-mode ? 
Would the body of that mode be empty or would I have to set some
variables?
 (It probably makes sense to have prog-mode added to xemacs, too, no? Even
 if just as a place-holder).
 
Adding it to XEmacs would probably be the best idea (from my
perspective, anyway). Most programming modes for GNU Emacs will be
deriving from prog-mode, so having it in XEmacs, too, would make keeping
them synchronized easier.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta