Subject: Emacs changes for dsssl-mode available From: David Megginson <dmeggins@xxxxxxxxxx> Date: Sat, 12 Apr 1997 16:06:14 -0400 |
In case anyone's interested (and is nervous about patching), you can simply include something like the following in your ~/.emacs file to customise Emacs for DSSSL: ;; Set up DSSSL indentation. (put 'element 'scheme-indent-function 1) (put 'style 'scheme-indent-function 1) (put 'root 'scheme-indent-function 1) (put 'make 'scheme-indent-function 1) (put 'with-mode 'scheme-indent-function 1) (put 'mode 'scheme-indent-function 1) ;; Make font-lock recognise more DSSSL keywords. (setq scheme-font-lock-keywords (cons '("(\\(make\\|element\\|style\\|mode\\|root\\|with-mode\\)[ \t\n]\\([0-9a-z.-]+\\|([^)]+)\\)" (1 font-lock-keyword-face) (2 font-lock-function-name-face)) scheme-font-lock-keywords)) ;; Use Scheme mode for DSSSL files. (setq auto-mode-alist (append (list (cons "\\.dss?s?l$" 'scheme-mode)) auto-mode-alist)) It will be nice, though, to have a proper configuration built-into Emacs. All the best, David - -- David Megginson ak117@xxxxxxxxxxxxxxxxxxx Microstar Software Ltd. dmeggins@xxxxxxxxxxxxx University of Ottawa dmeggins@xxxxxxxxxx http://www.uottawa.ca/~dmeggins
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Emacs changes for dsssl-mode availa, Dave Love | Thread | Jade and TeX, Paul Prescod |
Emacs changes for dsssl-mode availa, Dave Love | Date | Jade and TeX, Paul Prescod |
Month |