Emacs 24 下使用 nxhtml 貌似问题蛮多的:
1. 全文高亮 BUG
2. 报 warning
用以下代码可以解决:
(setq mumamo-background-colors nil)
(eval-after-load "bytecomp"
'(add-to-list 'byte-compile-not-obsolete-vars
'font-lock-beginning-of-syntax-function))
(eval-after-load "bytecomp"
'(add-to-list 'byte-compile-not-obsolete-vars
'font-lock-syntactic-keywords))
我的安装方法:
(autoload 'eruby-nxhtml-mumamo-mode "autostart.el" "Edit erb document." t)
(add-to-list 'auto-mode-alist '("\\.erb" . eruby-nxhtml-mumamo-mode))
虽然功能是比 rhtml-mode 要强大,可以根据 pointer 所在位置自动切换 minor mode,但有一点点小问题还是让我比较不适应,还是先用着 rhtml-mode 吧。
分享到:
相关推荐
emacs python-moemacs python-mode 及使用方法de 及使用方法
emacs org-mode教程。org-mode是emacs中非常非常有用的一种模式。
emacs org-mode guide
org-wiki:建立在Emacs org-mode之上的Emacs org-mode Wiki
haskell-mode emacs haskell-mode emacs
CC Mode is an Emacs and XEmacs mode for editing C and other languages with similar syntax; currently C++, Objective-C, Java, CORBA's IDL, Pike, and AWK. It's a standard package in both Emacs and ...
evil-org-mode:emacs org-mode的补充邪恶模式键绑定
multi-web-mode, 在Emacs中,多网页模式是一种次要模式,它使得网页编辑变得简单 multi-web-modeEmacs中多种主要模式的网页编辑支持。电子邮件信息作者:Fabián Ezequiel Gallina联系:gnu dot org的fgallina项目...
emacs-scala-mode 该模式旨在为Scala语言提供基本的emacs支持,包括: 代码,注释和多行字符串的本地缩进 运动命令 突出显示 另请参阅 。 安装 根据我们的指南,首选机制是通过MELPA和use-package : ( use-...
emacs在sql-mode模式下可以进行SQL编辑和测试。 支持Sybase,Oracle,MySQL和PostgreSQL。 放到site-lisp目录下,然后在.emacs中...expand-file-name "E:/lispbox-0.7/emacs-23.2/site-lisp/sql-mode.el"))即可。
ido-vertical-mode.el, 使模式垂直显示 ido-vertical-mode.el 使模式垂直显示。 这种模式会注意到一些在你的初始文件中难以保存的警告。你还可能对 ido-ubiquitous 和 smex 感兴趣。另外,如果你对模式感兴趣,而...
emacs config file for android development
emacs有两种Fortran mode: 一种是有格式的 Fortran-mode,另一种是无格式的 F90-mode,通过命令 M-x f90-mode 即可进入自由格式Fortran编辑模式。如果把下面代码加入emacs的启动文件 .emacs,则用emacs打开后缀为 ....
vimwiki2org:将VimWiki文件转换为Emacs Org-Mode
emacs org-mode 完全掌握
jsx-mode.el, JSX代码的Emacs主要模式 jsx-mode.el----主要模式用法开始将这里文件放入你的Emacs lisp路径( 比如 。 ~/.emacs.d/site-lisp) 并添加到你的~/.emacs.d/init.el. 中(add-to-list
org-fc:用于Emacs org-mode的间隔重复系统
emacs-25 的 deps.zip 是让windows支持更多的gnu库,比如使得org-mode可以显示png格式的图片等。
破解版编辑神器emacs-23.1-bin-i386,好用的编辑器。
emacs-win32emacs-win32emacs-win32emacs-win32emacs-win32emacs-win32