picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

README (1083B)


      1 In order to get the picolisp-mode working correctly you have to add the following expressions to your .emacs and adapt them according to your set-up:
      2 
      3 (add-to-list 'load-path "<path-to>/picoLisp/lib/el")
      4 (load "tsm.el") ;; Picolisp TransientSymbolsMarkup (*Tsm)
      5 (autoload 'run-picolisp "inferior-picolisp")
      6 (autoload 'picolisp-mode "picolisp" "Major mode for editing Picolisp." t)
      7 
      8 If you have also SLIME installed, it will suck all possible lisp extensions up (greedy bastard). So in order to get the correct file-association for picolisp files you'll have to also add this:
      9 
     10 (add-to-list 'auto-mode-alist '("\\.l$" . picolisp-mode))
     11 
     12 If you want, you can add a few hooks for convenience:
     13 
     14 (add-hook 'picolisp-mode-hook
     15    (lambda ()
     16       (paredit-mode +1) ;; Loads paredit mode automatically
     17       (tsm-mode) ;; Enables TSM
     18       (define-key picolisp-mode-map (kbd "RET") 'newline-and-indent)
     19       (define-key picolisp-mode-map (kbd "C-h") 'paredit-backward-delete) ) )
     20 
     21 
     22 By the way, don't forget to patch your paredit.el (v21) with the patch provided to get a smoother editing.