Welcome 微信登录

首页 / 操作系统 / Linux / 为Emacs配置newLISP开发环境

首先获取newlisp-mode项目:~/work$ git clone https://github.com/may/newlisp-mode.git然后在~/.emacs文件中添加配置:;; newLISP mode
(add-to-list "load-path (expand-file-name "/opt/emacs_plugins/newlisp/newlisp-mode/"))
(load-file "/opt/emacs_plugins/newlisp/newlisp-mode/newlisp.el")
(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))(add-to-list ... 一定要加,否则会一直报错找不到tj-parenface现在用emacs打开一个lsp文件,截图看一下,语法高亮很漂亮的显示出来了。Solaris下使用mdb检查内存泄露newLISP做GitLab系统备份相关资讯      emacs  newLISP 
  • Emacs 25.1发布  (09月18日)
  • Ubuntu 14.04 安装 Emacs 24.5  (03月09日)
  • Emacs寻找新的维护者  (10/14/2015 19:34:19)
  • Vim 和 Emacs 到底哪个更适合你?  (07月25日)
  • 暴增 Emacs 生产力的十大最佳插件  (01月15日)
  • newLISP 10.6.4 开发版发布,功能  (09/26/2015 09:51:13)
本文评论 查看全部评论 (0)
表情: 姓名: 字数


评论声明
    版权所有©石家庄振强科技有限公司2024 冀ICP备08103738号-5 网站地图