Emacs Chat 25: Ben Zanin (@gnomon@mastodon.social)
I chatted with Ben Zanin about music, Org Mode, Emacs in terminals and on an Android, keyboards, elfeed, and more.
View in the Internet Archive, watch or comment on YouTube, read the transcript online, download the transcript, or e-mail me.
Chapters
- 0:00 How Ben got started with Emacs
- 2:19 Ben got into Emacs because of twittering-mode
- 4:30 Emacs as a media playback platform with Versuri and Mpdel
- 9:13 Emacs on Android with Termux
- 13:44 Keyboards and other devices
- 16:44 Benefits of a split keyboard
- 18:22 Meeting workflow
- 21:11 Narrowing
- 22:58 There's even an internal Slack channel about Emacs at Ben's company
- 24:50 Ben keeps Org capture templates as individual files and adapts them to different meeting flows
- 28:45 Personal-scale software and the journey
- 34:07 vc-git-grep for finding notes again
- 37:47 Keybindings and terminals; wezterm
- 42:38 Timers: tea-timer, tmr
- 43:57 Different stages of package use
- 44:47 Elfeed
- 53:13 Bookmark naming conventions
- 53:50 elfeed-curate for annotations
- 55:46 mytoots archives Mastodon toots
- 57:05 Mentoring offer
- 58:02 A local instance of public-inbox can let you use Gnus to read mailing lists quickly
Transcript
Still needs editing
Expand this to read the transcript
Ben: I'm probably going to get a little bit of deserved flak for this, but I use Emacs a lot as a media playback platform. I spend a lot of time using Emacs to listen to music through MPV. And I've got some integration with Versuri, which lets me... I think you've seen those customizations where what I've done is I've kind of duct-taped the two together. Versuri is an Emacs package for being able to quickly search through lyrics for songs. What I've done is I've bound Versuri to the point where I've pulled up a page of lyrics, I now have a hotkey that bounces me over to a search of my MPD library for where that song is, and vice versa. I've got MPD rigged up so that when I've got a song currently playing, I can bounce into Verisuri to display the lyrics for that particular song. Something you probably have not seen in my config yet because I haven't finished it yet... What I'm working on is actually integrating Org Mode with MPD, because I'd really like to be able to streamline my process where occasionally when I'm listening to something, I'll take notes either about the lyrics or about the song. I'd like to be able to link from Org Mode directly to either that song, that album, or that particular timecode. I don't have that yet, but I'm working on it. I think I'll probably lean on it quite a bit once I have it. Sacha: Yeah, yeah. I saw your tweet from May, I think, where you're talking about coming up with this way of taking notes. think if you come up with maybe a custom Org Mode link type that can store the annotation and then let you go to it, I think that would be really interesting. Especially if you figure out, okay, like, are you taking notes in the album? Are you taking notes on the song? Are you taking notes on this moment in the song? That could all be very cool. Ben: Actually, do you mind if I share my screen? Sacha: Please. Ben: So one of the things I wanted to kind of note was... Let me... Oh yeah, this is actually going to be further embarrassing. I'm a terminal Emacs user. Sacha: I saw. Can you increase the font size, though? Ben: Absolutely, yeah. Sacha: Resizing your terminal so it's smaller makes everything look bigger... Ben: Is that better? Sacha: More. Some of us are older. Thank you. Ben: One of the things that's kind of unusual about my MPD configuration is I've got a satellite config. Sorry, the line wrap is a little bit off here. What this means is that I have... the household file server maintains the MPD library, but I've got multiple playback nodes around the house. What that lets me do is... Sacha: You can play stuff on this... Ben: So what this means is that I'm controlling the... well, in this case, that's a little MeLE Quieter3C that I've got in the living room that's kind of like the the home media server, the home playback machine. Fundamentally, I'm an ops guy, I'm a sys admin, and I've got, unfortunately, a fleet of machines around the house. What this lets me do is easily control each one of them. Instead of each one maintaining its own library of music files, the file server itself indexes them, which means that library updates are almost instantaneous, instead of having to read over the network to pull metadata out of each individual file. So having a satellite setup lets me... The real benefit is that MPD tracks albums, directories, and files as URLs. That means that I have a single global namespace of URLs for all of the media that's currently in the library, which means that I can annotate from any machine, but have it mean one thing. It makes it convenient for navigation, but it also makes it convenient for keeping notes, which I'm currently doing manually and working on those Org link types to be able to make it a little bit more smooth than it currently is. Sacha: So you've got your central store of music files. You've got URLs for them so you can talk about them. That's just one identifier per song. You've got multiple speakers that you can use your completing interface to say, okay, I want to play this over there. You have Emacs controlling all of that.
Ben: notes about things that I need to take care of in particular areas of the city. The nice thing is that I can just drop them directly in commits right as I'm going. So I often have a long list of updates that are from Emacs on my phone, just because it's convenient. All right. There we go for Monsterdon, in fact. Sacha: Nice, nice. Then that's Syncthing or whatever else to just get it copied back to your laptop or just on your phone? Ben: Straight Magit mode. Sacha: Oh, yeah? Ben: That's one of the things that I found was a little bit clunkier when I was running virtualized Emacs under the Android emulator and also the native Android port of Emacs. They are a little bit more troublesome to get Magit to work. Because I rely on that for syncing back and forth from my phone, that's one of the reasons why I stuck with Termux. Sacha: Very cool, very cool. I like Termux's little bar of extra keyboard keys that you can have, so you can have a regular keyboard and then you can just have your Controls and your Alts and whatever on that little extra bar. Termux is quite interesting. Ben: I think I'm probably pushing it harder than it is meant to be pushed. Sacha: That's the fun of it. I don't exactly know how everything will shake out, but probably with Google trying to lock down the developer ecosystem in a few months, right? They're saying, oh, you know, it's got to be ADB in order to get these unsigned apps on. We'll have to see how it all shakes out. But I'm hoping Termux can survive because I like that one too. Ben: Yeah, me too. Sacha: Okay, so you've got interesting music, an interesting music setup with lyrics and playback and all that stuff. You've got your phone, which also runs Emacs and from which you can, you've also set it up so you can control your music from your phone? Ben: Yes. Sacha: Okay.