(setq load-path (cons (expand-file-name "~/emacs/") load-path)) (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version)) (cond (running-xemacs (load "zephyr-setup.el") ;; Uncomment the following (and change to whatever number you want) to ;; get a large zephyr buffer and a longer zephyr history ; (setq zephyr-buffer-size 256000) ;; Comment out the following to not launch zephyr-personal on startup (zephyr-personal) ;; Comment out the following to not launch zephyr-nonpersonal on startup (zephyr-nonpersonal) ;; To enable logging, put something similar to the following into your ;; .emacs AFTER you have created your zephyr buffer(s), and AFTER you ;; have set zephyr-send-function (if you do so). Modify the names ;; of the log file and zephyr buffer as appropriate, of course. ;; ; (require 'zephyr-logging) ; (zephyr-enable-logging "~/.zephyrlog" "*zephyr-personal-zgrams*") ;; ;; To log only sent zephyrgrams or only received zephyrgrams, use ;; zephyr-enable-send-logging or zephyr-enable-receive-logging. ;; For example, ;; (zephyr-enable-send-logging "~/.zephyrlog" "*zephyr-personal-zgrams*") ;; ;; To turn off all logging in a buffer, use zephyr-disable-logging. )) (custom-set-faces)
Things you might want to fiddle with in the zephyr-setup.el file (grep
for these and read the comments):
alias xe='xemacs -q -l ~/.emacs' alias xez='xemacs -q -l ~/.emacs_zephyr