Search
Saturday, 15th of July 2017, 18:43:34 UTC
18:43:40
pjb
Bike: you have to take into account non-*alphabet* character to encode caesar. Either filtering them, or leaving them alone.
18:49:10
aeth
pjb: what I'd probably do is use code-char and char-code to have the A-Z, a-z ranges (although this non-portably assumes that the char-code/code-char system has A-Z in a row and then a-z in a row)
18:50:01
aeth
One could also set different ranges to cycle over, and non-portably assume unicode or something.
18:51:36
aeth
i.e. (vector (char-code #\Z) (char-code #\A) (char-code #\z) (char-code #\a))
18:53:45
aeth
actually, you'd only need the #\A and #\a if you assume they're cycles of 26 characters with e.g. a at (+ lower-case-a-position 0) and the last at (+ lower-case-a-position 25)
18:59:09
aeth
(My assumption of a range of letters breaks down if your Lisp uses e.g. EBCDIC)
20:45:54
jmarciano
is there a way to get LISP result in Emacs buffer directly just like I can do it with Emacs Lisp
20:46:33
jmarciano
OK I found slime-eval-print-last-expression
20:46:58
Bike
usually i'd use the repl tho.
20:48:49
jmarciano
I know it is beautiful in the clouds, but when you are too long there, you miss the earth.
20:50:09
Bike
i don't... are you saying i'm stuck up? it's not like the repl isn't available to you either
20:51:17
jmarciano
I do use REPL all the time, more than SLIME, it depends if I am writing something or calculating, or running some programs
20:51:18
Bike
on the contrary, i have no sense of humor
20:51:32
jmarciano
I guess I don't know you to confirm it.
20:51:38
Bike
it sounded like you were using a terminal's repl though
20:51:55
jmarciano
That one was for SBCL, I use CLISP mostly
20:51:57
Bike
i meant, there's also the slime repl
20:52:23
Bike
uh, ok. guess you know what you're doing and what you want.
20:52:44
jmarciano
I need less then a second to open REPL, and I need way longer to come into Emacs, Slime, to get REPL, makes no sense.
20:53:19
Bike
usually i leave slime open, as a persistent environment.
20:53:19
jmarciano
My REPL is bound to C-t l in stumpwm, and it just comes up, less than a second, with all the functions prepared.
20:53:47
jmarciano
I believe it is also here persistent
20:54:15
jmarciano
you mean *inferior-lisp*?
20:54:38
jmarciano
I don't have that one
20:55:06
Bike
i think you need to do, uh.... (slime-setup '(slime-repl)) in your emacs configuration
20:55:20
jmarciano
I just needed Marmalade
20:58:08
jmarciano
still I don't see how to start it. The above one is not working
20:58:39
jmarciano
slime-face-inheritance-p problem
21:04:05
tetero
jmarciano: Fellow stump user eh? Nice!
21:07:33
jmarciano
even I often get stuck into C-t w to see which is which window
21:08:23
jmarciano
It somehow makes sense to run Window Manager in SBCL, where runs Emacs and CLISP in background.
21:11:45
tetero
jmarciano: Oh I typically tend to split when I have more than one window, and mode-line helps if you're into that
21:12:16
tetero
and yeah, I love having it in lisp/sbcl
21:12:34
jmarciano
My laptop is smaller for splitting. And I enlarge all letters to watch easy from more than 1 meter with extended keyboard.
21:12:58
jmarciano
I just wish I can paste from StumpWM into the Xterminal directly.
21:14:19
jmarciano
Something like (defcommand rcd-paste () ()
21:14:19
jmarciano
(window-send-string (get-x-selection)))
21:14:19
jmarciano
and then to bind it to a key that I can paste clipboard to terminal.
21:16:18
tetero
Although, what is it that you need to copy/paste between? Your terminal and most apps should support that
21:16:25
jmarciano
(define-key *root-map* (kbd "=") "rcd-paste") I have that like this, but is not getting into terminal
21:16:48
tetero
I haven't used that in ages
21:17:43
tetero
jmarciano: have you tried selecting the window and triggering shift-insert?
21:19:14
jmarciano
is that Stumpwm or xterm feature?
21:19:26
tetero
jmarciano: xterm, the copy/paste stuff is specific to each terminal emulator
21:20:18
jmarciano
Otherwise I would need to bend over the bed to use the mouse pad...
21:20:48
jmarciano
I wonder if there is some mouse by keyboard program.
21:21:25
jmarciano
That I don't need to use mouse, just keyboard.
21:21:46
tetero
jmarciano: xbindkeys perhaps
21:23:10
jmarciano
that one would work if I would have shell program to move mouse pointer
21:25:05
jmarciano
that one is basically a built-in in StumpWM
21:26:36
tetero
jmarciano: It both moves the mouse and clicks. I use it a lot
21:27:02
tetero
You can also use stumpish to select the window
21:34:55
PuercoPop
jmarciano: you can use the xtest extension to send mouse clicks from lisp. its implemented in CLX
21:40:21
jmarciano
I don't need a mouse, programs need a mouse more than me, like some make programs for sake of programs, and not of people.
21:50:34
jmarciano
xdotool is interesting, but I need to program the mouse to move one by one.
21:55:59
phoe
beach: You have your style guide in the SICL repository. Do you think you could extract it into a separate document?
3:12:50
beach
Good morning everyone!
3:13:00
beach
phoe: It is not finished.
5:59:15
antonv
check this out: https://github.com/avodonosov/ql-asdf-chooser
Sunday, 16th of July 2017, 6:43:34 UTC