[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: anya.sicp.png (3.05 MB, 2028x2028)
3.05 MB PNG
>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-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

>Browse imageboards in Emacs Org-Mode
https://github.com/eNotchy/4g

>Emacs Distros
https://github.com/caisah/emacs.dz

>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://almightylisp.com
https://lispcookbook.github.io/cl-cookbook
https://cs.cmu.edu/~dst/LispBook
https://gigamonkeys.com/book
https://lisp-docs.github.io
https://awesome-cl.com

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

>Clojure
https://clojure.org
https://clojure-doc.org
https://clojure.land
https://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://jafingerhut.github.io/cheatsheet/clojuredocs/cheatsheet-tiptip-cdocs-summary.html

>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://lisp.nexus
https://rentry.org/lispresources

(set! thread-link >>>/g/lisp)
(set! prev-thread >>110144301)
>>
I gave treesitter another try after upgrading to 31.1, and the existence of `M-x treesit-install-language-grammar` made installing grammars a lot easier. I then tried setting up a few treesitter-based major modes with mixed results. So far, ...

These worked OK:
- bash-ts-mode
- json-ts-mode
- julia-ts-mode

These didn't work too well:
- just-ts-mode :: The grammar installed via `M-x just-ts-mode-install-grammar` but Emacs couldn't find it.
- nushell-ts-mode :: It worked, but it felt slightly inferior to nushell-mode, so I went back to classic.

Also, I'm telling Emacs explicitly about which treesitter modes I want to use.
(dolist (mapping '((sh-mode    . bash-ts-mode)
(json-mode . json-ts-mode)
(julia-mode . julia-ts-mode)))
(add-to-list 'major-mode-remap-alist mapping))

There are things like treesit-auto that do this for me automatically, but I wanted to be very deliberate at this early stage of my treesitter experience.
https://github.com/renzmann/treesit-auto
There are a bunch of other modes I could try, but I think I'm going to stop here for now. It was a lot less painful than the last time I tried.
>>
File: almighty.png (2.03 MB, 1434x4173)
2.03 MB PNG
This is my first time seeing this redesign of the Almighty Lisp home page. It's pretty fancy by Lisp community standards.
https://almightylisp.com/
>>
>>110217368
Unbelievably cringe. Of all language communities I thought Lispers would know better but I guess teenage shitskins caught wind of Lisp being the "AI language" despite being an entirely different type of AI.
>>
>>110217635
This is a boomer living in Japan
>>
>>110217368
This >>110217635.
Also:
>Le llm is a force multiplier!
But:
>Common Lisp is your secret weapon in the age of LLMs.
Extreme cope. If you buy the premise of LLMs, everyone becomes a "common lisp programmer" and you're not special for knowing how to code in cl manually. You can just ask the LLM to use common lisp and it would do it for you.
>>
(defun n-level-deep (directory n)
"Recursively searches a DIRECTORY Nth-level deep, returns a list of all files"
(interactive)
(let* ((current-level)
(results))
(dotimes (i n)
(if (null current-level)
(setq current-level (directory-files directory
t
directory-files-no-dot-files-regexp))
(setq current-level
(mapcan (lambda (item)
(when (file-directory-p item)
(directory-files item
t
directory-files-no-dot-files-regexp)))
current-level)))
(setq results (append results current-level)))
results))


This is faster than Lee's version on deeper levels
http://xahlee.info/emacs/emacs/elisp_walk_dir_depth.html
>>
>>110217719
haven't heard that name in a long time. what's xah up to these days?
>>
>>110217730
Playing with fsharp
>>
>>110217677
That's even worse.
>>
In Cider, how do I reload the deps.edn? I'm killing the repl buffer when I make changes there.
>>
>>110217194
What are practical use cases of this, besides circlejerking on /g/?
>>
>>110218375
None, especially with ai existing. Maybe you can get ai write emacs extension and that would be marginally useful.
>>
A Lisp/Self hybrid clone with a live GUI/DE.
A proper Self/Smalltalk OS successor with metaprogramming or homoinconicity built right in
>>
>>110218375
rabbi button's web framework
>>
>>110217745
Why did he stop streaming? Still depressed about llms?
>>
>>110218883
he's busy asking stupid questions from chatgpt
>>
Xah Lee's last livestream was on 2026-08-04.
https://www.youtube.com/watch?v=xjIL1rGhKM0
http://xahlee.info/emacs/emacs/emacs_css_toggle_px_rem.html
(defun xah-css-toggle-px-rem ()
"Toggle convert pixel to rem under cursor.
if the word under cursor is not a unit, find the unit backward-word within 99 chars.

URL `http://xahlee.info/emacs/emacs/emacs_css_toggle_px_rem.html'
Created: 2026-08-03
Version: 2026-08-04"
(interactive)
(let (xbeg xmid xend xnumstr unitstr)
(when (not
(or (looking-at "[0-9]")
(looking-back "[0-9]" (max (- (point) 1) (point-min)))))
(re-search-backward "[0-9]" (- (point) 99)))
(skip-chars-backward ".0-9")
(setq xbeg (point))
(skip-chars-forward ".0-9")
(setq xmid (point))
(skip-chars-forward "pxrem")
(setq xend (point))
(setq xnumstr (buffer-substring-no-properties xbeg xmid))
(setq unitstr (buffer-substring-no-properties xmid xend))
(cond
((string-equal "px" unitstr)
(delete-region xbeg xend)
(insert (format "%frem" (/ (string-to-number xnumstr) 16.0)))
(backward-char 3)
(while (eq 48 (char-before)) (delete-char -1))
(when (eq 46 (char-before)) (delete-char -1))
;; 48 is 0, 46 is dot
)
((string-equal "rem" unitstr)
(delete-region xbeg xend)
(insert (format "%fpx" (* (string-to-number xnumstr) 16.0)))
(backward-char 2)
(while (eq 48 (char-before)) (delete-char -1))
(when (eq 46 (char-before)) (delete-char -1)))
(t (message "%s error TBgXN. unit is not px nor rem: %s" this-command unitstr)))))
>>
>>110218470
>Lisp/Self hybrid
Do you have a link for this?
>>
i have departed for the land of lisp
>>
>>110220250
https://github.com/neo-platform-organization/neo
The walking interpreter is really slow however.
>>
why is AI so unreasonably good at writing elisp? this is depressing bros
>>
>>110221148
pics or it didn't happen
>>
>>110221186
i told claude that i wanted to embed mermaid diagrams in markdown previews, and told it to connect to my running daemon with emacsclient to test it out.

it automatically created a new minor mode module in my user-lisp directory that turns mermaid diagrams into SVG and shows them instead of the raw mermaid text in markdown files, and tested it out fully by running emacsclient. everything works perfect and i'm honestly blown away
>>
>>110217368
There is no reason to use anything other than typescript or rust as a vibecoder. They are statically typed and popular, which is vital for a statistical model. Literally all advantages of lisp are just for developers, which doesn't matter since you won't read the code
>>
>>110221567
so it's converting Mermaid diagrams to SVG by... calling the Mermaid CLI?

$mmdc -i input.mmd -o output.svg


okay, I think I understand.
>>
>>110221567
Out of curiosity, I went searching on MELPA and found this.
https://github.com/pasunboneleve/markdown-mermaid
https://melpa.org/#/?q=mermaid

>Render Mermaid diagrams from Markdown inside Emacs using mmdc — instant preview, no wrappers.
>>
>>110221567
it already supports mermaid, plantuml etc
>>
expressions
using operators
compound expressions
using constant declarations
compound operations
using function declarations
function application expressions
using primitive data objects
the interface to create the set of functions that enable us to make compound data objects

is this right?
>>
Is there some elisp package where I can mark a Japanese word in buffer and have it translated in a mini-buffer or something? The default dictionary facilities don't seem to work for Japanese
Jeepeetee is not being very helpful
>>
>>110225299
I made something like this, but it relies on a Common Lisp library to do the Japanese to English translation.

Ichiran is the Common Lisp library.
https://github.com/tshatrov/ichiran

On the Emacs side, the requirements are:
- You have to have sly or slime running.
- org-babel-lisp-eval-fn must be setup to either #'sly-eval or #'slime-eval depending on which CL REPL you're using.
- In that CL REPL, you have to (ql:quickload :ichiran) .

If you've done all that, you can use this Elisp function to do lookups.
(defun ichiran-romanize (phrase)
"Romanize a Japanese PHRASE using ichiran.

Results are displayed in an *ichiran* `org-mode' buffer.

For this to work:
1. `sly' or `slime' must already be running.
2. `org-babel-lisp-eval-fn' must be set appropriately.
3. The ichiran CL library must be loaded into that sly (or slime) instance."
(interactive "MPhrase: ")
(unless (stringp phrase)
(user-error "Phrase must be a string."))
(let* ((result (funcall org-babel-lisp-eval-fn
`(cl:multiple-value-list
(ichiran:romanize ,phrase :with-info t))))
(romanized-text (car result))
(romanized-info (cadr result))
(buffer (get-buffer-create "*ichiran*"))
(window (or (get-buffer-window buffer)
(switch-to-buffer-other-window buffer))))
(with-current-buffer buffer
(when view-mode
(view-mode -1))
(delete-region (point-min) (point-max))
(unless (equal major-mode 'org-mode)
(org-mode))
;; Insert `romanized-text' at the top.
(insert (concat romanized-text "\n"
;; Insert a level 1 org headline for each segment.
(cl-loop for part in romanized-info
concat (concat "* " (car part) " = " (cdr part) "\n\n"))))
;; Fold headlines on initial load.
(org-cycle '(4))
(view-mode 1)
)))
>>
File: 2026-11-01_20-55-44.png (799 KB, 1857x1736)
799 KB PNG
>>110225329
I also have an Elisp function that takes functions that accept a string and generate a derivative function that works on regions.
(defun u/funcall-with-dwim-fn (fn)
"Return a function that either operates on the word at point or region if a region is selected.
Region selection takes precedence over `word-at-point'."
(interactive)
(lambda ()
(interactive)
(let* ((query (if (use-region-p)
(buffer-substring (use-region-beginning) (use-region-end))
(word-at-point))))
(funcall fn query))))


This is how I apply it to ichiran-romanize to create ichiran-romanize-dwim.
(defalias #'ichiran-romanize-dwim (u/funcall-with-dwim-fn #'ichiran-romanize)
"Romanize the region or word at point (if no region is selected) with ichiran.")


The ichiran-romanize-dwim is the function that I bind to a key to do phrase lookups.
>>
>>110225368
I also have this in my display-buffer-alist so that it puts the romanizations to the right and if the buffer+window already exists, reuse it.
        ("\\`\\*ichiran\\*\\'"
(display-buffer-reuse-window
display-buffer-in-direction)
(direction . right))


(I feel like learning how display-buffer-alist works goes a long way toward improving quality-of-life issues inside Emacs. Before this video by Prot, it was a mystery to me, but I'm glad I set aside 30m to watch this video.)
https://www.youtube.com/watch?v=1-UIzYPn38s
>>
>>110225329
The *ichiran* buffer has view-mode enabled so you can hit `q` to close the window.
>>
https://tanikella.ghost.io/scip-rocks/
Really nice blogpost. Found it on the orange website
>>
File: HQNlo75aMAAkY3f.jpg (461 KB, 1313x1886)
461 KB JPG
>>110225329
Oh I have bookmarked ichiran before! Thanks !!
>>
>>110225467
Ichiran is cool, but it's a bitch to setup. You need to download a lot of data and then use it to setup a Postgres database. If you can get past that, the rest of the setup on the Emacs side should be relatively easy.
https://readevalprint.tumblr.com/post/639359547843215360/ichiranhome-2021-the-ultimate-guide

My vague recollection of when I set it up for myself was that the above instructions were mostly right, but I had to make a few small adjustments. I don't remember what those were.
>>
>>110225465
>Dhananjay Tanikella
STINKY
>>
>>110221567
>>110221622
Can you guys share your markdown previews? I think I am using pandoc as my renderer.
I have the following config

(use-package markdown-mode
:ensure t
:mode ("README\\.md\\'" . gfm-mode)
:init
(setq markdown-command '("pandoc" "--from=markdown" "--to=html5")
markdown-fontify-code-blocks-natively t)
(setq markdown-unordered-list-item-prefix " * ")
(add-hook 'markdown-mode-hook #'visual-line-mode)
:bind (:map markdown-mode-map
("C-c C-e" . markdown-do)))
>>
>>110225465
English speakers/amerikkkans have this annoying habit of using hard to search Acronyms without fully spelling them out when they first appear.
What the fuck is a SCIP is this context?

>yeah man I'm using Google for this project
>the search engine?
>no the whatever thingmabob
>>
>>110226861
https://github.com/scip-code/scip
I found it out by searching "scip index treesitter"
>>
>>110227527
SCIP in a lisp thread would have other meanings lmao
>>
>>110225368
>u/funcall-with-dwim-fn
I'm tempted to rename this to just dwim-fn.
>>
>>110225572
>>110204748
>>
>>110226861
>SCIP
https://scip-code.org/
>>
>>110217368
>https://almightylisp.com/
2Advanced vibes

https://www.youtube.com/watch?v=IWkNkQoQY_8
>>
Hammock Driven Development
https://www.youtube.com/watch?v=f84n5oFoZBc
(an oldie but goodie)
>>
>Dynamic Languages Wizards Series - Panel on Language Design
>Speakers: Paul Graham, John Maeda, Jonathan Rees and Guy Steele
https://www.youtube.com/watch?v=agw-wlHGi0E
>>
>>
>>110217194
Has anyone here actually read the book?
>>
File: IMG_20260930_174441_NV.jpg (3.22 MB, 3072x4080)
3.22 MB JPG
>>110233527
Yes!
>>
>>110232518
Graham should give me 10 million dollars.
>>
File: 1.png (137 KB, 1697x668)
137 KB PNG
Would anyone happen to know if these lectures are available anywhere? The downloads don't work on IA
https://web.archive.org/web/20120103101756/http://wla.berkeley.edu/main.php?course=cs3
>>
>>110225368
>と思ったら
>tōmottara
please fix this
>>
>>110235425
I noticed that too.
Report it to:
https://github.com/tshatrov/ichiran/issues
>>
Computer programs should be written for humans to read, and only incidentally for computers to execute.
>((((((()))))()()))((((()()(()(())())))()((()
>let let* letrec begin
>car
>cdr
>cadr
>cdddr
>caaar
>cons
>>
>>110235453
I am the car of my cdr
>>
>>110236055
You are nil.
(equal (car nil) (cdr nil))
t
>>
>>110235224
There are newer versions for CS61A, CS61B and CS61C, but I don't see anything for CS3.
https://wiki.archiveteam.org/index.php/UC_Berkeley_Course_Captures
https://archive.org/details/ucberkeley-webcast

You might be a decade late on saving those. I did find this, though.
https://wla.berkeley.edu/v2demo.php?g=demos
It has a non-working link to watch all of CS3 at once. Maybe the latest PHP vulnerabilities can be used to poke around.
>>
>>110237054
lost to the sands of time
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010827.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010829.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010905.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010910.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010912.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010917.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010924.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20010926.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011001.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011003.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011008.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011010.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011015.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011017.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011022.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011024.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011029.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011031.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011105.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011107.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011114.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011119.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011121.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011126.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011128.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011203.rm
rtsp://webcast.berkeley.edu:554/bibs/older1/f2001/cs3/20011205.rm
>>
>>110235224
Maybe you can ask the guy who was in charge of the archive after Larry Weiner passed away.
https://people.eecs.berkeley.edu/~ddgarcia/
>>
>>110233527
;; Read SICP in Emacs via info.
(use-package sicp
:ensure t)


C-h R sicp RET

https://melpa.org/#/sicp
https://github.com/webframp/sicp-info
https://www.neilvandyke.org/sicp-texi/
>>
Jeaye is a fucking king and you should watch this till the end (please do not fast forward)
https://youtu.be/tHgApFhevrQ
>>
>>110237851
based and jankpilled
>>
qrd on the new canvas feature planned for emacs 32?
>>
>>110237137
Rip, I suppose I'll just read the book without the lectures then
>>
>>110237851
>using AOT gives access to webassembly
very interesting. I'm betting you could get JIT too, or maybe that is already supported, not finished with the vid yet
I have a feature planned for a lib of mine where I want to introduce webasm to browsers to offload some computations from the server, and I'm planning to use Rust for this, but being able to do this in a Clojure would be great
>>
>>110237851
very cool ending
>>
>>110237851
https://jank-lang.org/
>>
>>110233527
Does anyone own the SICP 2nd ed. hardcover? Do they even exist? It kind of seems like most of the copies floating around are the softcovers.
>>
>>110240267
The light purple McGraw Hill hardcover is the second edition and I have seen that one at a used bookstore, can't say I've ever seen the MIT press hardcover in person
>>
File: IMG_20261104_135111.png (549 KB, 1350x635)
549 KB PNG
>>110235453
>>
>>110241963
>Note that first is equivalent to car, and rest is equivalent to cdr. To make the programmatic distinction between cons access and list access, use car and cdr with pairs, and first and rest otherwise, as the following example shows:
Where is this from?
>>
>>110242599
Lisp Style and Design
>>
File: lsad.cover.png (1.36 MB, 990x1299)
1.36 MB PNG
>>110242785
https://fontsinuse.com/uses/73901/lisp-style-and-design-by-molly-m-miller-and-e
https://archive.org/details/miller-and-benson-1990-lisp-style-design

>Molly M. Miller is Manager of Technical Publications and Training for Lucid, Inc. She holds degrees in Computer Science, Mathematics, and English and has done graduate work in symbolic and heuristic computation at Stanford University.

>Eric Benson is Principal Scientist at Lucid, Inc. He is a graduate of the University of Utah with a degree in mathematics and is a co-founder of Lucid.
>>
>>110242785
>>110242824
Thanks, anon.
>>
>>110237851
>Would you believe it's jank?
>Jeaye Wilkerson (Clojure/Conj 2026)
Unironically the coolest talk I've seen this year, and we're almost at the end of the year. And it's delivered by a lisper who codes by hand. Go figure.
>>
Do you guys know if there's any elfeed-equivalent being developed for Lem? It's so hard to find stuff for it because of the retarded name. Also I can imagine the rss experience being really good since it's webview you can just pop to the website instead of relying on eww (unusable nowadays due to kikeflare).
>>
>>110244791
This should be organized into two distinct systems.

1. A headless system for downloading and archiving feeds into a database.
2. A client for interacting with that database.

System 1 doesn't have to be Lem-specific. It can be generally useful to anything that can talk to the database that it uses. Even Emacs could benefit from this. The data side of Elfeed was designed to keep data ephemeral, and it's terrible for people who want to keep archives of old feed entries.
>>
>>110237851
kino
>>
>>110237851
That was my first time hearing him speak. He's a great communicator. Also, I liked the surprise at the end.

I also liked his stance on LLM usage.
>>
>>110237851
This unironically lifted me out of depression.
>>
>>110237137
owari da
>>
Is AI good enough for "Hey Claude make me free Lispworks suite no mistakes" yet?
>>
>>110244791
How are you running Lem? I tried their nightly build on Linux, and all I got was a blank white window when I tried to run it.
>>
>>110249101
>can a lossy compressor not be lossy?
>>
>>110250503
just tell it to be lossless duh
>>
An external type system for Elisp:
https://github.com/benzanol/et
https://adamtillou.dev/et/
(defun add-numbers (n m)
(declare (et (n Number) (m Number) (@return Number)))
(+ n m))
>>
File: rss-vs-atom.png (191 KB, 987x975)
191 KB PNG
>>110244791
>>110246427
Given the differences between RSS and Atom, how should one handle feed data in a "unified" way? For example, it would be nice if feeds could be handled uniformily when saving their contents regardless of whether the original format was RSS or Atom.

RSS item element:
https://www.rssboard.org/rss-specification#hrelementsOfLtitemgt
Atom entry element:
https://www.rfc-editor.org/info/rfc4287/#section-4.1.2
>>
>>110217635
>despite being an entirely different type of AI
How exactly?
>>
>>110249101
You can literally just download the evaluation copy retard.
>>
>>110237851
Clojure mogs other Lisps so hard it's unreal.
>>
File: shot88.png (158 KB, 1920x1014)
158 KB PNG
>>110253823
Not that anon, but I downloaded the personal edition out of curiosity. I was able to use my existing quicklisp installation by typing this into the Listener (which is what it calls its REPL).
https://www.lispworks.com/products/lispworks.html#personal
(load #P"~/quicklisp/setup.lisp")

Its HEAP limits are really low, so there are a lot of things that are too big to load. However, my tiny scraping library was within the limits, and it worked.
;; https://ultralisp.org/projects/ggxx/scraper
(ql:quickload :scraper)
(in-package :scraper)
(process (page 'all-images "https://metacpan.org/"))


It has a lot of Emacs-like keybindings, but some things are different. For splitting windows, it uses C-x 5 and C-x 6 instead of C-x 2 and C-x 3. Also, the REPL (or Listener) can't be in the same frame as the code. It has to be in an independent frame. Data inspection works by double-clicking on values in the listener, but that also needs to be in its own frame.
>>
>>110217194
Why does Anya always look so clueless?
>>
>>110254286
She wants to bring a little joy into your life.
>>
>>110254209
does it have tetris
>>
File: emacs.webm (242 KB, 1280x660)
242 KB
242 KB WEBM
can someone tell me how does he mark the word like that? Whats the keypress? I don't think its C-Spc M-f, how do you mark the word infront without moving the cursor and seemingly little keystrokes? Sorry if this sounds retarded. But he always use Mark and its snappy which makes me think there's some other keypress he is using compared to the default starting with ctrl space followed by movement bindings
>>
>>110255792
It might be M-@ (mark-word).
>>
I found out about stable-diffusion.cpp just now. Turns out org-babel could potentially be a very good, fast interface to it. I even put the CLI options in its own section so I can quickly reference it any time. The only way it could be better is if I somehow had previews while it's genning.
>>
>>110255792
it's probably C-M-SPC

C-M-SPC runs the command mark-sexp (found in global-map), which is an
interactive native-comp-function in ‘lisp.el’.

It is bound to C-M-@ and C-M-SPC.

(mark-sexp &optional ARG ALLOW-EXTEND)
>>
File: file.png (46 KB, 182x237)
46 KB PNG
>>110254605
No, but you can try this.
https://glenniba.com/target-tiling.html
Unfortunately, the game didn't work for me. Some windows popped up, and I clicked on "Start Game", but nothing game-like appeared.
>>
>>110256186
>>110256860
These are useful. I didn't know about them until now.
>>
>>110255792
Also, sometimes he marks words or symbols with multiple-cursors package. I recommend you checking it out as well as expand-region package.
>>
>>110254605
usecase?
>>
>>110258559
it makes you faster at pattern recognition
>>
Bros, I'm demoralized due to gen AI. Whenever I feel like starting a script or project that I actually need, a voice inside me says: "why bother...this could be easily vibe coded, if not now, it will be trivial to do with a prompt in 3 months"
>>
Bros, I'm demoralized due to McDonalds. Whenever I feel like cooking, a voice inside me says: "why bother... I could easily just order a burger from mcdonalds"
>>
>>110259446
Bad analogy. It's like prompting for a $2000 royal dinner at Ritz and actually get delivered something that is 99% close.
>>
>>110259460
>a $2000 royal dinner at Ritz
lol no
https://www.youtube.com/watch?v=hGKDW9lYKmg
>>
File: segfault.png (225 KB, 1745x1030)
225 KB PNG
>>110217303
- I also upgraded Ubuntu from 24.04 LTS to 26.04 LTS.
- I fully expected the Emacs I compiled to break, but it initially worked just fine. (Surprisingly)
- That was until I tried to use vulpea-find to open an org file, and it would crash every time. ( Vulpea is an org-roam alternative. https://github.com/d12frosted/vulpea )
- I also discovered that I could induce an immediate crash if I tried to open an org file from the command line.
- Surprisingly C-x C-f on an org file after startup DID NOT crash.
- I usually start emacs with --daemon, but I stopped doing that so I could get a stack trace, and I noticed one of the file paths in the stack trace had something to do with treesitter.
- On a whim, I commented out the dolist that setup various treesitter modes, and the crashing stopped.
- I was going to try to recompile Emacs under whatever upgraded build tools Ubuntu 26.04 uses, but now that Emacs isn't crashing anymore, I'm probably going to hold off on that.

It's been a while since I've had Emacs segfault. In the screenshot, "prot" is my shell wrapper around Emacs that runs it with a specific config.
>>
>>110261954
tl;dr - Treesitter was making my compiled Emacs segfault after upgrading Ubuntu. Disabling treesitter stopped the crashes.
>>
gonna fpga my lisp and lisp my fpga
>>
File: 1792138857546662.jpg (313 KB, 1676x2048)
313 KB JPG
https://savannah.gnu.org/news/?id=10961
>Hyperbole buttons wrapped in double square bracket org link delimiters when in Org mode will activate properly with the addition of a single line to your Hyperbole use-package configuration:
>
        (push #'hyperbole-activate-button org-open-link-functions)

>Then you get all the Hyperbole button capabilities with the highlighting and the activation of Org links via {C-c C-o}. Of course, the Action Key will activate these buttons as well.
>Since Emacs Lisp sybmols are Hyperbole buttons, you can make links to both function and variable definitons just by wrapping their names in Org delimiters. For example, [[find-file]] or [[hsys-org-enable-smart-keys]].
that's pretty cool. good news for hyperbole users
>>
File: doomlauncher.png (70 KB, 392x844)
70 KB PNG
>>110262386
i actually really like that package but you could really tell that it was from the late 80's the last time i used it. it went around clobbering all sorts of built-in stuff and for some reason it comes with a bunch of unrelated (but kinda nice) functions, which is why people are so confused every time the author releases a new version of it. i had to remove it from my config eventually since it caused too many problems. implicit links really should be a built-in feature though. you can build all sorts of crazy shit with it, too. this was a launcher for doom wads.
>>
>>110217368
Not liking the new trend in epilepsy checks
>>
>>110217368
>Magnify
>Closer
>Zoom

Almost bricked my phone.
>>
>>110262422
>for some reason it comes with a bunch of unrelated (but kinda nice) functions
i've said it before, but it's a lot like the emacs of emacs packages
>>
>>110262456
It's not my style, but I am kinda curious about how he did that distortion effect. I didn't know you could do that with CSS.
>>
>>110253650
Nta but current ai is just statisticsslop, old ai had more variety in its approaches and was more deterministic.
>>
>>110254203
Clojure is not a lisp
https://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00215.html
https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg00954.html
>>
>>110264627
>(((stallmeme))) shitty opinions
Oy vey
>>
>>110264700
...and he's vaxxed, although he probably got the special kosher version. The vim nigger lover wasn't so lucky.
>>
>>110220169
I don't get why many programmers feel depressed about llms, I studied computer science and to me it's a useful tool, I don't see ai as replacing me but yeah I don't program to earn money, a skilled programmer will benefit from llms much more than a nocoder
>>
>>110264865
Nah he got cancer too, there was no 'privilege' shot, the point of the whole thing was that it was a gesture of subservience
>>
Although it's old, this is one of my favorite little packages. It helps me switch windows quickly.
https://github.com/deb0ch/emacs-winum
>>
>>110264604
Is searching a graph really AI
>>
>>110264968
Is matrix multiplication really AI?
>>
>>110264887
LLMs are not a tool though.
https://www.linkedin.com/pulse/ai-tool-rich-hickey-kjl8e
>>
>>110264700
>Complains about da jooos
>Codes in (((lisp))), a programming language created by (((John McCarthy)))
>Uses (((emacs))), an editor made by (((Richard Stallman))), the maintainer of which is (((Eli Zaretskii))), editor which has (((M-x doctor))), a (((psychologist))) chatbot invented by (((Joseph Wizenbaum)))
>Uses (((common lisp)))'s library (((clog))) by (((Rabbi Botton)))
>>
>>110264995
I didn't think of it that way...
>>
>>110265031
i do none of those things and write clojure using neovim
>>
>>110265031
Why do you shlomos always need to insert yourselves anywhere
>>
>>110265090
Which of those statements are objectively false?
>>
>>110265074
You use a wannabe (((lisp))) and a text editor by nigger lovers. You are literally a noahide goy
>>
>>110265093
>>110265100
You circumcised pubeheads are dumb lol
>>
>>110265100
>nigger lovers
Why are jews so racist?
>>
>>110265031
Sorry Yarvin, but this is not a safe space for you.
>>
>>110264700
His name is actually a macro that can be evaluated three times
>>
File: gigajew.gif (3.9 MB, 768x774)
3.9 MB GIF
>>110265031
Yes. I refuse to use inferior goylangs.
>>
File: xah.blog.png (15 KB, 811x94)
15 KB PNG
>>110217730
He made a minor update to his blog.
http://xahlee.info/emacs/emacs/blog.html
>>
Is there a way in emacs to match hidden text while doing query-replace, isearch or xref-query-replace-in-results? Turns out it actually skips hidden text like org mode link targets (!). I wanted to change a domain in some org notes and found out about this crappy behavior.

I tried the following settings:
- (setopt search-invisible 'open) (the default)
This works for collapsed org headings for instance, but it skips other hidden text like org link targets
- (setopt search-invisible t) finds all the matches, but it doesn't expand collapsed org headings
- (global-reveal-mode) works for isearch, but it's buggy as fuck in query-replace and similar. It also doesn't have the exact same behavior as search-invisible 'open. For instance pressing repeatedly C-f on a org heading goes inside the heading instead of going to the next heading.

I would just make org-link-descriptive nil, but I'm afraid that's not the only thing that fucks things up. What if there are more things that behave that way?

I think it's unacceptable that commands such as C-x p r can actually miss some matches. It gives a false sense of security. Why was this crap designed this way?
>>
>>110267566
evil's vim-style search and replace replaces hidden text.
- link :: [[https://www.youtube.com/@thearchiveinbetween/][@thearchiveinbetween]]

:'<,'>s/youtube/jewtube/g
- link :: [[https://www.jewtube.com/@thearchiveinbetween/][@thearchiveinbetween]]
>>
File: zaku stare.gif (980 KB, 500x375)
980 KB GIF
>>110267443
>I will use the power of AI to generate tasteless normalfag garbage
Neural networks really have a way of exposing how unimaginative their users are.
>>
>>110267780
Emacs sisters, how do we respond?
>>
>>110268061
Evil is part of the Elisp ecosystem, so it's okay.
>>
File: HNX0a8HaIAADLKx.jpg (122 KB, 912x1058)
122 KB JPG
Do any of you ever use the TeX input method while NOT writing LaTeX? It's kind of nice to be able to type \lambda to get λ or \pi to get π or \pound to get £.

C-x RET C-\ TeX RET (or M-x set-input-method TeX RET)
C-h I TeX RET (or M-x describe-input-method TeX RET)

It gives you access to a lot of useful unicode symbols. I wonder if there's much downside to using the TeX input method while writing code. My gut feeling is "no — it should be fine", but I haven't tried this for long yet.

PS: C-\ (or M-x toggle-input-method) ...to revert back to whatever input method you were using originally.
>>
>>110270753
Nice
>>
File: 1767634759608347.gif (710 KB, 300x300)
710 KB GIF
>>110217194
Oh hey, apparently emacs is actually pretty good as a grep interface, which makes it great for code exploration without depending on LSP. Kinda wow, honestly
>>110255792
>>110256186
>>110256860
You guys don't have expand selection installed?
>>
>>110272828
>You guys don't have expand selection installed?
I've never heard of that. However, I feel that Emacs can already expand selections out of the box. Both M-@ and C-M-SPC can be pressed repeatedly to select more text.
>>
>>110272828
>expand selection
Is this what you're talking about?
https://github.com/magnars/expand-region.el
>>
>>110273923
Yes
>>
>>110272435
I'm enjoying this.
¡eMacs is great!
>>
>>110274061
However, 4chan's Unicode filters are extremely homosexual .
>>
>>110273923
expand-region considered harmful, switch to expreg
>>
>>110274789
Harmful?!
>>
>>110268061
https://desuarchive.org/g/thread/110217194/#110270777
>>
>>110276396
Kill yourself
>>
>>110270753
I don't need it because I use the Greek kb layout besides the English one, κεκ.
But I remember reading somewhere that the right Alt can be used to type Greek letters, e.g AltGr + a gives you α. Which is why it is apparently denoted by AltGr on some keyboards. Maybe this was windows specific? But there should be a way to do something similar.
I use my right alt key as a composite key, which was useful for typing accented letters when I was learning French. Having 3 kb layouts at the same time is unusable. It also gives me easy access to €, which the Greek kb doesn't have, for some reason.
>>
File: file.png (278 KB, 1769x1307)
278 KB PNG
>>110225772
If I'm reading more than writing,
- I enable olivetti-mode
- M-x markdown-toggle-markup-hiding

I've also customized my faces so that markdown headings are bigger. Here's how this README.md looks as an example.
https://github.com/alex-hhh/map-widget/blob/master/README.md
>>
The Common Lisp Cookbook added a new section on CSV parsing and dataframes.
https://lispcookbook.github.io/cl-cookbook/csv.html
>>
>>110272828
>Oh hey, apparently emacs is actually pretty good as a grep interface, which makes it great for code exploration without depending on LSP. Kinda wow, honestly
expand on this
>>
I'm going to use sbcl for gamedev.
>>
>>110253823
Still a nonfree closed-source proprietary ꜱoyftware doe
>>
>>110283648
unfree sisters... our response?
>>
>>110284635
@grok vibecode a free as in freedom lispworks for this guy
>>
>>110283648
Ask claude to reverse engineer it for you.
>>
>>110284755
I cannot fulfill this request as it contains gay aids.
>>
>>110282158
the raylib bindings seem pretty good, you could probably make a good game with that.
>>
>>110286026
nah, fully custom engine for me and mine. i'm tech lead on a mid-sized team, anything less would be unprofessional. raw vulkan binds via sb-alien, interested to see how nice building a pipeline will be with the power of macros.
fyi raylib uses opengl which has all kinds of issues with nvidia cards on windows. it's really bad if you do anything non-trivial. our current C++ engine (also fully in-house) is ancient and uses opengl. i've seen more crashes inside of nvoglv64.dll than anywhere else. thanks nvidia!
>>
>>110284789
no tokens
owari da
>>
>>110279348
>https://lispcookbook.github.io/cl-cookbook/csv.html
nice
>>
Dick Mao's latest screed:
Emacs in the Age of Magic
https://commandlinesystems.com/magic.txt
https://www.youtube.com/@dickmao5177

https://www.youtube.com/watch?v=BuqZb6AvdCE
>>
>>110290939
i like this guy's writing style, who is this?
>>
# have to reboot for cve-2026-98432 fix
~ $ emacs-uptime
130 days, 7 hours, 59 minutes, 12 seconds
>>
>>110292051
damn
>>
>>110290939
commercial emac status?
>>
>>110290939
he's the goat
>>
File: xahjak.png (133 KB, 800x450)
133 KB PNG
>>110220169
wolframlang is the best lisp
>>
>>110297219
https://github.com/commercial-emacs/commercial-emacs
>>
>>110297219
actually multithreaded but unmaintained
https://www.youtube.com/watch?v=Ne6ZpeEop_4
>>
>>110303311
is this a fork?
>>
File: 1789826550292772.jpg (205 KB, 969x1200)
205 KB JPG
>>110265074
literally me frfr
btw I just replaced Rust's Refinery CLI for Postgres migrations with a Babashka script. I also support ephemeral migrations for things like schemas that contain only functions and can be recreated freely on application start.
>>
>>110306226
>that pic

lol germans are really like that. it's kinda bizzare, how can a group of people be such pathological bootlickers?

It's like the eternal kraut not only can't think for themselves, but can't even comprehend that other people don't think exactly like them

Explain yourself germans.

(I once had a German try to lecture me about how it's inappropriate to WASH YOUR OWN CAR because, apparently, it's illegal to do that in Germany)
>>
File: zeta.png (1.57 MB, 3200x3220)
1.57 MB PNG
Have any of you tried Zeta?
https://gitlab.com/patchwork1-ai/zeta

>It is a text editor. But it’s also a live Common Lisp environment with graphics, threads, an inspector, and a debugger. Built on Hemlock and WhateverCLIM, it runs with a native Cocoa interface on macOS — or in a graphics-capable terminal on macOS or Linux.
>>
>>110306306
https://www.youtube.com/watch?v=ntjoFy1I6TE
He's rendering graphics inside ghostty.
>>
>>110306306
benefit of this over emacs?
>>
>>110306306
SBCL?
>>
>>110306434
>benefit of this over emacs?
- I have to play with it more, but my first impressions are that it has really tight integration with SBCL. The REPL is setup well, and data inspector works intuitively enough.
- The UI gives you a lot of hints on what keys you can press in any given context.
- The way it handles conditions/exceptions is kinda novel. I was initially confused on how to use it, because the various post-condition options weren't automatically focused, but I thin k that's by design. (Clicking on it with my mouse ended up being easier.)
- Its markdown mode does something similar to Emacs' markdown-toggle-markup-hiding by default, but it's automatically applied (and unapplied) on a block level.
- It doesn't give you a lot of control over window splits. It splits windows how it likes to, and you have to live with it.
- For structural editing, it comes with parinfer mode, but you have to turn it on yourself with M-x Parinfer Mode.
- It also has a M-x Vim Mode. To switch back to the default Emacs style, you have to M-x Emacs Mode. (It doesn't toggle like in Emacs.)
- Some parts feel familiar to Emacs, but there are a lot of non-Emacsisms too in its UI. With that said, it doesn't feel janky. It "feels" solid but unfamiliar.

>>110308623
>SBCL?
The latest release bundles 2.6.6.
>>
>>110306306
It's slop.
https://www.reddit.com/r/ClaudeAI/comments/1xtv0sh/comment/19si17lbiao4i/?context=3
>>
>>110306306
just use neomacs like everybody else
>>
File: 1775330284691481.png (118 KB, 1349x717)
118 KB PNG
>>110306306
>>110313293
What are those? Can any of those do this?
>>
>>110316010
how?
>>
João Távora recently made a fork of company called hermit.
https://github.com/joaotavora/hermit
>>
>>110319191
very nice
>>
>>110299980
faaaking fantastic lang
>>
>>110319191
>clod generated readme
why would i use this over corfu
>>
>>110306306
second climacs is better
>>
>>110323275
>whatever emacs ships with
It's a relatively recent thing, and it needs a little config to be usable.
;; 1. Enable built-in inline completion (Emacs 30+)
(use-package completion-preview
:ensure nil
:hook (after-init . global-completion-preview-mode)
:bind (:map completion-preview-active-mode-map
("M-n" . completion-preview-next-candidate)
("M-p" . completion-preview-prev-candidate)
("M-i" . completion-preview-insert-word))
:custom
;; Minimum characters before showing a preview (default is 3)
(completion-preview-minimum-symbol-length 2))

- After you type two characters, a potential completion will faintly appear if any exist.
- TAB will select the default completion.
- M-n and M-p will let you cycle through the possible completions.
- It only seems to display one potential completion at a time (unlike company and corfu).
- There's no extra info either.
>>
>>110305053
Yeah, it's a fork that was started way back in 2022. It didn't really gain traction, but it was more of a conversation starter about for treesitter advocacy and improving the threading situation.
>>
>>110310605
>plebbit
>>
>>110323512
>It only seems to display one potential completion at a time

dead on arrival, why even bother waste time on this
guilemacs when? true elisp multithreading when?
>>
File: Capture.png (61 KB, 1207x533)
61 KB PNG
>>110323512
>>110325247
>It only seems to display one potential completion at a time
The completion at point function brings up a completions buffer where you can select a candidate. That's with zero config

>- There's no extra info either.
It works with marginalia
>>
File: file.png (2.01 MB, 996x1234)
2.01 MB PNG
(bump)
>>
>>110325247
>guilemacs when
stalled...
https://codeberg.org/guile-emacs/guile-emacs
>>
>>110325764
hm i see
>>
>>110330165
There's also this attempt.
https://codeberg.org/ramin_hal9001/schemacs
>>
https://www.youtube.com/watch?v=5ulMKWo2wJI
>>
File: (cirno-sussman).jpg (185 KB, 1280x833)
185 KB JPG
>>110333924
>scheme
>sicp
based
>>
>>110327883
I'm surprised phenibut didn't make the list.
>>
>>110233527
Yes but the JS edition
>>
>>110233527
I only watched the lectures and that was enough to provide a real and significant improvement to my practice from that point on.

However, I had ALREADY been programming personally and professionally for something like 5-10 years when I decided to take the lectures.

I was under the impression the book's value is mostly the exercises, and information that pertains to beginners and is more math and LISP focused, while the lectures also cover the more general concepts and practice.

I could be completely wrong on that, since I never read it. That was my understand and thus my rationale for skipping the book.
Not saying you should or shouldn't.
I mainly just want to say that the lectures alone were still valuable to me, whether the book is or is not.
>>
>>110337962
>JS edition
why doe
>>
File: bqkM5YS.png (354 KB, 500x430)
354 KB PNG
Has anyone here done the Systematic Program Design course on edX? I finished it last spring in my free time, and I thought it was a neat introduction to both Lisp and programming in general.
>>
File: usecase.gif (3.02 MB, 560x640)
3.02 MB GIF
Thoughts on autolith?
https://autolith.rocks/
Usecase?
>>
>>110340465
I assume it follows HTDP?
>>
>>110180415
>>110340501
>you dont have to type /reload-plugins constantly
>image/world system where you have your own image that applies somewhat durably on top of the upstream (vaguely similar to CADR/Genera)
>lisp
tbqh there is not much difference between various harnesses beyond defaults and how you want to extend them. You could have claude code change its own minified js to modify it if you wanted. The usecase is that it is the most solid lisp harness to date. and being written in lisp it is better than any harness written in any inferior language.
>>
has anyone managed to get in to the symbolics hobbyist program (https://www.symbolics.biz/license/friends.html)? I am curious how complete the image is. I managed to find an opengenera2 image elsewhere on the internet a while ago but its world is not complete (iirc missing a lot of fundamental stuff even like concordia?). It would be really cool to have a full up to date world with all the bells and whistles.
>>
>>110313293
>neomacs
>written in Rust
kek
>>
>>110233527
Yes. Midwits like to pretend otherwise, but it's not even particularly hard.

On the other side of the fence, there are also posers who insist you have to do literally every exercise, ignoring that some of them are open problems with no known solution yet.

Even Knuth, at the beginning of TAOCP, states that while doing textbook exercises is essential for proper understanding, nobody is expected to do them all.
>>
>>110217689
>Extreme cope. If you buy the premise of LLMs, everyone becomes a "common lisp programmer" and you're not special for knowing how to code in cl manually. You can just ask the LLM to use common lisp and it would do it for you.
cope. That is marketing for LLMs, not what people who use them actually think. LLMs are obviously a force multiplier, but they still require containment and effort by a human and it will always be that way, otherwise the llms would refuse to write javascript slop.
>>
>>110217689
>Extreme cope. If you buy the premise of LLMs, everyone becomes a "common lisp programmer" and you're not special for knowing how to code in cl manually. You can just ask the LLM to use common lisp and it would do it for you.
This doesn't refute the post you're replying to in the slightest.
>>
>>110340501
very cool project
>>
>>110340551
It does, yes.
>>
>>110340793
GNU Emacs is written in C...
>>
This is something I just whipped up to combine locate-library with dired. Instead of just printing the path of the library in the minibuffer, it'll put you in dired in the containing directory. It's useful for exploring your Elisp library collection.
(defun dired-locate-library (library &optional nosuffix path interactive-call)
"Open `dired' to the directory containing LIBRARY."
(interactive (list (read-library-name) nil nil t))
(dired (file-name-directory (locate-library library nosuffix path interactive-call))))

It could probably be improved by putting the point on the file that locate-library returns, but it's a useful first pass (for me).
>>
File: 1792128688226166.jpg (88 KB, 800x600)
88 KB JPG
>>110344874
...unny
>>
>>110345975
Silence, pedo.
>>
>>110217689
>If you buy the premise of LLMs, everyone becomes a "common lisp programmer" and you're not special for knowing how to code in cl manually.
98 of every 100 programmers out there are unable to understand what is multiple dispatch or a meta-object protocol.

Your argument is invalid.
>>
>>110346273
Silence, namefag.
>>
>>110310605
>It's slop.
It might be slop but since Emacs runs in Emacs Lisp one sooner or later runs into the typical slowness of that runtime.

If it is really a workable Lisp IDE and runs on a fast Lisp implementation (like SBCL is), i'm all in, even if it has been vibe coded.
>>
I might try this out later.
It's a novel way to explore github (and codeberg) repos in Emacs without cloning them.
https://github.com/agzam/remoto.el
>>
>>110306226
that crossing the road shit happened to me
almost a decade has passed and i still cant believe it
>>
>>110233527
starting to read it for the first time, already on the verge of getting filtered in chapter 2. Am i just going to have to learn Calculus before trying this again?
>>
>>110332880
sadly stalled too
>>
>>110319191
pretty gud
>>
>>110346562
>https://github.com/agzam/remoto.el
nice emac package ty
>>
File: 2026-11-16_15-59-39.png (47 KB, 1916x1012)
47 KB PNG
Suppose you have the following Elisp function.
(require 'cl-lib)

(cl-defun foo (a &key (b 5))
"Multiply A × B."
(* a b))


Is there a way to pass the optional keyword argument :b in Eshell syntax? Here's the error I get when I try.
~ $ (foo 5)
25
~ $ foo 5
25
~ $ (foo 5 :b 9)
45
~ $ foo 5 :b 9
foo: Keyword argument ":b" not one of (:b)
~ [1] $
>>
>>110353828
you have to (quasi)quote the :b. eshell interprets it as a string as you can tell from the error message it gives you
λ foo 5 `:b 9
45

seems like an oversight. somepony should send a bug report
>>
>>110354926
Oh man. Thanks for figuring that out. I didn't think I was going to find a solution.
>>
>>110344874
Yes, and it is the worst part of emacs. Not to mention that rust is the javascript of systems programming.
>>
>>110355982
In the era that GNU Emacs was born, C was the only viable option.
>>
Have you ever wanted to open an eshell in a specific directory? Here's a function I wrote recently to do that.
(cl-defun eshell-in-dir (dir &key (buffer nil))
"Force the current eshell session to cd to DIR."
(interactive "DDirectory: ")
(message "dir %s buffer %s prefix %s" dir buffer current-prefix-arg)
(eshell (or buffer
(when (equal (type-of current-prefix-arg) 'integer)
current-prefix-arg))) ; Switches to or creates the eshell buffer
(eshell-kill-input) ; Clears any half-typed commands
(insert (concat "cd " (shell-quote-argument (expand-file-name dir))))
(eshell-send-input))


- If you just run `M-x eshell-in-dir RET`, it'll prompt you for a directory.
- If you use multiple eshell instances, you can use a numeric argument to specify which eshell instance you want to open.
- For example, `C-u 2 M-x eshell-in-dir /tmp RET` will open *eshell*<2> and put you inside /tmp.
- The main way I use this is in org documents with elisp links, so I don't even have this function bound to a key.

- [[elisp:(eshell-in-dir "/tmp")][eshell in /tmp]]
>>
Anyone here using gptel for general LLM stuff? I've been using Pi.dev for a while but since I use Emacs, I looked into the LLM clients and gptel seems really good.
I'm not a software engineer so I don't code much, so the ability to use it everywhere in emacs instead of copy-pasting is appealing to me.
>>
>>110356913
It's kinda old school isn't it, compared to just using claude or opencode? Anyway, I'm just messing around trying to build an opencode client in emacs using opencode itself, lol
>>
>>110356913
From the little I know, gptel is rather basic queries indeed, like using the web interface of ChatGPT or Claude or whatever.
The advantage is that, on top of having a dedicated buffer in Emacs, you can also use it everywhere in any other buffer like you said, which is nifty.
But from my very limited use of it, I prefer to use the dedicated buffer because LLMs can be notoriously long-winded, and I don't like their "overly positive and polite" prose not going to the point.
It's very easy to set up and there is this nice 15 minute long tutorial video: https://www.youtube.com/watch?v=bsRnh_brggM.

For real agentic programming, there is agent-shell and ECA.
I tried to set it up agent-shell with Opencode because I only hear good things about it on orange website, but I had some issues with Openrouter authentication so I guess I'm too retarded to use it.
For now, I only dabble lightly with vibecoding so I don't feel the need to upgrade past the Opencode TUI, but eventually I will try it for a later project.
ECA seems to have be organized not unlike Slime/Sly so it could be interesting too.
>>
>>110357090
>From the little I know, gptel is rather basic queries indeed, like using the web interface of ChatGPT or Claude or whatever.
It seems capable of everything it should, but it doesn't really ship with any tools. I checked out gptel-agent and it on the other hand seems bloated (with subagents and such). I think I'll write the basic read, write, edit tools + elisp introspection myself.
>But from my very limited use of it, I prefer to use the dedicated buffer because LLMs can be notoriously long-winded
Yes, that's true. I don't see that much value in calling it inside an org-mode block. I mean, I have to delete almost everything it outputs.
I do like the workflow of having all the LLM output inside of the buffer. I can freely edit it (including the LLM response!), which is a capability that no chat interfaces offer. Opening a buffer and making it write out some specific file is also a nice workflow.
It doesn't help that much with the workflow of "Program <some project>" where the agent writes 30 different files and you don't really care much about it, but that just means its equal grounds with everything else in that field.
The "rewrite" function seems interesting, but the execution is pretty bad. I think I'll write my own version that does something a bit different, like opening a new buffer, putting the previous buffer in context with the region repeated after a prefill, and adding a toolcall that proposes a new version.

The only part I actually dislike is that there's no separation, and I can't do two separate context+system prompt pairs in one emacs. This seems fixable since according to the dev, the entire gptel-request package is stateless. I might try to modify it a bit so it keeps some state if the file is in a project or something like that.
>>
>>110217689
>Extreme cope. If you buy the premise of LLMs,
I don't
>everyone becomes a "common lisp programmer" and you're not special for knowing how to code in cl manually.
I don't do it to feel "special," faggot. I like writing Common Lisp, I don't want a clanker to write it for me. Fuck off back to -> /vcg/ cunt
>>
>>110357090
>ECA
?
>>
File: 1793787642103444.jpg (59 KB, 648x680)
59 KB JPG
>he uses classes/objects/places that get updated
https://www.youtube.com/watch?v=-I-VpPMzG7c
>>
is there a patch i can install for stumpwm for it to support loading separate groups for each monitor? or will i have to go old school with xorg?
>>
>>110364576
No, this is a fundamental thing about how stumpwm works, unless you want to do multihead x11

You will get used to it tho
>>
>>110361305
I'm guessing it's this:
https://eca.dev/
Editor Code Assistant
A free, open-source, editor-agnostic tool that connects LLMs to your editor through a well-defined protocol — giving you the best AI coding experience everywhere.
>>
>>110362950
In your own words, what is bad about places that get updated?
>>
File: 1791750004767426.jpg (363 KB, 1200x1567)
363 KB JPG
>>110366081
watch the fucking video, asshole. I'm not here to act as Rich Hickey's messenger boy.
>>
>>110365446
https://github.com/editor-code-assistant/eca
>written in clojure
based
>>
>>110362950
Pure functional programming is fundamentally retarded since state is a necessary part of all software. It's also the natural way that computers work. Each assembly instruction modifies state.
His talk is incredibly retarded btw, he's basically saying "stop using hammers, nails were invented thousands of years ago, we use screwdrivers now". Just completely braindead.
>>
>>110370090
t. screwdriverlet
>>
>>110370090
>Pure functional programming is fundamentally retarded since state is a necessary part of all software.
What are atoms, agents, and refs in Clojure, but ways of dealing with state (in a superior manner to what your troglodyte ass must do with locking mechanisms)?
>It's also the natural way that computers work.
The purpose of a programming language is to make the computer your bitch by forcing it to do what you, a human, want. If we trod the path you are recommending, then we ought to be manually writing jumps and other shit because that is how computer ackshually work.
>His talk is incredibly retarded btw, he's basically saying "stop using hammers, nails were invented thousands of years ago, we use screwdrivers now". Just completely braindead.
What a retarded statement. He's claiming, quite soundly btw, that mutable objects are simply not how the world works, and that writing most programs, which deal with the world, via the use of mutable objects is an incorrect application of abstraction that continuously bites programmers in the ass the moment that they want to do things in parallel, whether that be via threading, separate OS processes, or distributed across machines/networks.
But of course, you want to talk about hammers, nails, and screwdrivers, because you are too fucking inexperienced to know actual jargon.
>>
>>110369311
clojurechads eating good lately
>>
>>110217194
do you guys think using right control and alt keys would be better on emacs? you can press them with your thumb and it makes some keystrokes easier
>>
>>110353828
>>110354926
>>110356527
Good stuff. I like reading your eshell posts. Don't stop.
>>
>>110372753
I do wish there were more eshell appreciators. It's a fun shell to use.

>>110356527
This function is useful even if you only use one eshell instance at a time, because if you `M-x eshell-in-dir`, it defaults to the value of default-directory, and it'll `cd` you there.
>>
>>110372682
>right control and alt keys
I forget those keys are there. They're probably the least touched keys on my keyboard. I probably should use them more, because they could make certain combinations easier to type. On my keyboard, I could use my right thumb for right alt, but right ctrl would have to be done with my pinky.
>>
>>110323259
how so?
>>
>>110301936
now i need doom commercial emac
>>
File: emacsconf.png (33 KB, 256x256)
33 KB PNG
EmacsConf 2026 is coming up in less than a month.
https://emacsconf.org/2026/
December 12 and 13, 2026 (Sat-Sun)
9 AM - ~5 PM America/Toronto (UTC-5)
>>
Common Lisp libraries tested against multiple implementations.
https://cl-test-grid.common-lisp.dev/
https://cl-test-grid.common-lisp.dev/library/
>>
>>110380436
Interesting
https://emacsconf.org/2026/talks/rau/
>>
>use emacs a lot today
>pinky starts hurty
haha, is just like the meme guys!!
>>
>>110386519
never happened to me
t. ctrl:nocaps enjoyer
>>
>>110385912
The author is pureblooded.
https://blog.koch.ro/posts/2022-02-26-corona-plandemic.html
>>
>>110386519
I use the side of my palm, but there is no reason why this should happen anyway with most keyboards having modifers on both sides.
>>
>>110386519
>split keyboard with thumb clusters
problem solved
>>
>>110217194
>small language models
>PyTorch, I am your father
>>
I want to redesign my computer case, smart fellas and
fart smellas
>>
File: Chopin-at-25-in-1835.png (772 KB, 1000x1000)
772 KB PNG
>>110386519
i play piano, nigga
>>
>>110265031
(come home, (((kike man))))
>>
File: Common-LISP-Touretzky.jpg (33 KB, 318x400)
33 KB JPG
>>110391296
now where have I seen that hypercube before
>>
>>110386773
>>110390663
>>110391363
i am thinking of enabling sticky keys unironically
>>
File: Space-cadet.jpg (1.29 MB, 2001x773)
1.29 MB JPG
>>110386519
Here is a tip: use emacs as though you were using a space cadet keyboard. When you press a key that needs a modifier, move the alternate hand so that the mod row is the homerow for that hand and use it to press the modifier. You can occasionally use your thumb to press alt with less movement if you need and your spacebar isnt giant. Somehow the retarded method of flexing your pinky to hold control became the norm but it is not the right way to do it. There is a reason why most chords with mods primarily rely on keys on one side of the keyboard.
>>
>>110389040
based
>>
>>110346562
>https://github.com/agzam/remoto.el
There's a talk on it, and video + transcripts already exists.

>>110380436
https://emacsconf.org/2026/talks/remoto/
>>
>>110392287
>rub out
>>
>>110391296
LispM?
>>
>>110392287
I like all the mathematical symbols that are available.
https://en.wikipedia.org/wiki/Glossary_of_mathematical_symbols
>>
File: rubout.png (1.22 MB, 2048x1365)
1.22 MB PNG
>>110397923
https://oblotzky.industries/products/gmk-mtnu-dasher
>>
File: HXqgudDWUAAocFO.jpg (276 KB, 1536x1024)
276 KB JPG
>>110400249
connection machine from Thinking Machines

quite the history
https://youtu.be/SiEAs2kqjBU?is=W8ZnTdLFfNNRw1BU

Every MIT celebrity egghead makes a cameo

Claude Shannon, Feynman Sr and Jr, Marvin Minsky, Peter Griffin and even Batman! Ok not those last two but this rabbit hole is the ancestry shift from GOFAI to ML (good ol fashioned artificial intelligence to machine learning) where the equations were hammered out in the abstract before becoming the modern Pytorch GPU stack.
>>
>>110397923
"Rub out" should have won, "back space" is less accurate of a description.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.