Toots for lhp@mastodon.social account

Written by lhp on 2025-01-17 at 21:21

I am going to add XDG application lookup into the core C lib. It's not fun to have to worry about things like that when you just want to write a WM. Also it requires parsing an .ini-relative which just isn't very nice to do in scheme since it lacks a lot of string manipulation stuff.

But first I'll finish this lovely bowl of pasta I just cooked. Tomato and ginger is a lovely combination.

=> More informations about this toot | View the thread

Written by lhp on 2024-12-29 at 01:35

Hmm... the security implications of having a REPL server for your WM with a socket in a predictable loacation (right now /run/user//wayland-X-antares, right next to the wayland socket) isn't exactly great. Although if an application can access that socket, probably it can do worse things already?

Most likely the repl server will be a default-off optional feature.

=> More informations about this toot | View the thread

Written by lhp on 2024-12-28 at 17:08

A live REPL attached to a running window manager. Eventuallly you'll be able to change window management behaviour without even having to restart the window manager.

[#]riverwm

=> View attached media

=> More informations about this toot | View the thread

Written by lhp on 2024-12-24 at 15:20

This is:

It's all based on hooks, so eventually the WM could just load an init.scm from your config where you can overwrite whatever handlers / functions you want. Kinda like how you can redefine emacs functionality.

And you could also just use the library itself and wrap it in whatever language you want (as long as it has a C FFI).

=> More informations about this toot | View the thread

Written by lhp on 2024-12-24 at 15:16

connecting a WM written in guile scheme to river's rwm branch 👀

(prototype, doesn't actually do anything yet)

[#]riverwm

=> View attached media

=> More informations about this toot | View the thread

Written by lhp on 2024-12-11 at 11:40

New blog post: Painless multi-account emailing with imaps and smtp in gnus in #emacs

The "painless" is of course a bit of a joke; I hope by sharing how I made it work other people are spared a few hours of config-fiddling. Once you know how it works, it is actually somewhat simple.

https://leon_plickat.srht.site/writing/painless-mail-imaps-smtp-gnus-emacs/article.html

=> More informations about this toot | View the thread

Written by lhp on 2024-12-11 at 03:12

Ok you can kinda hack it using gnus-posting-styles, but it's not exactly ideal...

=> More informations about this toot | View the thread

Written by lhp on 2024-12-11 at 02:37

On a side note, it always surprises me how bad emacs mail handling actually is, considering how over-represented academia is in the user base and how much you need to deal with mail in a university setting

=> More informations about this toot | View the thread

Written by lhp on 2024-12-11 at 02:32

Ideally in the message mode buffer I just change the address in the "From: " field and it switches to the correct smtp config, but AFAIK that would only work if that from-address equals the login field in the authinfo file, which is simply not the case...

=> More informations about this toot | View the thread

Written by lhp on 2024-12-11 at 02:29

Having fun with #emacs and email...

I have three mail accounts on a single mail server, meaning the smtp / imaps address for all three is equal. Only the login details and the addresses are different. For two of the accounts, the login user name does not equal the mail address.

Viewing mails via imaps in GNUS works flawlessly.

Sending does not; I don't think the authinfo file format is expressive enough to handle this use case? I can send from one account, but I need to send from all three...

=> More informations about this toot | View the thread

Written by lhp on 2024-12-05 at 03:13

Release alert: wlopm version 1.0.0 is out now. No feature changes, just minor fixes.

[#]wayland

=> More informations about this toot | View the thread

Written by lhp on 2024-12-05 at 02:29

Wrote a quick'n'dirty #emacs lisp function to import appointments exported from StudIP (used by some universities for course management) to my org-mode agenda.

=> View attached media

=> More informations about this toot | View the thread

Written by lhp on 2024-11-19 at 21:59

Gave the software index on my website a small update, I think it looks much nicer now

https://leon_plickat.srht.site/software.html

=> More informations about this toot | View the thread

Written by lhp on 2024-11-18 at 22:42

Annoyed by your windows being messed up by random buffers opening in them? #Emacs has the feature of "dedicated" windows, which will not fall victim to implicit buffer switching. With a little function and a keybind, you can toggle the dedication setting for individual windows.

Note that I force a mode-line update in the function because I configured my mode-line to indicate whether a window is dedicated and a change in dedication status does by default not trigger a mode-line update..

=> View attached media | View attached media

=> More informations about this toot | View the thread

Written by lhp on 2024-11-16 at 20:13

whats this? a wayland screansaver of course!

=> View attached media

=> More informations about this toot | View the thread

Written by lhp on 2024-11-11 at 03:47

Initially starting out as a fun hack in between talks at a conference, iwd.el is now - thanks to a contributor - reasonably functional and can be used to connect to wireless networks via #emacs (if you are using iwd standalone).

https://git.sr.ht/~leon_plickat/iwd-el

=> View attached media

=> More informations about this toot | View the thread

Written by lhp on 2024-10-14 at 15:21

Does anyone have recommendations for a reasonably priced synth with 64 step sequencer and clock sync?

Or alternatively a decent midi synth to use with an external sequencer (I am thinking of getting the arturia keystep since I like the UX/UI of the drumbrute and suspect the keystep will be similar)?

I am new to synths and the range of possible choices I could find is somehow both over- and underwhelming.

(I am not (yet) willing to get into modular/eurorack stuff)

=> More informations about this toot | View the thread

Written by lhp on 2024-09-10 at 15:46

I am curious: Is there any #lisp with syntax sugar for methods?

Like (object.method argument) instead of (method-for-object object argument)?

I like mixing in a tiny amount of OOP via GOOPS once in a while, but it's usually pretty verbose.

=> More informations about this toot | View the thread

Written by lhp on 2024-08-23 at 13:08

[#]zig 's Mutex deadlock detection is a neat idea, but a bit trigger happy. I now have code that works perfectly fine in release builds but panics in debug builds...

Maybe there should be some sort of "yes I really do know what I am doing here" option for that.

=> More informations about this toot | View the thread

Written by lhp on 2024-08-04 at 22:14

Typing 'make' into a shell is muscle memory. So this little eshell function is a pretty decent QoL improvement. #emacs

EDIT: Updated thanks to some hints I got in the replies :)

=> View attached media

=> More informations about this toot | View the thread

=> This profile with reblog | Go to lhp@mastodon.social account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/110102225944429897
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
510.835589 milliseconds
Gemini-to-HTML Time
9.378966 milliseconds

This content has been proxied by September (ba2dc).