(λ) - ᵋLisp General - /g/ (#105819961) [Archived: 263 hours ago]

Anonymous
7/6/2025, 9:12:31 PM No.105819961
'(zun-sneed)
'(zun-sneed)
md5: 871a830b0d4c7864307bfc52d35fed3a🔍
>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs.amodernist.com
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

>Emacs Distros
https://spacemacs.org
https://doomemacs.org

>Elisp
Docs: C-h f [function] C-h v [variable] C-h k [keybinding] C-h m [mode] M-x ielm [REPL]
https://gnu.org/s/emacs/manual/eintr.html
https://gnu.org/s/emacs/manual/elisp.html
https://github.com/emacs-tw/awesome-elisp

>Common Lisp
https://lispcookbook.github.io/cl-cookbook
https://cs.cmu.edu/~dst/LispBook
https://gigamonkeys.com/book
https://lem-project.github.io
https://stumpwm.github.io
https://nyxt-browser.com
https://awesome-cl.com

>Scheme
https://scheme.org
https://try.scheme.org
https://get.scheme.org
https://books.scheme.org
https://standards.scheme.org
https://go.scheme.org/awesome
https://research.scheme.org/lambda-papers

>Clojure
https://clojure.org
https://tryclojure.org
https://clojure-doc.org
https://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://clojure.org/community/resources

>Other
https://github.com/dundalek/awesome-lisp-languages

>Guix
https://guix.gnu.org
https://nonguix.org
https://systemcrafters.net/craft-your-system-with-guix
https://futurile.net/resources/guix
https://github.com/franzos/awesome-guix

>SICP/HtDP
https://web.mit.edu/6.001/6.037/sicp.pdf
https://htdp.org

>More Lisp Resources
https://rentry.org/lispresources

(setq *prev-bread* >>105711980)
Replies: >>105822143 >>105822199 >>105822228 >>105839084 >>105856176
Anonymous
7/6/2025, 9:18:20 PM No.105820008
(top-secret)
(top-secret)
md5: a4f85683f79c1b455e73389ab4ba9379🔍
M-x bad-apple
https://github.com/y-usuzumi/emacs-bad-apple
Replies: >>105820041
Anonymous
7/6/2025, 9:22:56 PM No.105820041
small-apple
small-apple
md5: 6979d26ee420e79754f8aaa2cfe3f70e🔍
>>105820008
https://www.youtube.com/watch?v=XE4U8ieZpU4
Anonymous
7/6/2025, 10:04:26 PM No.105820437
The_Seasoned_Schemer
The_Seasoned_Schemer
md5: 35c84bc0973a6e67794bdfb6948ec18a🔍
Fly me to the Moon!
https://archive.org/details/Schemer
Anonymous
7/6/2025, 10:18:47 PM No.105820566
I'm trying to build a dockerfile for a lisp thing and I need to make the SBCL repl usable. How the fuck do I do that, or maybe start a SBCL int he container and access it remotely via sly?

Also fuck this gay earth, ASDF can't find my fucking system.
Replies: >>105820658 >>105821806
Anonymous
7/6/2025, 10:28:15 PM No.105820658
>>105820566
You are providing very little info anon.
Replies: >>105820852
Anonymous
7/6/2025, 10:50:36 PM No.105820852
Screenshot from 2025-07-06 17-48-54
Screenshot from 2025-07-06 17-48-54
md5: 8671bf8ed375c871be77effe38660852🔍
>>105820658
Just bashing my head on the wall against devops and my lack of knowledge on asdf and sbcl. I got it working now, just needed to pepper some (asdf:initialize-source-registry) here and there.

I made a silly testing library and I plan to integrate it into gitlab's unit test thing.
Anonymous
7/6/2025, 10:54:33 PM No.105820888
SICP
SICP
md5: e09c7c0102fd79688898012d4f7d8bed🔍
TinyScheme is GREAT! ( ̄▽ ̄)b
https://bdash.net.nz/posts/sandboxing-on-macos/
https://chromium.googlesource.com/chromium/src/+/HEAD/sandbox/mac/seatbelt_sandbox_design.md
Replies: >>105821020 >>105855582
Anonymous
7/6/2025, 11:07:55 PM No.105821020
#t
#t
md5: 3c293d58851358f734d16ce8329b295f🔍
>>105820888
Check'd
Trips of TRVTH
Anonymous
7/6/2025, 11:43:51 PM No.105821385
wings-3d-screenshot
wings-3d-screenshot
md5: 49248745129a352ed5b1b91388554d90🔍
Okays guys, hear me out — What if, we take Wings3D and rewrite it in LFE, so that we can have a Lisp version of an Erlang version of a Lisp program written in the Erlang version of Lisp?
Fucking meta woah.
Replies: >>105821745
Anonymous
7/6/2025, 11:54:17 PM No.105821488
1742291476173181
1742291476173181
md5: 07e9c738844e22c0e2d23e1d5c471873🔍
Clojure>>>>>>>>>>>>>>>>>>>>>>
Pic related, Average Clojure Dev Team
Replies: >>105821597 >>105891143
Anonymous
7/7/2025, 12:08:33 AM No.105821597
K
K
md5: cd56d08547be76f8dff5935bd2554d4e🔍
>>105821488
Based & Clojuredpilled
Anonymous
7/7/2025, 12:30:34 AM No.105821745
mirai
mirai
md5: e13542c3f31ef1eef5bc042b2a0ee571🔍
>>105821385
>3D
Mirai.
https://www.youtube.com/watch?v=bgCgYHNq7_E
https://archive.org/details/nichimen-mirai-1.1a-portable
https://archive.org/details/izware_mirai_1.1sp2
Replies: >>105822176 >>105834161 >>105837546
Anonymous
7/7/2025, 12:39:28 AM No.105821806
>>105820566
Here's how lem does it.
https://github.com/lem-project/lem/blob/main/Dockerfile
Replies: >>105822082
Anonymous
7/7/2025, 1:01:35 AM No.105821967
Gc4X1WeaAAEopb_
Gc4X1WeaAAEopb_
md5: 324ccc27ffde29367a679711bb1c644b🔍
https://clojure.org/reference/lisps
Learn Clojure today!
Replies: >>105891143
Anonymous
7/7/2025, 1:15:30 AM No.105822082
>>105821806
They just rely on quicklisp then?
I don't really like quicklisp, but it shows me I am on the "right track".
Only thing missing is making my test library spit disgusting junit xml.

I can literally "(format t "<tag>shit</tag>)" on test-cases and suites "report-test" methods because of how I've built it with clos.
Anonymous
7/7/2025, 1:23:49 AM No.105822143
>>105819961 (OP)
which lisp has the best batteries included set? i'm thinking a good GUI library and a better experience for local web applications
Replies: >>105824147 >>105891143
Anonymous
7/7/2025, 1:26:06 AM No.105822161
>SICP 1.2.2 Tree Recursion
>Exercise 1.11. A function f is defined by the rule that f(n) = n if n<3 and f(n) = f(n-1) + 2f(n-2) + 3f(n-3) if n >= 3.
>Write a procedure that computes f by means of a recursive process.
>Write a procedure that computes f by means of an iterative process.
The first part is simple enough:
(define (f n)
(if (< n 3)
n
(+
(f (- n 1))
(* 2 (f (- n 2)))
(* 3 (f (- n 3))))))

But I'm having a brainlet moment trying to wrap my head around translating this to an iterative process. I get that we're supposed to write a sub-procedure, call it f-iter, that keeps track of state, but I'm confused about exactly what state should be kept.
Replies: >>105822218 >>105822227
Anonymous
7/7/2025, 1:29:27 AM No.105822176
>>105821745
Yeah I know, Wings3D is a copy of Nendo which is a cut down version of Mirai which is itself a descendant of Symbolics S-Graphics.

Also I used the fuck out of Nendo back in the day (on Windows ME of all things lol).
Anonymous
7/7/2025, 1:33:17 AM No.105822199
>>105819961 (OP)
I never visit this general, have been a VIMman all my life, what's actually the point of lisp? I get that SICP was written for it and that it's used for emacs, but what else?
Replies: >>105876243 >>105879991
Anonymous
7/7/2025, 1:35:53 AM No.105822218
>>105822161
Just store n-1, n-2, and n-3 and update them as you iterate through.
Replies: >>105822505
Anonymous
7/7/2025, 1:36:52 AM No.105822227
>>105822161
Given n, how many values you need to have?
Replies: >>105822505
Anonymous
7/7/2025, 1:37:00 AM No.105822228
>>105819961 (OP)
>formerly ZUN's
Anonymous
7/7/2025, 2:18:11 AM No.105822505
>>105822218
>>105822227
Figured it out ty
(define (f-iter m m-1 m-2 count)
(if (= count 0)
m
(f-iter
(+ m (* 2 m-1) (* 3 m-2))
m
m-1
(- count 1))))
(define (f n)
(if (< n 3) n (f-iter 2 1 0 (- n 2))))
Replies: >>105823316 >>105823446
Anonymous
7/7/2025, 3:03:30 AM No.105822760
Post a random elisp function that you use everday but most of the pp wouldn't
Replies: >>105828109
Anonymous
7/7/2025, 4:39:39 AM No.105823316
>>105822505
you could use named let instead of a helper function
(define (f n)
(if (< n 3)
n
(let f-iter ((m 2)
(m-1 1)
(m-2 0)
(count (- n 2)))
(if (= count 0)
m
(f-iter (+ m (* 2 m-1) (* 3 m-2))
m
m-1
(- count 1))))))
Anonymous
7/7/2025, 5:00:15 AM No.105823446
>>105822505
Why is your function calling itself if its supposed to be iterative? Why not use 'do'?
Replies: >>105823512 >>105825304 >>105826873
Anonymous
7/7/2025, 5:14:13 AM No.105823512
>>105823446
NTA but I think it could be considered both iterative and recursive. The Emacs manual talks about this https://www.gnu.org/software/emacs/manual/html_node/eintr/No-deferment-solution.html#FOOT16
Anonymous
7/7/2025, 7:07:09 AM No.105824147
>>105822143
The only lisp I can think of that has a GUI lib in its standard library is Racket.
https://racket-lang.org/
https://docs.racket-lang.org/gui/index.html
Anonymous
7/7/2025, 7:40:01 AM No.105824298
>>105818412
I'm this guy, asking about how emacs runs in windows and whether I should run it in windows or in my WSL2 (Ubuntu). I'm also seeing talk about Lem. Is that worth it if I'm new to Lispy languages in general or is emacs a better starting point?
Replies: >>105824305 >>105827492
Anonymous
7/7/2025, 7:44:40 AM No.105824305
>>105824298
Linux VM, Lem works on windows but the release build is really outdated and it's probably too much of a hassle for a lisp newbie to build on Windows. Should be relatively straightforward on Linux though.
As for emacs/lem, if you're doing CL try lem, otherwise Emacs
Anonymous
7/7/2025, 9:56:10 AM No.105824960
>Land of Lisp
>Common Lisp Recipes
>Practical Common Lisp
>Programming Algorithms in Lisp
>The Common Lisp Condition System
Currently deciding which to buy. Which of these are worth reading? I have the fundamentals from other lisps, but I really wanna dive into CL and CLOS. Thinking of just buying them all but I'm sure there's lots of overlap, and I'd rather not waste $225.
Replies: >>105825830 >>105830668 >>105888487 >>105916051
Anonymous
7/7/2025, 10:59:49 AM No.105825304
>>105823446
i haven't gotten that far yet chillax brah brah
Replies: >>105826873
Anonymous
7/7/2025, 12:44:02 PM No.105825830
>>105824960
they are all free on libgen
Replies: >>105827040
Anonymous
7/7/2025, 1:02:14 PM No.105825943
What are the steps to install Common Lisp on a Windows system? Lem, SBCL, Quicklisp, Sly etc. Kindly share the installation guidelines.
Replies: >>105827492 >>105828836
Anonymous
7/7/2025, 3:26:13 PM No.105826873
>>105823446
Responding to myself, I looked up solutions seems everyone does "iterative recursion" I guess since I only deal with CL I just consider tail recursive functions to still be recursion not iteration, even though they "unroll" to iterative functions and that's why they're efficient. In any case what you did seems to be what the book wanted anyway.
I should really read SICP one of these days lol.

