Re: Howto edit stk files?

From: David Fox <fox_at_first.cs.nyu.edu>
Date: Tue, 8 Nov 94 08:04:22 -0500

keichwa_at_gwdg.de writes:

> Please, will you forward me some informations, what is the
> most comfortable way to edit .stk files?

I just put

  (setq auto-mode-alist
    (append '(("\\.stk$" . scheme-mode)
              ("\\.stklos$" . scheme-mode)) auto-mode-alist))

in my .emacs file and things work well. Also,

  (cond (window-system
       (setq hilit-mode-enable-list '(not text-mode)
             hilit-background-mode (if (x-display-color-p) 'light 'mono)
             hilit-inhibit-hooks nil
             hilit-inhibit-rebinding nil)
       (require 'hilit19)

       (hilit-set-mode-patterns
        '(scheme-mode)
        '(
          (";.*" nil comment)
          (hilit-string-find ?\\ string)
          ;; This is not really correct, but better than nothing.
          ("^\\s *(define\\(-\\(method\\|class\\)\\)?\\s " "\\()\\|nil\\)" defun)
          ("^\\s *(define\\(-\\(method\\|class\\)\\)?\\s " "\\()\\|nil\\)" defun)
include)
          ))
       ))

to get some basic highlighting, but if anyone has something
better I'd love to have it.
Received on Tue Nov 08 1994 - 14:05:20 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST