101010.pl is one of the many independent Mastodon servers you can use to participate in the fediverse.
101010.pl czyli najstarszy polski serwer Mastodon. Posiadamy wpisy do 2048 znaków.

Server stats:

506
active users

#elisp

1 post1 participant0 posts today

I've been debating the usefulness of org-roam-dailies. Much happier since switching to one long log/journal file with datetree rather than disparate little dated files all over the place. It's easier to review/show todos in org-agenda. Some simple code for a capture template if you wanna try it out..

(setq org-roam-dailies-capture-templates
'(("d" "default" entry
"* %<%H:%M> %?"
:target (file+datetree "log.org" week))))

I'm trying to write an org-capture-template and supporting functions for it, for a blogging setup that uses individual org files within a specific directory for posts. i want this to work such that I get prompted for a title, which is used to generate the file name, the title metadata of the file, and a description, which is also used to generate another metadata variable. Based on this answer, I've come up with this:

(defun org-new-blog-post ()
(setq date (format-time-string (org-time-stamp-format :long :inactive) (org-current-time)))
(setq title (read-string "Post Title: "))
(setq fname (org-hugo-slug title))
(setq description (read-string "Description: "))
(expand-file-name (format "%s.org" fname) "~/git/personal/blog/org/blog/"))

(setq org-capture-templates
'(("n" "new post"
plain
(function org-new-blog-post)
"%(format \"#+title: %s\n#+date: %s\n#+description: %s\n\n\" title date description)")))

But this doesn't seem to work, and it just prints the output in the buffer I started with. how do I make this work?

I understand that setting global variables in a defun is bad practice but somehow using a let form doesn't allow me to reference those variables in the capture template.

#programming #emacs #lisp #commonLisp #elisp #eev #engineering #computerScience #history
My short but richly referenced bit on the popularity of lisp in the modern era, ranging from 2000 to 2024.
screwlisp.small-web.org/progra

I had /meant/ to write something completely different, but this is where we got. I hotly anticipate your flames.

TANGENTIALLY #ELS2025 european-lisp-symposium.org/20

I planned to connect to #lispgamejam and totally missed it. Try the submissions though! itch.io/jam/spring-lisp-game-j

screwlisp.small-web.orgPopular and unpopular lisp

#programming #engineering #emacs #eev #eepitch #markdown #md #intro #howto
screwlisp.small-web.org/progra
Capturing how I have started programming recently. In an md markdown document, I just weave in eev's red star lines and pitch other lines. Since eev 'inhabits other things' naturally, eepitch makes plain markdown into a powerful interactive evaluation mode.

The eepitching includes #shell #lisp #elisp #commonLisp and my #softwareIndividuals #KRF in the kind of freeform medley it lends itself to.

Hey fedi friends, I used to have some custom keyboard shortcuts in my Magit menus in #Emacs when it used "transient", and now it … doesn't use that, I don't think, and my old #ELisp broke and I do not want to reverse engineer the whole thing, I am just … tired. Does anyone happen to know off the top of your head how to add, like, "P" to the "P" menu in magit-status in a way that works on current (20250401.1753) magit?

Since I already complained about (local) #AI and failing to generate #Elisp code for me: #ChatGPT successfully helped me write two elisp functions that are actually working today.

Seems like the current cloud AI is really better than my local AI approaches although privacy as well as the environment are harmed. 😔

#irreal and @bbatsov about #Emacs startup time: irreal.org/blog/?p=12903

I, too, am totally convinced that it really doesn't matter if it is one or sixty seconds.

However, if your bootup time is much longer than mine (15-30s once a week) then you most probably have room for improvement (if you want). Consistent use of #usepackage with dependencies and "defer" did help on my side.

My config has 7724 lines of #elisp (19851 including #orgmode comments): github.com/novoid/dot-emacs/bl

irreal.orgEmacs Startup Time | Irreal
Continued thread

Ooh it gets better. When I said there is no string-builder the response (emphasis from Gemini) was:

"While string-builder /is/ part of Emacs since version 27.1, if you're encountering issues there might be something unusual in your specific environment or load path."

Translation: Stupid meat-bag

🤣

Some important acronyms to know. Feel free to add some of your own.

Lisp:
Logic In Symbolic Paradigms
Lisp Inspires Strange People
Lisp Is Secretly Perfect

Python:
Pseudocode You’d Teach Hordes Of Newbies
Probably You'll Try Harder On Next-lang
Python: You'd Think Hardware's Optional Now

Emacs:
Editor Maintained As Community Shrine
Ecosystem Mainly Acquired by Cult Sysadmins
Emacs Means Always Configuring Something

Vim:
Vaguely Interactive Misery
Very Irritating Macros
Vim Isn't Modern

Linux:
Legendary Interface, Notoriously Unforgiving eXperience
Loyal In Nature, Unmatched eXtensibility
Linux Is Natural Under X

#emacs#vim#linux