>>105825304
I just figured if the problem is asking for an iterative solution that they'd introduced iteration primitives.
Anonymous
7/7/2025, 3:47:26 PM No.105827040
>>105825830
No shit. I need physical books.
Anonymous
7/7/2025, 4:40:21 PM No.105827468
Renounced All Love
Renounced All Love
md5: 6dc078030409682a7cda754f561a757f🔍
I can't be the first person to make this joke.
Anonymous
7/7/2025, 4:43:27 PM No.105827492
>>105824298
WSL is good enough.

>>105825943
You can get anything in Docker these days.
Anonymous
7/7/2025, 6:04:26 PM No.105828109
16bit-f
16bit-f
md5: 0fa4f65db5c544fc1e382702362ad5bc🔍
>>105822760
>Post a random elisp function that you use everday but most of the pp wouldn't
(defun ips-patch (buffer address data)
(with-current-buffer buffer
(hexl-goto-hex-address address)
(hexl-insert-hex-string data 1)))

; add 1 gold each frame
; 001ffac0:
; 303c 0001 move.w #$0001, d0
; 4eb9 0001 0328 jsr AddGold
; 4e75 rts

(ips-patch
"a.bin"
"1ffac0"
"303c 0001 \
4eb9 0002 0328 \
4e75")
I don't think most people mess with game roms in emac
Anonymous
7/7/2025, 7:21:59 PM No.105828836
>>105825943
>What are the steps to install Common Lisp on a Windows system?
winget install sbcl


In Emacs, you'll want to do this:
(setopt inferior-lisp-program "\"c:/Program Files/Steel Bank Common Lisp/sbcl.exe\"")
Anonymous
7/7/2025, 8:41:08 PM No.105829541
Can someone PLEASE explain to me how to import the raygui package from this project?
https://github.com/bohonghuang/claw-raylib
Replies: >>105829675
Anonymous
7/7/2025, 8:53:17 PM No.105829675
>>105829541
Isn't it just :raygui? I think there's three packages, :rlgl, :raylib, and :raygui.
Replies: >>105829873
Anonymous
7/7/2025, 9:15:50 PM No.105829873
>>105829675
(unless (find-package :claw-raylib)
(ql:quickload :claw-raylib))

(defpackage :my-game
(:use :cl :alexandria :cffi :cffi-ops :claw-raylib))

(in-package :my-game)

(find-package :raylib)
; => #<PACKAGE "RAYLIB">

(find-package :raygui)
; => NIL


What am I doing wrong then? The raylib package works just fine.
Replies: >>105829910
Anonymous
7/7/2025, 9:19:16 PM No.105829910
>>105829873
(cffi:define-foreign-library libraygui-adapter
(:unix "libraygui-adapter.so")
(t (:default "libraygui-adapter")))
(progn
(cffi:use-foreign-library libraygui)
(cffi:use-foreign-library libraygui-adapter)
(push :raygui *features*))
(cffi:load-foreign-library-error ()
(when-let ((package (find-package '#:raygui)))
(delete-package package))))


Maybe something's going wrong in setup that's deleting the package. A while back they made raygui optional so it's probably that logic causing it to not load.
Replies: >>105829980
Anonymous
7/7/2025, 9:25:23 PM No.105829980
>>105829910
Yeah I was poking around and saw that, but loading it from the REPL works fine.
CL-USER> (cffi:load-foreign-library "~/quicklisp/local-projects/claw-raylib/lib/libraygui-adapter.so")
#<CFFI:FOREIGN-LIBRARY LIBRAYGUI-ADAPTER.SO-400 "libraygui-adapter.so">

I'm a complete beginner to CL so any ideas on how to debug this?
Replies: >>105830018
Anonymous
7/7/2025, 9:29:44 PM No.105830018
>>105829980
That code runs whenever you quickload it. So for starters, go into your ~/quicklisp/local-projects and just get rid of the error handling bit altogether. Then it'll try loading raygui for sure and if it has an error you're at least gonna see it.
Replies: >>105830169
Anonymous
7/7/2025, 9:43:58 PM No.105830169
>>105830018
Thanks, I see what's going on now. It's loading libraylib.so from my /usr folder(which was installed by DNF), and I manually installed the raygui.h file into my includes, but not the compiled library file. Sorry for retard
Replies: >>105830177
Anonymous
7/7/2025, 9:44:44 PM No.105830177
>>105830169
That makes sense, glad you figured it out
Anonymous
7/7/2025, 10:05:11 PM No.105830356
One thing I'm struggling with while writing elisp is literally how to type it. I have a bit of trouble keeping track of my nesting level, and as a result, while I'm writing a function or whatever, I have the closing paren of a large expression be on its own line until I'm finished, so something like this:

(defun foo ()
"Docstring"
(interactive)
(goto-char (point-min))
(let ((blah "blah")
)
(bloh blah)
)
)


Once I'm done I move the closing parens back
(defun foo ()
"Docstring"
(interactive)
(goto-char (point-min))
(let ((blah "blah"))
(bloh blah)))

The problem is that this feels awkward and reminds me of how retarded I am, is this just a thing that gets easier with practice or am I missing something?
I'm just glad I found the package that makes parentheses get entered in pairs, counting the nesting by hand was even worse.
Replies: >>105830545 >>105830680 >>105830863 >>105835794
Anonymous
7/7/2025, 10:21:20 PM No.105830545
>>105830356
I don't remember having this issue in the beginning but it might be one of those things that you quickly get used to. Definitely don't do what you're doing of writing in the other form first and then refactoring, just get used to the plain way of doing it. There are only a couple of types of indentation so shouldn't take too long to get used to. Also enable rainbow parens if you don't have them, helps in the beginning.
Replies: >>105830559
Anonymous
7/7/2025, 10:22:37 PM No.105830559
>>105830545
I have rainbow parens, thankfully, I think part of my issue is being used to C syntax where I can have braces wrapping the nesting.
Replies: >>105830575 >>105830680
Anonymous
7/7/2025, 10:23:42 PM No.105830575
>>105830559
I came from C as well, takes a little bit. Just keep it up
Anonymous
7/7/2025, 10:26:05 PM No.105830599
sexp
sexp
md5: c2bd2785f92de18fa42cd344a8f50374🔍
Tell me about kill-sexp, mapped to C-M-k by default. Its use is obvious in Lisp, but what about plain text or Markdown?
Replies: >>105830627
Anonymous
7/7/2025, 10:27:56 PM No.105830627
>>105830599
I use it all the time, it's like a more intelligent kill word. So you can clear out stuff that's quoted, a word with hyphens in it, etc.
Replies: >>105841544
Anonymous
7/7/2025, 10:32:00 PM No.105830668
>>105824960
>>Land of Lisp
no
>>Practical Common Lisp
maybe
Anonymous
7/7/2025, 10:33:01 PM No.105830680
>>105830356
>>105830559
Uninstall rainbow parens and install paredit.
Anonymous
7/7/2025, 10:50:39 PM No.105830863
>>105830356
You rarely need to manually format stuff, electric-pair-mode handles paired parens
Also if the cursor is on the first paren in this expression
(let ((x 1)
(y 2))
(+ x y))
C-M-d C-M-d moves down to ((x 1) (y 2)), where C-M-f and C-M-b moves forwards and backwards across the let bindings
C-M-t (transpose-sexp) on the opening paren of (y 2) swaps them
(let ((y 2)
(x 1))
(+ x y))
C-M-u moves up from the let bindings, then moving forwards and down to x in (+ x y) and doing M-x raise-sexp does
(let ((y 2)
(x 1))
x)
(this is just default emacs btw)
Anonymous
7/8/2025, 1:56:43 AM No.105832396
momiji
momiji
md5: e943bcf8c18b8f2f4dfd130e02634a8f🔍
wolfram im rite
>Wolframite: Bring computational intelligence to Clojure (by Jakub Holý and Thomas Clark) - London Clojurians (https://youtu.be/rQ1hpYZSjuY + https://github.com/scicloj/wolframite)
https://clojure.org/news/2025/07/06/deref
Anonymous
7/8/2025, 6:08:10 AM No.105834161
raitt-fish
raitt-fish
md5: 3d362ed389ee0448364dec7633f063dc🔍
>>105821745
https://s-graphics.neocities.org
Replies: >>105836742 >>105837546
Anonymous
7/8/2025, 6:43:21 AM No.105834405
output_thumb.jpg
output_thumb.jpg
md5: fff703d3a1e4655ae2a8475299731393🔍
I love Lisp!
Anonymous
7/8/2025, 10:31:17 AM No.105835794
nosferatu
nosferatu
md5: b5f455ff3703e91d61d578e4569b3b4c🔍
>>105830356
> )
(bloh blah)
)
)
Anonymous
7/8/2025, 1:26:37 PM No.105836742
>>105834161
>S-Graphics was one of the first commercially available 3d graphics and animation packages, and the first integrated 2d/3d system.
Interesting
Anonymous
7/8/2025, 3:33:23 PM No.105837494
Had to take a break from SICP. I realized around exercise 2.32 that I wasn't absorbing enough from prior sections. Decided to step back and spend a week or so building and transforming lists and trees using only cons where possible and, in the spirit of the pedagogy, doing everything statelessly and purely functionally. I'm currently trying to implement a generalized function
(map-f-n tree f n)
Which traverses the tree and builds a new tree where for every value x at depth y of the original tree, there are n instances of f(x) at depth y... without doing a postprocessing pass. I'm finding it incredibly hard but I feel that if I can implement this, I'll come out the other end with a very strong computational command of tree/list/general cons operations. Wish me luck bros.
Anonymous
7/8/2025, 3:42:00 PM No.105837546
symbolics-boids-1987b_thumb.jpg
symbolics-boids-1987b_thumb.jpg
md5: a3ca2b3af4fd788b6a89cb171436100d🔍
>>105821745
>>105834161
I feel like a birb
Replies: >>105837717 >>105840120 >>105851083 >>105861097
Anonymous
7/8/2025, 4:05:45 PM No.105837717
>>105837546
I feel like a man with a stone
Anonymous
7/8/2025, 5:28:31 PM No.105838481
1750965349449199
1750965349449199
md5: 63b6019327bc77d3e4a9d7b39cc5fe4f🔍
Apply, immediately!
Anonymous
7/8/2025, 5:59:11 PM No.105838850
lispy-gopher-show
lispy-gopher-show
md5: dbd052830b27f75be6776a08e9c5bb33🔍
The Lispy Gopher Show
https://anonradio.net/
https://time.is/compare/0000_9_July_2025_in_UTC
It'll start in about 8 hours from time of posting.

Hosted by @screwlisp
https://gamerplus.org/@screwlisp

