>>>> "Isaac" == Isaac Hollander
<ysh(a)mindspring.com> writes:
Isaac> I looked at the xemacs-beta archives for information, but did not check
Isaac> the FAQ. I am duly chastened. I found information on the correct
Isaac> libraries to load, but not the eserve.el patch; I'll try that out.
If you don't want to hack the elisp, you can do something like this:
;; now, to fake out the "bad" workshop 4.x eserve.el XEmacs
;; version checking:
(let ((saved-emacs-version emacs-version))
(setq emacs-version (concat "20.x or higher " emacs-version))
(load "workshop")
(setq emacs-version saved-emacs-version))
and if I remember correctly that isn't a problem in the Forte version.
In case this info will help anyone, I had to set up our install here to deal
with both the 4.x WorkShop and the 6.x Forte WorkShop (not that I use either
of them myself but rather just use dbx, but others here that use my XEmacs
install do) and I did it with the following elisp in our site-start.el:
======================================================================
;; To get SunPro SPARCWorks WorkShop stuff to load and start properly for the
;; various flavors of WorkShop we have to use on different machines: find
;; where eserve/workshop exec is, so we know where to find the elisp for it!
(require 'executable)
(let ((wspath (file-truename (executable-find "workshop")))
(wslibdir))
(if wspath
(progn
(setq wslibdir (replace-in-string (file-name-directory wspath) "/bin/?$"
"/lib"))
(if (file-exists-p wslibdir)
(progn
(message "adding workshop lib dir (%s) to load path" wslibdir)
(setq load-path (cons wslibdir load-path))
;; then load all the required gunk for it too:
(when (featurep 'tooltalk)
(load "tooltalk-macros")
(load "tooltalk-util")
(load "tooltalk-init"))
(when (featurep 'sparcworks)
(load "sunpro-init")
(load "ring")
(load "comint")
(load "annotations")
;; now, to fake out the "bad" workshop 4.x eserve.el XEmacs
;; version checking:
(let ((saved-emacs-version emacs-version))
(setq emacs-version (concat "20.x or higher " emacs-version))
(load "workshop")
(setq emacs-version saved-emacs-version))
))
(message "workshop lib dir (%s) missing?" wslibdir)))
(message "workshop not found in exec-path?")))
======================================================================
There may be a more elegant way to do this, but it seems to work ok here.
Chuck
--
Charles K. Hines <ckh(a)requesttech.com> <hines(a)gderome.com>
Principal Scientist at ReQuest Technologies Inc (
http://www.ReQuestTech.com/)
Martial Arts Instructor [Modern Arnis and Balintawak Escrima]
"Go back to sleep, Chuck. You're just havin' a nightmare
-- of course, we ARE still in Hell." (Gary Larson)