Sign in

jd

@jd.codes
737 followers 87 following 83 posts

Programmer by day, father all day, programmer later on at night, & gamer even later at night. ❤️ Ruby, Python, and Elisp (and a little bit of Go maybe) jd.codes

PostsRepliesMedia
jd @jd.codes · 13/11/2024
The tl;dr is that using the `transient-define-prefix` macro makes it easy to build a quick transient menu to do whatever you need a menu for. Taking and parsing arguments (or 'infixes') is straight forward. #emacs
A code example of using the Emacs macro transient define prefix in order to define a simple transient menu that contains 2 infixes. One infix is a boolean switch the other is an infix that will trigger a prompt for a string. If switch is true, it will use the Emacs message function to post a message to the user with the provided name.
000
jd @jd.codes · 05/11/2024
Almost time to start spam refreshing this.
2024 Presidential election results by the New York Times, which aggregates all electoral college votes for each major party candidate. No votes have been allocated yet.
020
jd @jd.codes · 03/11/2024
Was on a heavy Brandon Sanderson kick this last half of the year. Im very excited for Wind and Truth to come out. #booksky
Reading stats on 21 books I’ve read for this year, almost all of which were written by Brandon Sanderson.
000