Emacs里把.sdc、.cmd当作tcl来高亮的方法如下:
(setq auto-mode-alist (append '(("\\.sdc\\'" . tcl-mode) ("\\.cmd\\'" . tcl-mode)) auto-mode-alist))