[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XEmacs for Windows

Hello Martin,

I have idlwave mode and fontification working on my Win95 PC at home.
All I have done is to follow the directions in the idlwave
distribution.  One thing I do notice on the Win95 setup is that I have
to make a single call to font-lock-fontify-buffer or to font-lock to
kick start fontification each time that I start XEmacs under Win95 (I
don't have to do this under Linux).  After that, I am off and running
for the rest of the session.  As far as I know, and I haven't really
looked into this, you can not run the idl process from inside XEmacs
under Win95 like you can under other *real* operating systems.  This
is unfortuate.  I wish that RSI supported their command line
executable under Win95 bercause I really hate IDLDE and I really love
idlwave-shell-mode.  But unless they do I don't think that you will
get idlwave-shell-mode to work.

In the case that it helps you get started I have enclosed the
statements from my .emacs files which I use to start idlwave mode and
font-lock.  This is more than you need, I have customized things a bit.

		Good luck,


;;;;;;;;;;;;;;;;;;;;;;;font-lock mode;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(if (eq window-system 'x) 
      (require 'font-lock)
      (add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)))
;;;;;;;;;;;;;;;;;;;;;;;;IDL editing mode;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(setq load-path (append '("c:/xemcs/xemacs-packages/lisp/idlwave-3.5")))
(add-hook 'idlwave-mode-hook
	   (lambda ()
	     (setq			;Set options here
	      idlwave-surround-by-blank t	;Turn on padding symbols =,<,>, etc.
	      idlwave-reserved-word-upcase t ;Change reserved words to upper case
	      idlwave-abbrev-move t		;Allow abbrevs to move point backwards
	      idlwave-file-header '("~/lib/idl/template.pro" 
				"Can't find Template file")
	      idlwave-end-block-reg "\\<end\\(\\|case\\|else\\|for\\|if\\|rep\\|while\\)\\>"
	     ;; Run other functions here
	     (local-set-key "\C-j" 'idlwave-newline) 
(setq auto-mode-alist
      (append '(("\\.pro$" . idlwave-mode) 
		("\\.PRO$" . idlwave-mode)
		("\\.cmn$" . idlwave-mode))
(autoload 'idlwave-mode "idlwave" "IDLWAVE Mode" t)


| Eric E. Dors           |    SMTP: eric@dors.org                          |
|                        |    WWW: http://www.dors.org/eric                |