This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
I'm using a 'conciseness' macro that accepts a binding form as an argument (i.e without the surrounding
fn). The problem is, Cursive marks all the symbols I define in this binding form as 'unable to resolve', and I end up with a lot of warnings. Is there any way to combat this?
You might want to ask in the #C0744GXCJ channel, but I seem to remember Colin mentioning unravelling macros is a bit of black magic...
but as soon as I type something, the new line is at the bottom of the buffer again. How to solve that?
@bozhidar: I'm not sure if inf-clojure would help me there. But all I want is send a selection to the inferior-lisp buffer, so it will be evaluated there.
(defun send-to-inflisp (l r) "Send text between L and R (or region) to inferior-lisp buffer." (interactive "r") (let ((text (buffer-substring l r))) ;; Uncomment if you want to get rid of the original text. ;; (delete-region l r) (with-current-buffer "inferior-lisp" (goto-char (point-max)) (insert text)) (switch-to-buffer "inferior-lisp")))