Live Chat
https://lambda.moo.mud.org/
(What's a good MUD client for Emacs?)
Replies: >>105848123
Anonymous
7/8/2025, 6:14:52 PM No.105839028
1678656047201355
1678656047201355
md5: 5a31320ee76a9320c63b6211831090ff🔍
This feels like the place to ask. I've run into a problem with lisp/scheme DSLs where they're always an order of magnitude slower than the stuff that SBCL or Chez has built-in. I feel like it's a skill issue with how I'm writing my macros, but I haven't really been able to make much progress figuring out how to un-retard myself, and I can't find any resources to help either. Anybody got any tips on making complex macro-emitted code work faster without writing my own optimizer pass? Just some kind of "design guidelines", my naive approach has gotten me nowhere.
Replies: >>105839118 >>105839321 >>105839344 >>105839489
Anonymous
7/8/2025, 6:21:06 PM No.105839084
>>105819961 (OP)
>Sneed's Feed & Seed
>Chuck's Pluck & Truck
Pretty funny they had to change the name because most people are infantile in their thinking.
Anonymous
7/8/2025, 6:23:53 PM No.105839118
>>105839028
What do you mean by slow? Like they take a long time to compile?
Anonymous
7/8/2025, 6:43:58 PM No.105839321
>>105839028
Show us an example of a suboptimal DSL implementation.
Replies: >>105839775
Anonymous
7/8/2025, 6:45:44 PM No.105839344
>>105839028
Hard to say for sure without seeing what you're working on, but a quick general tip is to be very wary of poorly optimized list operations. Many Lisps implement all data structures as linked lists and accessing an array index sometimes isn't a simple O(1) memory-address lookup. They can get very expensive. Just something to look out for, if that helps.
Anonymous
7/8/2025, 7:00:31 PM No.105839489
>>105839028
That's strange, macros should compile down into the same code as usual. In theory there should be no difference between using a DSL and manually writing the code.
Anonymous
7/8/2025, 7:23:28 PM No.105839720
I love tramp and eshell.
Replies: >>105840007 >>105841537 >>105842323
Anonymous
7/8/2025, 7:28:22 PM No.105839775
>>105839321
>Show us an example of a suboptimal
>DICK
>SUCKING
>LIPS
>implementation
Anonymous
7/8/2025, 7:57:25 PM No.105840007
>>105839720
> eshell
On contract I was working on a completely locked down windows box, detects cmd.exe is is running and kills it, etc. had to edit in “word”
Found I could send my self programs and run them.
Sent myself the self-contained emacs build.
Ran eshell. Env now no different from home, everything works again.

I feel that the plan 9 shell, rc, should have been something closer to eshell.

Started writing tests and test cases in it.
Blew the minds of the government employees.
Replies: >>105840782 >>105841537
Anonymous
7/8/2025, 8:00:27 PM No.105840034
What's the usecase for syntactical purity?
Replies: >>105840085
Anonymous
7/8/2025, 8:05:19 PM No.105840085
>>105840034
Mostly convenience. Macros are easy to write, better extensibility, consistency/predictability, etc.
In my case even if the former wasn't true I just honestly like how it reads and feels to type, it's surprising how much you don't need a rich/bloated language syntax coming from other languages.
Also love being able to use it for both implementation/configuration, though that's not necessarily due to syntactical purity.
Anonymous
7/8/2025, 8:08:45 PM No.105840120
DF031423-1189-442C-8CA8-9E4240C559AF
DF031423-1189-442C-8CA8-9E4240C559AF
md5: cc8a4f0fa2e1d3e24b4fdc70bef1e6db🔍
>>105837546
Someone should come up with a processor or coprocessor, or maybe an ARM instruction extension for lisp so it basically runs in hardware.

Or maybe a GPU-like thing. An ‘LPU’ if you will with 8192 LCUs.

We used to have transputers, what the hell happened?
Replies: >>105840158
Anonymous
7/8/2025, 8:13:19 PM No.105840158
>>105840120
I've thought of doing this with FPGAs but haven't had time or an excuse really lol
Anonymous
7/8/2025, 8:46:13 PM No.105840493
trying out clojure and it's quite comfy bros, ngl
made a utility for postgres->postgres database migration with non-trivial field transforms and selective export to .xml for a project at work, and quite liked the approach to datastructures it has and the convenience built up around maps and vectors
almost makes me want to build a set of reader macros to have the same tooling in CL for a personal project, that's how nice it was
oh and lisp1 > lisp2 any fucken day, separate namespaces are annoying as hell
Replies: >>105840547
Anonymous
7/8/2025, 8:51:42 PM No.105840547
>>105840493
>oh and lisp1 > lisp2 any fucken day, separate namespaces are annoying as hell
I've never understood this, besides not needing funcall how does lisp2 negatively impact you? I still prefer it, especially if I'm using CLOS a lot
Replies: >>105840637 >>105841181 >>105844959
Anonymous
7/8/2025, 9:00:13 PM No.105840637
>>105840547
>besides not needing funcall how does lisp2 negatively impact you?
hurts my feelings
Anonymous
7/8/2025, 9:15:30 PM No.105840782
>>105840007
>Sent myself the self-contained emacs build.
Can you detail this more? its been a almost 7 years without touching windows and I fear I will be in your same situation very soon.
Anonymous
7/8/2025, 9:50:26 PM No.105841140
4bffc452-582c-4fe0-9858-d3d85ff70479
4bffc452-582c-4fe0-9858-d3d85ff70479
md5: 2a33b05ea518d78c614ff0a6a39d2537🔍
i want the rest of my books
NOW
O
W
Replies: >>105841196
Anonymous
7/8/2025, 9:54:14 PM No.105841181
>>105840547
it's the funcalls being fugly, and making function symbols different from every other kinda symbol places undue stress on my small brain
Anonymous
7/8/2025, 9:55:56 PM No.105841196
>>105841140
I actually didn't like that book desu
Replies: >>105841218
Anonymous
7/8/2025, 9:58:12 PM No.105841218
e8ae974d-6d34-46fb-ba4d-4be11aa27d3c
e8ae974d-6d34-46fb-ba4d-4be11aa27d3c
md5: 242c3280b8ced0c87f1c097c2a1d7352🔍
>>105841196
Why not?
Replies: >>105843547
Anonymous
7/8/2025, 10:38:24 PM No.105841537
>>105839720
>>105840007
I've never been convinced. I tried to use it for PowerShell on Linux and it totally failed.
Anonymous
7/8/2025, 10:39:24 PM No.105841544
>>105830627
Oh my fucking god it works on XML.
Anonymous
7/9/2025, 12:18:58 AM No.105842323
>>105839720
lately i've been using eshell more and more. i just wrote a little command for dired that's useful when i'm running multiple instances of eshell
(defun dired-eshell ()
"Start eshell in current subdirectory. If an eshell buffer already
exists with the subdirectory as its working directory, switch to it or
select its window."
(interactive)
(let ((dired-directory (dired-current-directory))
(eshell-buffers (match-buffers '(major-mode . eshell-mode)
(buffer-list))))
(when eshell-buffers
(setq subdir dired-directory)
(setq eshell-buffers
(cl-remove-if-not
(lambda (b)
(with-current-buffer b
(equal (expand-file-name default-directory) subdir)))
eshell-buffers)))
(cond ((and eshell-buffers
(get-buffer-window (car eshell-buffers)))
(pop-to-buffer (car eshell-buffers)))
(eshell-buffers (switch-to-buffer (car eshell-buffers)))
(t (let ((default-directory dired-directory))
(eshell t))))))

(keymap-set dired-mode-map "z" #'dired-eshell)
Anonymous
7/9/2025, 12:55:59 AM No.105842645
How can I fix ido mode's aggressiveness? Sometimes it just goes to a random fucking thing after one char.
Anonymous
7/9/2025, 3:06:36 AM No.105843547
>>105841218
Bad Lisp style
Anonymous
7/9/2025, 6:57:21 AM No.105844959
>>105840547
don't need 10 different let forms anymore.
don't need seperate defun/defvar

I wish there was a decent implementation of first class macros out there to get rid of that seperate form too, and also the inconvieniently impossible (apply or <list>).
Anonymous
7/9/2025, 8:36:05 AM No.105845557
I feel like cluade is quite good at making lisp
Replies: >>105845581 >>105845935
Anonymous
7/9/2025, 8:38:44 AM No.105845581
>>105845557
How? I've felt it was terrible.
Replies: >>105845888 >>105845989
Anonymous
7/9/2025, 9:37:51 AM No.105845888
>>105845581
Package level shit was developed at once, and it just works
Replies: >>105845989
Anonymous
7/9/2025, 9:51:18 AM No.105845935
>>105845557
I've found that chatGPT can produce functional lisp for the most part but for algorithms requiring an even slightly novel and nontrivial solution, it shits the bed. Stateless, functional solutions are very much hit or miss and mostly misses. It's good at boilerplate, mostly-imperative kinda "why are you doing this in Lisp" things.
Replies: >>105845989 >>105845991
Anonymous
7/9/2025, 10:07:18 AM No.105845989
>>105845935
Claude is way better for lisp in my experience

>>105845581
>>105845888
I mean, cuz elisp has long history, many kind of package codes could have been trained. Many fancy new frameworks based on rust or some other languages can't be understood by llm easily
Anonymous
7/9/2025, 10:08:18 AM No.105845991
>>105845935
>It's good at boilerplate, mostly-imperative kinda "why are you doing this in Lisp" things.
That's exactly what I think as well. They both write Lisp as if it's Python and if you're going to write like that then why bother?
Anonymous
7/9/2025, 12:41:57 PM No.105846836
writing-programs
writing-programs
md5: ab09dabf4cad8ec5a1abbaa626fb5519🔍
PSA:
>TL;DR: The best way to advertise your favorite programming language is by writing programs. The more useful the program is to a wider audience, the better advertisement it will be.
https://www.stylewarning.com/posts/write-programs/
Replies: >>105847127 >>105856488 >>105857420
Anonymous
7/9/2025, 1:32:53 PM No.105847127
>>105846836
While I agree with the main point, I wonder why he considers compilers "not useful."
Replies: >>105848235
Anonymous
7/9/2025, 4:01:31 PM No.105848123
>>105838850
I've missed this 3 weeks in a row. I seem to get sleepy around the time this show rolls around and take a nap only to wake up a few minutes after the show ended.
https://archives.anonradio.net/202507090000_screwtape.mp3
Anonymous
7/9/2025, 4:15:19 PM No.105848235
>>105847127
My guess is that "useful" has an implicit "(to normal people)" attached to it. For example, yt-dlp is useful to normal people who are not programmers.
Anonymous
7/9/2025, 7:13:12 PM No.105849743
Is it possible to "print" what asdf is doing when it links everything? The requires, loads etc.
Replies: >>105849821
Anonymous
7/9/2025, 7:22:53 PM No.105849821
1750023082325107
1750023082325107
md5: 1da453d83cb40f38140ca107da8da176🔍
>>105849743
>Function: compile-system system &rest keys &key force force-not verbose version &allow-other-keys
>Function: load-system system &rest keys &key force force-not verbose version &allow-other-keys
Does the :verbose key print stuff? Not sure if this is what you mean by link time
Anonymous
7/9/2025, 7:42:55 PM No.105849980
f7bdb11e-a925-46b0-b378-99f75f1c3ced
f7bdb11e-a925-46b0-b378-99f75f1c3ced
md5: 8a3acb27e656ad8c9a326fe3595b9f50🔍
Holy fuck bros, im gonna start my journey towards becoming a lisp wizard in a few hours!
Replies: >>105850279
Anonymous
7/9/2025, 8:18:30 PM No.105850279
9b1f1565-d67b-49f7-9a16-36953fbfafef
9b1f1565-d67b-49f7-9a16-36953fbfafef
md5: 2a9508601324b2b73eec01a177255549🔍
>>105849980
I feel smarter already
Replies: >>105850887 >>105851128
Anonymous
7/9/2025, 8:50:38 PM No.105850496
>anon making a big deal about scheme being better than common lisp because it's "simpler and more elegant" and common lisp has a "large specification document"
>common lisp reference pdf: 56 pages
>guile scheme reference pdf: NINE HUNDRED EIGHTY ONE PAGES
Replies: >>105850794 >>105850796
Anonymous
7/9/2025, 9:23:45 PM No.105850794
>>105850496
based GNU verbosity
Anonymous
7/9/2025, 9:23:46 PM No.105850796
>>105850496
Reference =/= manual
good morning sar
Anonymous
7/9/2025, 9:33:57 PM No.105850887
>>105850279
I did not like "Programming Algorithms in Lisp" the author does not write/teach well and relies on some ghetto third party library to pointlessly change syntax.
Replies: >>105850915
Anonymous
7/9/2025, 9:38:29 PM No.105850915
>>105850887
Yes you told me yesterday. I will shoot it if I don't like it
Replies: >>105851055 >>105851069
Anonymous
7/9/2025, 9:54:29 PM No.105851055
>>105850915
Different anon
Replies: >>105851184 >>105864761
Anonymous
7/9/2025, 9:55:47 PM No.105851069
>>105850915
Did I? I don't remember posting that, maybe someone else felt the same lol.
Replies: >>105851184 >>105864761
Anonymous
7/9/2025, 9:57:01 PM No.105851083
>>105837546
Old graphics demos from the 90s and turn of the century are max comfy.
Anonymous
7/9/2025, 10:01:29 PM No.105851128
>>105850279
Personally I would have recommended any of:
A Gentle Introduction to Symbolic Computation
Lisp 3rd edition
ANSI Common Lisp
On Lisp

But also just pirate all of the books and sort if out for yourself.
Replies: >>105851184
Anonymous
7/9/2025, 10:07:52 PM No.105851184
>>105851055
>>105851069
My bad. Since 2 of y'all are hating, I'm gonna skim through it first and return it if it's shit. Thanks frens
>>105851128
Any specific reason you'd choose those books over the r*ddit recommendations?
>pirate all of the books
Call me a retard but I can't read books on a screen without zoning out.
Replies: >>105852234
Anonymous
7/9/2025, 10:42:02 PM No.105851480
The CL reference that I use the most is:
https://lispcookbook.github.io/cl-cookbook/
It's free and its content is very practical.
Replies: >>105851501 >>105851671
Anonymous
7/9/2025, 10:44:43 PM No.105851501
>>105851480
that's not a book
Replies: >>105851522
Anonymous
7/9/2025, 10:47:10 PM No.105851522
>>105851501
the nerdfag arbitrary obsession with books must be studied
Replies: >>105851616 >>105851629
Anonymous
7/9/2025, 10:56:58 PM No.105851616
>>105851522
>obsession with books
>arbitrary
ok retard
Replies: >>105851645
Anonymous
7/9/2025, 10:58:13 PM No.105851629
>>105851522
come say that to my face while im reading a lisp book in between sets of curling your mom
Replies: >>105851645
Anonymous
7/9/2025, 10:59:27 PM No.105851645
ilovescience
ilovescience
md5: f57847786b721da7e4d87fa67c15ecbf🔍
>>105851616
>>105851629
>if my knowledge doesn't come in paperback form, I don't want it!
I bet you take your books out in public and look around while "reading" to see if anyone noticed that you're reading
Replies: >>105851674
Anonymous
7/9/2025, 11:02:21 PM No.105851671
>>105851480
is there an info version? i'm so used to just hitting C-h i to check the docs when i'm writing elisp or guile
Replies: >>105851736 >>105852254
Anonymous
7/9/2025, 11:02:27 PM No.105851674
>>105851645
The closest I get to "out in public" is my pond or pasture, where basically only my wife and other animals would see me
Anonymous
7/9/2025, 11:07:53 PM No.105851736
>>105851671
The source is mostly markdown.
https://github.com/LispCookbook/cl-cookbook
Someone could maybe figure out a way to get pandoc to consume this markdown and emit texinfo.
Replies: >>105851779
Anonymous
7/9/2025, 11:11:33 PM No.105851779
>>105851736
His build scripts already merge all the markdown documents into one gigantic markdown document.
https://github.com/LispCookbook/cl-cookbook/blob/master/make-cookbook.lisp#L88-L93
He uses this to big markdown file as the source for his epub and pdf outputs. A texinfo output could easily be added to this.
Replies: >>105852074 >>105852172
Anonymous
7/9/2025, 11:38:54 PM No.105852074
build-full-source
build-full-source
md5: fe208359b9e90e41d71180ed973284ef🔍
>>105851779
Loading up sly,
compiling make-cookbook.lisp with C-c C-k,
and then running:
(build-full-source)

worked.
Then I ran:
pandoc --from gfm --to texinfo full.md -o full.texi

and that worked too.

However, the texinfo that was generated by pandoc was giving the GNU tools for generating info files indigestion.
# I tried to force it, but it refused to generate output, because too many errors were found in the source document.
texi2any --info --force full.texi -o cl-cookbook.info
Replies: >>105852118
Anonymous
7/9/2025, 11:42:47 PM No.105852118
cl-cookbook.index
cl-cookbook.index
md5: 2d5b6991e69829b7d141b84a3e83e9bc🔍
>>105852074
I was able to do one file at a time, but that's not very useful.
pandoc --from gfm --to texinfo index.md -o index.texi
texi2any --info --force index.texi -o index.info

Then, in Emacs, `C-u C-h i` and then select index.info.
Anonymous
7/9/2025, 11:47:31 PM No.105852172
>>105851779
>A texinfo output could easily be added to this.
Not so easy after all.
Anonymous
7/9/2025, 11:52:14 PM No.105852234
>>105851184
>Any specific reason you'd choose those books over the r*ddit recommendations?
Because I find them to be higher quality and better written (seems to be the case generally, literacy and competency has been on a long decline and it's extremely noticeable in the scientific literature, the farther back you go the better written and more well thought out things tend to be (granted it could also just be that no one bothers to read the shitty old papers but I've still found it to be generally true despite just digging up random, obscure old papers)). They're old (mostly from the 80s) but (most) of what they cover hasn't really changed. Granted if you want to do anything "modern" you're better off checking the Common Lisp Cookbook for a run down of current libraries and such.
To be fair I haven't read your other books (Common Lisp Recipes or The Common Lisp Condition System). Nothing against PCL it's a fine book, but reads more like a reference and doesn't have exercises.

>Call me a retard but I can't read books on a screen without zoning out
Even if you've got Emacs up next to a PDF trying things out as you read? I feel like I may have had that issue in the past but at some point got over it, probably just as a matter of conditioning since I almost always pirate books, if I am able.
Replies: >>105864761 >>105864761
Anonymous
7/9/2025, 11:54:10 PM No.105852254
>>105851671
I wish I could get every lisp book or other useful document in info format. It would be so convenient.
Replies: >>105852293
Anonymous
7/9/2025, 11:58:38 PM No.105852293
>>105852254
Prot's Emacs Lisp Elements has an info version. However, I think the best version is the org version. Org is nice, because the code blocks are syntax highlighted and exectuable via `C-c C-c`.
https://github.com/protesilaos/emacs-lisp-elements
Replies: >>105852343
Anonymous
7/10/2025, 12:05:01 AM No.105852343
ele.org-vs-info
ele.org-vs-info
md5: 07658cc311d949d89bcf19e74dd1de3f🔍
>>105852293
Org vs Info
Replies: >>105852381
Anonymous
7/10/2025, 12:08:11 AM No.105852381
>>105852343
One of these days I should figure out org mode.
Replies: >>105852518 >>105852672
Anonymous
7/10/2025, 12:25:55 AM No.105852518
>>105852381
The basics of org are simple. It's an outliner where you organize text under headings.
M-RET is how you create a heading.
M-arrowkey will move the headings around.
You can start with just that. Just play with it.

Here's an abbreviated version of my org setup in case you're curious.
https://pastebin.com/sb12cEmx
The full version rices it out more for looks, but I didn't want to overwhelm you with that. The part I included makes it look decent enough and behave well with regard to code blocks. (I don't like the default settings which do some retarded things with indentation.)
Replies: >>105852551
Anonymous
7/10/2025, 12:28:49 AM No.105852551
>>105852518
Oh, and TAB toggles heading visibility.
S-TAB will close everything.
The basics are easy.
Anonymous
7/10/2025, 12:41:50 AM No.105852672
>>105852381
Look at how Prot writes his org documents. He sets a good example (as usual). I've used org for a long time, but I'm learning new things from his example too.
Anonymous
7/10/2025, 3:52:19 AM No.105853950
https://sachachua.com/blog/2025/07/2025-07-07-emacs-news/
Replies: >>105884419
Anonymous
7/10/2025, 6:37:30 AM No.105855001
After having read a lot of web discussions about LISPs, I come to the conclusion that the only remotely viable LISPs are Clojure and SBCL. (And Emacs Lisp for customizing Emacs) Am I wrong?
Replies: >>105855102 >>105855127 >>105855133 >>105855582
Anonymous
7/10/2025, 6:48:19 AM No.105855102
>>105855001
>Am I wrong?
Not really. SBCL is an implementation though, CL is the language. ECL/CCL/LW/etc. can be viable too as part of CL.
Anonymous
7/10/2025, 6:51:19 AM No.105855127
>>105855001
Oh, and also Julia. I forgot that Julia is also a LISP.
Replies: >>105855978 >>105863640 >>105873858
Anonymous
7/10/2025, 6:52:32 AM No.105855133
>>105855001
viable for what?
Replies: >>105855179
Anonymous
7/10/2025, 6:57:47 AM No.105855179
>>105855133
Like, actually useful pairs of (language interpreter) which let you create good software.
Anonymous
7/10/2025, 8:00:02 AM No.105855563
I got fed up with vim and switched to emacs and spent the last 6 hours making it work with tmux because they weren't getting along
given that my goal is to spend my time as unproductively as possible, so far I give emacs a 9/10 but will be revising that as I work
Replies: >>105856008 >>105856025 >>105857063
Anonymous
7/10/2025, 8:04:32 AM No.105855582
tinyschemer
tinyschemer
md5: ccc462e616b5f3f675bb2accb36a50fa🔍
>>105855001
>the only remotely viable LISPs are Clojure and SBCL
TinyScheme mogs both, see >>105820888
>Sandbox policies are written in a dialect of Scheme known as SBPL. The policies are interpreted via an interpreter within libsandbox, based on TinyScheme, which generates a compiled representation of the policy that it passes to the Sandbox kernel extension.
>much of the implementation and resulting behavior are shared with Apple's other platforms (iOS, iPadOS, tvOS, etc)
Replies: >>105855978
Anonymous
7/10/2025, 9:06:30 AM No.105855978
>>105855127
> julia
Doubt.

