Muddled Monoliths: consolidating key bindings with handle.el

1 · Shane Mulligan · Oct. 21, 2019, 11 a.m.
The problem I have a few makeshift, monolithic functions for consolidating documentation and code navigation commands under a single function. They have become unwieldly as they grow to accommodate more languages and modes. Example of an unwieldly function (defun my/doc-thing-at-point (arg &optional immediate winfunc) "Show doc for thing under pointl. winfunc = 'spv or 'sph elisp function" (interactive "P") (if (not winfunc) (setq winfunc 'sph)) (cond ((string-equal (preceding-sexp-or-element) "...