This website was shut down for several years. Now in 2020 I am slowly resurrecting it; expect missing files and other errors...
For people familiar with lisp emacs has no competitors; but even before learning lisp it was a handy tool for me and I used it for c.a. 10 years. Here I collect my emacs tips/notes and pieces of code.
dpans2texi is a useful software which
TeX manuals to
The latter is understood by emacs, so, for example, when you write lisp code,
you can get documentation (better than what
slime provides) for lisp functions and symbols by pressing C-c C-d h.
dpans2texi and patch it:
git clone https://github.com/ruricolist/dpans2texi cd dpans2texi wget chalaev.com/emacs/dpans2texi.patch patch -p1 < dpans2texi.patch make clean; rm *.tex ./configure --prefix=$HOME/local make wget && make && make install
After the following piece of code is evaluated, we can get help on
lisp symbols using standard slime key combination (default C-c C-d h).
In order to activate info-files produced by dpans2texi
insert the following into your
(require 'info-look) (setq Info-additional-directory-list (list (substitute-in-file-name "$HOME/local/share/info"))) (with-eval-after-load "slime" ;; register info help (dpans2texi) (info-lookup-add-help :mode 'lisp-mode :regexp "[^][()'\" \t\n]+" :ignore-case t :doc-spec '(("(ansicl)Symbol Index" nil nil nil))) (info-lookup-add-help :mode 'slime-repl-mode :regexp "[^][()'\" \t\n]+" :ignore-case t :doc-spec '(("(ansicl)Symbol Index" nil nil nil))) (defvar slime-old-documentation-lookup-function (if (boundp 'slime-documentation-lookup-function) slime-documentation-lookup-function)) (defun slime-ansicl-lookup (symbol-name) (interactive (list (slime-read-symbol-name "Symbol: "))) (info-lookup-symbol symbol-name 'lisp-mode)) (setq slime-documentation-lookup-function 'slime-ansicl-lookup) (setq slime-ansicl-lookup (symbol-function 'slime-ansicl-lookup)))
The patch does the following:
quicklispare not covered in the standard TeX-lisp manual; when I have time, I will slowly update the standard TeX-lisp manual with info on (my favorite) common-lisp packages, such as