>>105855582
> Viable
I used david betz’s xscheme for some real world stuff back in the day, must have been in the 80s.
Replies: >>105861097
Anonymous
7/10/2025, 9:10:41 AM No.105856008
>>105855563
>tmux
why limit yourself to the terminal? emacs is better as a graphical editor
Anonymous
7/10/2025, 9:14:03 AM No.105856025
>>105855563
I like elisp/emacs, but sometimes I feel it’s a little bit slow to be doing the kinds of things it’s being asked to handle.

If it were me, I’d drop some of the C implementation and speed up some critical points with some x64 assembly.
…not drop the C implementation, just override on some architectures. Maybe there’s a SIMD instruction that can implement cadar in one clock cycle.
Replies: >>105858950
Anonymous
7/10/2025, 9:28:43 AM No.105856141
helix_(neural_cloud)
helix_(neural_cloud)
md5: 316bd0bea895dcbb22d78e16490cf3e9🔍
New Helix plugin written in Steel (Scheme) just dropped
https://github.com/helix-editor/helix/pull/8675#issuecomment-3049527924
Replies: >>105856146 >>105857080 >>105857420 >>105857910 >>105869071 >>105885584 >>105911828 >>105914564
Anonymous
7/10/2025, 9:29:45 AM No.105856146
preview
preview
md5: 8aa6e076dd702a775ed0fd50f02b64ce🔍
>>105856141
https://github.com/thomasschafer/scooter.hx
Replies: >>105857037
Anonymous
7/10/2025, 9:34:11 AM No.105856176
>>105819961 (OP)
>http://xahlee.info/emacs
Has he had sex yet?
Replies: >>105856285 >>105856387
Anonymous
7/10/2025, 9:52:21 AM No.105856285
xah2hu
xah2hu
md5: 88c1c7b8b8bc67a55ad433cf40fee718🔍
>>105856176
SEXP with 2hu grills? Yes, zoomer faakhead.
http://xahlee.org/wordy/chinese/phantasmagoria_of_flower_view.html
Anonymous
7/10/2025, 10:09:34 AM No.105856387
>>105856176
He's married. He has been a regular sex-haver for quite some while now. He's not one of us.
Anonymous
7/10/2025, 10:25:19 AM No.105856488
>>105846836
trvke
Anonymous
7/10/2025, 11:50:54 AM No.105857037
>>105856146
kino visuals
Anonymous
7/10/2025, 11:55:18 AM No.105857063
>>105855563
With enough emacs skill, `emacs --daemon` can be used instead of tmux. Not a lot of people do this, but I've setup my shell to run and manage multiple emacs daemons easily, and it has a similar feel to having multiple tmux sessions. What's nice is that you're not limited to a terminal. You can use the graphical version and the terminal version in the same session at the same time.
Replies: >>105861569
Anonymous
7/10/2025, 11:57:43 AM No.105857080
>>105856141
Helix has a chance to do a lot of things right. I'm wishing them well.
Anonymous
7/10/2025, 12:45:06 PM No.105857420
>>105856141
It just occurred to me that Helix plugins can use real OS threads if they want to. They get full access to the Rust ecosystem too.

