IRC channel logs

2026-07-13.log

back to list of logs

<conscell>hi. i have been learning scheme and came across this video by christine https://www.youtube.com/watch?v=DDROSL-gGOo
<conscell>at around 1:30, she opens a different file and is able to call the functions in it from the repl on the left. i have no idea how to achieve this without manually loading the file. any clues?
<jfred>conscell: She's using an emacs function called geiser-eval-last-sexp, which is bound to C-x C-e by default. You put your cursor at the end of an expression, run that function, and it gets run in a geiser buffer you have open
<jfred>there's also geiser-eval-buffer (C-c C-b), which evaluates an entire buffer in a geiser repl
<jfred>you do need to evaluate define expressions before their functions will be available in the buffer (e.g. the double function in that video)
<jfred>(er, before they'll be available in the repl I mean)
<pinoaffe>I was looking into shepherd - is https://spritely.institute/news/shepherd-goblins-update.html still up-to-date as to"Remaining work"?
<dthompson>pinoaffe: more or less, yes. we used up our funding for the project.
<dthompson>however, we have some good news from dweb camp that just wrapped up: a friend of ours was there and he has taken our work and built on top of it.
<dthompson>we would like to keep progress going! just have fewer resources than we would like to do it
<pinoaffe>dthompson: aight, thanks!
<dthompson> https://zacchae.us/shaman.html
<dthompson>had to dig through my history a bit to find it
<conscell>jfred: oh neato. i didnt realize C-x C-e would 'expose' the definition to the repl... interesting
<conscell>well i guess its not 'exposed.' it just gets run in the same repl
<conscell>cool
<conscell>ty :)
<dthompson>see also C-M-x, geiser-eval-definition
<dthompson>that's a keybinding you can use to eval the top-level expression that the point is currently within
<dthompson>very handy
<dthompson>pinoaffe: here's that project I had mentioned. finally found the repo: https://codeberg.org/eikcaz/guix-norn
<pinoaffe>dthompson: very cool!
<dthompson>the author will be joining us at the next office hours to talk about it
<dthompson>next office hours are on the 29th, btw. just announced that earlier today: https://community.spritely.institute/t/next-office-hours-on-7-29/840/1