Fork me on GitHub
#emacs
<
2023-11-27
>
Colin (fosskers)04:11:49

Transducers have been ported to Emacs Lisp: https://melpa.org/#/transducers

❤️ 13
🎉 7
🛤️ 1
Colin (fosskers)04:11:58

The API is based off that of the https://quickdocs.org/cl-transducers , but everything is there that you'd expect. It even provides built-ins for operating over buffers and files as "sources" (i.e. do something to every line in this giant file).

Olav Fosse17:11:03

What ai workflows do people here use?

4
nikolavojicic23:11:42

M-x doctor

😂 13
Olav Fosse04:11:22

this one never gets old huh 😔

danielneal10:11:18

I use gptel with the openapi ai and the latest model

danielneal10:11:14

(straight-use-package 'gptel)
;; set configurations
(setq gptel-api-key "")
(setq gptel-model "gpt-4-1106-preview")
(setq gptel--system-message
      "You are a helpful assistant in Emacs.
       Respond concisely, to the top of your intelligence.
       Minimize exposition. Avoid caveats or disclaimers.
       Think from first principles, do not parrot common beliefs. 
       Cite your sources.")
is my setup

👍 2
1
vemv15:11:18

Have you gotten it to insert code into a clojure-mode buffer? ...I would love to have an nrepl middleware that plugged https://github.com/openai/whisper into a LLM backend. Not only it would seem comfy but also greatly simplify the UX, as I'd imagine it.

danielneal16:11:35

I haven’t tried that, I’m quite happy having it in a chatgpt buffer, but that’s because I do a lot more general questions than specifically code generation.

danielneal16:11:45

Sounds like you have a specific use case in mind

vemv16:11:54

> Sounds like you have a specific use case in mind Sure, I'd like to dictate a request for code within an open .clj buffer, and have it inserted directly at POINT Perhaps it would be first be tentatively inserted as an overlay, then you could confirm, or request tweaks

1