home *** CD-ROM | disk | FTP | other *** search
- Howdy, I'm using a Sparc IPX color machine. I've got colors assigned to bold,
- italic, etc fonts in my .Xdefaults file.
-
- When I fire up VM, mail headers are not getting colorized as expected (it
- works in gnus, info, etc..). They show up black and white with underlining
- instead of colorized. By doing diff and experimenting with things that changed
- I've found that the "(require 'highlight-headers)" in vm-lucid.el appears to
- be the culprit. That is, if I comment out this line, I get colorized headers.
-
- I'm wondering if this is a real bug, or whether I'm misusing something. I have
- code in my .emacs to cause a new window to be created for each folder I visit.
- I've noticed that while I now get colorized headers for the inbox window, any
- additional windows created by visiting folders are back to b&w. Visiting
- behaved this way with 19.4 also.
-
- I've included excerpts of my .emacs below. Any help or clarification would be
- appreciated.
-
- Jerry G. DeLapp -- ACL System Scientist -- (505) 665-4531 <jgd@lanl.gov>
- Computing beyond the Bleeding Edge -- The Advanced Computing Laboratory
-
- (autoload 'vm "vm" "" t)
- (setq allow-deletion-of-last-visible-screen t)
- (setq text-mode-hook 'turn-on-auto-fill)
-
- ;;; Mail handlers should use supercite
-
- (autoload 'sc-cite-original "sc" "Supercite 2.2" t)
- (defun my-sc-overload-hook ()
- (require 'sc-oloads)
- (sc-overload-functions))
- (defun use-supercite ()
- "Setup standard mail/news readers to use Supercite 2.2"
- (setq mail-yank-hooks 'sc-cite-original) ; for all but MH-E
- (setq mh-yank-hooks 'sc-cite-original) ; for MH-E only
- (setq news-reply-mode-hook 'my-sc-overload-hook)
- (setq mail-setup-hook 'my-sc-overload-hook))
- (use-supercite)
- (setq sc-citation-leader "")
-
- (setq-default mail-self-blind t)
- (setq mail-default-reply-to "Jerry G. DeLapp <jgd@acl.lanl.gov>")
-
- ;; Random Variables
- (setq auto-save-default t)
- (setq make-backup-files 1)
- (setq version-control t)
- (put 'eval-expression 'disabled nil)
- (setq explicit-shell-file-name "/bin/csh")
- (setq indent-tabs-mode nil)
- (setq tab-stop-list
- '(4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64 68 72 76 80
- 84 88 92 96 100 104 108 112 116 120))
-
- ;;;; View Mail Setup, the rest is in ~/.vm
-
- (setq version19 (string-equal (substring (emacs-version) 0 12) "GNU Emacs 19"))
-
- (defun vm-in-screen (&rest args) nil
- (interactive)
- (let ((screen-defaults '((width . 80) (height . 55)))
- (screens (screen-list))
- (vmloaded nil)
- screen match-screen sname)
- (if (featurep 'vm)
- nil
- (require 'vm)
- (setq vmloaded t))
- (setq sname (file-name-nondirectory (or (car args) vm-primary-inbox)))
- (while (setq screen (car screens))
- (setq screens (cdr screens))
- (if (string-equal (screen-name screen) sname)
- (setq match-screen screen)))
- (setq screen (if match-screen
- match-screen
- (and screen-creation-func
- (funcall screen-creation-func
- (cons (cons 'name sname)
- (append screen-defaults
- screen-default-alist))))))
- (if screen (raise-screen (select-screen screen)))
- (if vmloaded
- (progn
- (fset 'vm-orig (symbol-function 'vm))
- (fset 'vm 'vm-in-screen)
- (fset 'vm-quit-orig (symbol-function 'vm-quit))
- (fset 'vm-quit '(lambda (&optional no-change) "" (interactive)
- (funcall 'vm-quit-orig no-change)
- (delete-screen (selected-screen))))
- (put 'vm-mode 'screen-name 'VM)
- (put 'VM 'instance-limit 1)
- (put 'VM 'screen-defaults screen-defaults)))
- (apply 'vm-orig args)))
-
- (if version19
- (let ()
- ;; Blow away the default autoload definition for vm
- (fset 'vm 'vm-in-screen)
- (setq appmenu '( ["VM" vm t]
- ["Dired" dired t]
- ["Gnus" gnus t]
- ["Shell" shell t]
- ["Checkout File" rcs-co-file t]
- ["Checkout Buffer" rcs-co-buffer t]
- ["Checkin File" rcs-ci-file t]
- ["Checkin Buffer" rcs-ci-buffer t]
- ))
- (add-menu nil "Apps" appmenu)
- (setq inhibit-startup-message t)))
-
-
-