Thinking back to
>>105846836
I think helix can onboard a lot of people on to both Scheme and Rust.
Replies: >>105857915
Anonymous
7/10/2025, 1:45:08 PM No.105857910
extensions
extensions
md5: 7f1589d2562b48f80a3ba8cb676e76a1🔍
>>105856141
There are just 3 helix plugins.
https://github.com/npupko/awesome-helix?tab=readme-ov-file#editor-extensions
Replies: >>105861647 >>105895647
Anonymous
7/10/2025, 1:45:28 PM No.105857915
>>105857420
why go with "steel" scheme instead of guile? schemers stop dividing themselves up challenge (it is impossible)
Replies: >>105860167 >>105862994
Anonymous
7/10/2025, 2:31:12 PM No.105858349
hx_thumb.jpg
hx_thumb.jpg
md5: 1e37c5fef8cd5a722e81c4e6dd9eaa82🔍
I build helix+steel from source and installed scooter.hx. There were a few minor hiccups, but it wasn't too bad.
Anonymous
7/10/2025, 3:44:34 PM No.105858950
>>105856025
>Maybe there’s a SIMD instruction that can implement cadar in one clock cycle.
How? It's all nonsequential on the heap. The only way around that seems to be allocating cons cells contiguously a la conventional arrays and turning cxr into a kind of obfuscated access by index. Maybe I'm far outside my lane here but I am curious what your ideas are.
Replies: >>105861370
Anonymous
7/10/2025, 4:01:36 PM No.105859091
I have determined after much fuckery that it isn't guile's fault the process control and system call functions are a pain in the ass, that's just how UNIX works.
It's just a horrible system that's both very obsessed with security to the point of being a huge overcomplicated pain, and then simultaneously has zero restrictions so you can do fucking anything, even bricking your entire computer, even by accident, easily. It's a total shitshow.
Replies: >>105861097
Anonymous
7/10/2025, 6:11:41 PM No.105860167
>>105857915
Just guessing, but maybe interop with Rust was easier this way.
Anonymous
7/10/2025, 7:45:45 PM No.105861097
>>105859091
I won’t disagree, unix came from having many users on a single machine over serial terminals.
Nowadays, a lot of companies run everything in containers and VMs on to of all that!

>>105855978
> Xscheme on DOS
This was probably pretty fast for it’s time. Explains how >>105837546 lisp machines could be so good.
Anonymous
7/10/2025, 8:07:54 PM No.105861370
>>105858950
Something like that, yes…
I was actually thinking of allocating on the code page and interleaving cons cells with instructions to improve locality and being more into the cache-line/L1 tagged areas and using IP-relative addressing. Working sets in the 32 KB neighbourhood seem reasonable for the slow “key algorithmic” parts of any program (tree transformation, searching, etc.)
I think the benefits far outweigh any potential pipeline stalls since it’s not that compute intensive on the fxu usage that full pipelines benefit.
Anonymous
7/10/2025, 8:24:36 PM No.105861569
>>105857063
The only thing I really miss about emacs in non-graphical mode under tmux is the alt key in org mode.
I was stuck once, then I realized ESC is meta, too, in tmux.
I use graphical mode inserting metapost diagrams and whatnot. I think there’s three potential ways around it:
- use a font for graphics. I think this is what the tex picture environment does, but using the line drawing characters might work ok to give a representation.
- use the block characters and render minecraft-like pixels
- tmux has a patch for sixel. I actually think sixel would be better implemented in terminal/shell graphical emacs mode (and then use that instead of tmux)
Anonymous
7/10/2025, 8:30:44 PM No.105861647
>>105857910
Yeah, helix is not implemented in steel enough, it’s more of an ex-post -facto bolt-on.
Anonymous
7/10/2025, 10:09:10 PM No.105862622
We're going to fall off
Replies: >>105880391
Anonymous
7/10/2025, 10:43:16 PM No.105862994
>>105857915
>Both Guile and Chibi were considered because they implement the r7rs spec and are intended for embedding. Guile would be preferred but there are no complete bindings for it in Rust and I've seen that there's some issues with it breaking rust's destructors (https://github.com/ysimonson/guile-sys).
https://github.com/helix-editor/helix/pull/2949#issuecomment-1186159322
Replies: >>105863064
Anonymous
7/10/2025, 10:50:09 PM No.105863064
>>105862994
Thanks for finding this. I looked around last night for some kind of explanation, but couldn't find one. I did come across this interesting old HN thread though.
https://news.ycombinator.com/item?id=38508779
You can search for "mattparas" to find comments from the author of Steel.

