看板FreeBSD
标 题请问 emacs 的 font-lock-mode 跟 html-helper-mode 的问题
发信站云情资心 (Fri Jun 18 19:14:01 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!news.csie.ncyu!news.ncyu!news.ccu!Yu
找过很多的文章
几乎都是教我这样设定在 .emacs 的档案里
(autoload 'html-helper-mode "html-helper-mode" "PHP with HTML editing mode" t)
(add-to-list 'auto-mode-alist '("\\.phtml?\\'" . html-helper-mode))
可是当我在开启 .phtml 的档案时,依旧没有 font-lock-mode 的颜色出现
不知道是那里设定有误了呢?
还有,html-helper-mode.el的档案是要放在那里呢?
目前我是放在
/usr/local/share/emacs/21.3/list/
不知道这样是否正确呢?
谢谢了...
--
也有试过mmm-mode了可是它的颜色真的很难看懂...
php-mode 也可以成功的跑起来,但是加了HTML语法後,就会乱掉了 :(
--
┌┼ Au
thor:
云情资心 bbs.mis.yuntech.edu.tw
└┘ O
rigin:
kunte 从 220-141-88-32.dynamic.hinet.net 发表