为Emacs 24.3配置newLISP开发环境
来源:互联网 发布:2017qq协议源码 编辑:程序博客网 时间:2024/04/28 22:51
本文已经更新, 因为Emacs 24.3已经可以使用package system。所以配置变得简单许多:
首先用配置package system server,参考文章:Emacs package system
然后编辑~/.emacs.d/init.el 文件,加入:
;;newlisp(require 'newlisp-mode)(add-to-list 'auto-mode-alist '("\\.lsp$" . newlisp-mode));;;; Things that might make life easier:;; Make Emacs' "speedbar" recognize newlisp files(eval-after-load "speedbar" '(speedbar-add-supported-extension ".lsp"));; Another way to use C-x C-e to eval stuff and doesn't jump to next function(define-key newlisp-mode-map [(control x) (control e)] 'newlisp-evaluate-prev-sexp);; I think I got tired of typing 'newlisp-show-interpreter' all the time.(defun start-newlisp () "Starts newlisp interpreter/or shows if already running. Requires newlisp-mode to be loaded." (interactive) (newlisp-show-interpreter))
现在用emacs打开一个lsp文件,截图看一下,语法高亮很漂亮的显示出来了。
- 为Emacs 24.3配置newLISP开发环境
- emacs配置开发环境
- 配置emacs python 开发环境
- 配置Emacs下的Python开发环境
- 配置emacs的python开发环境
- 配置Emacs下的Python开发环境
- Erlang开发环境Windows+Emacs+Distel配置
- ruby on rails 环境搭建以及emacs开发环境配置
- Mac 上为mit-scheme配置emacs环境
- emacs 环境配置过程
- emacs配置python环境
- emacs打造开发环境
- Erlang开发环境Windows + Emacs + Distel的配置
- Erlang开发环境Windows + Emacs + Distel的配置
- Erlang开发环境Windows + Emacs + Distel的配置
- GNU Emacs的Scala学习开发环境配置
- Emacs 配置Clojure开发环境一 clojure-mode
- OSX上配置emacs的C/C++开发环境
- 如何确保VDI网络的连通性及安全性
- 准备软考-全国计算机技术及软件专业技术资格(水平)考试
- NYOJ 27 水池数目(深搜或广搜)
- make clean、 make mrproper、make distclean的区别
- 理解adapterview
- 为Emacs 24.3配置newLISP开发环境
- Async 和 Await 技术
- window消息机制 消息的产生、来源
- #1130 - Host 'localhost' is not allowed to connect to this MySQL server
- UML中五大类图及应用
- UIImageView和UIImage,CGContextRef 的一些知识点
- [Maven Essentials] 坐标和依赖
- ShellExecute 使用
- 公司的Java框架应具备的通用功能