If you have any connection to Perl, you can also search for "mst" to see an unexpected interaction from the late Matt Trout.
https://www.shadowcat.co.uk/2025/07/09/ripples-they-cause-in-the-world/
https://togetherweremember.com/timelines/qn/view
Anonymous
7/10/2025, 11:45:23 PM No.105863640
>>105855127
Julia is not a Lisp, but I wish there were a thread like this where I could talk about it sometimes.
Replies: >>105864361 >>105873858
Anonymous
7/11/2025, 12:05:03 AM No.105863847
Does anyone know how to get ts-fold working? I followed the readme and even read through the issues, but when I activate c-ts-mode, it says 'no language registered' and it's pissing me off
Anonymous
7/11/2025, 12:56:12 AM No.105864361
>>105863640
It's shit. I'd sooner pick R.
Anonymous
7/11/2025, 1:41:27 AM No.105864757
so what the hell can i actually do with lisp besides jerking myself off ive had enough of that recently, can i make vidya are there any engines or would i have to roll my own game
Anonymous
7/11/2025, 1:41:43 AM No.105864761
56697b77-e340-4068-97ca-41664eadc61c
56697b77-e340-4068-97ca-41664eadc61c
md5: 3a4335bc786375b509a4aadc6cd57ecf🔍
>>105851055
>>105851069
I was hesitant about what yall were saying and was going to ask for examples, but I'm going to return it just because of pic related.
>>105852234
I see. Unfortunately it looks like those books are pretty expensive nowadays, so I'm going to stick to what I got. Soubt I'm missing out on much. Also, I typically don't do the written exercises in programming books unless I genuinely don't understand the concept being discussed, I'll just develop a program as I'm reading to book and immediately integrate concepts into new functionality.
>>105852234
>Even if you've got Emacs up next to a PDF trying things out as you read?
Yeah. I need to lock in on the book for a chapter, then lock in on my IDE as I make sense of what I read and implement it, and only take quick peeks at the book as needed. Part of it is that when I read very dense texts(ie. books), I tend to skip ahead a little and then lose my position. I need my fingers to mark what I'm reading. I'm stupid
Replies: >>105864855
Anonymous
7/11/2025, 1:54:07 AM No.105864855
>>105864761
Amazon gave me a refund for it without having to return the boom, so I guess I'll read it as some point in the future.
Anonymous
7/11/2025, 4:13:06 AM No.105865786
Just got my AR glasses. Installed termux-x11 on my phone, and currently setting up doom emacs. SBCL is available on termux. I can now write CL with the same exact setup as my desktop on the go while completely offline. Only issue is the battery drain.
Replies: >>105867729
Anonymous
7/11/2025, 10:13:59 AM No.105867729
MiB
MiB
md5: 77ee9582e89287456f576f4236d9256e🔍
>>105865786
>AR
Based
Anonymous
7/11/2025, 2:00:46 PM No.105869054
Is it possible to make imenu work with info manuals in Emacs. I think it could improve info manual navigation a lot if such a thing were possible. If not, maybe a function like consult-info-section could be written such that you could jump to any node in the current info document via consult (if you're a consult user).
Anonymous
7/11/2025, 2:02:20 PM No.105869071
>>105856141
Is there a way to open a Steel REPL while running hx (similar in spirit to Emacs' `M-x ielm`)?
Replies: >>105872668 >>105874265 >>105875110
Anonymous
7/11/2025, 5:03:08 PM No.105870592
New Elisp from Prot:
https://protesilaos.com/codelog/2025-07-07-emacs-mct-1-1-0/
Anonymous
7/11/2025, 8:31:16 PM No.105872668
>>105869071
Maybe
https://mattwparas.github.io/steel/book/start/standalone.html
Replies: >>105874265
Anonymous
7/11/2025, 10:31:22 PM No.105873858
(mayoi-snail)
(mayoi-snail)
md5: 478f6e5308eaa50c333defd3d18f5a40🔍
>>105855127
>>105863640
Julia is very lispy desu
>The Julia parser is a small lisp program written in femtolisp, the source-code for which is distributed inside Julia in src/flisp.
https://docs.julialang.org/en/v1/devdocs/eval/#dev-parsing
https://github.com/JeffBezanson/femtolisp
>The strongest legacy of Lisp in the Julia language is its metaprogramming support. Like Lisp, Julia represents its own code as a data structure of the language itself.
https://docs.julialang.org/en/v1/manual/metaprogramming/
Also, great emacs support: https://github.com/gcv/julia-snail
Replies: >>105874375 >>105874413 >>105874639
Anonymous
7/11/2025, 11:06:26 PM No.105874265
>>105869071
I searched through the source of his helix fork, and I found no mention of a REPL. Maybe someone has to take the example from:
>>105872668
https://mattwparas.github.io/steel/book/start/embedded.html#embedding-the-steel-repl
...and write a Steel REPL plugin.
Anonymous
7/11/2025, 11:17:15 PM No.105874375
>>105873858
It's lispy but it's not a lisp, its syntax is essentially python and the code you write itself isn't homoiconic. No one is gonna look at Julia and think "that's a lisp". It's a neat language otherwise though.
Replies: >>105874530 >>105875498
Anonymous
7/11/2025, 11:22:28 PM No.105874413
>>105873858
Julia's REPL has a lot of Emacsisms in it, too, like a kill ring.
https://docs.julialang.org/en/v1/stdlib/REPL/#Key-bindings
Anonymous
7/11/2025, 11:33:52 PM No.105874530
>>105874375
>its syntax is essentially python
So is Rhombus: https://rhombus-lang.org
Or alternatively, OpenDylan: https://opendylan.org
Still LISPs.
Replies: >>105874564 >>105874719 >>105874822 >>105875556
Anonymous
7/11/2025, 11:37:00 PM No.105874564
>>105874530
I think you stop being a lisp when you ditch s-expressions.
Replies: >>105874669
Anonymous
7/11/2025, 11:37:40 PM No.105874573
1749568138469561
1749568138469561
md5: a4c86865f9c7b6ab36e9e445c94854ad🔍
damn i didn't realize emacs came with an oop library
Anonymous
7/11/2025, 11:43:26 PM No.105874639
>>105873858
If juilia is a lisp than so is javascript because of json.

You just have to glance at it to know it’s not a lisp.
Replies: >>105875556
Anonymous
7/11/2025, 11:47:04 PM No.105874669
Lisp_Maxwells_Equations
Lisp_Maxwells_Equations
md5: 5d17a09ae37a20148b82774e5805ad9f🔍
>>105874564
>I think you stop being a lisp when you ditch s-expressions.
Most LISP dialects indeed use S-expressions, but some deviate from this. For example, the original LISP 1.5 used M-expressions.
https://www.softwarepreservation.org/projects/LISP/book/LISP%201.5%20Programmers%20Manual.pdf
Anonymous
7/11/2025, 11:52:25 PM No.105874719
IBM_LCSI_Logo_Circles
IBM_LCSI_Logo_Circles
md5: 75d7746736d99cd4136aa973efc530ce🔍
>>105874530
Also Logo
https://en.wikipedia.org/wiki/Logo_(programming_language)
Anonymous
7/12/2025, 12:02:32 AM No.105874822
>>105874530
It's like the one-drop rule.
You might have some lisp DNA, but you're still a nigger.
Replies: >>105875556
Anonymous
7/12/2025, 12:35:56 AM No.105875110
>>105869071
It's not quite a REPL, but it's better than nothing.
https://github.com/mattwparas/helix/blob/steel-event-system/STEEL.md#writing-a-plugin
:evalp will let you evaluate an expression
:eval-buffer will evaluate the current buffer

The instructions for enabling these commands are slightly wrong. The way I got it to work was putting this in init.scm.
(require (only-in "helix/ext.scm" evalp eval-buffer))

Note the extra ".scm" that's not currently in the instructions in STEEL.md.

To use :evalp, be in normal mode and then:
:evalp RET
(+ 1 1) RET

To use :eval-buffer, be in a buffer containing Scheme code and:
:eval-buffer RET


I wanted to hit M-x while in insert mode so many times.
Anonymous
7/12/2025, 1:19:42 AM No.105875498
>>105874375
Julia might superficially look like Python at first glance, but it's quite different once you get into it.
- white space is NOT significant. (Indent however you want.)
- It has real lambdas.
- You can specify types for function parameters, struct slots, variables, etc.
- It has a macro system.
- It can feel like an interpreted language when used from the REPL, but it's actually compiled under the hood. The compilation happens automatically though.
Replies: >>105875556
Anonymous
7/12/2025, 1:26:44 AM No.105875556
>>105875498 >>105874822 >>105874639 >>105874530
sirs do not redeem the julia
https://gist.github.com/digikar99/24decb414ddfa15a220b27f6748165d7
Replies: >>105875627
Anonymous
7/12/2025, 1:37:04 AM No.105875627
>>105875556
That's one guy. Here's someone who switched from CL to Julia and stayed.
https://www.tamaspapp.eu/post/common-lisp-to-julia/
https://juliapackages.com/u/tpapp

He's the original author of cl-data-frame.
https://github.com/Lisp-Stat/data-frame
https://github.com/tpapp/cl-data-frame

(I like both CL and Julia. I know and appreciate that Julia's method dispatch style comes from CL's defgeneric/defmethod.)
Anonymous
7/12/2025, 2:58:36 AM No.105876203
https://sachachua.com/blog/2025/07/emacs-open-urls-or-search-the-web-plus-browse-url-handlers/

https://sachachua.com/blog/2025/07/emacs-open-urls-or-search-the-web-plus-browse-url-handlers/2025-07-11_17.07.10.webm
Replies: >>105879782 >>105880005
Anonymous
7/12/2025, 3:02:58 AM No.105876243
>>105822199
The point of Lisp is being both very simple and very expressive.
Anonymous
7/12/2025, 3:26:15 AM No.105876417
Does emacs have anything good for prolog?
Replies: >>105877987
Anonymous
7/12/2025, 7:37:55 AM No.105877987
>>105876417
https://www.swi-prolog.org/IDE.html
Replies: >>105884969
Anonymous
7/12/2025, 12:56:00 PM No.105879782
>>105876203
>https://sachachua.com/blog/2025/07/emacs-open-urls-or-search-the-web-plus-browse-url-handlers/
pretty nice
Anonymous
7/12/2025, 1:25:19 PM No.105879991
>>105822199
The point is to be able to write complex programs as functions of abstract, generalizeable procedures very quickly. Because functions are first-class citizens, you can very quickly and naturally write compositions of those functions themselves. Because any Lisp program is itself data, Lisp has full self-reflection capabilities.

The cost is an incredibly steep learning cliff which requires (unless you're Dijkstra reincarnate) intense effort over prolonged time.
Anonymous
7/12/2025, 1:27:34 PM No.105880005
>>105876203
I know the guy she helped. He wants so much from Emacs, but he won't level up his own Elisp. She is a saint for doing all that.
Anonymous
7/12/2025, 1:48:49 PM No.105880144
Apparently glowies are still using CL:
https://www.youtube.com/watch?v=of92m4XNgrM
>you must be eligible for a clearance
>you must move to the united SSnakeSS of AmeriKKKa
Replies: >>105880494
Anonymous
7/12/2025, 2:25:09 PM No.105880391
>>105862622
>fall off
why
elaborate it
Replies: >>105880484
Anonymous
7/12/2025, 2:38:12 PM No.105880484
>>105880391
The thread was probably on page 10 of the catalog.
Replies: >>105880870
Anonymous
7/12/2025, 2:39:07 PM No.105880494
>>105880144
That has nothing to do with glowies, all sorts of shit requires a clearance.
Anonymous
7/12/2025, 3:20:24 PM No.105880870
>>105880484
This. Any other reading is wrong because we've already fallen off as hard as is possible. Imperative won. The only FP remaining in the mass market is gestural rather than structural.
Replies: >>105884901
Anonymous
7/12/2025, 4:12:20 PM No.105881353
i don't get org mode
you just take notes
wow you can make them into TODOs
i can... le schedule things??
cargo cult says I
Replies: >>105881444
Anonymous
7/12/2025, 4:21:19 PM No.105881444
>>105881353
I only use it when my document need the results of code embedded. For everything else, Markdown is enough for me. The scheduling aspects of Org Mode are probably valuable, but my schedule has never been more complicated than what a calendar and a to-do list can manage. I will likely care more about Org Mode after I have read the Getting Things Done book.
Anonymous
7/12/2025, 4:41:09 PM No.105881661
Is there anyway to be able to load McClim from inside Emacs with SLIME?
I get some error about different versions of swank conflicting or some shit. Found a post on reddit but it's not very helpful just says to not have two different conflicting versions of swank. But I don't know why I have two different conflicting version or how to fix it.

I can of course run SBCL and load McClim separately and connect slime to it but it's annoying to have to do that.
Replies: >>105881947
Anonymous
7/12/2025, 5:10:25 PM No.105881947
app-main
app-main
md5: 4a210e5d473f70b2e207a7ae933dc5a9🔍
>>105881661
I ran it with sly with no problems. I started with this code:
(defpackage "APP"
(:use :clim :clim-lisp)
(:export "APP-MAIN"))

(in-package :app)

(define-application-frame superapp ()
()
(:panes
(int :interactor :height 400 :width 600))
(:layouts
(default int)))

(defun app-main ()
(run-frame-top-level (make-application-frame 'superapp)))

Then in Emacs, I did `M-x sly`, compiled the source with `C-c C-k` and typed the following into the REPL:
(ql:quickload :mcclim)
(in-package :app)
(app-main)

Slime should be able to do that too. Can you post the relevant parts of the error message you received?
Replies: >>105881965 >>105882056
Anonymous
7/12/2025, 5:11:26 PM No.105881965
>>105881947
https://mcclim.common-lisp.dev/
Anonymous
7/12/2025, 5:21:22 PM No.105882056
>>105881947
Well I figured it out, sort of. Running (ql:use-only-quicklisp-systems) first fixed it. Apparently quicklisp was going into my ~/common-lisp/ folder where I've got a clim version of lem, and going into it's qlot folder where there's a whole bunch of shit and loading a version of swank from there for some reason.

Anyway to fix such retarded behavior? I never expected quicklisp would go rifling through random projects to find packages before loading its own version.

On another note, if you have multiple dists in quicklisp and multiple of them have the same system is there a way to specify which to get it from? quicklisp's "manual" leaves a lot to be desired.
Anonymous
7/12/2025, 6:42:38 PM No.105882861
I have an idea I want to run past your bros. Imagine a minimal lisp where each value can fit into a register, so (f x y) means
f:
mov eax, [esp + 4]
mov ebx, [esp + 8]
...
ie the functions compile directly to machine code and there is no need to statically declare the types of variables as everyone is the same type already. This lisp has a built in function called compile, (compile f) will compile the sexpr given to it but it will also recursively step into f and expand any macros. The compiler itself is a runtime with a stdlib etc, you can use a mathematica style algorithm in which you continously run macro's on a expr until it's reached a final form. I think something like that could be a really powerful C alternative, Rust etc are just C++ alternatives which try to do zero overhead abstractions. There isn't actually anything I would call a C alternative, languages with predictable assembly output.
Replies: >>105885003 >>105885318
Anonymous
7/12/2025, 9:17:34 PM No.105884419
doric-light
doric-light
md5: 7c0559a87d88ebcd3e16d16dd8865881🔍
>>105853950
Very nice
https://protesilaos.com/codelog/2025-07-05-emacs-doric-themes-0-2-0/
Anonymous
7/12/2025, 9:37:53 PM No.105884630
So I was thinking, my emacs config is kind of a janky pile of shit and stuff that probably conflicts because I don't really know what I'm doing, despite trying to keep it simple and lightweight, and I've already got chemacs setup.
Is it worth it to make a different setup for different purposes? Like one tailored to being a C or C++ IDE, another for Lisp dev, and so on, so as to not load useless shit (all the C and C++ crap) if I don't need it.
What are the potential downsides of this?
Replies: >>105884829 >>105885121
Anonymous
7/12/2025, 9:55:49 PM No.105884829
>>105884630
>as to not load useless shit (all the C and C++ crap) if I don't need it.
you can just use with-eval-after-load to eval the entire configuration of a specific mode only once that mode is loaded by emacs. like this:
(with-eval-after-load 'sly
(setq inferior-lisp-program "/usr/bin/sbcl"
sly-mrepl-history-file-name "~/.emacs.d/.sly-mrepl-history")
;; etc.
)
Replies: >>105884959
Anonymous
7/12/2025, 10:05:01 PM No.105884901
>>105880870
Haskell found its way to all languages, from Common Lisp to Rust.
FP won BIGLY.
Anonymous
7/12/2025, 10:11:05 PM No.105884959
>>105884829
Nice, thanks.
Anonymous
7/12/2025, 10:12:41 PM No.105884969
>>105877987
thats not emacs
Replies: >>105891465
Anonymous
7/12/2025, 10:17:57 PM No.105885003
>>105882861
>languages with predictable.assembly output
think slightly bigger anon, think languages that can predictably and efficiently output to specific bytecode.
assembly is not an entirely simple mapping to bytecode, that depends on the assembly dialect. much complexity left hidden if not arbitrary binaries as goal. it should even be able to compile to jpeg and mp4.
Anonymous
7/12/2025, 10:32:42 PM No.105885121
>>105884630
Ever since Emacs got --init-directory, setting up multiple configs has been easier than ever. I say go for it.
Replies: >>105886450
Anonymous
7/12/2025, 10:54:20 PM No.105885318
1740751777788645
1740751777788645
md5: 8f3479d9ff9c54297b01bbd8aba89b31🔍
>>105882861
>Imagine a minimal lisp where each value can fit into a register
Well car and cdr used to fit into a single register
Anonymous
7/12/2025, 11:21:16 PM No.105885584
>>105856141
I feel like this would be a good candidate for a first plugin.
https://github.com/helix-editor/helix/issues/1125
Someone could write the helix equivalent of auto-revert-mode that'll automatically :reload a buffer if it changes on disk, and the people who like that behavior can use it.
Replies: >>105897338 >>105905545
Anonymous
7/12/2025, 11:24:07 PM No.105885614
This issue if 4 years old. Scheme can be the hero if it can satisfy the people who want automatic reload of externally modified buffers.
Anonymous
7/13/2025, 12:21:36 AM No.105886066
I like to move items from one comma separated list to another. Are there any good Emacs tricks for this? Zap-to-char is the best that I've found. I wish that kill-sexp would recognise commas.

My lists are like this. What's the quickest way to move your mother to done?
>To do: Your mother, find love, eat healthy
>Done: Foo, bar, baz
Replies: >>105886180 >>105886272
Anonymous
7/13/2025, 12:36:11 AM No.105886180
>>105886066
jesus christ just use org-mode
Replies: >>105886299 >>105886350
Anonymous
7/13/2025, 12:49:22 AM No.105886272
>>105886066
In evil-mode, I would do:
- dt, to copy "Your mother"
- 2dt, to copy "Your mother, find love" or
- D to copy "Your mother, find love, eat healthy".
- If you only deleted one or two things, go ahead and delete the stray comma and space.
- Then, I'd put my cursor on the F and hit M-y which is bound to consult-yank-pop for me and paste in the text I want.
- Don't forget to add a comma after pasting.
Replies: >>105886310
Anonymous
7/13/2025, 12:52:18 AM No.105886299
>>105886180
Why? My entire list is two fucking lines.
Replies: >>105886422
Anonymous
7/13/2025, 12:53:19 AM No.105886310
>>105886272
The stray comma and space is also where I struggle.
Replies: >>105886375
Anonymous
7/13/2025, 12:57:29 AM No.105886350
file
file
md5: e9f5d16c2968ab371ce148fc4f27aad8🔍
>>105886180
Yeah, this is also a great chance to give org-mode a try. It has great UX for simple TODO list management.
- S-left and S-right to change TODO states
- M-up and M-down to move items up and down.

https://bpa.st/RKLQ
* TODO your mother
* TODO find love
* TODO eat healthy
* DONE foo
CLOSED: [2025-07-12 Sat 15:51]
* DONE bar
CLOSED: [2025-07-12 Sat 15:51]
* DONE baz
CLOSED: [2025-07-12 Sat 15:51]
Replies: >>105886439
Anonymous
7/13/2025, 1:00:03 AM No.105886375
>>105886310
It's just 2 characters. DEL DEL
Anonymous
7/13/2025, 1:05:29 AM No.105886422
>>105886299
It's may be 2 lines, but it's also 6 discrete items that you're having trouble isolating.
Anonymous
7/13/2025, 1:07:34 AM No.105886439
>>105886350
Such a waste of vertical space.
Replies: >>105886448 >>105886460 >>105886628
Anonymous
7/13/2025, 1:08:46 AM No.105886448
>>105886439
Disagree. I think it's a great use of vertical space.
Anonymous
7/13/2025, 1:09:02 AM No.105886450
>>105885121
been thinkgen about using this to make a little mini-config for terminal emacs like mg on steroids. making syntax highlighting just werk in terminals is annoying though
Replies: >>105886482
Anonymous
7/13/2025, 1:10:43 AM No.105886460
>>105886439
You can try follow-mode to convert some vertical space into horizontal space
Anonymous
7/13/2025, 1:13:39 AM No.105886482
file
file
md5: 555d9b659014656ea6954b20a8679c5c🔍
>>105886450
I've made a text mode oriented config before. It seems to work decently in wezterm. It even gives me CSS colors in html-mode.
Replies: >>105887461 >>105887474
Anonymous
7/13/2025, 1:31:51 AM No.105886628
>>105886439
You can hit S-TAB to collapse all the headings. TAB will cycle the current heading.
Anonymous
7/13/2025, 3:48:48 AM No.105887461
>>105886482
The only terminal-specific thing I have in my config was the addition of corfu-terminal.
https://codeberg.org/akib/emacs-corfu-terminal
I feel like I didn't have to do anything else special to get it to work well in a terminal. Some themes work better than others, but that's just trial-and-error.
Anonymous
7/13/2025, 3:50:23 AM No.105887474
>>105886482
How do you live with this font.
I bet you wear velcro shoes.
Replies: >>105887589
Anonymous
7/13/2025, 4:11:00 AM No.105887589
>>105887474
That's prot's old Iosevka Comfy!
How rude.
Anonymous
7/13/2025, 5:42:45 AM No.105888091
Any emacs live streamer except for the Xah-Lee?
Replies: >>105888719 >>105890063
Anonymous
7/13/2025, 6:43:30 AM No.105888487
>>105824960
I bought Practical Common Lisp and it served me well. It explains the language well and gives, as the title implies, many practical examples. If I was you, I would go on Anna's Archive and download each of these books before buying, although you can read Practical Common Lisp for free on their webpage.
Anonymous
7/13/2025, 7:31:22 AM No.105888719
>>105888091
System Crafters
Anonymous
7/13/2025, 11:58:18 AM No.105890063
emac
emac
md5: 36f7f98fedc7631f1136b8efa7eb0b3a🔍
>>105888091
https://emacs.tv
Replies: >>105890801
Anonymous
7/13/2025, 2:06:09 PM No.105890801
>>105890063
I didn't know there was an emacs package for it.
https://github.com/emacstv/emacstv.github.io?tab=readme-ov-file#watch-videos-on-emacs---emacstvel
Replies: >>105890999
Anonymous
7/13/2025, 2:45:06 PM No.105890999
>>105890801
It should declare its dependency on mpv.el. I had to add another use-package for mpv before it would work.
Anonymous
7/13/2025, 3:09:08 PM No.105891143
So now that the dust has settled, is this officially vaporware? What do you think?
https://jank-lang.org/blog/2025-07-11-jank-is-cpp/
>>105821488
>>105821967
Babashka is fine, fairly productive for CLI wrappers.
>>105822143
Racket or Chez/Chicken w/ Raylib.
Anonymous
7/13/2025, 3:23:52 PM No.105891226
So now that the dust has settled, is this officially vaporware? What do you think?
https://project-mage.org/
Replies: >>105891304 >>105893120 >>105909925
Anonymous
7/13/2025, 3:34:07 PM No.105891304
>>105891226
His last commit was 1 year and 7 months ago.
https://sr.ht/~project-mage/
Vaporware confirmed.
Anonymous
7/13/2025, 3:56:47 PM No.105891465
>>105884969
Did you not see the link to:
https://eshelyaron.com/sweep.html
Anonymous
7/13/2025, 4:47:00 PM No.105891822
This might be useful if you want lispy CI/CD.
https://bass-lang.org/
https://github.com/vito/bass
https://github.com/vito/bass-loop
This guy has an interesting site design in that he uses a different background color for each page.
Replies: >>105897092
Anonymous
7/13/2025, 7:24:09 PM No.105893120
>>105891226
>first and last blog post are five days apart
Anonymous
7/13/2025, 9:33:53 PM No.105894235
4 later
https://emacs-tree-sitter.github.io/getting-started/
https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
Replies: >>105897092
Anonymous
7/13/2025, 9:43:40 PM No.105894319
Screenshot_20250714_043654_Firefox
Screenshot_20250714_043654_Firefox
md5: 0bd5c204753d85b3007ac7a972ca1c92🔍
Could it happen in emacs

https://securelist.com/open-source-package-for-cursor-ai-turned-into-a-crypto-heist/116908/
Replies: >>105894639
Anonymous
7/13/2025, 10:15:10 PM No.105894639
>>105894319
already does

t. writes infected emacs packages
Anonymous
7/13/2025, 11:41:04 PM No.105895647
helix-plugins.com
helix-plugins.com
md5: a587712fdd0b6ff94d350b3508db21db🔍
>>105857910
New Site
https://helix-plugins.com/
https://github.com/helix-editor/helix/pull/8675#issuecomment-3067314296
Replies: >>105900357
Anonymous
7/14/2025, 2:12:13 AM No.105897092
>>105891822
>>105894235
I have been out for a while, can't these be added to the wiki?
Replies: >>105897306
Anonymous
7/14/2025, 2:15:08 AM No.105897126
Quicklisp works in sbcl through the terminal but sly doesn't seem to find it. Installed normally via the quicklisp.lisp file..
What is going on?
Replies: >>105897441
Anonymous
7/14/2025, 2:34:44 AM No.105897306
>>105897092
What wiki are you talking about?
Anonymous
7/14/2025, 2:37:44 AM No.105897338
>>105885584
>I feel like this would be a good candidate for a first plugin.
There's no need. It's already been done.
https://github.com/mattwparas/helix-file-watcher

Install:
forge pkg install --git https://github.com/mattwparas/helix-file-watcher.git


Config:
;; Put this in ~/.config/helix/init.scm .
(require "helix-file-watcher/file-watcher.scm")
(spawn-watcher)
Anonymous
7/14/2025, 2:48:29 AM No.105897441
>>105897126
Does your ~/.sbclrc contain the following?
;;; The following lines added by ql:add-to-init-file:
#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
(user-homedir-pathname))))
(when (probe-file quicklisp-init)
(load quicklisp-init)))

Maybe try running that in sly.
Replies: >>105901219
Anonymous
7/14/2025, 2:56:49 AM No.105897515
https://i.4cdn.org/wsg/1751071888635127.webm
Replies: >>105900357
Anonymous
7/14/2025, 3:17:49 AM No.105897729
Is it fair to say that every Scheme implementation is a little different? It seems like the authors will often pick a standard to implement and then add a little extra flair of their own. Different implementations also seem to do packaging their own way. Is it even possible to package Scheme code in a portable way?
Replies: >>105898624 >>105903246
Anonymous
7/14/2025, 5:09:08 AM No.105898624
>>105897729
>every Scheme implementation is a little different
yes
>Is it even possible to package Scheme code in a portable way?
yes but it's difficult, snow fort has portable r7rs libraries for example
you will need cond-expand and you'll eventually get so frustrated reading 7 different languages retarded implementations of 'system' that you'd rather shoot yourself than write portable scheme
r5rs would have been better for portability, but there was no namespacing in the standard
Anonymous
7/14/2025, 9:58:37 AM No.105900357
Sneed
Sneed
md5: ae8b5c3e2ac3d3561cd2a02c9c80d99d🔍
>>105895647
Very nice.
>>105897515
M-x sneed-mode
Anonymous
7/14/2025, 12:08:14 PM No.105901219
>>105897441
nope. forgot to initialize it. thenks
Anonymous
7/14/2025, 1:51:24 PM No.105901904
My logging library has a default "log-event" method, but for convenience I want to create several log-info log-debug, log-error, etc like in other languages:
(defparameter *default-levels*
(let ((ht (make-hash-table :test 'equal))
(levels '("debug" "info" "warning" "error" "critical-error"))
(level-values '(1 2 3 4 5)))
(loop for k in levels
for v in level-values
do (setf (gethash k ht) v))
ht))

(defmacro create-default-log-methods ()
`(progn
,@(loop for level being the hash-keys of *default-levels*
collect
`(defmethod ,(intern (string-upcase (format nil "log-~a" level)) :log) ((logger logger) msg &rest rst)
(apply #'log-event logger ,level msg rst)))))

(create-default-log-methods)
Good morning sirs!
Replies: >>105903295 >>105906985
Anonymous
7/14/2025, 3:37:02 PM No.105902687
ELISP> (emacs-uptime)
"8 days, 17 hours, 14 minutes, 12 seconds"
Replies: >>105905003
Anonymous
7/14/2025, 4:44:27 PM No.105903246
1739654261716520
1739654261716520
md5: 5e338f034468db6d4fe6bca275e33340🔍
>>105897729
>Is it even possible to package Scheme code in a portable way?
Yes, an example is https://github.com/ashinn/irregex

irregex.scm is written in a portable subset of r4-7rs, while irregex-chicken.scm, irregex-gambit.scm, irregex.sld (chibi), irregex-guile.scm, and irregex.chezscheme.sls interface with each respective scheme implementation
Anonymous
7/14/2025, 4:50:27 PM No.105903295
>>105901904
Could this be simplified to the following?
(loop for level in '("debug" "info" "warning" "error" "critical-error")
do (eval `(defmethod ,(intern (string-upcase (format nil "log-~a" level)) :log) ((logger logger) msg &rest rst)
(apply #'log-event logger ,level msg rst))))


Why create a macro if you're only going to use it once?
Replies: >>105904010
Anonymous
7/14/2025, 6:04:28 PM No.105904010
>>105903295
I'm afraid of using eval
Replies: >>105904523
Anonymous
7/14/2025, 6:59:14 PM No.105904523
>>105904010
Why?
Anonymous
7/14/2025, 7:03:38 PM No.105904563
What is the 'proper' way to format long/nested manually written cons cells?
I've seen people break before the period, but I want to be certain I'm doing it right.
Replies: >>105904976 >>105905020 >>105908260
Anonymous
7/14/2025, 7:44:32 PM No.105904976
>>105904563
if you're making a fucked up data structure kinda deal for a one-time use then no "proper" formatting is needed, just vibe it
otherwise, consider doing the constructor/selector thing from SICP to have the ugly abstracted away and named something meaningful and pretty
Anonymous
7/14/2025, 7:47:04 PM No.105905003
>>105902687
I kill and start my emac every time I am done with the small task I'm doing. This way I have plenty of opportunity to get irrationally angry if my config takes longer than a second to load and optimize the fuck out of it, my buffer spaghetti is kept clean, and I don't leave things unfinished.
Anonymous
7/14/2025, 7:48:09 PM No.105905020
1750537009416308
1750537009416308
md5: 454220b022c9ee00a5b53b990a198cb8🔍
>>105904563
(pretty-print '((a . 1) (b . 2)) #:width 1)

((a .
1)
(b .
2))
Replies: >>105905031
Anonymous
7/14/2025, 7:49:18 PM No.105905031
1696303137659095
1696303137659095
md5: bd9c0420d178479f0468732b1993fbd0🔍
>>105905020
what the fuck anon that is the ugliest thing i've ever seen
Replies: >>105905110
Anonymous
7/14/2025, 7:55:53 PM No.105905110
1741945511963098
1741945511963098
md5: b09589b97211ba0983f3af84de8c9389🔍
>>105905031
I've occasionally seen it in pretty-printed parsed json like
(key .
[some array])[/code[
Anonymous
7/14/2025, 8:40:25 PM No.105905545
>>105885584
The helixfags are ignoring the Scheme solution to their 4 year old problem.
Anonymous
7/14/2025, 10:05:33 PM No.105906563
https://sachachua.com/blog/2025/07/2025-07-14-emacs-news/
Replies: >>105906632
Anonymous
7/14/2025, 10:12:10 PM No.105906632
SophieBosio
SophieBosio
md5: 411af29a03011423ea99298300a81d73🔍
>>105906563
cute
https://github.com/SophieBosio/south
Anonymous
7/14/2025, 10:47:01 PM No.105906985
android.log
android.log
md5: c6b2dbfda389816b805a6f4b20a30cf6🔍
>>105901904
TANGENT: Although Java is known for its excessive verbosity, the Android logging API was surprisingly terse with its single letter method names. When I did Android development a few lifetimes ago, this API was a pleasant surprise.
https://source.android.com/docs/core/tests/debug/understanding-logging#log-standards
Log.wtf
Log.e
Log.w
Log.i
Log.d
Log.v
Replies: >>105907367
Anonymous
7/14/2025, 11:24:07 PM No.105907367
>>105906985
mine essentially works like that sir.
CL-USER> (log-critical-error *logger* "aaaaa")
[CRITICAL-ERROR] 2025-07-14T18:22:53.047673-03:00 aaaaa


I'm not really sure how to implement those complex logging hierarchies java and python have because I don't really understand them (I program in python for years and never really understood the logger)
Replies: >>105907384
Anonymous
7/14/2025, 11:25:34 PM No.105907384
>>105907367
You can pass argument to the string.
(log-critical-error *logger* "This will print the arg: ~a" 'argument)

I'm still thinking if I should try and make it threadsafe.
Anonymous
7/15/2025, 12:48:08 AM No.105908260
>>105904563
I don't know if it's proper, but I like to vertically align the periods in the middle of a cons cell.
(org-babel-do-load-languages
'org-babel-load-languages '((emacs-lisp . t)
(jq . t)
(julia . t)
(lisp . t)
(perl . t)
(shell . t)))
Anonymous
7/15/2025, 3:55:07 AM No.105909925
>>105891226
Too ambitious?
Anonymous
7/15/2025, 8:18:26 AM No.105911828
rms+miku
rms+miku
md5: 049c55392b703bdd456e1fb1a14c6650🔍
>>105856141
>Helix + Scheme
RMS was right again.
>But in particular, we do not want to have extension languages other than Lisp. Emacs Lisp is the variant of Lisp that we've always supported, which has evolved along with Emacs. We can conceivably have Scheme as well, if we can sufficiently solve the problems, the technical problems of making Scheme and Emacs Lisp interoperate. We did some design work, I think that was with Tom Lord, whom the community will greatly miss. In the 1990s, there are challenges that remain; maybe it can be done. But a non-Lispy language would be a mistake. It would divert our development focus into areas that we don't need, languages that are less powerful, less beautiful, and less desirable for the purpose.
https://emacsconf.org/2022/talks/rms/
Guile-Emacs really needs to become a reality if Emacs desires to remain competitive in the future.
https://www.emacswiki.org/emacs/GuileEmacs
https://codeberg.org/lyrra/guilemacs
Replies: >>105912412 >>105916027
Anonymous
7/15/2025, 8:51:44 AM No.105912062
SICP exercise 2.65 done. Im getting bored of SICP a bit. It’s pretty interesting but the ratio of exercises to text is so large.
Anonymous
7/15/2025, 9:36:32 AM No.105912412
>>105911828
>Guile-Emacs really needs to become a reality if Emacs desires to remain competitive in the future.
Every time I think about this I'm just reminded of Lem. If people are putting in this effort because Guile is more performant than Elisp, then why not go all the way and just do CL?
Replies: >>105912485 >>105913912 >>105914865 >>105915195 >>105915801
Anonymous
7/15/2025, 9:49:08 AM No.105912485
>>105912412
because rms is extremely fussy about languages and he doesn't like common lisp that much
Anonymous
7/15/2025, 1:39:58 PM No.105913912
schemes
schemes
md5: 1905758669782daba81fd6f57bc3e267🔍
>>105912412
Guile = GNU Ubiquitous Intelligent Language for Extensions.
Also, GNU Guix.
Replies: >>105915195
Anonymous
7/15/2025, 2:30:50 PM No.105914250
Is there something that allows me to use/see or couple emacs with tide tables?
Replies: >>105915027
Anonymous
7/15/2025, 3:12:31 PM No.105914564
Screenshot 2025-07-15 at 09-11-25 Add Steel as an optional plugin system by mattwparas · Pull Request #8675 · helix-editor_helix
>>105856141
https://github.com/helix-editor/helix/pull/8675#pullrequestreview-3018763923
One step closer to getting the Steel branch merged into Helix
Anonymous
7/15/2025, 3:35:48 PM No.105914764
Out of curiosity, is there anything like Common Lisp's lparallel for Scheme?

https://github.com/sharplispers/lparallel
https://g-gundam.github.io/lparallel/
Replies: >>105914808
Anonymous
7/15/2025, 3:41:55 PM No.105914808
>>105914764
racket has a bunch of shit
https://docs.racket-lang.org/guide/parallelism.html
guile has ice-9 threads.
Replies: >>105914931
Anonymous
7/15/2025, 3:48:27 PM No.105914865
>>105912412
Has anyone done benchmarks of Guile versus Elisp recently? With native compilation, I'm not sure Elisp is that much slower than Guile anymore.
Replies: >>105915195
Anonymous
7/15/2025, 3:56:17 PM No.105914931
>>105914808
>ice-9
This is such a mysterious name. Even when I search for an explanation, I'm left even more confused.
https://lists.gnu.org/archive/html/guile-user/2003-12/msg00057.html

What is ice-9? A library? What does it do?
Replies: >>105914950 >>105914993 >>105915751
Anonymous
7/15/2025, 3:58:56 PM No.105914950
>>105914931
I also have no idea why they chose that name but Ice-9 are the built-in modules for guile.
Anonymous
7/15/2025, 4:03:09 PM No.105914993
>>105914931
https://github.com/skangas/guile/tree/master/module/ice-9
Replies: >>105915535
Anonymous
7/15/2025, 4:07:32 PM No.105915027
>>105914250
My first thought is to find a free API for tide data and then write an org document that pulls in this data and displays it in an org table. A little bit of org-babel with your favorite language could make it happen.
Replies: >>105915172
Anonymous
7/15/2025, 4:29:59 PM No.105915172
>>105915027
shame the autistic calendar jew man did not write a tide data plugin.
Anonymous
7/15/2025, 4:33:02 PM No.105915195
>>105912412
>>105913912
>>105914865
I'm surprised they haven't made Guile a thing on Emacs, it'd be a very important use case to make the lang reach some of the masses.
Anonymous
7/15/2025, 5:18:54 PM No.105915535
>>105914993
This link is more up-to-date for ice-9.
https://cgit.git.savannah.gnu.org/cgit/guile.git/tree/module/ice-9
Anonymous
7/15/2025, 5:44:10 PM No.105915751
>>105914931
ice-9 is guile-specific libraries
reference to Kurt Vonnegut's cats cradle, any scheme code that touches ice-9 becomes guile
Anonymous
7/15/2025, 5:50:29 PM No.105915801
>>105912412
>Common Lisp is extremely complicated and ugly. When I wrote GNU Emacs I had just finished implementing Common Lisp, and I did not like it much. It would bloat Emacs terribly, and documenting it would be hard too.
>Scheme is elegant, and it is a better direction to move in.
>Since we have our own Scheme implementation, we should use that one. If it has a serious disadvantage, we should do something about that. There are various things that might be right to do, but simply disregarding it in the case of Emacs cannot be right.
https://lists.gnu.org/archive/html//emacs-devel/2010-04/msg00612.html
Anonymous
7/15/2025, 6:05:10 PM No.105915931
Guy L. Steele
Guile Steel
Replies: >>105916038
Anonymous
7/15/2025, 6:14:39 PM No.105916027
>>105911828
>Tom Lord, whom the community will greatly miss
https://berkeleydailyplanet.com/issue/2022-06-26/article/49837
Replies: >>105916132
Anonymous
7/15/2025, 6:15:51 PM No.105916038
>>105915931
Guy L. Steele

Guy Java
Anonymous
7/15/2025, 6:17:13 PM No.105916051
>>105824960
Practical Common Lisp.
Anonymous
7/15/2025, 6:25:48 PM No.105916132
>>105916027
https://news.ycombinator.com/item?id=1266032
Anonymous
7/15/2025, 8:31:34 PM No.105917291
new bread
>>105917285
>>105917285
>>105917285
>>105917285