I once read somewhere, that we can set a global Emacs variable to T (or NIL, I don't know) in order to (roughly) make Emacs accessible from Common Lisp.
This information was in company with the warning, that this might have undesired side effects. I want to avoid that, that's why I just pushed the whole information to my minds /dev/null.
But: Is there a way, to make the slime-repl environment recognisable for the Common Lisp it hosts just in the narrow context of a function?
I would like to write a slime-clear-screen function that preferably re-draws the whole Emacs window like it seems to be the effect of C-c M-o in slime. Alternatively, (format t "~%") is repeated according to the number of lines of the current window size.
So I need to find a way to get access to the Emacs window controls or its size information, I guess.
But I have trouble to hear promising informations in the noise of Slime/Emacs keychord configuration requests and ANSI escape sequences.
Do you know, what I need for that? Or even better: Do you know a public library that already provides an equivalent function? Although I really like to tinker, I also explicitly look for commonly used or recommendable libraries to build-up a consistent framework of open-source "quasi-standard" libraries from the large buffet.
I thank you very much for your suggestions.