Configure the newlisp development environment for Emacs

Source: Internet
Author: User

First, obtain the newlisp-mode project:

 
~ /Work $ git clone https://github.com/may/newlisp-mode.git

Then in ~ /. Add the configuration in the emacs file:

; Newlisp mode (add-to-list 'Load-path (expand-file-name "/opt/emacs_plugins/newlisp-mode /")) (load-file "/opt/emacs_plugins/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. requiresnewlisp-mode to be loaded. "(interactive) (newlisp-show-interpreter ))

(Add-to-list... must be added; otherwise, TJ-parenface cannot be found until an error is reported.

Open an LSP file with Emacs. The syntax is highlighted beautifully.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.