From xemacs-m  Thu May 15 19:03:19 1997
Received: from relay5.UU.NET (relay5.UU.NET [192.48.96.15])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id TAA16609
	for <xemacs-beta@xemacs.org>; Thu, 15 May 1997 19:03:19 -0500 (CDT)
Received: from dogbert.alteon.com by relay5.UU.NET with SMTP 
	(peer crosschecked as: alteon.com [208.200.21.146])
	id QQcpsa08668; Thu, 15 May 1997 20:03:39 -0400 (EDT)
Received: from admin.alteon.com ([205.178.13.225]) by dogbert.alteon.com
          via smtpd (for relay5.UU.NET [192.48.96.15]) with SMTP; 16 May 1997 00:02:46 UT
Received: from mtlyell.acteon.com by admin.alteon.com (5.x/SMI-SVR4)
	id AA02060; Thu, 15 May 1997 17:02:57 -0700
Received: by mtlyell.acteon.com (5.x/SMI-SVR4)
	id AA19131; Thu, 15 May 1997 17:02:56 -0700
Date: Thu, 15 May 1997 17:02:56 -0700
Message-Id: <9705160002.AA19131@mtlyell.acteon.com>
From: Tibor Polgar <tibor@alteon.com>
To: xemacs-beta@xemacs.org
Subject: 20.2 build curiosity
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII

To get around different xemacs-options settings the various versions
of XEmacs I'm maintaining, I've done the following:

;; Options Menu Settings
;; =====================
(cond
 ((and (string-match "XEmacs" emacs-version)
       (boundp 'emacs-major-version)
       (or (and
            (= emacs-major-version 19)
            (>= emacs-minor-version 14))
           (= emacs-major-version 20))
       (fboundp 'load-options-file))
  (let (options-file-base
	options-file)
    (and (or (file-exists-p (setq options-file
				  (concat 
				   (setq options-file-base
					(concat (file-name-as-directory (getenv "HOME"))
						".xemacs-options"))
				   emacs-major-version "." emacs-minor-version)))
	     (file-exists-p (setq options-file options-file-base)))
	 (load-options-file options-file)))))
;; ============================
;; End of Options Menu Settings

My home directory looks like:
  lrwxrwxrwx   1 tibor          20 May 14 14:27 .xemacs-options -> .xemacs-options19.15
  -rw-r--r--   1 tibor       21375 May 14 14:29 .xemacs-options19.14
  -rw-r--r--   1 tibor        8325 May 14 20:41 .xemacs-options19.15
  -rw-r--r--   1 tibor        8470 May 15 14:50 .xemacs-options20.2


Although it would have been great to set up this sort of a system back
in 19.14 days, does anyone else feel its worthwhile doing this now?
There are a few 19.15 -> 20.2 differences already, so i expect more in
20.2 -> 20.3.

-- 
Tibor Polgar                                 Alteon Networks
tibor@alteon.com                             6351 San Ignacio Ave.
(408)360-5522                                San Jose, CA  95119

