fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#exwm

4 posts3 participants0 posts today
Continued thread

This is a very normal amount of `gitk` windows for me to forget that I have open. And that's just the ones that I launched from that terminal, there were also a few launched from other terminals.

Continued thread

Sen verran Emacs akkunamanagerina kiinnosti, että annoin idealle päivän harrasteajan. Näyttää sen verran kätevältä, että voisin hyvinkin ottaa käyttöön. Toki hiukan erilainen tuntuma kuin 30 vuotta käyttämässäni Fvwm-akkunamanagerissa. Mutta sitäkin käytän hiiren sijaan enimmäkseen näppäinkomennoilla, joten ei EXWM nyt niin kovin erilainen ole. Mutta katsotaan nyt, mitä hikkaa tulee, kun sen ottaa käyttöön koneessa, jossa on kaksi erikokoista näyttöä.
#Emacs #EXWM #X11 #Fvwm

A few years ago I did a quick analysis of my histfile and horrified my coworkers that ` rebase` was my most frequently used command.

It's not on top, but It's still in the top 10. (I think gitk getting so much higher up is that with I loose track of windows more than I did with , so I just open a new one, and end up with 15 open gitk windows before I realize this and run `killall wish`).

(HISTSIZE is set to 50,000 commands, which comes out to about 8 months)

Continued thread

I set up ‘home-msmtp-service-type’ with ‘password-eval’ set to “secret-tool lookup Title smtp.example.org” such that it would ask KeepassXC for the SMTP password, and then adjusted Gnus accordingly.

Problem is I’m using #EXWM so when I hit C-c C-c, Emacs goes on to spawn ‘msmtp’, which in turn leads KeepassXC to try to open a window, which hangs because Emacs is stuck in ‘waitpid’ waiting for ‘msmtp’ to complete.

Any known workaround, hackers?

After my brief #exwm adventure last week I realized that #emacs' tab-bar-mode just adds clutter and promotes a non-ergonomic workflow, so I got rid of it and rely on winner-mode and C-x b instead to navigate the open buffers.

Oh my!! This is a life-changing #Emacs #TIL.

tl;dr:

```
(setq save-interprogram-paste-before-kill t)
```

I live in Emacs and #EXWM. I can copy text from anywhere (including graphical applications) and yank it to an Emacs buffer. However, when text was copied from a graphical app, it could then get overwritten (and lost) by a subsequent Emacs kill. `save-interprogram-paste-before-kill` makes the kill/yank behaviour consistent across buffers and graphical applications.

Thanks @srijan for the original post and @sacha for RT. 🙏

indieweb.social/@srijan/113193

Indieweb.Social Srijan Choudhary (@srijan@indieweb.social)#Emacs #TIL : I learned about `save-interprogram-paste-before-kill` - which saves the existing system clipboard text into the kill ring before replacing it. This ensures that Emacs kill operations do not irrevocably overwrite existing clipboard text. https://srijan.ch/notes/2024-09-24-001

Just now I had to restart my computer since my window manager () is a little weird sometimes and doesn't recognize any key presses anymore (just mouse input). It didn't even recognize the Xorg special keys C-M-<F1> and such. Damn custom setup that I have, maybe I should go for something simpler - KDE, Gnome...Windows?

However: same problem after I restarted. Turns out I accidentally disconnected my keyboard. Move along please 🤦