Categories: geek » emacs » yay-emacs

RSS - Atom - Subscribe via email

May 14: Sacha, Prot, and Philip Kaludercic Talk Emacs: Newcomer Experience

| emacs, community, yay-emacs

Philip Kaludercic wanted to continue the conversation from YE24: Sacha and Prot Talk Emacs - Newbies/Starter Kits. He's spent a lot of time thinking about this as one of the main contributors to newcomers-presets, so there'll probably be much to cover!

(America/Toronto -0400) = Thu May 14 1030H EDT / 0930H CDT / 0830H MDT / 0730H PDT / 1430H UTC / 1630H CEST / 1730H EEST / 2000H IST / 2230H +08 / 2330H JST

We'll probably talk about:

  • Emacs 31 or Emacs 32 directions towards improving the newcomer experience
  • How the newcomers presets fits into the bigger picture
  • Documentation and guides
  • How to get more feedback from newbies (virtual focus group? mailing list? office hours?)
  • Informal community resources
  • Other things we can do to help

Some types of new users to think about

  • Non-programmer interested in using Org Mode for notes and task management
  • Researcher interested in publishing, reproducible research, literate programming
  • Programmer interested in coding with Emacs
    • Coming from VSCode
    • Coming from Vi
  • Programmer still using a different IDE, just interested in Magit
  • Long-time Emacs user who hasn't explored Emacs Lisp

Part of a learning journey

  • Install Emacs
  • Use Emacs via the menu bar and toolbar
  • Get a little overwhelmed
  • Use M-x to call commands by name
  • Learn how to set up completion
  • Use some keyboard shortcuts
  • Figure out how to learn and connect
  • Customize some options
  • Define their own keyboard shortcuts
  • Define their own functions

Other notes

Learning how to modify Emacs with Emacs Lisp can help people really appreciate its power. For example, you need Emacs Lisp to set your own keyboard shortcuts. You can't set them through the Options menu or the M-x customize interface. One challenge is that the Emacs Lisp configuration file that is loaded at the start of every Emacs session might be in one of several places, which means that in order for newbies to understand how to add something like:

(bind-key "C-c r" 'org-capture)

we need to either include a link to something like EmacsWiki: Init File, or repeat the instructions and the troubleshooting steps in beginner tutorials.

  • user-init-file defaults to .emacs for new users if none of ~/.emacs, ~/.emacs.el, ~/.emacs.d/init.el, and ~/.config/emacs/init.el exist.
  • After you select newcomer-presets from the splash screen, this is not persisted automatically. "Options > Save Options" doesn't save it either. Because people usually think of themes as cosmetic, they're not likely to find it under "Options > Customize Emacs > Custom Themes; newcomers-presets; Save Theme Settings." The "Options > Save Options" will save the change that newcomers-presets made to the tab bar, thus creating a ~/.emacs.
  • https://doc.emacsen.de/gallery.html - gallery of themes built into Emacs

Some screenshots of a fresh Emacs

2026-05-12_08-59-17.png
Figure 1: The splash screen for a new Emacs
2026-05-12_09-01-50.png
Figure 2: File menu
2026-05-12_09-02-43.png
Figure 3: Customize menu
2026-05-12_09-03-37.png
Figure 4: Help menu

Trying pkal's Emacs Configuration Generator

Emacs Configuration Generator - old source code, site is no longer live

sbcl --load ecg.lisp --eval "(ecg:start)"
2026-05-13_21-36-30.png
Figure 5: Web interface
2026-05-13_21-37-11.png
Figure 6: Theme preview, other options

Sample generated configuration:

;;; Personal configuration -*- lexical-binding: t -*-

;; Save the contents of this file under ~/.emacs.d/init.el
;; Do not forget to use Emacs' built-in help system:
;; Use C-h C-h to get an overview of all help commands.  All you
;; need to know about Emacs (what commands exist, what functions do,
;; what variables specify), the help system can provide.

;; Load a custom theme
(load-theme 'modus-operandi t)

;; Use whatever the default monospace font is
(setq font-use-system-font t)

;; Miscellaneous options
(setq-default major-mode
              (lambda () ; guess major mode from file name
                (unless buffer-file-name
                  (let ((buffer-file-name (buffer-name)))
                    (set-auto-mode)))))
(setq confirm-kill-emacs #'yes-or-no-p)
(setq window-resize-pixelwise t)
(setq frame-resize-pixelwise t)
(save-place-mode t)
(savehist-mode t)
(recentf-mode t)
(defalias 'yes-or-no #'y-or-n-p)

;; Store automatic customisation options elsewhere
(setq custom-file (locate-user-emacs-file "custom.el"))
(when (file-exists-p custom-file)
  (load custom-file))
View Org source for this post

YE24: Sacha and Prot Talk Emacs - Newbies/Starter Kits

Posted: - Modified: | emacs, community, yay-emacs

: Added chapters, transcript, and Prot's defaults.

Context

The Emacs Carnival theme for April 2026 is newbies/starter kits. I chatted with Prot about helping people get into Emacs and also supporting lifelong learning.

Prot had some notes on how he started with Emacs in 2019 in All about switching to Emacs (video blog) | Protesilaos. These notes were just a few months after he started, so his experience was pretty fresh.

In Computing in freedom with GNU Emacs | Protesilaos (2026), he said:

Remember that I started using Emacs without a background in programming. … I learnt the basics within a few days. I started writing my own Emacs Lisp within weeks. And within a year I had my modus-themes moved into core Emacs.

Prot has several projects that might be of interest to many newcomers to Emacs:

  • modus-themes, which are part of Emacs core and are therefore just a M-x load-theme or M-x customize-themes away
  • Emacs Lisp Elements, a book that helps people learn Emacs Lisp
    • Where does this fit into people's learning journeys? How can they come across it and use it?
  • perhaps Denote
    • What would it take for people to learn enough to be able to use this?

I'm also curious about his thoughts on the general Emacs newcomer experience and what we can do to make it better.

He also offers Emacs coaching. I wonder if any newbies have taken advantage of that. There are a few other coaches listed on the EmacsWiki. (Ooh, Emacs buddy, that was neat.)

Other possible topics: Philip suggested the following general themes for the Emacs Carnival:

  • What are your memories of starting with Emacs?
  • What experiences do you have with teaching Emacs to new users?
  • Do you think if starter kits are more of a hindrance in the long term or necessary for many users to even try Emacs?
  • What defaults do you think should be changed for everyone (new and old users)?
  • What defaults do you think should be changed for new users (see NewcomersTheme)?
  • What is the sweet-spot between starter-kit minimalism and maximalism?

Chapters

  • 0:00 Intro
  • 0:14 Warming up
  • 2:38 C-g is supposed to get you out of everything, but it doesn't work for the minibuffer
  • 3:14 Anything related to display-buffer is hard for people to configure. Many windows do not focus by default. You have to switch to the other window to q.
  • 4:32 Good defaults
  • 4:37 How do I set my fonts? Which is the one I should be using?
  • 5:16 ediff is unusable by default for everyone, not just newcomers
  • 5:54 Packages to install
  • 6:30 People muddle through, but it's confusing
  • 8:21 The wiki might be a good approach for the community. Start here.
  • 9:35 The direction of the newcomers theme is nice
  • 10:51 Themes versus minor modes
  • 12:20 People think of themes as styles, not arbitrary customizations
  • 13:57 Listing changes for newcomers-presets
  • 16:13 Terminology is also a challenge
  • 16:54 Maybe documentation aliases?
  • 17:57 Learning Emacs as a nonprogrammer
  • 19:31 Emacs Lisp Elements
  • 20:30 Getting the hang of Emacs
  • 22:31 Getting help when you have a starter kit
  • 24:29 Customize is overwhelming for beginners
  • 27:55 debug-init
  • 29:11 Getting help: partially bridged by LLMs?
  • 31:03 Things people don't even know about
  • 32:44 Filling in the blanks
  • 33:39 .emacs
  • 37:04 Discovery and the info manual
  • 38:36 Address your immediate need; small steps
  • 41:46 :config and setq is nicer than :custom for C-x C-e purposes (eval-last-sexp)
  • 45:31 Culture of documentation and sharing
  • 47:12 Link to a search
  • 49:49 Getting through the gap between beginner tutorials and the next step
  • 51:13 Predictability
  • 51:52 Brief mention of Popper
  • 52:28 Earlier is better than later for Emacs Lisp. Take it as is.
  • 55:19 Before and after comparisons
  • 56:07 user-init-directory
  • 57:21 Emacs core
  • 59:04 Getting past the initial awkward phase
  • 59:36 Even reporting an issue is a great contribution
  • 1:00:45 Next steps: adding to the wiki
  • 1:02:39 Core longevity

Transcript

Expand this to read the transcript

0:08 Warming up

Sacha: All right. Hello, this is Yay Emacs 24, I think. And today I'm going to be talking to Prot, who is going to join eventually. In about five minutes is our scheduled time. And I want to pick his brain about newcomers, the newcomer experience for Emacs, the starter kits, what we can do to make it easier for people to get into Emacs, and how we can support lifelong learning. So let me spend a few minutes here getting all set up so that if you have any questions, you can use the YouTube chat during the live stream so that I can read your questions out loud to Prot. And also so that I can share everything. I think my audio is working. And also in the meantime, I can tell you what I've been doing lately. I have just posted a guide to newcomers presets, which is a new feature in Emacs 31. It's a theme that enables a bunch of defaults. Sorry, that changes a bunch of defaults to make it a little bit nicer for people. And let's see, what was that? I don't know what that sound just meant. Okay, Prot, it says he's in the Google Meet room. So I will now admit him. And I think we should be live. Fantastic. Hello. Hello, hello. All right.

Prot: Hello, Sacha. Good day.

Sacha: Hello, Prot. Good day. Thank you for joining early. I was just doing my pre-session panicking and warming up. But since you're here and since I have a hard stop in about one hour, a little over one hour since I have to make the kid a grilled cheese sandwich, let's dive right into it.

Prot: Yes, yes. The grilled sandwich cannot wait.

Sacha: No, no, no. She'll be hungry. So, the theme for the Emacs Carnival this month was newbies and starter kits. And it gives us a good excuse to start thinking about How do we make the Emacs experience better for new users? Now I know you probably have run into a lot of new users from the talks that you've been giving, the packages you make, everything, the coaching. So tell me about what you've been thinking about this so far.

2:36 C-g is supposed to get you out of everything, but it doesn't work for the minibuffer

Prot: Yeah, yeah, yeah. So broadly speaking, there are a few pain points that I think every new user experiences. One is the behavior of C-g. The fact that you have the mini buffer open and you do C-g because C-g is supposed to get you out of where you are and the mini buffer will stay open by default. And I have seen people struggle live. It's like, oh, I am, you know, they have the mini buffer open, they click somewhere else, then they type C-g, the mini buffer stays there, and they're like, what is happening? Why is this not working? It stopped working. That's the one thing.

3:11 Anything related to display-buffer is hard for people to configure. Many windows do not focus by default. You have to switch to the other window to q.

Prot: The other big area where a lot of people, not just beginners, struggle with is anything related to display buffers, which can be configured, of course, via the display-buffer-alist. And some of the common pain points with that are the fact that many windows do not focus by default. For example, you open a helper buffer, it doesn't focus the window by default. So if you want to type q to dismiss it, you have to switch to it, then type q. You do a care, it doesn't focus a care by default. You have to go there and then interact with it. These sorts of things. And then there are a few other things. I have written some settings that I can share with you as well. Maybe I can, I don't know, email them to you and then you can... I don't hear you now. One second.

Sacha: Sorry, I turned on mute. Do you want to share your screen? Because that's another thing you can do.

Prot: Yes, of course, of course, of course. But I meant to say that, so I have this here, and I was of course about to write a blog post and all that. Let me increase the font size. Is this font size okay or is it too small?

Sacha: Oh, this is good. Yeah, yeah, yeah.

Prot: Okay, so I have written a few things, so I don't have to go through all of them.

4:28 Good defaults

image from videoProt: But these are basically good defaults based on what I have noticed.

4:35 How do I set my fonts? Which is the one I should be using?

image from videoProt: Another thing that is really common is how do I actually set my fonts, right? Because there are like a million ways to do this as well. And the people are like, okay, but which is the one that I should be using? And of course, when I pick one option, I don't mean to say that this is the right option, but it's just to not be technical about it. Like, okay, just use this and forget about it.

image from videoProt: A few other settings and a few common packages. And at the end of this... Oh, sorry. I have to really make this point.

5:13 ediff is unusable by default for everyone, not just newcomers

image from videoProt: Ediff by default is unusable. Out of the box, Ediff is literally unusable. I cannot excuse that. Everything else I can excuse, this is not excusable. Sorry. This is the minimum viable setup for it.

Sacha: So maybe that's something to suggest for newcomer presets or maybe even the defaults.

Prot: I would say the defaults. This is not a newcomer thing. Basically, if you want to have that default layout, you just have to opt into it. Sorry if I'm offending anyone, but I don't mean to say that. You have to consider the ergonomics of it.

5:52 Packages to install

Prot: And then towards the bottom of this list, some packages, third party packages. that I recommend for installation. This is not exhaustive. I try to be minimalist here. So, of course, there are many, many good, excellent, top-notch packages that I don't recommend here. And, for example, I don't recommend any of my packages here. But I just included some for people to get started.

Sacha: So it sounds like we should have a Prot starter kit.

Prot: No, no. I already have too many packages that I maintain.

6:28 People muddle through, but it's confusing

Sacha: It also sounds like you are talking to a lot of newbies and you are hearing about a lot of pain points and frustrations. How are people finding information in the first place? How are people finding this information? Do people tell you about their experience of getting into Emacs? Where are they finding the stuff? How do they find their way to you?

Prot: Generally they muddle through. So they will find a blog post, they will find a video, they will just do some search. Now, of course, there is also LLMs providing feedback. So it's a combination of all those and they try to piece together whatever kind of knowledge those sources provide. The thing with the newcomer experience is that there isn't a curation of content. Like of course you were doing that thing with the wiki, right? So of course you are working towards that. But what I mean is there are like options like, oh, you can do it in these 10 different ways. But for a newcomer, this is just details that don't make sense. Because the newcomer cannot weigh the pros and cons of each option, or even if they have pros and cons, or they are just different ways of expressing the same intent. Such as with the fonts, for example. You can do the frame fonts, or the faces, or whatever.

Sacha: Okay, so if there was something more curated, what would that look like? I know you spend a lot of time thinking about the, you know, the information architecture of your documentation, which is the lovely thing about your pack, one of the many lovely things about your packages. But what could that kind of newcomer experience look like for documentation?

8:20 The wiki might be a good approach for the community. Start here.

Prot: What you were doing with the wiki, I think is the right approach from a community perspective, meaning like, yeah, here is the single point of entry. Take it from there. Basically, don't look elsewhere. Start with this. No matter what you do, start with this. I think that's a good approach and basically in the community we should be agreeing on that. I didn't see all of your videos yesterday. I don't have the time to watch all of it. But basically on the Emacs subreddit, which is basically where a lot of people find information. That's the first thing that should be on the sidebar or basically it could even be pinned on the on the top of the tips and tricks section, the thread there. So that's the one thing. Yes, please.

Sacha: Yes, so the Emacs subreddit does have in its sidebar a link to the Emacs Wiki. Not calling out the Emacs Newbie page specifically, but there is a page. There's a link to the Emacs Newbie page from the Emacs Wiki homepage, I think. But yeah, as long as we can come up with a reasonably coherent starting point for people, then that will inevitably show up in people's recommendations as they respond to all these threads.

Prot: Yes, yes, very well, very well.

9:33 The direction of the newcomers theme is nice

Prot: Other than that, I really like the direction of the newcomers theme. I don't know exactly now if newcomers theme works in practice. Like, I don't know what happens if you do Emacs disable-heme, or specifically what I mean.

image from videoProt: I haven't tried this but what I mean if you do this: mapc disable-theme right, the custom enabled theme maybe you have seen this right so you want to disable all the other themes before loading your theme right I'm sure somebody has written something like this maybe I have done it and then it's like you know load your favorite theme now right and then you do your favorite theme or whatever For example, here. So in this case, I don't know what happens to the newcomers theme. I will assume that it will disable it. In which case, I think that has to be prevented.

Sacha: Oh, but then it wouldn't be treated the same as other things.

Prot: Which you can do. Which you can do, for example, if I go to Fontaine. And of course, I got this from use-package. But you can do it with a synthetic theme. So there is a little trick you can do.

10:45 Themes versus minor modes

Sacha: I was looking at newcomers presets recently, and when I was trying to make instructions for people to actually use this stuff, I ended up leaning towards just telling them to use either the splash screen, of course, or M-x customize-themes, from where they can check and uncheck things if they wanted additional themes layered on top of that. It's not like you can't uncheck it and then all of your settings go back to what they were before. Some of the things are still left over.

Prot: That's why I like the direction. I'm not sure if it should be a theme though. I think it should be a minor mode. And the minor mode should be like here is the opinionated settings and here are the default settings.

Sacha: Do we already have like a mechanism for letting minor modes override the variables in a nice way but let you go back to the previous version? Because it's not just restoring the default customized ones either.

Prot: I do something like that in Logos but I'm not sure to be honest right now how I even do it. Set arg and maybe this was a wrong time ago so I cannot even recall what exactly I was doing but actually this was contributed by Daniel Mendler so of course something like this could be added to Core Emacs as part of the newcomers theme eventually. If not, somewhere in core anyway.

12:19 People think of themes as styles, not arbitrary customizations

Prot: But I think it shouldn't be a theme. Basically, I like the idea, I don't think it's the right tool. Because themes are... It's also confusing language, you know? Because theme, when you talk to the average person, they will think of the style. And they won't think about arbitrary customizations. Whereas in Emacs we have this idiosyncratic conception of theme where it's like any kind of a user option as well as faces.

Sacha: So it sounds like if it were a package that defined a minor mode that people could turn on and off Even better, yes, exactly.

Prot: And there is this user option. I forget, do I even have it here for the built-in packages? I don't remember if I added it here. No, there is something like update the built-in packages. Yeah, so there is an option like that. So, of course, it could be like built into Emacs 31 as well as ELPA, kind of like Eglot. And then users could be like, okay, update this. So going forward, they can also benefit from whatever comes from Emacs 31. Or, you know, the development target of Emacs going forward.

13:55 Listing changes for newcomers-presets

Sacha: One of the challenges that I encountered when I was starting to play around with newcomers presets or other things like that is that it turns on all these options, but there's no easy way for people to say, okay, this is what has changed. This is how to use it. So I've started documenting that. And I think this is a challenge generally for many of the starter kits. It takes already a lot of work to make the configuration and maybe answer people's questions or It's a tricky situation how best to do it.

Prot: I guess the natural place for that is the manual. And the manual, I believe right now the manual mentions something along the lines of, well, newcomers can just toggle this on kind of thing, but it doesn't really tell them what that will entail. So I think it's worth actually keeping track of all the changes and be like, well, the newcomers theme will change this and that and the other. And it could just be a bullet point of items. Maybe it doesn't have to go into all the technicalities like, hey, we are changing, I don't know, the isearch so that it shows the counter. By default, it doesn't show the counter, right? Like, it doesn't need to be as detailed. It can just say, okay, these are the user options that are affected.

Sacha: or the minor modes that are enabled. You know, the specific commands and variable settings, whatever. It's like, how do I combine these different concepts to do something? Or taking a step back further, something we've talked about in previous conversations, how do I even begin to learn this overwhelming number of concepts? You know, how do I start to memorize all these keyboard shortcuts? And I'm not sure we have a lot of support for that yet.

16:10 Terminology is also a challenge

Prot: No, because I think part of the challenge here is the terminology. For example, if we say completion like me and you and other users, we kind of know what we are talking about, right? So minibuffer and orderless and all that, right? But if the user wants to express something along the lines, they may say the search box. Or, you know, like the interaction panel or whatever. So they don't have a language of the completion framework or the mini buffer or whatever. So even then it can be tricky for them to kind of narrow down what they are searching for.

16:52 Maybe documentation aliases?

Prot: And maybe then it makes sense to also think in terms of clusters of configuration, kind of what starter kits do with the various modules they define. And you can have aliases for them. Aliases in the manual, I mean. Like in the manual, if you type i, it goes to the index, right? And you can have a concept index. So you can have a concept index for the search panel or whatever. And that means the minibuffer and friends.

Sacha: So it's like we're doing search engine optimization so that people can find things with the words that they use. I'm not sure that will be in the Emacs manual itself, but one of the things I've appreciated about people sharing their notes through blog posts and things like that is because they're using their words to describe a concept, and they're linking it to the code that uses the words that Emacs does. So then people can then say, oh, I'm looking for this. It's actually called this in the Emacs world. But this takes time for people to kind of make those connections.

17:56 Learning Emacs as a nonprogrammer

Sacha: What was it like if you can look back to like 2019 when you were learning all of this stuff for the first time? What was it like for you as a non-programmer to come into this world where people are using all these strange terms?

Prot: Yeah, it was a challenge for sure. But I think actually the fact that I started out as a beginner, as a beginner into programming, I mean, benefited me in the sense that I was a blank slate. I don't have to unlearn terms. So I didn't have a concept of, okay, in other, I don't know, programming IDEs, for example, they call this the narrowing framework or whatever. I was like, completion. Okay, let's move on. It was the first time I was introduced to such concepts. So I think in that sense, I was lucky. That granted, there is a lot of reading involved. I was reading the manual and learning from it.

Sacha: And that's something I do too. I mean, I'll still casually flip through the Emacs manual or the Org manual because every time you read it, there's something else that catches your eye and makes you think, how do I use that? How do I do that? And I like that, you know, you and Mickey Peterson and other people have also been organizing these thoughts into like a linear arrangement of logical progression. So that's the books that There aren't a lot of books about Emacs that people can read.

19:29 Emacs Lisp Elements

Sacha: But how do people get to something like your Emacs Lisp elements? How do we support their learning journey from, I have absolutely no idea how to do anything in Emacs to, okay, I'm ready to read this book and get stuff out of it?

Prot: Yeah, yeah. When I recommend that book, I recommend it to people who have already decided that Emacs is the right tool for them. So I would basically say, look, Elisp is for you if you are already sold on Emacs, because what Elisp gives you is that extra you need to make Emacs do what you want, basically to tap into the potential programmability of Emacs. But to get to that point, you have already been convinced that you already like Emacs. If you don't vibe with it at the outset, you won't learn Elisp, not least because it's a niche language.

20:28 Getting the hang of Emacs

Sacha: Okay, so how do we get people to the point where they can vibe with Emacs? Where they can appreciate it? Because when they start off, it's this clunky text editor that has these weird keyboard shortcuts and strange terms, and all we can do is offer them videos and blog posts from people who say, this is totally awesome. I've been using it for three years or 20 years or whatever, and I love it. That's the light at the end of the tunnel, but there's a lot of tunnel to get through.

Prot: correct correct correct it's difficult and i think that's why something like the newcomers theme ultimately is the way forward where it's like yeah opt into this and that's already a good set of defaults and i think what really matters is to reach a point where you can actually open your files actually move around and that happens with the very basics like that happens with the tutorial already what the tutorial doesn't give you is the basic interface, such as the mini-buffer. The default mini-buffer, I don't think it's good for beginners. Actually, maybe it's not even good for advanced users, but that's another. You have to have a few of the basic packages enabled, and then the tutorial, I think, is enough for that initial push. Then, of course, it's also up to the user to do some reading, based on what you will provide them with.

Sacha: I know when I was trying this, I started a fresh Emacs so that I could see what it's like when people don't have their accumulated cruft of 20 years of configuration. And I was like, I need some kind of completion that I don't have to keep pressing tab for. So maybe Fido vertical mode can be part of that, you know, standard, at least in ?? or whatever, that would be nice. But yeah, there are a lot of these niceties that reduce the friction enough that people can then start enjoying things more and more.

22:28 Getting help when you have a starter kit

Sacha: Newcomers presets are some kind of starter kit. They're great at getting people over that initial hump. But the challenge with starter kits and probably things like the newcomers presets has also been that when people ask for help, it's hard because they don't know the things that have changed under the hood. So they're asking for help and the people who are helping them are like, I don't know what's going on there.

Prot: More so if the starter kit has its own macros and way of doing things, such as Doom Emacs. On the one hand, Doom Emacs does an excellent job at integrating everything, providing a polished experience, comprehensive configuration and so on. On the other hand, they have their own way of doing things like they have their own macros. You have to use Doom sync or whatever to do things from the command line. So somebody who is not using Doom basically has no means of knowing what is happening in that world. So that is definitely a challenge. So for me, a good starter kit is one that at the very least uses what a generic configuration would use, meaning no macros, no weird shell scripts and that sort of thing.

Sacha: And I did spend some time going over the starter kit list in the Emacs wiki to try to sort it by minimalist, stays close to vanilla, all the way to the changes a lot of things about Emacs and you probably should ask the community of that starter kit first if you need help. So that's kind of like Doom Emacs and Spacemacs at that end of the spectrum and things like better defaults would be like at the Like just a little bit of smoothing over of things. But then also, it was interesting to see some of the starter kits focus on saying, okay, you don't have to write any code to extend this further. A lot of the things are available through Customize.

24:25 Customize is overwhelming for beginners

Sacha: Now, Customize is pretty overwhelming also for a newcomer. So how do we get people to the point where they might feel comfortable going through this Customize interface And saying, oh, I can find what I want to change and I can change it and I'm not worried about breaking everything.

Prot: Yeah, I actually, when I was trying to use Customize with people, I gave it an honest try. Like, for example, we tried to do Emacs Customize the org capture templates. And I was seeing it live. Impossible for people to understand what is happening. Like, Customize has this concept of the insert button, right? So if you have a list of things, you can do insert to add the next element to the list. If you have an Elisp understanding of what you are actually interacting with, you kind of know what to do, right? But otherwise, I was seeing it live. It's like... I have no idea what is happening. What is this? So for me, my approach is basically skip customize altogether. For me, it's a lost cause. Unless it's completely rewritten, I mean in its current form, it's not good for beginners unless it's for toggles, like true or false kind of thing. If it's for anything more involved, it's not good. And what it is good for is for discovery, discovery of user options. But it presents the user options in a human-readable format which you cannot just copy-paste into your configuration. So, for example, it doesn't have the dashes for the names.

Sacha: Yeah, and getting it out of the customized variables if you wanted to keep a nice clean Emacs is hard. Although I would say that's more of an intermediate level concern. When they start caring about having a beautiful Emacs that other people can learn from. A couple of comments in from people who are watching the stream. Hello, folks! Hello! @hajovonta6300 says, "Hi legends." @JacksonScholberg and @petertillemans2231 say, well, @JacksonScholberg says hi. @petertillemans2231 says, "I am not worthy." @takoverflow says, "Thank you for these streams." @ShaeErisson says, "I love Emacs but haven't really learned Elisp." And I know Shae has been using Emacs for a long time. So that's interesting that you have people who enjoy using Emacs. I don't know whether something is getting in their way when it comes to learning Emacs Lisp or whether it's just totally fine already the way it is. So that's different things. @JacksonScholberg says, oh, so @hajovonta6300 says, "you are worthy if you are willing to learn." Maybe the resources are there as people start digging into EmacsLisp. Maybe the combination of looking at other people's source code and trying to ask on Reddit or whatever is enough. @JacksonScholberg says," I vibe with Emacs after using other text editors that were not minimalist enough for my preferences, plus having experience with other open source software like Linux." @petertillemans2231 says, "Well, Emacs and minimalist in the same sentence. Strange concept, but I know what you mean." There's a whole spectrum of things you can do with Emacs, right? So yeah, people can just use basic Emacs.

27:53 debug-init

Sacha: And then @petertillemans2231 says, "I guess learn starters quickly to use emacs --debug-init. Maybe not in the first hour, but close to it. Close to tweaking.

Prot: Yeah. Which of course doesn't help. It's very useful, of course, but it doesn't help beginners because they cannot read the backtrace.

Sacha: Yeah, it is hard to navigate even for people who are experienced like there's a whole bunch of things and what you need to change is like a small thing and you don't know about edebug and all that other stuff.

Prot: But of course debugging it many times of course it is a lifesaver for sure.

Sacha: Yeah, and I think a lot of these things can be stepped around if you have, you know, like you, someone more experienced with Emacs to watch over your shoulder either in person or virtually and say, you know, do it this way instead, or have you heard about this package? But this is an experience that I think not a lot of people have because many times they're isolated, right? They're the only Emacs person they know around them. And maybe they'll go to meet up, but maybe they're intimidated by the idea of asking about their beginner problem with all these other people talking about arcane Emacs list things. So how do we get people to the point where they can get help?

29:06 Getting help: partially bridged by LLMs?

Prot: Yeah, I think this is partially bridged. This gap is partially bridged by LLMs. Like a lot of people will just check with a bot and get something useful out of it and basically continue from there. And that's why I said earlier they muddle through because LLMs of course will give you what you ask. So if you kind of don't know what to ask, you will get something that may be useful, maybe needs a further tweak to it. That's why sometimes it's hit or miss.

Sacha: And I am seeing that in a lot of the discussion threads now. Of course, people are concerned about the environmental impacts and the ethical considerations around large language models, but there are also people who are saying, you know, this is what helped me write my first bit of Emacs Lisp, or this is what helped me figure out how to configure Emacs to do the thing that I wanted to do. So for that, I'm like, okay, then maybe there's something there. Challenge, of course, if it's hallucinating something, you're like, no, that function does not actually exist. You got to do it this other way. But if you can get them over some of the humps, maybe that's useful for them.

Prot: Yes, yes, yes. I think, of course, it's not 100% good, but I think it is, on the balance, I think it is good.

Sacha: So when people are too embarrassed or too intimidated to ask people in person, and when I go to these meetups, everyone's always super friendly. Sometimes we're live debugging someone's configuration or someone's function in real time. But sometimes that is a little difficult for people to get to for schedule or other reasons. There are other ways to understand something and ask questions about it and figure it out.

31:01 Things people don't even know about

Sacha: But sometimes you don't even know what to ask questions about. How do we help people in that situation where they don't even know that they're doing something inefficiently and that the solution for their problems is just one package away? How do we help?

Prot: That's difficult because it's on a case-by-case basis. I think you cannot optimize for that because each person will have different intuitions or different pain points, let's say. And maybe you can do it by having the most exhaustive kind of documentation with the equivalent of search engine optimization, as you were saying earlier. But I think eventually people will still have questions and even the formulation of the question may be idiosyncratic. So even if the concept is there, the way it is presented, you might not have a perfect match.

Sacha: And the idiosyncrasy of things is something that it's definitely a challenge for us when we're working with Emacs because everyone has their own way of doing things and everyone therefore has their own... How they set it up or the keyboard shortcuts that they use or the ways that they want the functions to work. Even trying to write documentation to say, if you're learning this, you might want to check out this stuff next, I have a hard time figuring out how to make that make sense to as many people as possible without overwhelming them with 20 different questions.

32:42 Filling in the blanks

Prot: That's the difficult part. Actually, I think that's the part where you have to assume that people will fill in the blanks. For example, I think yesterday you were doing this thing where, well, somebody needs to use Git, but what is even Git? So you have to even know about Git, right? And that's recursive because, well, how do you install Git? Well, you need a terminal. What is a terminal, right? Well, you need to have this thing called Linux. What is a Linux? So basically at some point you have to just say like I will give you as much as I can but I will limit it to the scope of this like Emacs basically. Because otherwise it has infinite scope.

Sacha: And I find that hyperlinks help a lot with that then because we can say, if you need a more detailed description, you can go over there. So now I'm trying to make it easier for myself whenever I say, oh yeah, put this in your .emacs.

33:37 .emacs

Sacha: I'm just like, oh, I'm just going to link to the Emacs wiki page on init files. Because there's this whole discussion that you have to have about what is your .emacs and sometimes it's actually your .emacs.d/init.el but sometimes it's actually your .config/emacs/init.el and, like, pass that off to a page to explain all that stuff.

Prot: Actually I want to say something about this because now it reminded me. So many people nowadays will use .emacs.d/init.el or .config/emacs/init.el But Emacs defaults to reading the .emacs file from your home directory. And I had this case where a user was writing their init file in one of those specified locations, but they did something with Emacs Customize beforehand and Emacs Customize wrote to the .emacs file. So they were loading Emacs and nothing was showing up and they were like, what is wrong? My init file is there. Why is it not working? I'm loading, you know, this dark thing. Why is it white? or whatever. And eventually it was because of the .emacs file. I'm not sure how best to resolve that given that you want to also be backward compatible.

Sacha: No, no, no. Okay. So when I tell people just, you know, here's the link to the init file page in the Emacs wiki, it also includes a describe-variable user-init-file, which will tell you which one is actually loading. And I have a to-do to suggest on emacs-devel, if they haven't already discussed it endlessly, that maybe there should be kind of like a M-x find-user-init-file that just opens that specific file. Would be nice. But yeah. Going back to the chat because people have been sharing great comments as well. Shae says, "I learned about new Emacs packages by pairing with other users and asking, how did you do that thing?" Which I think is a great thing for screencasts. People sharing videos as well because when people share a video, sometimes they see things that they wouldn't have mentioned because they totally take advantage of it. It's just something they take for granted. For example, in your live stream package maintenance sessions, I'm sure you've had this a couple of times. People are asking, what is that that you just did? Videos are great for this.

Prot: Let me open the door for my puppy. I'll be back.

Sacha: In the meantime, let's see if there's anything here I can address by myself. The puppies cannot wait.

Prot: No, the puppies cannot wait.

Sacha: Small mammals in general are like, they need us, they need us. @hajovonta6300 says, "I used Emacs since 2010 and had become a power user, but in the last year, I feel LLMs took over most of the tasks I usually solved with Emacs." I mean actually it's a bit of a tangent here but we're seeing that also with some of the long-term users of Emacs moving on to other editors because whatever they had customized on top of Emacs could be replicated by a custom application written by an LLM. The movement is going both ways. People leaving Emacs for other things, people coming into Emacs because LLMs can help them with stuff. So I just wanted to mention that because things are happening.

37:04 Discovery and the info manual

Sacha: @petertillemans2231 says, "Emacs documentation is very extensive, but I feel discovery of the docs is a problem for new users." And I want to dig into that a bit more. How do we help with this discovery thing?

Prot: In the info manuals, if you know two key bindings, it really helps a lot. One is g, the other is i. But you have to have completion already set up, like vertico-mode, for example.

Sacha: I also like using s for search.

Prot: Or s for search. Those help a lot, because then you can jump to a node or an index. Without those navigating, the manuals can feel cumbersome. That granted, we are back to the point where the user also has to do some research on their own. You cannot compensate for drive, motivation. No matter how much we write, no matter how many themes or minor modes we define, the user also has to be searching.

Sacha: Yeah. And it's going back to the challenge of being overwhelmed. You know, sometimes it's difficult for new users to say, okay, there's so much to learn. How do I scope this so that I don't go crazy? You know, what is the most important thing that I need to learn about first? And then what is the tiniest step after that that I can take? And so forth. Otherwise, it's just like, I want to learn about everything.

38:34 Address your immediate need; small steps

Prot: Based on the discussions I have had, I think the consensus is address your immediate needs. For example, you want to write a to-do list, all you need to know at this early stage is Org Mode. And not all of Org, because Org has approximately one zillion commands. Just to-do and done. And maybe schedule a date. Just learn that, and by learning that, do that for a week, do it for a month, however long it takes for you to embed it as part of your knowledge . And then once you have done that, move on to the next thing. Like, okay, now that I am solid on my to-do's, how do I do the agenda, for example, and incrementally add to that. And the idea is by piecing together your system this way, you achieve two things. First, you build on a solid foundation of knowledge where you know what you are doing. And two, you understand how your system is pieced together. So if something breaks, you already have an intuition of what it could be. Even if you don't know Emacs Lisp, you can guess like, oh, I added this thing the other day and now my Emacs is broken. So probably the breakage is there.

Sacha: And this decomposing it into those tiny steps so that you can piece them together and build slowly understanding each step along the way is something that new people struggle with because they don't have experience to know what the small step is. And I think that's where coaching and mentoring and you know sometimes If you're lucky enough to be able to sit with somebody who says, okay, your next step is just to do this. That would be super lucky. But most people will just have to content themselves with sometimes there's a playlist of videos that they can follow in sequence. Or maybe there's someone, you know, maybe they'll post on Reddit saying, okay, I know this. What should I learn next? I just wish it were easier for us to say... Let's imagine this from the helper point of view. How do we make it easier for people to say, all right, this is where you are. Here's some things that you can look into next. What do you do when you're coaching someone?

Prot: Yes, I always ask them what their needs are. There are some needs which are common. For example, completion. Vertico, for example, I think basically everybody can benefit unless you have a really special use case. But other than that, it's like, well, we don't need to fix everything. Let's understand what your needs are. Let's work towards that goal. And one way to break it down also conceptually is with use-package blocks. I think use-package is an excellent, of course, it's an excellent tool in its own right, but it's an excellent way of saying, you know what? This is one thing. This is one step. And this is the next step. And so people can start thinking in terms of each use-package is a step.

41:45 :config and setq is nicer than :custom for C-x C-e purposes (eval-last-sexp)

Sacha: I sometimes feel like I'm going back and forth. use-package is nice because it allows us to add the hooks and say this stuff happens after the package is loaded, so I don't have to keep having lots of with-eval-after-load. But on the other hand, it becomes harder for people to copy and paste things because then they have to know it needs to go inside the use-package. Do I use the custom keyword or do I just use setq because it looks more copyable?

Prot: This is why me, I don't use the custom. It's not that I have anything personal against it. It's that I found that it's unusable. If you have the equivalent of this in a custom, you cannot do C-x C-e. If you say use-package is syntactic sugar... I have read this before. To somebody who doesn't speak programming lingo, syntactic sugar doesn't mean anything. To me, it barely means anything after knowing all this stuff. So what does syntactic sugar actually mean? So what do I have to do to evaluate this, right? So I am like, okay, the more minimal you can do is just have a config and then you can do add-hook there, bind-key there or whatever. Granted, I don't do this here. I don't follow this. But I mean, if you want to have like a combination of what you were saying of the back and forth while still retaining use-package, you salvage that by doing the equivalent of this. Just this. And then everything goes under config.

Sacha: And that's what I end up doing too. Just making it easier for me to change things and re-evaluate them with C-x C-e is definitely one of the major considerations. Okay, I've temporarily misplaced my... Some people are very lucky. They actually have an Emacs channel at work that they can ask for help or they can come across recommendations for. That's nice for learning, @Rossbaker9079 says. It's not a full replacement for these other ideas, but it brings together people solving the same problems with Emacs. Some people are lucky enough to work in a large company where other people are using Emacs. You should definitely take advantage of that. I hear there's actually a Discord server as well, and of course there's IRC, where people can also hang out and hear other people talk about Emacs, ask questions, learn from other people's questions. I don't think you hang out in IRC or any of these places.

Prot: No, no. I haven't done it in a very long time. I have an account there on IRC. I think the last time I did, it was in the last EmacsConf I could attend, which is like maybe two or three years ago. I forgot already.

Sacha: It's yet another thing that kind of distracts your attention. I also find Mastodon to be very helpful for this stream of little updates from people sharing their Emacs questions or their things that they've just figured out. That's another useful resource for people. I've started trying to get people... to support them in hooking up with this community, connecting with this community. The Emacs Newbie page has a link to learning Emacs, and one of those things says links to category community. Because if you're learning these things in isolation, you will get really, really stuck. And you will not progress. I think being able to connect with the Emacs community is great for inspiration and figuring things out.

Prot: Yes, yes, I agree, I agree.

45:28 Culture of documentation and sharing

Prot: Plus, it's another reason to hang out, basically, like the social aspect of it. Like, well, of course, I use it as a tool, but there is a cultural component to it.

Sacha: So tell me, what is your impression of the Emacs culture so far?

Prot: Oh, it's, of course, we are talking about people who stick around, right? Not people who will use Emacs once and then leave. I think fundamentally it's people who care about sharing. I think the essence of it, it's really sharing. And then, of course, that is expressed sharing code, sharing ideas, and then, of course, documenting things. So the documentation culture of Emacs, I think it's really strong. Like in other free software communities, they are like, okay, we are sharing code, but then code is its own documentation kind of thing. Good code speaks for itself kind of thing. Whereas in Emacs land, we are like, okay, good code speaks for itself, but here is this wall of text just in case.

Sacha: And, you know, this is probably something only two other people in the world will ever want to do, but here it is just in case. I love those. I'm like, yeah, that's exactly what I wanted to do, actually. Thank you.

Prot: Yeah, yeah, I agree.

Sacha: It's a wonderful community, and I'm very glad that you're part of it, and I'm very glad that lots of other people have joined in as well. Okay, let me go. Once again, I have misplaced my... Okay, here we go. @ShaeErisson asked, "Is there a way to ask Emacs which file it has read below the current configuration?" That's the user init file variable, Shae, so you can just describe that.

47:11 Link to a search

Sacha: @charliemcmackin4859 says, "thinking of the terminology problem, maybe offering search terms for further exploration rather than or in addition to links." Which I guess like instead of just looking to a specific resource which may or may not still exist. I was going through my beginner resources and it's like this page no longer resolves but like saying okay this is this is what it's called and you can go search for your own resources, or this is the link, but also here's some other terms that you might find useful.

Prot: Yeah, yeah. Just to add to what this person was asking, was suggesting is like, because we had something like this in Denote and eventually I implemented it. So there are two kinds of links. One is a direct pointer where it's like, go there. The other is basically the equivalent of a button that triggers a search. For example, let's imagine in terms of files and directories, like a direct link goes to a file. A query link, you click on it, it opens a directory listing of all files that match the query. And that is basically evergreen. It will always show you whatever is matching. And maybe we could have something like that for info buffers, where instead of a link to a node, you do that and it produces a listing of all nodes that match the query.

Sacha: Hmm, that's quite interesting. Or like when we, you know, if we're writing about something, we can say, you know, here's the apropos command to go find all the commands, things that are related to this concept. Even just getting people to learn about how to use apropos, I think, would be a great step in helping them. Even before that, just getting them to a completion setup where they can ideally use something like orderless to just find things. Yeah. I think it would definitely help with the discoverability thing.

Prot: Yes. I think like Vertico and Orderless are like... if you have to install two packages, it's those two.

Sacha: Yeah. It is great. Okay. Where are we now? I keep... We've talked about the sandwich that has to be made. We've talked about getting people into it, helping them discover concepts, helping them connect with the community. And then there's a thing about how do we support people as they do their lifelong learning.

49:48 Getting through the gap between beginner tutorials and the next step

Sacha: A lot of people, maybe they'll get through the tutorial fine, but then when they start to try to do something more sophisticated, like, oh yeah, I need to do something similar to my IDE. I want to have all these different bits and bobs working the way that they do in my other editor. That's where things break down because the tutorial gets them through the, you know, here are the basics, but then there's this huge gulf before that, okay, this is how I can be more productive with it. How do we fix that?

Prot: Yes, that's very difficult because part of that requires Emacs Lisp knowledge. Like, for example, an IDE, of course, I haven't used one myself, but from what I understand, there is a sidebar with the tree view of your files. At the bottom, there is a shell. Maybe there is some debugger there, some other sidebar on the side. So to replicate that, you really need to massage the display-buffer-alist which I think requires a lot of knowledge, like you need to understand the display buffer, you need to know about window... what's it called? Even I forget. Attributes and all that.

Sacha: I don't even do it myself. If I feel like I need to do anything related to display-buffer-alist, I'm just like, okay, I'm going to look for an example and I'm going to copy it very carefully.

51:08 Predictability

image from videoProt: Okay, so this is for you. It's like too much work, but I must say. This looks like arcane knowledge but this sort of thing actually is a quality of life improvement to your Emacs because one thing that I think is bad about the default Emacs experience is uncertainty about where things will show up. Like, you never know. Like, you cannot predict it. Because Emacs tries to be sensible about it or whatever, but you cannot predict it. Whereas things that are ancillary should have kind of a more predictable behavior.

51:51 Brief mention of Popper

Prot: And by the way, there is a package by Karthik Chikmagalur called Popper. I didn't mention it, but yeah, it's basically another way to do the display-buffer-alist.

Sacha: Mm-hmm. So there's an interesting thing here where you have the beginners. Okay, they're just getting through the tutorial. If they can get to the point where they can edit the file, click on, even just use the menu bar to say file save, file open and all that stuff, that's great. Then the step beyond that is, okay, how do they start to use packages? And quite...

52:25 Earlier is better than later for Emacs Lisp. Take it as is.

Sacha: It feels like in order for them to be able to use packages like Popper or all these, they gotta be unafraid to use Emacs Lisp. Because all the packages, you know, tell them, okay, just put this use package in your config, but you gotta be comfortable.

Prot: And that's why I think you have to basically circumvent Customize. Like the earlier you are exposed to Emacs Lisp, I think the better it is for you long term. Because there is no way around it. You will have to deal with it. and even if you don't quite know how things work, like even, for example, this thing here, where it's like, there is a line between them, even if you don't understand code, you can start to think in terms of blocks even if you don't understand this code... Maybe with a few comments here and there, that can become a bit more obvious as well. But of course, like you go to a package and the first thing it will tell you is, okay, add this to your config and it's a use-package declaration, for example. And you will be like, what is a config? The better solution is for you to know that quickly, learn it quickly.

Sacha: There's this whole intimidation factor, especially for people who are coming from non-programming backgrounds, and suddenly they're like, there are a lot of parentheses in this. Do I have to be a programmer in order to use this? You just go right into it, but I'm sure you've talked to people who maybe weren't sure about it. How do you get them over that hump?

Prot: Basically the idea is treat it as something that is inscrutable right now. Just take it as is. Take it at face value basically. You don't need to understand it. You don't need to be able to debug it. Take it as is and just make sure moving your cursor that this kind of balance is preserved by checking that there is a parenthesis at the beginning and there is a parenthesis at the end. So, show parent mode helps in that regard, which is enabled by default. Of course, you cannot really get around it. Like, you cannot have a training wheels mode for Elisp, unfortunately. You can do something like rainbow-delimiters, you know, the package. You can help, but I'm not sure that helps by a lot.

Sacha: Yeah, yeah. And it's like, OK, so you just got to do it. Don't be too scared. But it's OK to just copy and paste and trust that as you do this, you will learn enough that when you go back, you'll be able to understand more and more of it.

55:17 Before and after comparisons

Prot: Yes. What helps, for example, in this block here, of course, I don't have to describe the code. But if you do this iterative approach that we mentioned earlier of step by step, like you can try your Emacs before this and after this. And based of course on some comment or whatever, you can see what the difference is. So even if you don't understand the code, you understand the effects of the code.

Sacha: Yeah, yeah. Before and after comparisons. I'm guilty of not taking advantage of this enough myself. I'm just like, oh yeah, I'm just going to evaluate it in my current Emacs and sometimes the results are obvious and sometimes the results kind of break my Emacs and I'm like, okay, I got to restart Emacs instead. I should have just started a new Emacs and tried it there.

56:04 user-init-directory

Sacha: But with the new user... Well, I say new, but actually --user-init-directory has been around since Emacs 29. So it's pretty much widely available now. People can actually try, for example, a starter kit without committing to it. Do you see newbies actually use this? Because I tell people, okay, you can do this, but it requires using the command line and using command line arguments. Is that a thing they can do?

Prot: I have introduced it to some people and they have used it, yes. But I don't know if people use it as part of their workflow or maybe they have just a cheat sheet specifically for this where it's like, oh, I want to try this and I want to try that. But eventually they don't use it day by day, I think. They just settle.

Sacha: if you want to try something big, then you know you can say, try that starter kit, but don't necessarily go to the work of making it my .emacs.d and so forth. Yes, that's a good one. They just say put this in your init file so it's a lot easier to back it out and change your mind. I had a thought, but it has disappeared, so I will just read something else from the chat.

Prot: That's fine.

57:20 Emacs core

Sacha: @romsno says, "Do you fear that Emacs C core will go unmaintained? Deep knowledge is rare, held by few, like Eli. While finding Elisp maintainers is easier, like with elfeed, the core is hard to replace." So I guess if you're thinking about the long-term: newbie, to package user, to package developer, to who knows, Emacs core contributor, And then off to the C, like somebody who knows the C core, that's a very long and somewhat leaky pathway.

Prot: It is for sure, for sure. But of course, here we are talking about people who have expertise in those specific domains. And yeah, that's something that it's an experienced Emacs user already. Like we are talking about somebody who not only is actually an experienced Emacs user, but also knows the relevant technical knowledge. Right. I am an experienced user, for example, but I don't know C, so I'm useless in this regard.

Sacha: I guess if we zoom out a little bit, we can think about how do we help people connect with the long-term motivation that drives, that you mentioned earlier, to keep using Emacs, to learn more about it, to enjoy using it and fiddling with it and get deeper into it. For some people, Emacs clicks right away because they already tinker with other things and it becomes another thing to tinker with. For some people, it's like, I don't know, I've heard I should use this or I've heard people say good things about Org Mode or about Magit. I just want to see what it's like.

59:02 Getting past the initial awkward phase

Sacha: So going back to that, how do we get people hooked?

Prot: Yeah, yeah, yeah. It's that initial awkward phase. Like if they can get past that, and by awkward phase, here I mean to actually understand Emacs and the key bindings and how to move between windows and there is a mini buffer, that sort of thing. Once they get past that, I think that people stick around. Like if they have, for example, a use for it such as, okay, I use it for org, they do stick around.

59:34 Even reporting an issue is a great contribution

Prot: There are a lot of people who contribute, like even non-programmers. And this is something I encourage in my packages, for example, where it's like, write me an issue. You don't need to know any code. You don't have to tell me about how to do it. Just tell me what your idea is. And in all my manuals that I write, I have an acknowledgement section where I have, you know, ideas or suggestions or whatever. And I write the name of everybody who has ever created an issue because it's like you help even by telling me what your use case is. And that already helps. And it gets the people involved as well.

Sacha: They spend time trying it out and describing what the difference was between what happened and what they wanted to happen. And sometimes even just identifying the issue is a big part of it already because you can't test everything. So we can definitely help people feel more included in the community because they don't have to be core developers or package authors to be part of the community. Even using it and writing about it is a big help.

1:00:44 Next steps: adding to the wiki

Sacha: In the four minutes before I have to make a grilled cheese sandwich, shall we wrap up with some concrete things that you or me or somebody listening can do to help improve the newcomer experience for Emacs?

Prot: You were doing it already. You were doing the wiki. I think that's good. A link, a direct link to the newbie section I think is great. Maybe you can even have a permanent link in your Emacs News, like the topmost line. It would be like, well, new...

Sacha: Don't get overwhelmed by all these people talking about SDL graphics loops and Emacs and whatever. Very far down the path of the learning journey. So making one of these starting points where people can then kind of find the trail that then leads them to different places. I'm looking forward to reviewing the Emacs news things for beginner resources that I've already previously identified and then fitting them into the Emacs Wiki in various places where people might come across them. And then of course, it would be nice if we could test these with actual people. So in your coaching sessions, we can find out where the other gaps are. There's a lovely conversation in the chat about other things that I don't have the fast speaking rate to cram into the next three minutes. Thank you so much for this conversation. It was great. I always like picking your brain about things. It's a big project but Emacs is fun to play with and I hope lots of other people come to have fun with it too.

1:02:37 Core longevity

Prot: Yes, and maybe I can make a final comment about the C core and the fact that there are a few people such as Eli Zaretskii who have expertise in that. I am an optimist. I think things will be ironed out. I think they will work out on their own. There are people who have the expertise. Maybe it's a cultural issue or We could say like a bureaucracy issue, like they don't want to deal with mailing lists or whatever. Maybe they don't like the current style. I don't know. But I'm sure that when push comes to shove, somebody will step up.

Sacha: I think it's actually very encouraging that because Emacs has such a long history, we've actually seen this kind of generational transfer of knowledge already in the sense that the people who are maintaining Emacs now, aside of course from Dr. Stallman himself, they're not the originals who started this project. They came into it afterwards, decided they liked it, dug deep enough into it to learn all these different things and have continued from there. And we've also seen lots of, you know, lots of trends come and go. People leave Emacs for Atom. People come back when Atom gets discontinued. People leave Emacs for VS Code. Who knows what will happen then? But when they come back, they come back bringing even more ideas. Thank you for watching! Okay, so in about one minute, the kid is going to start barreling down the hallway and asking for a grilled cheese sandwich. I'm going to wrap it up nicely here so I can remember to copy the chat this time.

Prot: Very well, very well.

Sacha: Yeah, yeah. The notes are going to be in, like, you know, if you go to yayemacs.com, they're probably going to be in, like, yayemacs24. And you're going to send me this markdown file or whatever that you showed me, so I can post that as well. Thank you so much, everyone. Thank you, Prot, and thank you to the people who joined in the chat. We'll see where it goes. Okay, bye.

Prot: Take care. Take care. Bye, Sacha. Bye, folks. Take care.

Chat

  • protesilaos: ​​I am in the Google Meet room
  • protesilaos: ​​And hello, by the way!
  • hajovonta6300: ​​Hi legends!
  • JacksonScholberg: ​Hi
  • petertillemans2231: ​I am not worthy!
  • takoverflow: ​​Hello Sacha and Prot, thanks for these streams!
  • ShaeErisson: ​I love emacs, but haven't really learned elisp.
  • hajovonta6300: ​​@petertillemans2231 you are worthy if you are willing to learn!
  • JacksonScholberg: ​I vibe with Emacs after using other text editors that were not minimalist enough for my preferences, plus having experience with other open source software like Linux.
  • petertillemans2231: ​Well, Emacs and Minimalist in the same sentence… strange concept, but I know what you mean
  • petertillemans2231: ​I guess learn starters quickly to use emacs –debug-init. Maybe not in the first hour but close to tweaking.
  • JacksonScholberg: ​ChatGPT reminding me keyboard shortcuts helps a lot
  • ShaeErisson: ​I learn about new emacs packages by pairing with other users and asking "How did you do that thing?"
  • hajovonta6300: ​​I use Emacs since 2010 and had become a power user; but in the last year I feel LLMs took over most of the tasks I usually solved with Emacs.
  • petertillemans2231: ​Emacs documentation is very extensive but I feel discoverability of the docs is a problem for newer users.
  • 10cadr: ​​wow! ill watch the vod later,, nice buzzcut prot. i am between sessions rn also ill leave a comment on prot latest video later cheers
  • rossbaker9079: ​​We have an Emacs channel at work that's nice for learning. It's not a full replacement for these other ideas, but brings together people solving the same problems with Emacs.
  • ShaeErisson: ​Is there a way to ask emacs which file(s) it has read to load the current configuration?
  • charliemcmackin4859: ​​thinking of the terminology problem: maybe offering search terms for further exploration, rather than (or in addition to) links
  • JacksonScholberg: ​An Emacs channel at work sounds like a nice way to learn from others.
  • siredwardthehalf: ​​whats emacs
  • hajovonta6300: ​​it is an application platform with a great editor app
  • romsno: ​​hello guys do you fear the Emacs C core will go unmaintained? Deep knowledge is rare, held by few like Eli. While finding Elisp maintainers is easier (like with elfeed), the core is harder to replace
  • hajovonta6300: ​​@romsno true that
  • petertillemans2231: ​orderless is awesome
  • takoverflow: ​​Vertico can be replaced by icomplete-vertical-mode but there's no built-in corfu replacement
  • petertillemans2231: ​In the beginning, especially with use-package it is much more like yaml than a real programming language. That can ease people in.
  • satrac75: ​​i'm curious if other users split their init file into seperate files. my init file over the years continuea to grow and grow.
  • hajovonta6300: ​​@satrac75 I sometimes delete obsolete code I don't use anymore. I found my config became relatively stable after 2-3 years of initial trial-and-error. I heard other people experienced the same
  • petertillemans2231: ​I do … I go back and forth… single file … modularize … refactor/simplify in single file again… Like a dynamic tension field.
  • hajovonta6300: ​​My current config is 3099 lines long (org-babel format)
  • hajovonta6300: ​​the tangled output is 2345 lines.
  • charliemcmackin4859: ​​@satrac75 I did, yes. But this is mainly because I cherry-picked the configs from purcell's emacs config as I found I needed it. Then I converted it (mine) to use-package later
View Org source for this post

YE20: Emacs Carnival: Newbies/starter kits

| yay-emacs, emacs, community

This was a rough braindump on what I might want to write or do for the Emacs Carnival theme this month.

Outline

  • Emacs Carnival April 2026: newbies/starter kits
  • Start with why
    • Curious
      • Cool demo
      • Reputation
      • Someone else (ex: professor)
    • Learning at leisure vs wanting to be productive ASAP
      • Coding professionally; used to VS Code or Vim
    • Journey:
      • Outsiders
      • Newbie
      • Basic working environment
      • Intermediate
        • Packages
        • Configuration
      • Advanced
        • Writing custom code
    • TODO: possibly a post about where people come from and typical resources, next steps
  • Challenges
    • Balance of time
      • Getting a basic environment working
        • Things like git performance on Windows, consoles / window managers taking over keybindings
        • Starter kit trade-off
          • Plus: Get stuff working quickly
          • Minus: Limits your help to the kit's community, can be challenging to customize further
    • Isolation
      • Don't know someone else who can watch them, lean over, fix stuff, suggest improvements, etc.
    • Overwhelm
      • Too much to fit into your brain
      • Don't know how to break things down into smaller steps (which steps, etc.)
    • Unknowns
      • Not knowing the words to look for
      • Not knowing what is close by, what is possible
  • What can help?
  • Stuff I work on / can tinker with
  • Continuous learning
    • Connecting with the community
    • Blogging
    • Managing overwhelm, etc.

Transcript

Transcript

00:00:04 Introduction
Alright, let's see. Hello stream, this is Yay Emacs 20, and today I want to brainstorm some thoughts for an Emacs Carnival post on newbies and starter kits. Okay, alright, and the audio works. Alright, so Yay Emacs 20, Emacs Carnival, newbies and starter kits. That is this page. Yes. So, every month or so, pretty much every month so far, people have been getting together to write about a shared topic. And this month's topic is newbies and starter kits. So, originally proposed by Cena, but Philip added some topics to start with. Things like, what are your memories of starting with Emacs? What experiences do you have with teaching Emacs to new users? Do you think starter kits are more of a hindrance in the long term or necessary for many users to even try Emacs? What defaults do you think should be changed for everyone? What defaults do you think should be changed for new users? And what is the sweet spot between starter kit minimalism and maximalism? So, let me get myself organized here. I want to start off by maybe making a mind map and seeing how that goes. Let's try sharing. I'll do some screen mirroring from my iPad. See if it works. It'll be fun. Okay, there's the pen. Okay, let me think. Newbies... Newbies and starter kits. I like starting with a mind map because I jump all over the place anyway. Starting with something non-linear helps a bit. Okay,

00:02:17 Overall structure
starting with why. People come to Emacs for many different reasons. Some people come because they're curious about something. They've seen a cool demo. They have someone they look up to and they say, how did they do that? When it shows there's a new feature, right? Interesting thing. So that's definitely something that gets people into Emacs. I also want to think about the Emacs news. Meetups, EmacsConf. Maybe do a reflection on how I can help more effectively. And then there's always this thing that I have about mapping and coaching. This is kind of the what's close by. How do I get to where I want? And lifelong learning, because it's not just about newbies... Keeping a beginner mind in Emacs is very handy. And so it's helpful to be able to keep thinking about, how do I want to learn? How can I keep learning? Okay, so at this point I'm really just thinking about topics and seeing where I want to go with this. do have chat open somewhere, so if you happen to drop by and have any thoughts, I think I can do that. Aside from that, you know, you can just also just keep me company, um, or, and, uh, something. Where is this, where is this chat window that I'm, yes, okay, there it is. All right, okay. So this is just me thinking out loud about newbies and starter kits because afterwards I can grab the transcript and start pulling things out into blog posts.

00:04:57 Starting with where people are
So starting from where people are. Sometimes people are curious, either just because of Emacs' reputation or because they've seen a cool demo somewhere and they want to be able to do stuff like that. Uh, sometimes people have kind of, you know, it's, it's totally open. They can, they can learn at leisure, uh, or sometimes there's some pressure to become productive right away. Let's say, for example, if they're coding as their main job, they know that switching to Emacs will help them learn it a lot faster, but at the same time, they still have to be able to keep up with their work. Which means figuring out things like compilation errors and all that stuff faster, which can be a bit of a struggle when you're new and you're trying to set up your environment for your coding system.

00:05:59 The built-in tutorial (C-h t or M-x help-with-tutorial)
@j7gy8b has a question. Do people still try the built-in tutorial? I think so. I see the built-in tutorial of C-h t highly recommended every time people come across, every time people post those threads on... I'm a beginner, how do I get started? Many people recommend using the beginner tutorial because it will teach basic navigation and concepts in a fairly interactive, easy to grasp manner.

00:06:30 Overwhelm
Oh, and somewhere in here, also in the beginner thing, there's probably something about dealing with overwhelm, because Emacs can be very overwhelming. And this is true even for experienced users. I am constantly running like this. I want to learn a long list of things, but there's only so much I can fit into my brain and have it remember things. Very little, actually. So, dealing with overwhelm is a big problem for new users.

00:06:59 Getting a basic working environment
Oh, and then there's something in here about... you're starting off with, like... a total newbie, you need to get over this hump of getting a basic working environment. And if you're a programmer, actually, that bar's a bit higher because you're used to IDEs and you might be coming from VS Code and Vim and have these expectations of what your editor should already be able to do out of the box or with just a little bit of configuration. So you need to be able to at least do some of your work in it without being very, very annoyed. And then you get to the point eventually where it becomes more fun. So this is like a big hurdle there. And then, I'd say intermediate users are people who are able to find and configure and use packages. @j7gy8b says, by the way, he's Jeff from Emacs San Francisco and doesn't know how to change his display name. I will try to remember that you are Jeff. Something about YouTube and Google, I don't really know either.

00:08:33 Sometimes keybindings don't work
@lispwizard says, one problem is platforms which usurp keystrokes which Emacs expects. I just wrestled with this on a Raspberry Pi, especially since there are so many keybindings. So for example, the GUI versus terminal thing. There are some keybindings that don't work if you don't have a GUI Emacs. And of course, if you have a GUI Emacs, and you're in a window manager, and the window manager also has a lot of global shortcuts that that override the ones that Emacs has. So when newbies come across, oh yeah, just use, meta shift left in order to do this thing in Org Mode, which is super cool. And they're like, it doesn't work for me. But they don't have the experience to know, oh, it's because it's a terminal, or oh, it's because, and so forth. So that's definitely all these little things that trip people up. Oh, and I was thinking about... Advanced would be like writing their own custom code. So, if you're trying... this thing here is a big hump, trying to get people through this journey.

00:09:52 Isolation
And, oh, there's also this... some people are isolated. Most people are isolated, I think. They don't know anyone who also uses Emacs. Maybe they're coming across Emacs because they found it in a book or they found it in a cool video, but they don't have someone who can physically sit with them and take control of their computer and set things up the way they want, solve their little Emacs Lisp issues or help them even just figure out the words to find things when they don't even know what they want to ask for. So isolation here. If you happen to be learning Emacs with the help of a mentor, or because your professor really likes Emacs and makes all of their students use it, at least for the course, for the term that they're taking it, then yeah, that's extra lucky because you have someone you can ask for help. But I think a lot of people are picking up Emacs without being able to sit next to someone or look over someone's shoulder in order to discover ways of doing things, which is why meetups helps. Meetups help a lot. Okay, so let's draw a connection between that and meetups. Isolation. Oh, there's also like, having like background expectations and knowledge. And here, these days, it's usually either VS Code or Vim. What other things? Ooh.

00:11:27 Programming vs non-programming backgrounds
Programming versus non-programming. There are a lot of people who actually get into this from a non-programming background. So, programming. Org is a big thing that's drawing in people who are writers and note-takers. This is a whole, like, other... Okay. So there are a lot of things that get in people's way when it comes to thinking about like when it comes to learning Emacs.

00:12:11 Students
Okay, Jeff says in the meetup we do see that young people who are inspired by a professor to try and a lot of Emacs transmission happens this way where you have your stalwart Emacs users who are faculty and who just basically say, all right, this year, you're going to learn... Could be Scheme, could be data science or whatever else. And we're going to do it in Emacs because all of their lecture notes are in Emacs, so it's much easier for them to say here's my literate programming example of what I'm talking about. I'm just going to evaluate it during the lecture itself. So you can see that. And you all should learn Emacs. Usually they'll hedge it and say, you can use other editors if you really, really want to. But there's definitely: here's how to get started. Here's the tutorial made for this course specifically. Here are all the modules that you need. And a lot of people go from there and, and just, it clicks into their brain and they have someone to talk to: both a professor and fellow students who are learning all of this arcane stuff for the first time. So that is an excellent situation to be learning Emacs in. But it's not everyone's experience, so it'll be interesting to see how to support that case as well as other cases. I should write that down somewhere. School. Okay. So, challenges, obstacles.

00:13:56 Basic working environment
This basic working environment thing, I think, is one of the struggles because, like, for example, if people want to get things working with the current best practices for coding JavaScript or coding Python, sometimes getting LSP working just the right way is a finicky process. And then, of course, there's platform differences, like Magit being very slow on Windows. Which can't actually get around because Windows just really sucks when it comes to lots of small file operations. And so people end up recommending using WSL, Windows Subsystem for Linux, instead, which, again, is something that a newbie might not consider or come across or feel comfortable setting up. And then, of course, just install Linux, which is not always an option for people. Let me think. Okay, where are we now? There's so much to write about. What else do I take into account? What else can I add to the conversation? Okay, the stuff that I specifically know.

00:15:31 Stuff I work on - Emacs News
Emacs News helps a lot with a number of things, actually. So I do find that in the conversations and people in the Reddit threads where people ask, oh, I'm new to Emacs, what should I read? People consistently recommend things like the Mastering Emacs blog and book... What else do people like that...? People often recommend Doom Emacs, especially if people are coming from a Vim background. And Emacs News often gets mentioned as one of the resources. I think this helps for a number of reasons, because first it gives people kind of some exposure to the cool stuff that people do with Emacs. So this is inspiration. I think it's primarily on the kind of aspirational stuff. People can see interesting demos and that motivates them to stay with Emacs. And so this is actually probably more of a kind of an Emacs news-ish thing here, from intermediate to advanced. From time to time, I do come across beginner-oriented things in my kind of survey of Emacs news-related items. So let's add that to use also EN beginner stuff. Maybe it's every couple of weeks that someone posts a link that's specifically beginner-related. And one of the things that I've been slowly doing is I've been trying to map it out so that people can find those resources.

00:17:28 Emacs Wiki
And actually I should add a thing here, Emacs Wiki. So one way I could improve is to take the links from Emacs News on a more regular basis and put them into the Emacs Wiki pages. There's like a page for newbies for example and so forth because... Not that newbies will come across those pages themselves, sometimes they do, but also because it makes it easier for other people to say, oh yeah, you want to learn more about that? Check out this page that has all these organized resources already. And one of the reasons why that's useful is because something that new people struggle with is figuring out what's close, what's close by... They know this, what's easy for them to get to? What's something they can learn with not much more effort? And this, I think, is one of the things that having a mentor helps with, or having a coach helps with. Because you can describe what it is that you're doing, or what it is that you're trying, and then they can say, oh yeah, you should check this out. I've started to try to do some of that.

00:18:53 Mapping resources
Let me bring up my map here. There you go. Beginner map. Clearly, that Org Babel needs to be connected to Org Mode. This, again, is not something that I think... Oh, there's actually another Org Babel over there. I need to deduplicate these things. But I'm trying to figure out how to represent the connections. Kind of like those choose your own adventure books, where you might only have some branching points to consider, so you're not overwhelmed by the whole graph. At the same time, you can sort of keep track of where you are. Does this thing still do the thing? Oh yeah, okay, okay. Alright, so this still does, in fact, keep track of what you clicked on. Okay, so I went through a lot of Emacs news links. I think those are the ones that were sort of beginner related. And then I started trying to organize them so that I can say, okay, all right, you've installed Emacs and Linux... I can go find Emacs installation instructions for other places. And then start to think, okay, from here, what are the kinds of things that people usually want to explore next? So, yeah, changing the colors is something that often people immediately want to do because they're used to a certain other look. And so, A tip and some resources, tips and resources, more things, back to the map, and so forth. So mapping the resources would theoretically help me or somebody else be able to say, okay, where are you in your learning journey? And what do you want to learn about next?

00:21:00 Clojure
Jeff says perhaps Clojure is a route to Emacs for experts. I've heard it's the best IDE for that language. And I should mention that too, because Clojure... Am I no longer sharing? Okay. because Clojure. Yeah, it is so far I think still one of the, like Emacs is still one of the reference IDE for it. So that is, we see a lot of people come into Emacs because They're working at a Clojure shop and they basically want to use the same IDE that everybody else is already using there. Or they're getting into Clojure, they want to do work in Clojure, and so they're learning Emacs because because that's kind of the standard IDE for now. I think the State of the Clojure survey recently said there are other editors gaining ground... More editors means more places to learn, more places to pick up ideas from, so that's not terrible. It's okay too. But that's definitely a reason why people come into Emacs. because it's the standard way of doing things. And of course, Org is wonderful, and Magit is wonderful, and people come into it just for those reasons. That is okay. And sometimes people use it only for those reasons, and that is also totally okay.

00:23:02 Emacs News and a map
Okay, so Emacs News is one of the things that I can fiddle with, and that can go into a map. And the map is more... Again, it's not quite in the state where newbies might navigate it, but if I were theoretically to have office hours, for example, then I might use that to quickly go through, like, okay, where are you? What do you want to learn? And here's some resources that other people have shared that might be helpful. And then theoretically, maybe they will keep exploring from there.

00:23:38 Cheat sheets
Oh yes, the How to Learn Emacs cheat sheet that I made ages ago. Learn Emacs. I think this is 2003. No, no, it's 2013, it feels like. I should include here. How to learn Emacs. Yeah, 2013. Okay. And the idea there was kind of a one page sheet with sort of like the most common things. What the difference is between a frame and a window, and what's the mode line, and some pointers to other things that you might want to learn. And this was... I think this was before starter kits like Doom Emacs. I don't even have Oh, this is an old URL. In fact, I should go change that. I don't even have a recommendation to learn Org first thing. Take your notes in it. Oh, no, I do have. See, it's Org Mode. Is it Org-mode? Is that even still? Yeah, okay, okay, that's still on it. Thank goodness. Okay, okay, here we go. Let's add that as a thing. So that's still being recommended, but the idea of having a single page cheat sheet, there are actually quite a few of these cheat sheets anyway. Making one yourself is always a good idea. It's a good way to deal with the overwhelm, so cheat sheet. Jumping all over the place. That's just how my brain works. It's okay. Okay, so the things that I can fiddle with. Emacs news. I have a beginner section up there. I could add an introduction to do. Add intro. So when people get to Emacs News, can I get to it? Yes. Right now, there's just this very basic subscription options, feed XML, mailing list, index.org. But I can add a little more information here for new users. to say, okay, this is how you set up elfeed. This is what Emacs News is. It's a little bit overwhelming, but you can use it for... you can keep an eye out for the beginner thing. You can look through the archives for beginner related links. And you can also start to look for recent resources related to the topics that you're interested in. So that's something I can do. There's probably an interesting way I can mark that in the audio. "Hey Sacha, do this." So that's one thing I can work on.

00:27:04 Meetups
Meetups are great for newcomers because you can get over that challenge of isolation, especially when they realize that it's totally okay to ask questions at meetups and show the things that you have that aren't working and then other people will help you think about them and figure something out. I've seen a fair bit of live debugging at places like Emacs Berlin and the Org Meetup. It's hard to ask questions sometimes on Reddit, although a lot of people do. It feels a little bit like Reddit is more effective as a help platform than Stack Exchange. But sometimes you need a bit more back and forth, and that's where the meetups can be helpful. So I guess the progression there is ask on help-gnu-emacs or, well, ask on your project-specific mailing list or help-gnu-emacs or Reddit or the Emacs subreddit. And if it feels like it needs a bit more back and forth or showing things, the meetups are helpful for that. I've also seen people asking questions in Mastodon, which is very nice. But Mastodon is a little bit more of a technical thing, I think. It's not something that a lot of newbies will be on. Anyway, the meetups. People come across meetups. Not that often. But Emacs News helps with coming across meetups because I include upcoming events in the first section here. And so what I should do is in the intro, I should also mention how to subscribe. Meetups are great. Inspiration. Okay. And that's there. We run the Emacs Big Blue Button web conferencing server year-round. We don't leave it scaled up all the time because that would be expensive, but we usually keep it as a Nanode so that I don't have to spend the week before the conference scrambling to get everything sorted out and hoping that the latest install script didn't break anything. So it's fine. We just run it year-round and then scale it up for meetups. Right now it's scaled up monthly for the Emacs Berlin, Emacs APAC, and Org Meetup meetups. But if there are other meetups that would like to have a free and open source software platform to do it, we can certainly do that. We can add them to the list there. Anyway, so that's Emacs. It goes into Emacs News.

00:30:19 Emacs Calendar
There is also an ical for it, which I could mention more prominently. Oh yeah, I actually do already mention it fairly prominently over there, so that's fine. Although I guess some people might not know that ical files can go into your calendar. So I should mention calendar in this intro for newbies that I should write, kind of like how to make the most of Emacs News. And that actually takes, is generated by this Emacs calendar thing. So that lists upcoming events. I also update the Emacs Wiki page for it with a copy of the thing, and I generate HTML calendars as well, in case that's what people prefer. Calendars. Calendars all over the place. I even generate org files in a gazillion different time zones, so that people can just include that. And I think then the time zones are all sorted out automatically. Because we... I don't think we still have time zone... We have time zone support yet in Org Mode? Anyway, it's there. Meetups. Where was I with... Yes. I need to add this to the intro. Let's highlight that in the thing that I need to do. Emacs news.

00:31:54 EmacsConf
EmacsConf is more of a, again, it's an inspiration sort of thing. We like to start the day with more beginner-oriented talks. So I'm always looking out for presentations that that makes sense to share and encourages people to kind of get into Emacs less slowly or workflows for Org Mode that can inspire them to try it out and make it a little bit more manageable. So that's in a yearly kind of schedule, students, rhythm. And so I guess the Emacs News and Emacs Conf ones are definitely more about inspiration, giving people reasons to stick with the learning curve because they can see what Emacs can do in other people's hands. And the meetups sort of help with the getting over the hump of getting a basic working environment going. Although actually people don't usually ask about basic working environments because they feel maybe a bit embarrassed. About asking about such?

00:33:15 Where people ask for help
I see more of those, like, okay, I'm trying to set up this, you know, this LSP thing, and I'm getting stuck on this thing. I see more of that on Reddit. It might also be in help-gnu-emacs, but I haven't actually been reading help-gnu-emacs, because I feel like it might be a high-traffic mailing list. I should find out, okay, what's help-gnu-emacs like these days? Because I want people to be able to... Okay. So this, I feel like, is more of... It tends to be more of a... More of an intermediate resource at the moment. Now we need a place where... Okay, so Reddit seems to be a place where people are not intimidated by the thought of posting beginner questions. And there's also Emacs Stack Exchange, but I don't think people use that as much these days. Some... Maybe... I think there's... Again, this is sort of still... Still kind of intermediate-ish questions. Maybe what I should do is...

00:35:12 Emacs Clinic?
This actually set up kind of that Emacs clinic sort of idea, which could be Thursday. Tomorrow could be a good time to experiment with it. Okay. Whenever my iPad display times out, the UX screen mirroring becomes unhappy. So let me go restart that. I need to configure a longer timeout. Let me kill that all. Kill all uxplay. All right, let's try that again. Once more with feeling.

00:36:09 My TODOs
Okay. So that's probably my big to-do out of this, is Emacs news and how to learn Emacs. Both tend to be starting points. Emacs news more than how to learn Emacs, since how to learn Emacs is a little bit dated and I need to update the URL anyway. Update URL. Where was I going with this? Anita, what was I just talking about? And the inspiration part is actually also useful for encouraging more people to try out Emacs in the first place. So that is part of the journey. Usually it's curiosity drawing people in. Sometimes it's someone saying, I'm your professor, we're going to use this. But usually it's curiosity drawing people into Emacs. So if I wanted to write a blog post about or a reflection about what I can do to help people get into Emacs more effectively, I'm still kind of focusing... I still tend to focus on the intermediate part because... Why do I? Because that's the fun part for me. When you can start to customize Emacs to fit what you want. But in order for people to get to that point, they have to be able to get Emacs to the point where they can use it for their day-to-day stuff. And then they will want to spend more time in it, and then customize it to their particular needs. So, if my evil plan is to continue enjoying the cool stuff that people come up with in Emacs, it does make sense for me to help people get their basic working environment set up.

00:38:39 Videos
@benmezger says, there are quite some interesting YouTube channels to learn Emacs too. Yes, yes. There are great video series that people have done in the past. System Crafters is often recommended, although I think David has moved on to focusing on other things lately, like AI. But his videos on Doom Emacs, though, are still often recommended as resources. Video is helpful because it shows people how it fits together and how the workflow works. Things that are hard to see from articles and blog posts. Videos are a little bit frustrating sometimes because they are slow. You actually have to watch them. But I like the way that people have been posting Videos with detailed show notes in a literate programming style, with embedded snippets, and often they will even use this blog post as the starting point of or the final product of their video. I would like to be able to do more of these myself, but it may require that I learn how to organize my thoughts, which is part of this whole brainstorm things, and then ideally turn it into a blog post or series of blog posts. The videos are great because they help people show workflows, which is good for inspiring people to put in the effort to then go through the show notes and try the steps, but also kind of see other things that the person making the video might not have even mentioned. Often people will make a video, and a lot of the comments are like, what is that theme that they are using? Or they do this thing which changes the window configuration, and what is that? Delete other windows vertically. And the presenter might not even have thought of mentioning that. but because we are virtually looking over someone's shoulder, you get to see that. Ben continues, videos, indeed videos help show how powerful Emacs can be. Simply installing Emacs doesn't give you that viewpoint.

00:41:12 Learning curve
So that's it. I think, especially since our learning curve is, remember that meme that got passed around before really memes were codified, invented? Where the learning curve of Emacs is kind of like this. This is the learning curve of Emacs. It's just very fractal. We need that inspiration to help us get through the afternoons of, ah, why doesn't this thing just break out of the box? Why do I need to write Emacs Lisp to configure this? It's definitely a very different expectation from many other editors, where you're just expected to either have it, or check a checkbox, and then it's there. But because Emacs, there's so many different ways to use Emacs, it's really hard to say, okay, this stuff is going to be hard-coded for everyone, or this stuff is going to be the easy way. Anyway, and people come into Emacs with all sorts of different expectations too, right? So it really helps to see other people use Emacs in a way that suits them And to know that it is possible to have something that suits you as well. So making more videos. I would like to get the hang of doing that also. But I like blog posts and I like transcripts. So I want to be able to improve my workflow for making these videos and live streams so that They also make sense to people who don't have the time to watch a video stream for one hour or whatever. And it would be great for the video to make sense even if you're not looking at the video directly, you know, to make the audio make sense in case you're listening to it like a podcast while you're washing the dishes or going for a walk. So blog posts and podcasts.

00:43:21 emacs.tv - TODO: Add more to the beginner tag, make a playlist
Which reminds me that Emacs TV is a thing, although that's not super beginner-friendly in the sense that I can't just say, here's all the beginner-related topics. I should go back over the 3,000 plus videos over that and maybe index the beginner ones. Let's see what we got here anyway. Emacs TV. How many do we have now? Yeah, 3000 something. Do I have beginner? I do have beginner as a tag. 26 things flagged as beginners. Some of them are in different languages, but that seems like the sort of thing. That could be fun as a YouTube playlist, because people like to just play through a playlist. And then I can try to sort them, I guess? Maybe. Beginner playlist. Beginner playlist. That's another to-do. Okay. Interesting. This is great. I'm identifying a number of to-dos for myself. All right. Lifelong learning, which is how I want to take this idea of newbies and starter kits and apply it to everybody because many of the same problems that we run into, many same problems that newbies run into with regard to isolation and overwhelm and the balance between tinkering with your config and getting stuff done. Let's write that down somewhere. and Isolation. Unknowns. Okay, so four common problems that newbies run into. Isolation, overwhelm, balancing, tinkering with your setup and getting stuff done, and kind of getting the set like Dealing with unknowns. Let me turn down the filter. It's a little too strong. Now can I make hand gestures? Not really. Okay, I will tinker with that eventually. okay um the same kinds of problems that we run into even if we've been using Emacs for decades uh and this uh uh emerald that i'll uh establish in the video it's a lifelong journey uh okay so

00:46:36 Isolation
Isolation. Meetups help. But meetups are harder for people to get to. You might not find something that's the right schedule for you. I highly, highly recommend writing about your Emacs learning. Blogging is a great way to connect with other people who are interested in the same kinds of things. And we've got Planet Emacs Life. Ooh, I should write that down as a thing. Planet Emacs Life. And we've got Emacs News to help kind of keep the conversation circulating. So that's there. @Mtendethecreator says, what's up? What's up, @Mtendethecreator? Currently I am brain dumping various things for various ideas for the Emacs Carnival April. Okay, so isolation, overwhelm, balance of time, unknowns. So here I want to think about, okay, even for people who might not consider themselves as total newbies anymore, It's always good to keep a beginner's mind in Emacs because there's so much to learn. Just the other day, I was reading a discussion thread where one of the commenters was singing the praises of Org Remark, so now I have a new thing that I want to go figure out how to add to my workflow. There's always something interesting to tinker with and learn. Anyway, so everybody can benefit from the things that we can do in this area. Isolation, I'd strongly recommend blogging, Meetups This is where the aggregator goes in.

00:48:54 Overwhelm
Overwhelm, figuring out how to take notes and how to bring up your notes... Customize interface So that's how people start to deal with that. Balance of time... I don't know. I think this is a much... This is an ongoing problem. And... Well, ongoing challenge. Because the... You know, tinkering with Emacs becomes more fun as you get used to it.

00:49:35 IRC
Oh, IRC. Yes, IRC. I should mention... We should definitely mention that. IRC. Helps with isolation and getting help. Although people also... like some... are they still having issues with spammers and needing to restrict the channel? I've been meaning to write a page that explains what to do in that situation. I should drop in to see what's going on there. Reddit, I think, is where people... Okay, I need to... Okay, let's label these things. A, B, C, and D. And this balance of time is actually related to getting a basic working environment started out. So if the reddit is good at A and C and also D actually. Isolation and balance of time. A little bit. People have to learn how to use pastebin and it's a little bit harder on IRC to say, oh yeah, this is the... People do pastebin the problem and then people sometimes do pastebin the solutions. Sometimes a lot of things can be handled by a quick question, so that's good. Okay, I said isolation. Balance of time is always still a problem, but people develop their own productivity prioritization type things. Structures? Frameworks? And for lifelong learning, this unknowns part becomes really interesting and powerful. Yeah, and this is where bumping into ideas helps. Through IRC, through Reddit, through all the Emacs News, etc.

00:52:19 Learning from other people's configs; TODO maybe a livestream?
Charlie says, searching through GitHub for Emacs keywords to see how other people configure things helped my Emacs customization understanding. If Emacs customization is one of the things that helps people move from being a total newbie to an intermediate user, then maybe it makes sense to have and in addition to the clinics that I mentioned, some kind of a live stream where we just go read other people's configs and then talk about how to adapt it and show a demonstration of a way that fits into the workflow. I think that could be a lot of fun. I've been enjoying going through Prot and tecosaur's literate configurations, and slowly assimilating some of those snippets into my configuration. So it might be interesting for people to see more of that process of not just copying and pasting the code, but trying to figure out, okay, what can support me as I try to make this part of the way that I do things? Or how do I tweak it so that it's a blend of what they came up with and also what I want. So yeah, @mtendethecreator says, tsoding's config also. Yeah, whoever's config is posted, we can go through it. And then I can say, oh yeah, that's really cool. Like for example, reading Prot's config. I learned about delete-other-windows-vertically, which I think he had assigned to C-x !, like C-x !, I think, yeah, which is cool because it's like C-x 1 except it's shifted. So that teaches me about the function and also a convenient shortcut that makes sense it's easy to remember so reading through other people's config could be a thing that might be helpful for you to do and because again because video is annoying to go through if i can have my workflow for Adding chapter markers into it. Then I can jump into... Then people can jump to just a section. Charlie says, that sounds nice. I cherry picked a lot of Purcell's config as I hit modes I wanted to use, and then later I adapted it to use-package. And now it's mine. Yes. Yes, that's the... That's wonderful. That's the basic idea. That's one of the reasons why I love it when people share their configs. Okay, so that gives me plenty of things to do. And if I want to think then about this blog post... Let's write in a different color. I can use colors! Let's write in... Can I write in green? Okay. Okay. That's too... Okay. Blue looks... Blue looks linky. Let's write in... Okay. Maroon? Alright. What does this feel like? I have seven minutes before I should probably go check on the kid for maybe doing math together with her. She gets really bored in her math class, so I tried to do... I offered to do some math with her that's a little bit higher level. uh

00:56:07 Discord?
@mtendethecreator says please create a discord for your channel. IRC is cool but the new wave of devs prefer discord. Think about it. I know system crafters runs a discord for their community. Are there other discord places that emacs people hang out in? Yeah, there's like... I have to look into whether it's possible. @DavidMannMD says, I can highly recommend Prot's book on Emacs Lisp. Yes.

00:57:10 Thinking about the blog posts
So this sounds like maybe there's a blog post here about the factors that people... Like, trying to give some basic recommendations on where people... If this is your background, this is why we make this recommendation. These are the recommendations people often make. And this is why. And here's some basic resources. So this sounds like possibly a blog post. Post about where people come from. And typical resources. Next steps. And there is probably a blog post here about the challenges. which I can address from both a new user perspective as well as the, hey, this continues to be a challenge. And then there's one here about following up on my to-dos. And let's highlight these, make it easier. Someday I will actually pick colors that go together.

00:58:55 Books
Ben says, would including books be a good option for lifelong learning? There's some interesting books I've seen throughout my journey. Yes, yes. I love how the books, there aren't a lot of books because Emacs keeps moving, but it takes a lot of effort to make a book. But the people who have written books, like Prot, like Mickey, do an amazing job of organizing things into a linear structure that makes sense. Books are great for this, especially for dealing with the sense of overwhelm and unknowns. Let's take a few a little bit at a time.

00:59:46 Manuals
The manuals are great too. Just even going through the Org Manual once in a while helps me stumble across things that are helpful. So getting people to feel like they're ready to read a book earlier rather than later, or feel like they're ready to read the manual. and maybe modeling how to do it, like showing them, okay, you can be reading this. The manual doesn't have a lot of examples, but this is how you can dig around for examples to see how it works. Could be helpful.

01:00:25 Maybe annotating the manual?
I feel like if we have like an annotated Org Mode manual, here's the manual, but here are also some links to videos where people are demonstrating this concept, it could be interesting. One of my to-do's for a while has been do that do that kind of beginner map, but for Org, because people have shared a ton of Org resources in Emacs News. Where was I? Books. Yes, that is. Okay, so there are three things... probably more.

01:01:04 Starter kits
Oh, starter kits! That's a whole other thing. Starter Kits. I think that if people are coming from a, let's say they're coming from a programming background, and there's pressure on them to be productive as soon as possible, then Starter Kits are a great idea, possibly. If they find a Starter Kit that fits the way they think, and gets the stuff they need working as soon as possible, fantastic. Hats off to them. Go for it. And then they can ease into more Emacsy things later on. The challenge, of course, with starter kits is because they change Emacs a lot, it makes it harder for newbies to get help outside that community. So they should pick a starter kit with a community they can ask for help within. Other people will be just like, I don't know what kinds of things are going on there. And of course, the newbie has no idea how to disable things or turn things off or go back to vanilla for some things. And so it's, it's, it's just complicated. Can't really expect people helping to go install this separate starter kit and figure that things out. The starter kits are useful in that situation, but in other cases, like for example, if you're getting into Emacs slowly and you're curious, it can help to start from vanilla so you know what things you're adding to it.

01:02:32 Navigating source code
@lispwizard says M-x apropos, looking at Emacs source files for related stuff are also helpful. And learning how to navigate source code to find examples and read it is also a skill that nobody is born with. Figuring out how to help people develop that skill is interesting. But I will go check on the kiddo now.

01:02:51 Braindumping with company
This has been very helpful for me. Kind of brain dumping random ideas onto... It's not even really a mind map. It's just bleargh onto this sketch. But doing it with people hanging out and helping me remember stuff or think of stuff is helpful and well worth my voice getting extra tired. So thank you for coming and hanging out with me today. And I will go work on turning these things into blog posts and possibly videos and live streams going forward. I will skedaddle now. Today I need to sew a hat for my kiddo, but tomorrow, I will probably hang out with you maybe slightly roughly at the same time. Thanks, everyone, and see you!

Chat

  • @j7gy8b: ​​do people still try the built-in tutorial?
  • @j7gy8b: I'm Jeff from Emacs SF and I don't know how to change my display name
  • @lispwizard: ​​One problem is platforms which usurp keystrokes which emacs expects (I just wrestled with this on a raspberry pi).
  • @j7gy8b: ​in the meetup we do see that, the young people who were inspired by a professor to try
  • @j7gy8b: ​Perhaps Clojure is a route to Emacs for experts. I've heard it's the best IDE for that language
  • @benmezger: ​​There are quite some interesting youtube channels (yours included) to learn Emacs too
  • @lispwizard: ​You can often watch videos at 2x speed…
  • @benmezger: ​indeed. Videos help show how powerful emacs can be. Simply installing Emacs doesnt give you that viewpoint
  • @mtendethecreator: ​​wazzup
  • @mtendethecreator: ​​someone says pi-coding-agent is the emacs for ai agents. thoughts?
  • @benmezger: ​IRC perhaps? although a little complex, you learn tons from the Emacs channel
  • @charliemcmackin4859: ​​Searching through Github for emacs keywords to see how other people configure things helped my Emacs customization understanding.
  • @mtendethecreator: ​tsodings config lol
  • @charliemcmackin4859: ​​That sounds nice… I cherry picked a lot of purcell's config as I hit modes I wanted to use… and then later I adapted it to use-package…and now it's mine :D
  • @mtendethecreator: ​please create a discord for your channel. irc is cool but the new wave of devs prefer discord. think about it
  • @DavidMannMD: ​​I can highly recommend Prot's book on Emacs lisp.
  • @charliemcmackin4859: ​​(as an idea for looking at other's configs as a method of learning… "how would I adapt this to use use-package?" is something I find myself thinking a bit)
  • @benmezger: ​Would including books be a good option for lifelong learning? There are some interesting books I've seen throughout my journey
  • @lispwizard: ​​m-x apropos, looking at emacs source files for related stuff are also helpful
  • @lispwizard: ​​Thank you.
View Org source for this post

YE21 April 23: Continuing to think about newbies / starter kits

| emacs, community, yay-emacs

I continued thinking about the Emacs Carnival April 2026 theme of newbies / starter kits. Here are my notes and transcript from my previous livestream on the topic.

Overview

My goals for this 1-hour session:

People often recommend Emacs News to people who are looking for resources or inspiration. I want to make it easier for newcomers to Emacs to:

  • feel more connected with the community and find sources of inspiration that can encourage them to keep going
  • find recent beginner-related resources without needing to page through the archives
  • find examples of workflows and tutorials for common needs
  • not feel overwhelmed by all the links; be able to focus on the things at their level

Some things I can do:

If there's time, I can flesh out my outline further. YE20: Emacs Carnival: Newbies/starter kits

Chapters

  • 00:01 Starting up
  • 03:23 Newbies and starter kits
  • 05:55 Emacs News
  • 07:14 Let's move the mailing list option up
  • 07:51 An aside talking to Prot
  • 09:52 Challenges: Isolation
  • 10:45 Overwhelm
  • 11:14 Balance of time
  • 11:33 Unknowns
  • 14:00 Post-its
  • 14:21 Finding help
  • 14:53 Testing BigBlueButton
  • 17:02 Thinking about reviving Emacs Hangouts
  • 17:48 Emacs News as a newbie
  • 18:29 Aside: Jeff is looking into making VS Code plugins
  • 18:57 Notes on making the most of Emacs News
  • 20:50 RSS
  • 23:42 newsticker
  • 27:25 Stream delay
  • 28:31 Reading news with newsticker
  • 29:04 The usefulness of screenshots and videos
  • 34:20 Back to Emacs News
  • 35:00 Prerequisite knowledge for Elfeed
  • 37:29 Other resources that people might find useful
  • 40:56 Beginner map
  • 42:44 emacs-news/index.org is 5.5 MB of plain text
  • 43:55 consult-focus-lines
  • 44:13 Organizing the links
  • 45:02 Organizing screenshots and videos by package
  • 45:49 Info pages
  • 47:08 Remembering keybindings
  • 48:40 The guided tour
  • 50:07 Recap
  • 53:12 newcomers-presets
  • 57:52 Wrapping up
  • 58:19 Remembering keybindings
  • 59:13 Picking Prot's brain next week about the newcomer experience

Transcript

Transcript

00:00:01 Starting up
Alright everyone, this is Yay Emacs 21 and I think it's a good opportunity to continue with thinking about newbies and starter kits. Also, theoretically, you might be able to join via Big Blue Button. I will put the link in the chat and we can experiment with it because I have no idea if it works or not. Let's go see. That's not it. Let's get the right one. I need to have shorter URLs, but that will come eventually. Step two, find the chat window. I have too many windows. Okay, let's see if that works for now. And then, let's find out if everything gets crazy if I share my... Like, how does this work? I unmute myself. Testing. Okay, that shows up. I am logged in with the EmacsConf user at the moment. I probably have a me account on this as well. I just don't remember if I've got that set up yet. Anyway, we're experimenting with these because next... next week? Next next week. Next next week or so. Yes, next next week I am chatting with Amin Bandali and we're going to start doing some Emacs chats, possibly on BigBlueButton because it's free and open source. So that is all goodness. And let's share screen one, I think. Could not share the screen. Hmm. I'm going to try this with the other browser. Let's paste in my join link. Let's log in as me. Microphone. Ah, it doesn't like my microphone. Fine. Let's see if this lets me share my screen. Entire screen. Share. Okay. Alright. So now I'm sharing. I am not sharing. It's not happening. Well, it's thinking about it. So my goal is to get to the point where I can use big blue button to share my sub goal, my side quest, to share my screen so people can see what I'm talking about and stream at the same time. But it doesn't seem to be happening, so that might be something I need to fiddle with off screen. OK, I will just save this for if anyone wants to drop by and share their stuff. OK, that is cool. I will live.

00:03:23 Newbies and starter kits
Okay, let us get back to whatever I can do. So yesterday I was thinking about this Emacs Carnival April 2026 topic of newbies and starter kits. And I wanted to start thinking about what I can do to help people with isolation, overwhelm, and these little challenges that come with being new to Emacs, but actually there's still challenges that we deal with, even when you're experienced. And I'm seeing people in the chat, but it's not showing up in the chat of social stream. Boo. So @Mehrad42 says hello, and @JacksonScholberg also says good morning. Good morning to you too. I have, in the notes and transcript... I've actually updated this with a transcript, I think. So now my post from yesterday has the video from yesterday, which is great. It also has my outline, which might be slightly easier to read in non-dark mode. Dark mode, dark mode, dark mode. Tough. One second, thought. Never mind, you can you can deal with the dark mode flipping yourself. So I have the outline, I have some to-dos for myself, and I have this lovely transcript which I edited and added chapters to because text is wonderful. So all of that is there. Probably there's still some misrecognized words in it, but handy. And then the outline up there has the links. So theoretically, I can start taking this and doing stuff with the thoughts and with the text to figure out how that goes. Let's see. Reload. Ah! Did the reload work? No. Okay. Things that I don't quite understand, but that's okay. I'll live. Okay. Let's get on with it then.

00:05:55 Emacs News
So a lot of people recommend Emacs News to new users or to other people who are interested in keeping up with what's going on in the Emacs world. I want to make it easier for people to find the resources and know what to do with things. So here's where they often end up. One of the things I've just added is a note that you can get to this page using a shorter URL, like https://sachachua.com/emacs-news or https://sacha.ac/emacs-news. And I should probably make it also work without the dash because then peoplethey don't have to remember, okay, does it have a dash? Does it not have a dash? And so forth. So that can be a to-do for me. Add an nginx redirection for Emacs News. No dash. All right. And I've also added this. Are you new to Emacs? Check out these tips for making the most of Emacs News. Plus quick subscription options, elfeed and nnrss for your favorite newsreader, MailChimp, or whatever.

00:07:14 Let's move the mailing list option up
I feel like it's slightly easier for newbies to deal with mailing lists because everyone knows how to do email and not a lot of people know how to use the awesomeness of RSS readers. So let's in fact switch this around so that the mailing list is up there. And let's make elfeed a link. Where is elfeed?

00:07:51 An aside talking to Prot
Hey, bonjour, Prot! Okay, Prot is also dropping in. I actually wanted, so I have the session with Prot next week and I actually want to pick Prot's brain about the newcomer experience as well. I've decided to draft some notes around that in here. So instead of my just telling you about all the cool stuff that I've been building for updating, you know, updating YouTube related entries on my blog or whatever. I want to pick Prot's brain about newbies and starter kits, which is great because Prot had some contemporaneous notes in 2019 when he started with Emacs. There's a video blog and he shared his experience starting as a non-programmer. And in his recent 2026 talk, for which the transcript and the video are also available online, these are both in the emacs.com page. You can follow these links yourself, but I will copy them because I can. Let's copy, copy, copy, copy as. Why do I have too many options there? Okay. So I will copy these links in. Prot says, starting Emacs without a background in programming, he learned the basics within a few days, started writing his own Emacs Lisp within weeks, and within a year, he had contributions to core Emacs. So I'm curious about how we can make the newbie or starter kit experience better for people. And as a quick summary of what I discussed yesterday in my brainstorming thing, it's in posts.org, which I have a sketch of. Sketch of? Yes.

00:09:52 Challenges: Isolation
We are thinking about the problems of isolation, where people generally don't know somebody else in real life who is into Emacs and can just lean over and fix stuff for them. And also they're not looking over someone else's shoulder and getting inspired by The cool things that they're doing. I'm not sure you can get much more isolated than being a mountain hermit in Cyprus, so Prot is an excellent example of still managing to be virtually connected, even though he's physically isolated. Oh, wait, actually, we do have some monks and we have some mountaineering guides who still manage to make interesting completion frameworks, like Helm. That's Thierry. Anyhow, so isolation is something that a lot of people feel is very challenging for them when it comes to learning.

00:10:45 Overwhelm
There's overwhelm, so just the sheer number of things that you need to learn, the new terms for everything, the keyboard shortcuts, the things that you've got to do in order to get a basic working environment set up to the point where you feel comfortable spending some time in it every day without feeling like it's holding you back. Cheat sheets and actually things like menu items and toolbars can be helpful for that.

00:11:14 Balance of time
Third problem is balance of time. You know, spending time tinkering with your config versus spending time getting things done, which is less of an issue if you're learning it at a leisurely pace, but more of an issue if you are under some pressure to become productive as soon as possible.

00:11:33 Unknowns
And the fourth is the things that you don't even know to look for. This is where Emacs News and other sources of inspiration can be helpful because then you come across a video or a blog post and you say, I can do that. And if you're lucky, that video or blog post will be accompanied by a tutorial that says, okay, this is step-by-step how to do it. But often there's still a lot of translation that's needed so that it can fit with your particular environment or your particular workflow. @JacksonScholberg shares that they gave up on using Emacs yesterday, and then they realized they could use VS Code to get things done while they're learning Emacs. So it's not an all or nothing thing. You can learn, you know, you can still use another editor to do most of your work, but use Emacs for a small set of things that you know how to do with it. You know, you might just know how to edit a file and save it. And that's it. That's good. That's great for starters. And then every day you might learn one new shortcut or one new thing that you can do. Gradually, your use of Emacs will grow and grow and grow until you start thinking, hey, why can't I just read my email in Emacs like all the cool kids? Or why don't I just go figure out how to browse the web in Emacs or keep track of my sewing in Emacs. That does actually happen. So yeah, totally just start small. But this process of breaking things down into tiny steps is something that newbies might not know. There are a number of different ways where people can get this sort of advice on how to break things down to make things simpler. One is, you know, every time people post this challenge on Reddit or elsewhere where they say, OK, I want to learn Emacs, but there's so many things. How do I learn this? Everyone keeps saying, OK, start small.

00:14:00 Post-its
Maybe have a Post-it note, which cannot be seen, a Post-it note on your monitor with the keyboard shortcuts that you are trying to learn. or have one text file where it's just your notes about what you're learning. Just break it down.

00:14:21 Finding help
Or people can go to, if they're having a hard time finding out what to break it down into, they can go to places like Reddit or IRC, the Emacs channel there on libera.chat or in meetups and say, okay, this is where I am now. How do I do this? How do I get there? And that might be helpful. Anyway, so those are the four challenges.

00:14:53 Testing BigBlueButton
What I want to do today with the one hour I have is I want to, unless other people happen to drop into the Big Blue Button, I think that I am also trying to experiment with except for some reason I'm not sure I can share my screen, which is a little inconvenient. I will debug that later. Anyway, what I can do in the background is start to think about the experience of coming to Emacs News as a newbie. Hey, @JacksonScholberg is in there! Okay, theoretically this sort of works. I don't know if people want to say things. What is going on? Hang on a second. uh okay uh. Call from the school so we'll have... I asked him to call me back in one hour and we'll see how that goes. Hello, @mtendethecreator! Feel free to unmute yourself and share anything if you want to in the Big Blue Button. In the meantime, I will continue... I have not actually spent some time yet thinking about how audio will work with this because Google Chrome and Mozilla Firefox have a little bit of a problem, I think, with sharing my audio. Actually, maybe this. This is a test. Can you hear me through Big Blue button? Maybe that works. Maybe that doesn't. We'll see. Okay. And in the meantime, I can just continue with this until people want to experiment with that part. All right. Emacs News. So Emacs News. Hello. It works! It works! People are talking. I mean, people can talk. Thank you very much. I can actually hear you. Feel free to jump in. And for anyone else who also wants to be on stream, kind of, I will paste the Big Blue Button thing again. And all y'all are going to behave yourselves, I hope. We'll see.

00:17:02 Thinking about reviving Emacs Hangouts
One of my long-term goals would be nice to revive these Emacs Hangouts that I used to do on Google Meet, I think, a long time ago. But of course, we've got Big Blue Button now, so we can do it on proper free and open source software, where people just come and share what they're working on, what they're curious about, what they want to learn. And then we can try these sort of... Now I'm going to try to remember to pause every moment so people can interject.

00:17:48 Emacs News as a newbie
Emacs News as a new person is a little bit overwhelming. Imagine a newbie says, okay, I'm new to Emacs, what should I read? And people recommend things like, oh, check out the Mastering Emacs book. Read the C-h t tutorial. It's great. It is a great starting point. Oh, if you want to keep up with what's going on, interesting things, and how you get connected to the community, read Emacs News or subscribe to it. So this is a little overwhelming for people.

00:18:29 Aside: Jeff is looking into making VS Code plugins
Jeff says that he's researching making a VS Code plugin, actually. Good luck! If you run out of things, like if you run into things that you can't do with VS Code, I think some people have experimented with doing Emacs-y things inside VS Code or vice versa. I'm not entirely sure. I can rummage through my notes and see who has mentioned that before. If there was an EmacsConf proposal for it before.

00:18:57 Notes on making the most of Emacs News
Okay. Anyway, Emacs news. So I have this now where I say, okay, check out these tips for making the most of Emacs news. So like I was saying, I was thinking maybe starting with... Let me find the page that edits this. Topics, Emacs News. Okay. Starting with email is probably the easiest, so I will do that. Do I even want to nudge people to use MailChimp? I don't particularly like MailChimp. This is just Emacs News as either HTML or plain text emails. Includes Org version if you prefer. Oh yeah, I mentioned that here. So that's mine, and then I have an explanation of... If you are reading email email in Emacs... Yes! You can read email in Emacs. You have... All right, so there's that. RSS. So now I have more of a description of how to get it by email. And this goes to the subscription page. People can fill it in. It works like all the other mailing lists people are used to.

00:20:50 RSS
If people want to subscribe to RSS, new users for Emacs will probably not even know what RSS is. Why they might want to do it. Um... Do I want to explain this here? Okay. Does elfeed come with enough of an explanation so that a user can get started with it? Not very much of an explanation. Okay, is there an elfeed tutorial that I can... I feel like this is not really an elfeed tutorial. I feel like there needs to be like a basic from scratch, "I don't even know which init.el or .config/emacs/init.el or .emacs or whatever thing I should use." There should definitely be a tutorial here. Let's add a comment. I need to actually probably add a tutorial for setting up elfeed from scratch. Okay, is there a feedreader that people like to use? So why RSS? RSS lets you read updates from sites that support it in a way that's more structured, that's separate from email, without using your email client. Why RSS? This is like a nice friendly description. Get updates. You can also... That's not very much of a Why RSS sort of thing. Why RSS versus email... Which is handy when you find email overwhelming. If you find email overwhelming.

00:23:42 newsticker
Okay, newsticker. I will also add... @charliemcmackin4859 suggests newsticker. It seems pretty friendly. There is a newsticker feed reader for Emacs. Okay. Is there a newsticker Emacs tutorial that I can link to? Okay. So this is like... use customize-variable... Is there a newsticker? There's load-library, newsticker. newsticker-url-list. Okay, let's go see what that looks like. Okay. I need to load the library before I can do that. load-library newsticker to load it. newsticker-url-list. Okay. Click on INS and add... Oh, as a URI... Click on INS. Emacs News URI. That... Okay, let's try it ourselves. Emacs News. And that is the URI. Huh, I never actually used this. Okay, I'll click on apply and save. And then, how do you actually watch it? I mean, look at it. newsticker. newsticker-start? No, it's not like that. Okay. newsticker-show-news. Oh, okay, okay. newsticker-show-news. Alright, okay, okay. That is newsticker. That is fairly easy to get started with. So let's recommend that. So this is set up.

00:27:25 Stream delay
We are slightly delayed, @charliemcmackin4859 says. It is because I am trying to have a 10 second stream delay in case I do silly things like accidentally show my entire email screen online and other such things. I have a panic keyboard shortcut and a panic menu item. This is the panic menu item. See, it says panic, which kills the stream. I previously had another OBS that this could stream to in order for it to switch to a backup message if I cut the streaming, but for some reason that one is segfaulting constantly when I start streaming from that second OBS instance, so I need to look at that more. But yes, now we have a little bit of a stream delay, and 10 seconds is a bit long, but apparently my reflexes and my panicking are still kind of tough at the moment. Eventually, when I get better at saying okay, I know which keyboard shortcut to go, I can reduce the delay, but yes. All right.

00:28:31 Reading news with newsticker
Reading news... This is.. what is this again... That was newsticker-show-news. Thank you so much. So that was a very helpful tip from @charliemcmackin4859. Okay so there's the tutorial, mini tutorial... Elfeed is slightly more complicated, but also quite useful. Okay, so we can just move this one for now. We should show people what it looks like.

00:29:04 The usefulness of screenshots and videos
So @mehrad42 says, when I started with Emacs, one of the biggest issues was not to know what each package does. Some have a picture or video or ASCII cinema, but most of them don't. Yeah, that's definitely a thing. It would be great for more packages to have screenshots and descriptions, and videos show workflows better than just... Since the people making packages and the people making videos or screenshots or blog posts are not necessarily the same people, we should have a different way of finding the resources related to a package that might be helpful. Where was I? I was actually taking a picture, adding a screenshot of this, right? Okay, so let's show this screenshot over here. And I want to show, this is what it looks like. And I take a screenshot using my [super-s] and this is the newsticker thing. And then I'm going to stick that in this page. And this is what it looks like. This is what I'm saying. Insert screenshot. That is not the last screenshot. Where did the screenshot go? Oh, hang on a second. Okay, newsticker. There we go. That's because the recording keeps getting bigger. So this is a screenshot of newsticker. There you go. People can then see and decide for themselves: is this worth it? Because inspiration is... The things that people struggle with when it comes to overwhelming, there's a lot of stuff to get through. The main question that newbies will have is, is this worth it? Is it worth it to read this tutorial or figure out how to fit this package into my config, figure out how to set up my config in the first place? Having a screenshot or a video up front makes it much easier for people to say, "Yes, I want that, and I'm willing to spend one or two hours to figure out how to get that working." I want to add a screenshot to this one, of course, so that people can see what it looks like. And in fact, why don't I stick this up here so people can see right away. Let's see what that page looks like if I have that. Blog Emacs News. Oh, that's not it actually. This is topic Emacs News. All right. It is not actually showing up. Why isn't it showing up? That shows up there. Okay, good. My export is not exporting. Fun. Okay. Hang on a second. Let's look at the HTML. I expect that to just have ~/proj/static-blog/topic/emacs-news/index.html. I expect that to have the image. It does not have the image. Why does it not have the image? Is it because it has a description? Derp. Okay, let's try that once more with feeling. Yes! Okay, okay, okay. Almost. All right. Now my caption is not captioning. Is it because... Is it because it's a list and it's getting confused because it's not a block? Okay, okay, okay. Here's a preview. Here's what newsticker looks like. Built into Emacs. Progress! Progress. @JacksonScholberg says it's gotta be ASCII Cinema. I actually haven't been using ASCII Cinema. I should probably check that out too. I've just been recording videos.

00:34:20 Back to Emacs News
Okay, okay. So now on my topic, Emacs News. Has it been copied over yet? We are making things better live. This is great. Okay. Do I want to always, like... People are scrolling through this. Yeah, it's fine. I can put that in a details disclosure thingy if they want to not see it unless they click on it. It's there. People can scroll. It's fine.

00:35:00 Prerequisite knowledge for Elfeed
Elfeed is a separate package. You'll need to know how to install packages. You'll need to know how to add... Is it available? Where is it available? It is MELPA or el-get so people would have to know how to to enable MELPA, which is not listed here, so this is a bit more advanced. You'll need... Then nnrss and Gnus is like way advanced, so Elfeed is more of an intermediate. Newsticker's basic. You're right, this is what we should probably recommend if people are just getting started. Which means I should include it in here. News... Do I say elfeed somewhere here? Oh actually, emacs-news.html. This is the header part here. Use newsticker. That means I a tip instead. This is like, topic emacs news, how to subscribe. Oh, I'm not in Org Mode. I can't just use those links. I'm sad. Topic, Emacs News. Fine. Write HTML. Okay, here we go. So now the tip is there. and I can send that to my blog in the background. Progress is being made! Where are we now?

00:37:29 Other resources that people might find useful
Other resources that people might find useful... EmacsWiki has a newbie sort of page. Here we go. This is where I want to gradually start adding stuff. I cannot... Emacs newbie page on Emacs wiki. Okay, so if people are starting out, I want them to come across the Emacs Newbie page for sure. What else should they find out about? So let's go see. Fairly straightforward. I don't know if Emacs Newbie with Icicles is, uh... Well... I feel a little uncertain about this recommendation, but I don't want to take it all away, because someone's put a lot of work into it. Maybe it might be helpful to add some other stuff. Okay, anyway. Help. So i need to make sure there's a way for people to get help. Yes. Okay. The beginner map thing that I mentioned, which I do not have... I should have as a... Beginner resources from Emacs News Archives. And How to Learn Emacs. That's definitely a thing. Oh, yeah, let's mention Planet Emacslife. So we're just going to link up a bunch of things here for now. And, um... Where are we? I'm very confused. Did I accidentally close my Big Blue Button thing? Oh, no, we're still here. Planet Emacslife aggregator brings together lots of Emacs-related blog posts.

00:40:56 Beginner map
You know, this thing over here needs to have me saying, Hey, if you need help navigating this, please email me. Where is this even? Beginner map. Okay, if you need help navigating this or would like to suggest other beginner related resources, please email me. Alright. Let's explain why I'm doing this. I want to make a map of those things people often wonder about when they're learning so that you can find what's close by. Maybe we'll add... Theoretically, unless weird things happen, I should have that introduction. It's always good for people to have contact information. There you go. Okay. So that gives them a list of the things that are in this, and then it gives them, like, themes.

00:42:44 emacs-news/index.org is 5.5 MB of plain text
Okay, okay, okay. Back to Emacs news. So Emacs Newbie, plan an Emacs life, map of some beginner resources. What do people also find helpful? Yeah, there are tons of resources. So @JacksonScholberg says, I didn't know there were so many resources for Emacs. There are tons of resources for Emacs. In fact, if you want to go through all the ones that I've posted in my Emacs news thus far, this file over here is five megabytes and basically includes all the links, links, links, so many links. ever since the first one that I have in this thing. It's long and it's in Org Mode, so you can you can just search through the categories you're interested in, or you can use occur or this new command that I just found out about.

00:43:55 consult-focus-lines
If you have consult, you can consult-focus-lines and it will do kind of like occur but within your regular buffer. So it just focuses on the lines that match or don't match a specific expression. Anyway, there are a lot.

00:44:13 Organizing the links
What I'm thinking of doing is I'm thinking of going through all the things that said beginner, anything that I stuck in the beginner category, and filing that somewhere in the map. So for example, here, this is a kind of a meta discussion. How do you deal with that overwhelm problem where you're like, I'm overwhelmed by the number of key bindings that I want to learn. And there's a discussion here about, yeah, you know, do the tutorial, then take advantage of which-key, make sure which key is enabled, memorize the basic movement keys, and then start, you know, start using Post-it notes. Everything's fine. You can just stick a Post-it note on the thing. Yeah. So there are a lot of beginner related resources and there are a ton of other resources for other things.

00:45:02 Organizing screenshots and videos by package
So what I probably can do is to help with a newbie issue where they're curious about learning Emacs, they don't know whether it's going to be worth spending the time to do it, is I can look for or keep an eye out for interesting videos that come, you know, or screenshots that come along with detailed tutorials on how to get started. Let's say, for example, Org Mode Latex Export or how to set up your Emacs for JavaScript development. And then I can say, okay, if you're starting out, these are some of the things that you might typically be interested in. How do you get started with it for note-taking, for example.

00:45:49 Info pages
@mehrad42 says, also info pages are a very good source of information. The info pages' key bindings are a bit odd at first, so need some explanation. We should say that in the Emacs news, assuming people are starting out from scratch and they don't know how to get help. It's kind of something about... Also the Emacs and Org Mode manuals are great. You can read them as within Emacs with C-h i, with M-x info. Yeah, that's C-h i. Or find them on... Emacs manual, and the Org one is here as well. Okay.

00:47:08 Remembering keybindings
@maxfriis says try to articulate what you want to do with words that start with a key binding. To easily memorize key bindings. I like to use M-x. M-x also shows keybindings. I have it set up with marginalia and consult, which I think might be too advanced for newbies, but definitely completion is one of the things I like to get people up and running first. Is there like a recommended quick start? Here, you're brand new to Emacs. Get this going. I guess that's where the newcomer presets thing comes in and I should see what's inside it. Emacs says try to articulate what you want to do with words that start with a keybinding to easily memorize keybindings with the letter used in the keybinding. So this is advice to make your keybindings mnemonic, to make them make sense. And it's probably useful for newbies to learn that you can easily change your keybindings so that they can make more sense to you. Sorry, C-c plus a letter is reserved for your use so you can stick whatever keybindings make sense to you on there with regular letters and everything.

00:48:40 The guided tour
So I want to link to something from Emacs News that gets people started on that journey, which I think might be the Emacs Newbie page. So the Emacs Newbie page will link people to is a guided tour. Guided tour. This is not very much of a guided tour. There used to be a better guided tour. Where is it? That's a guided tour. Okay, that's a guided tour. Okay, that's a guided tour. All right. So it gets people through navigation, but it does, can you, does it talk about configuration? It does not talk about getting started with your configuration. Okay, where do we start telling people about getting started with configuration? Learning Emacs. Okay, maybe I should include all these things. I cannot decide.

00:50:07 Recap
Okay, well, we'll start with the Emacs New page, which is already better than it used to be before. Okay, so today I wanted to: update the header of the Emacs news page to make it easier for people who are new. I've got the short URL so that people who are recommending them, it's easier I think maybe to stick it in people's brains. Although, challenge as always, spelling my name is tricky. So maybe I need to make sure that yayemacs.com/news goes to this as well. which I don't think it currently does. So, did I already add that as a TODO? Ah, here we are. Also, yayemacs.com/news and emacslife.com/news. I mean, I have domains. I might as well use them. Okay, so that's done. And I've updated this. so that people can start to connect with the community and find ways to work, you know, find better, find ways to use this Emacs beginner thing. It's still a little hard for people to read. You know what I should do is I should take this beginner resources So my beginner resources org is in ~sync/web/beginner-map.org. So if I make this part of... sacha-copy-filename. Okay, if I make this part of my... I want to say it's like a refile target. Yeah, here we go. And I want to say, okay, add that to my refiles. So then if I... think about this carefully... C-u C-c C-w, which is org-refile, then I should be able to go to, all right, the beginner maps. Ah, perfect. Okay, okay. So now if I'm talking to somebody and I say, oh, okay, they want to learn more about customization, I can jump to this, which actually reminds me, what?

00:53:12 newcomers-presets
Newcomer, preset, Emacs. Newcomers presets. Is there like a thing that says what this is? Has anyone written a blog post about it yet? Where do I even find this? Okay, okay. Splash screen. It was in the splash screen, wasn't it? How do I... Okay, display splash screen. Splash screen. That is not it. Okay, how do I find this newcomer presets? So I can tell people, this is what you do in order to do it. Chapter 51 of the manual. Read the manual. Emacs. Newcomer. Okay, newcomer theme. Okay, fine. If I say load-theme newcomers-presets... Okay, I don't actually want to load the theme though. Can I say find-theme? I cannot say find-theme. Can I say... Oh, fine. I load the theme and then it'll be loaded. Interesting. So now is it loaded. Newcomers theme. Okay, here we go. I can just find the function newcomers-presets-mode... Okay, now I see it. newcomers presets theme Okay, line number, flymake, flyspell. That makes sense. So, does it... Let's do it in emacs -q. What do I type here in order to get that to work? load-theme newcomers-presets. Completion is still not there. I want completion as part of the newcomer's theme. I should mention that in emacs-devel. Because M-x, it's not obvious that you should type tab in order to complete things. I just do want to have... ido-vertical maybe? fido-vertical-mode. I mean, this by itself would already be nicer, I think. Okay. I need to suggest fido-vertical-mode, maybe, for newcomers-presets. Okay. And then, want to say... this would be nice to have a crash course: here's how you get a reasonable Emacs for the basic working environment that you want, but it's really better than it was before. And I think newcomers-presets is actually even... It's in Emacs 31, so most newbies will not even be on this yet. Okay, so that is... that's more of a future recommendation, I think. Okay, I got two minutes! I got two minutes before it's lunchtime.

00:57:52 Wrapping up
Okay, where was I? I'm going to go take this transcript for this session as well and then do my tinkering with the spelling and things like that. But I did set out to do the things, I got the things done that I set out to do, so yay! Thank you so much for the chat because that was very helpful. I learned all sorts of things. I learned about newsticker which I've never used before.

00:58:19 Remembering keybindings
I should also note, @maxfriis says, I almost never use operations rectangles, but I remember C-x r and then I can use which-key. So you only need to remember the letter R, @JacksonScholberg says. And @maxfiis says, refer to the operation as an operation or a rectangle. So I remember the R. So if you can get the logic behind the keyboard shortcuts, they become a lot easier to remember. It helps to make your own cheat sheets for that because you can say, all right, C-x 5 is all the frame related things. And here I have which-key kick in automatically after a short while. And it says, okay, these are the things. I've got this like weird highlighting going on. These are the things that start with C-x 5.

00:59:13 Picking Prot's brain next week about the newcomer experience
Prot, if you're still listening, I would like to pick your brain next week about what you think about improving the newcomer experience. Especially since we can take advantage of the fact you came in without a programming background. A lot of people are coming into Emacs for surprising reasons, like they've heard awesome things about Org Mode, and they're not programmers, they're writers, or they do other stuff. Sometimes they're teachers, sometimes they just do things, and Org Mode sounds like a thing that might help their brain from going to twenty different places. What can we do to make it better for newcomers to Emacs? What paths can we build? What resources can we share that people can then link to that helps address that? Prot says, yeah, he's listening, happy to discuss this with me and with all y'all if you want to join us next week. But right now the kid is going to come out and have lunch break, so I'm going to have lunch break too. Thank you for joining me. This was fantastic. I'm going to post the notes, the live stream video will already be immediately available from yayemacs.com. If you search for ye21, then you will find wherever the notes end up. Thank you everyone again, and I'll see you around!

Chat

  • @mehrad42: ​​hand-pink-waving
  • @JacksonScholberg: ​Good morning Sacha
  • @protesilaos: ​Bonjour Sacha!
  • @JacksonScholberg: ​I gave up on Emacs yesterday then I realized I could use VSCode to get things done while I am learning Emacs.
  • @JacksonScholberg: ​First just edit a file.
  • @mtendethecreator: Hello. From the other side lol
  • @j7gy8b: I'm researching making a VSCode plugin actually
  • @j7gy8b: ​for comparison
  • @mehrad42: ​​there is an org-mode extension in vascode that is hoping to do things is Emacs way. i'd stick to Emacs, but it someone find it useful, use it.
  • @charliemcmackin4859: ​​newsticker just happens to be the first one I set up, but seems pretty friendly too
  • @JacksonScholberg: ​Outside of email would be good. I ignore email sometimes.
  • @mehrad42: ​​when I started with Emacs, one of the biggest issues was not to know what each package does. some have a picture or video or asciinema, but most of them don't.
  • @JacksonScholberg: ​That's why I ignore email haha
  • @charliemcmackin4859: ​newsticker-show-news
  • @charliemcmackin4859: ​hah, we are delayed
  • @JacksonScholberg: game over
  • @JacksonScholberg: ​It's gotta be ascii cinema
  • @mehrad42: ​​also infopages are very good source of information. The infopages keybindings are a bit odd at first, so need some explanation.
  • @JacksonScholberg: ​I didn't know there were so many resources for Emacs
  • @JacksonScholberg: ​Post its are great
  • @maxfriis: ​​Try to articulate what you want to do with words that start with the keybinding.
  • @maxfriis: ​​to easily memorize keybindings
  • @maxfriis: ​with the letter used in the keybinding
  • @JacksonScholberg: ​Good idea thanks
  • @maxfriis: ​I almost never use operations on rectangles, but I remember C-x r - then I can use which-key
  • @JacksonScholberg: ​Only need to remember letter r
  • @maxfriis: ​and refer to the operation as an operation on a rectangle so I remember the r
  • @charliemcmackin4859: ​👋 fun stuff
  • @protesilaos: ​​I am listening. Happy to discuss this with you.
  • @JacksonScholberg:​ ​Bye!
  • @maxfriis: ​thanks
  • @mehrad42: ​awesome. thanks
View Org source for this post

YE16: Sacha and Prot talk Emacs

Posted: - Modified: | emacs, yay-emacs

: Updated chapter markers and transcript

In this livestream, I showed Prot what I've been doing since our last conversation about Emacs configuration and livestreaming.

  • 00:00 Opening
  • 04:24 Workflow checklist
  • 04:47 Demonstrating sacha-stream-show-message and qrencode
  • 05:54 qrencode
  • 07:55 Embark
  • 17:14 My objectives
  • 19:00 keycast-header-mode
  • 19:45 Trade-offs when livestreaming while coding
  • 21:24 Trade-offs: seeing less text on the screen
  • 23:52 Lowering the effort needed to announce a stream: Prot just announces it and the blog post embeds it
  • 24:43 Timestamps
  • 27:29 Different types of livestreams
  • 28:14 Reading other people's configs
  • 30:12 Hanging out
  • 31:40 Livestreams for explaining specific things
  • 32:00 Prot on didactic livestreams
  • 34:07 Prot suggests breadcrumbs
  • 37:59 Announcing livestreams
  • 38:58 Embeds: Prot embeds specific YouTube videos instead of the general channel one
  • 39:32 Demo of my new shortcut for converting time zones
  • 41:48 Ozzloy's questions about time zones and QR codes
  • 43:46 Prot on announcing livestreams on blogs
  • 45:25 Processing the recordings
  • 47:15 Commitment devices
  • 48:29 Automating more of the process
  • 51:14 Copying non-packaged code
  • 52:25 Prot on defcustom
  • 55:12 helpful and elisp-demos
  • 56:23 Prot on code libraries
  • 56:50 Prot rewrites functions to fit his style and naming conventions
  • 59:18 Prot's preference for small functions
  • 01:00:23 avy-goto-char-timer
  • 01:02:40 One-shot keyboard modifiers
  • 01:03:29 Toggling
  • 01:05:08 System-wide toggle shortcuts using emacsclient
  • 01:07:25 My next steps
  • 01:08:18 Tips from Prot: small functions used frequently
  • 01:09:06 Maybe using the header line for tips?
  • 01:10:23 Reorganizing keys

2026-04-16-01 Preparing for chat with Prot.jpeg

Questions I'm thinking about / areas I'm working on improving:

  • (Log) Getting more out of livestreams (for yourself or others)
    • You've mentioned that you don't really go back to your videos to listen to them. I was wondering what could make the livestreamed recordings more useful to either the person who made them, people who watched it live, or people who come across it later.
    • Tradeoffs for livestreaming:
      • Plus: debugging help, capturing your thinking out loud, conversation, sharing more practices/tips
      • Minus: Fitting less stuff on screen, distractability
    • A few types of livestreams:
    • (Log) Announcing livestreams
      • You add a post for scheduled/spontaneous livestreams and then you update it with the description; probably fine considering RSS readers - people can visit the page if it's finished
      • Debating whether to embed the channel livestream (picks next public scheduled stream, I think) or embed the specific livestream

      • Now on https://yayemacs.com (also https://sach.ac/live, https://sachachua.com/live)
      • Added timestamp translation to Embark keymap for timestamps, sacha-org-timestamp-in-time-zones
      • TODO: Post template
      • TODO: ical file
      • TODO: Easier workflow for embedding streams
      • TODO: Google API for scheduling a livestream
    • (Log) Processing the recordings
      • I like editing transcripts because that also helps me quickly split up chapters
      • Tracking chapters on the fly
      • Extracting screenshots and clips
      • Turning videos into blog posts (or vice versa)
      • TODO: Automate more of the downloading/transcription, common edits, Internet Archive uploads
  • (Log) Do you sometimes find yourself copying non-packaged code from other people? How do you like to integrate it into your config, keep references to the source, check for updates?
    • convert defvar to defcustom
    • Current approach: autoload if possible; if not, add a note to the docstring

         (use-package prot-comment                ; TODO 2026-04-16:
          :load-path "~/vendor/prot-dotfiles/emacs/.emacs.d/prot-lisp"
                :commands (prot-comment-timestamp-keyword)
                :bind
                (:map prog-mode-map
                                        ("C-x M-;" . prot-comment-timestamp-keyword)))
      
         ;;;###autoload
      (defun sacha-org-capture-region-contents-with-metadata (start end parg)
        "Write selected text between START and END to currently clocked `org-mode' entry.
      
         With PARG, kill the content instead.
         If there is no clocked task, create it as a new note in my inbox instead.
      
         From https://takeonrules.com/2022/10/16/adding-another-function-to-sacha-workflow/, modified slightly so that it creates a new entry if we are not currently clocked in."
        (interactive "r\nP")
        (let ((text (sacha-org-region-contents-get-with-metadata start end)))
          (if (car parg)
              (kill-new text)
            (org-capture-string (concat "-----\n" text)
                                (if (org-clocking-p) "c"
                                  "r")))))
      
    • prot-window: run a command in a new frame
    • Look into using keyd for tap and hold space?
    • header line format with common tips
Transcript

00:00:00 Opening

[Sacha]: This is Yay Emacs number 16. I'm Sacha Chua and today I will be talking with Prot once my alarms stop going off. Yes, yes. I'm going to be talking with Prot later, assuming that all of this stuff works. Let me double check my audio is on. Audio is definitely on. I'm trying a little bit early so that I'm not doing so much last-minute panicking. Let's see what we've got here. I am also trying the new OBS 32 interface for things, so that should be fun. Alright, thank you to phyzixlab for confirming that the audio works. I am so fairly new to this livestreaming thing, but I'm looking forward to seeing if I can do it more regularly because I have a little bit of predictable focus time between now and the end of June. In July, the kid is on summer break and so will probably want to hang out with me all the time. Or not, you know, kids are like that, right? So in the meantime, I am trying to get the hang of scheduling things and since Prot happens to have an Emacs coaching service, I figured I would engage him to coach me on live streaming and Emacs and all sorts of stuff, which is really, you know, making sure that I have somebody to talk to and bounce ideas around with and see where we end up. So the last time, which was, Yay Emacs, when was this? Yay Emacs 10, I had a coaching session with him to talk about Emacs workflows and streaming. So I've been working on modularizing my configuration. I'll explain all of this again when he comes on, but just to get the hang of this. I've modulized my config. I've gotten through hundreds of function definitions and exported them all into individual files. I have in fact even renamed them from my-whatever to sacha-whatever. So it's slightly easier to copy my functions because they won't trample over other people's custom functions called my-whatever. My background blurring is very background blurring. So that's all good. And then I've got a couple of other modifications that I've made. So I've made good progress on this very long to-do list that I had made for myself after his chat. But the kiddo is here. Oh my goodness! Okay, you're gonna go back to school and stuff? You just wanted to drop by and make a comment? Yes. Also, the teacher let me change my name, but not family. They just wanted to add a - in parenthesis. Oh, yeah. Oh, that's good. Now they can refer to you. Post my name and my nickname. Alright, I'm going to test this new thing. Interesting conflict here. The kiddo likes making cameos. I am not sure how I feel about the kiddo making cameos. Anyhow! Where are we? Okay, the mic is unmuted again.

00:04:24 Workflow checklist

[Sacha]: I am going through my checklist. I have this lovely checklist now. It includes, naturally because it's Org Mode, it includes Emacs Lisp buttons that I can just click on to get stuff running. In this case, for example, I can use obs-websocket-el to start recording and start streaming at the same time. So that's all good.

00:04:47 Demonstrating =sacha-stream-show-message= and package:qrencode

[Sacha]: And I want to double check that this message thing works. Let's go see if I can send a message to the chat. Show string. This is a test message that you can ignore. And theoretically that shows up there. That shows up in the chat with a timestamp. So people using video on demand feature where you can go back and just go playback part of the thing can go see it. It would help, of course, if I had the time. And if I expand this. You have the time in the mode line here. It's currently 10:25. But then, my Firefox... Oh, maybe I should just tell you what. I will make this above others. There you go. Fancy. Super fancy. Except this is right where the...

00:05:54 qrencode

[Sacha]: What's the QR code? The QR code just repeats the string. So this will be a little more handy if I have... Let me just double check that it does do the string properly. Come on, show me the thing. Yep. So this is my... In case you're watching this in a mobile device and I show URLs, like for example, let's bring up Prot's configuration here. Let's go to... Let's do, do, do, do, do... Prot. Yeah, here. And then if I say show string and I give it the URL, then it gives you the string and the URL should be in the QR code. So people who are watching mobile. You can do that. People who are in the chat can get it from the chat. It's timestamped so that if I grab the timestamps later on, I can use that sort of for chapters. And just generally all these little conveniences. This QR code is provided by the qrencode package. So it's in Emacs. It's actually characters. There's probably a way to just insert the image. But I thought it was cool. I can't remember who had this technique in one of his videos. Maybe it was John Kitchin? That seems like the sort of thing he might do. Or it might be someone else. Anyway, just these little conveniences because copying text, especially in mobile, or trying to type things... Try to pause the video at just the right moment. It's very annoying. Eventually, I would like to plug it into all the usual Embark stuff. For example, you'll see this later as I go through this stuff with Prot. Log buttons will show messages.

00:07:55 Embark

[Sacha]: But theoretically, it would be nice to have my Embark here. For example, I'm on Embark on an org URL link. It makes sense that... Wait a minute, I do have it. Okay, I think I have it on Z here. Is that a capital Z or a small z? Let's find out. Z? Not a small z. Capital Z. Whoa, look at that! Okay, okay, so I already do have it. Embark is a package that lets you have context-sensitive keyboard shortcuts. And so I have this now mapped so that if I want an org link, I can press control dot and Z and it will send it to the chat and display it on the screen with a message because who wants to type things manually? You know, this is Emacs. We don't do anything manually. And then theoretically, that also should show up in... Look at that! It's showing up over here in my timestamp section using the magic of org-capture. It includes a timestamp and then, of course, with a little bit of math, I can calculate this as an offset into the streaming video file because I started the stream probably at the same time. Anyway, just a little bit of math to calculate that. And then I can get chapters out of it. Theoretically. Or I could use that to index into the transcript and edit things. Hello, Prot! Hello! We are already live. I have just been on screen.

[Prot]: Already live! Great. Yes.

[Sacha]: Panicking. Not panicking. Experimenting with all the fun stuff. I'm now going to share my screen with you so that you can see also. Select window. Let's go to all of it. Screen one? Screen one. I think it's screen one. Okay. Allow. So, theoretically, you should see my screen.

[Prot]: Very well, very well. Looks good, looks good. We have connectivity issues, it seems.

[Sacha]: Your audio sounds choppy.

[Prot]: Yeah, same here. I cannot hear you well. Can you hear me now?

[Sacha]: I dropped my performance.

[Prot]: Okay, okay, do that. Well, very well. Because it seems that our... Yes, okay, I did the same. Okay, so hopefully this will work. Let's see.

[Sacha]: It's an experiment.

[Prot]: It seems more stable now.

[Sacha]: Yes, this is one of the reasons why we're having these sessions, so that you can experiment to see what's possible. And I was just telling stream that I've been having a lot of fun tinkering with a lot of the ideas that I was working on after the last chat two weeks ago. So my goal for this session is to not panic.

[Prot]: I really cannot hear you clearly. I keep getting interruptions, so... It seems that... Yeah, I don't know what we could do. Maybe I can try to leave and rejoin, maybe. Let me exit and rejoin Jitsi, maybe that will fix it. Okay,

[Sacha]: let's try that. Okay, so let me do that very quickly. Quite possibly, I am asking my computer to do too many things. Let's see. I am asking my computer to do too many things, audio-wise.

[Prot]: Okay, we will see. We will find out.

[Sacha]: Let me try changing my virtual mic. How about this one?

[Prot]: No, your audio is still kind of choppy. Why is your audio choppy?

[Sacha]: Let's see. What do you think? Yeti, monitor your audio. Let me check. Not good. It's okay. Live debugging. Here we go. Okay, you are, where are we? You are Firefox. Yes, yes, yes. Okay, I can disconnect the, uh, disconnect the connections. Let me think. Connect the ports of Combined Sink Monitor to Firefox Input.

[Prot]: And while you do that, we will... Testing.

[Sacha]: How are we doing?

[Prot]: There it is.

[Sacha]: Is this slightly better? Testing. One, two, three.

[Prot]: Yeah, let's see here, so... Okay,

[Sacha]: that seems to be good. And now I'm sharing my screen. How is our screen? Hmm, does not like screen sharing at the same time. Let me see what's going on with my memory. My memory is fine. I have memory. Let us stop the screen sharing. How are we now? Is our audio back?

[Prot]: Okay. I can hear you well. I can hear you well in terms of the fact that there is no choppiness now in the audio. However, your voice has been distorted a little bit. It's not a problem. I can hear you clearly, but I just mention it for the sake of your setup.

[Sacha]: This is interesting and I'm not entirely sure how I will go about fixing it at this moment. No problem. It's not really a problem because I hear you well,

[Prot]: so that's enough. I am tempted to suggest the non-free...

[Sacha]: Let's jump over to Google Meet and see if that's any better.

[Prot]: Let's do it. Send me the link and let's do that. No problem. We are already on YouTube anyways. Let me try this. [Sacha] I will send it to you in the Jitsi chat and then things will be crazy.

[Sacha]: It's in the Jitsi chat and we'll see if that works. Does that work? I will also email it to you. That's not the link. Okay. Now I need to see whether this actually works. Oh. Ah! Ah, technology! How does it work? Camera is starting. Camera is not starting. I don't know what it's talking about. Camera is starting. Allow camera. Join now. Okay. Testing. My audio works. Admit one guest. Admit. Okay. Testing. Does this work now? I can hear you clearly. Okay. Now I'm going to try sharing this. Yes. Very

[Prot]: well. And then let's see what happens. Share. Yeah. The moment of truth. Let's see.

[Sacha]: Technology continues to work?

[Prot]: Yeah, yeah, it does work. This is smooth. This works. So let's see. Okay, all right. So it probably means that in the

[Sacha]: future I might actually need to spin up our Big Blue Button server because sometimes the free Jitsi, you know, you're just dealing with whatever you get for free, right? We already have comments. phyzixlab wants to know, well, phyzixlab says, Prot, I'm jealous of your beard. Which Emacs package can I install to have a glorious beard like you? Emacs Genes. Emacs Genes. Y'all can book your own coaching session with Prat. Although technically, I don't mind sharing mine.

00:17:14 My objectives

[Sacha]: Okay, so my objectives is I want to capture and share more, right? And that's great because in the experiments that I've been doing with live streaming so far, I have found myself going on tangents based on people's questions. And theoretically, I can go back and use those transcripts, which I haven't yet. But that could be more stuff into blog posts that are more searchable. And creating opportunities for conversation, which I think you've also been experiencing with your experiments with live streams lately. Because it is nice to have that back and forth when you're demonstrating something and you can immediately show something that was unclear. Quick overview of my timeline. Again, until June, I've got a fairly predictable schedule, except for the times when the kid turns out to have a substitute teacher and is too grumpy to go to school. So just some flexibility still with the schedule, but I am starting to experiment with scheduling chats. So that's nice. And this is our first experiment with it. I'm like, okay, let's try a live stream at this date at this time with somebody who is going to show up also. And then in July and August, since my schedule will be less predictable, then we'll do more spontaneous things like we also have been doing. And then September onwards is probably going to be EmacsConf. So with that in mind, I want to quickly share the updates from the last one. And probably, you know, you will think about stuff and say, oh, yeah, have you thought about doing this? Or, oh, that's good. Try this one next. Or in my experience, so and so and so. And of course, I'd love to hear what you've been learning about also.

[Prot]: Yeah, yeah, yeah, yeah, yeah. Very good.

00:18:59 keycast-header-mode

[Prot]: And I will tell you my experience as well, because based on our last exchange, I also tried keycast at the top, for example.

[Sacha]: Yeah, yeah. It gets out of the way of the closed captions.

[Prot]: It does. It does. Yeah. So it has some advantages and it's always visible and the key and the command is always visible. But I have to get used to it because it was distracting me.

[Sacha]: Yeah, I hear you, I hear you. It's kind of a trade-off, right? And that actually goes to one of the points that I wanted to touch on later where getting the hang of live streaming while coding or while working does require a fair bit of trade-offs. On the plus side, I'm going to see if this works. It should insert a chapter marker so

00:19:45 Trade-offs when livestreaming while coding

[Sacha]: that I know, okay, this part to this part is this conversation. So when you're live streaming while you're doing package maintenance or you're working on config or whatever else, it is slightly more distracting because people come up with interesting comments and conversations. But on the plus side, it is also, as I've seen you do, helpful at debugging. You're staring at something. You're like, what's wrong here? And someone is like, oh yeah, you're missing a trailing slash.

[Prot]: Yes, yes. It really helps. Well, I'm not sure if it helps, though, because the fact that you are talking to the chat means that you are not paying attention to what is in front of you. So it can cut both ways, right? There are times, though, where it really helps. Yes. Where you are completely lost and then the people in the chat are like, hey, that's how you fix it.

[Sacha]: All right. So maybe I just have to A, build up more of a conversation so that we can get those benefits and B, figure out how to run my narration on a separate worker thread in my brain. I don't think it happens. I think I used to be more multithreaded in the past, but I am slightly less multithreaded now. However, it turns out that spending all this time with kids means I am getting better at generating verbal responses that I'm not necessarily, you know, like focusing too much on or just saying like stuff to keep them amused and entertained. Oh, that's quite a skill. Yes,

[Prot]: that's good. That's good. I don't know. But yeah, so there

[Sacha]: are trade-offs here.

00:21:24 Trade-offs: seeing less text on the screen

[Sacha]: The other thing is now that I am using mode to switch on my... I am streaming, do the Fontaine preset and all of that stuff. Now there's like less space on my screen for code. So I had to get used to it again. yes yes yes

[Prot]: yes that that's one of the downsides of course yes like you have to have a larger font so that people can see what you are typing and then of course that comes at the cost of including fewer things on screen Though maybe you could have a little bit of a wider frame, like specifically in your case. I don't know, it's already at the 80 characters already? Yeah, it's already... Yeah, I think in my case, my frame fits about 100 characters. Well, I haven't measured it, but I think it's something in that... Like, yeah, about there is my frame.

[Sacha]: Yeah, it has about 80 characters. So it's about 75 characters.

[Prot]: So in my case...

[Sacha]: All right. And then the stream can tell me if this is still readable, because of course more code on the screen means more code getting written or done.

[Prot]: And just to say also more code on the screen means that it can be easier to debug or write the code. Because you have the context right there. You don't have to go up and down the screen to find it.

[Sacha]: Especially since I'm used to actually dividing my frame into two windows so I can do left and right. And I'm doing this on a standard aspect mode. You have a widescreen, so you're a little bit spoiled in this regard. I only have like two monitors that I'm doing. But maybe that is what I'll end up just using separate frames for. Yes, so slightly smaller font size, and stream can tell me whether this is too small for them. I know people who are older will develop an appreciation for larger font also, so take advantage of this ability to work with medium-sized fonts while they can. So font sets, that's definitely a thing. And then just trying to figure out how I can make it more useful both to other people and for myself and during the live stream as well as after the live stream.

00:23:52 Lowering the effort needed to announce a stream: Prot just announces it and the blog post embeds it

[Sacha]: Now you've mentioned you don't actually go back into your live streams afterwards. You just plug the YouTube video, you update your description so that it's past tense instead of future tense and you republish your post. I think that's your workflow, right? Even less. So I don't even retrofit the

[Prot]: past tense, you know, present tense to past tense. It's like all present tense. It's like I will do a live stream. It will be recorded. You can find it here kind of thing. Okay.

[Sacha]: All right.

[Prot]: And so just to say, though, just to say the reason I do this is because I don't want to go through a three hour stream again because then a three hour stream becomes like a ten hour stream in practice. And this means that it adds friction and it adds to the requirements, which effectively means I will be doing fewer of them. Yeah.

00:24:43 Timestamps

[Sacha]: That's what I'm thinking. Maybe lightweight sort of chapter markers. You've mentioned you just remember this sort of stuff, but since I don't actually remember this sort of stuff, having a way for Emacs to send messages to the stream and also show things in the timestamps. I have a timestamp now. It's nice. It just says Org Capture. And all that will then theoretically make it easier for me to say, okay, let's go find the chapter and then I'll just adjust the timestamps afterwards to say, okay, from this point to this point. If people are interested, they can go in there and they can look at the transcript for more.

[Prot]: I think we discussed this last time as well. You could have a function like start-stream and it starts a timer or it starts recording the time and then relative to that point, any offset and that's your timestamp right away. And whenever there is some event happening, you can type a key and then maybe it gives you a prompt and you write what is it, like just a string and then that is the chapter.

[Sacha]: An org timer will do that kind of insert a timestamp for you. But one of the reasons why I liked having my custom show message thing is that it can display the text on the screen, display a QR code for the text in case people want to copy the function that I'm talking about, send it to the chat so that people using video on demand can say, oh yeah, at around 10:25 or whatever. I'm currently using wall-clock timestamps, which means I need to modify my mode line so that the time starts earlier and people can use that to jump around the thing. And then, so it's like in half a dozen places, which is what org-timer does not get me if I'm just inserting a timestamp here. Anyway, minor, like, you know, little workflow improvements. But it's this whole, as you said, I don't want to go back and spend six hours processing the three-hour livestream. I want to say, all right, this video has some potential interesting things here because these people ask these questions. This is roughly the time when I answer those questions. Ideally, this is the text of the question. Someday, there might even be screenshots and clips. I'm modifying compile-media to make it easier for me to do that kind of video editing from within Emacs.

[Prot]: Oh, wonderful.

[Sacha]: yeah, yeah. But it's all still like, okay, progress. First, I've got to develop the habit of streaming, and then I have to develop the habit of saying, now we are talking about this topic so that it can all get marked everywhere.

00:27:29 Different types of livestreams

[Sacha]: And that got me to thinking, well, there are a couple of different types of live streams and you might have also done something about which ones fit the way that you had to present. One is the, you know, the, I'm going to spend time doing this anyway, which is like your package maintenance, where you will accept a little bit of distractibility for the benefit of having other people around to ask questions and clarify things and stop you when you're getting stuck somewhere. I have something I specifically want to teach and you've done this before with walking through a blog post and just demonstrating things interactively because there's some things that are easier when you're showing it, right?

[Prot]: Correct, correct. ...

00:28:14 Reading other people's configs

[Sacha]: Reacting to other things. In this one, I've started to have fun with because I've been going through your Emacs configuration, which is several hundred pages when converted to a PDF. And I forget, do you actually, like, do you produce a PDF, PDF, like a nicely thingy?

[Prot]: I haven't done it, but that's trivial to do, actually. I could do it.

[Sacha]: Yeah, yeah, so I've also been reading tecosaur's PDF, and his PDF is gorgeous. Like, it starts off with, like, a cover page and and everything. But it's Doom Emacs. I have to translate a lot of things to my specific setup. But now I have literate config envy. Anyway, that's an entire category of live streams here, which could just be me copying interesting things out of other people's configs. Today we are experimenting with a chatting with a guest variety of live stream, which you also do with your Prot asks. Actually, I forget. Are those live streams?

[Prot]: They are not live streamed, but the idea is that I do not edit them. However, if somebody really wants, I can edit it. So the idea is let's go with the flow. Don't worry about it. It's casual, all that. But if somebody says something that doesn't sound right, doesn't mean it or whatever, I'm happy to edit it.

[Sacha]: Yeah. I'm starting to look into how to do that if I'm doing this live and apparently if I set up a sufficiently long buffer in OBS for streaming, like a delay for 20 seconds or 15 seconds, then I can stop streaming and the stuff that happened in the last 10 or 15 seconds doesn't make it out to the public, but it's still kind of...

[Prot]: Living dangerously, yeah.

[Sacha]: Yeah, yeah. Because seeing as I'm still practicing remembering to flip the webcam down when the kid runs in and wants to be on camera, I'm like... My reaction time, not there yet.

00:30:12 Hanging out

[Sacha]: And then other people are like, they just hang out. They're not like, I'm going to do something. They're just hanging out, which I'm sort of starting to experiment with when I'm doing Emacs News on Mondays, because I'm like, I'm categorizing it anyway, but it doesn't require a lot of brainpower because I'm not coding or debugging. I'm just saying, okay, this looks like an Org Mode link. This looks like a miscellaneous link. And then some people just play games, which is fun too.

[Prot]: Yes, that's good. And they want to have somebody on the side, guide them through what they are doing.

[Sacha]: Yeah, or it blends into a hanging out sort of thing. Yes, yes. And it's like, what is the kiddo doing now?

[Prot]: Yeah, the camera, the camera. That's fun, that's fun. Good reaction time. Yeah, yeah, yeah.

[Sacha]: Yes, thank you for your homework. I will scan this and put it online later. This is it. Yes, life. Life.

[Prot]: Putting your reaction time to the test.

[Sacha]: Yes. So in terms of getting more out of livestreams, That's what I've been thinking about lately. I think I would like to do more of these, you know, hey, folks, keep keeping company while I'm coding this or whatever, since you've been having a lot of good experience with that.

00:31:40 Livestreams for explaining specific things

[Sacha]: I would also like to eventually move into more of these. I have something I specifically want to demonstrate, which probably necessitates actually organizing my thoughts. And you've done a bunch of these. After writing a post, it seems like more like recording a video and walking through it. Do you also sometimes do them before writing a post?

00:32:00 Prot on didactic livestreams

[Prot]: I haven't done that but actually, when I write posts, I write them in one go, so maybe I should do a live stream where I actually write a blog post just to show that I can do it. The thing is of course what do you want to communicate, because if it's teaching, like if you are writing it and trying to teach it at the same time, there is a chance that you might leave something out. Some of that detail, some of that nuance. For example, if you want to explain how a form in Emacs Lisp works, let's say if or cond, you may not come up with a very good example live and it may not have didactic value. So even though you know how it works, the communication value is not there. So that it helps for you to write it in advance. Even if it's in one go, again, you can write it, you can read it, and then you can come up with a good example and then stream that. So it really depends on what you want to do. The other day I did a stream, a live stream, where I was writing a package from scratch, a small package. So there part of it was to teach, but also to demonstrate. And there I don't really care if the didactic value is very high. Because even if there are mistakes, it's part of the process. It's not like, well, you will come here and from zero to hero kind of thing, you will learn everything. It's not like that. It's like you come here, you might learn something, but the bar is relatively low.

[Sacha]: I think especially since my mind likes to jump around a lot-- you seem a lot more organized when you're thinking through things, especially if you're saying you write your blog posts straight in one go. I'm like, okay, do this part over here, do that part there. I will definitely lose things, like you mentioned, and I will definitely go back and say, no, I need to do this before I can say that. So yeah, I think I can save that for summer when I might be focusing more on things I cannot schedule.

00:34:07 Prot suggests breadcrumbs

[Prot]: How about leaving breadcrumbs for yourself? Like, I was writing this. Like, write a comment. Basically, I was writing this, I need to remember that, and then you jump off on the tangent.

[Sacha]: I need to use a universal prefix to get the time, don't I? Yes. Leaving yourself breadcrumbs. Yeah, yeah, yeah.

[Prot]: And then you can retrace your thoughts, basically. Like, okay, I was here, I was meaning to do that. Especially when you are streaming, chances are that there will be several comments that are very interesting and you want to get to. And you might be talking to them for 10 minutes or more. And then, of course, if you don't have that or you want to jump off on a tangent, you will eventually forget what you were doing.

[Sacha]: Do you have anything like this already that you're currently doing?

[Prot]: And no, but this is the sort of thing that should be a fun exercise to actually demonstrate as well for yourself.

[Sacha]: I use ZZZ if I just put it in text and I have some things, for example, in my message hooks so I can't send email that contains this. And of course, org has its whole clocking and interrupting tasks that I can use. I just have to have the presence of mind to actually say, oh yeah, now I'm going to go on this tangent and I want to go back to this later on. Leaving myself breadcrumbs is definitely something I need to formalize into workflows that I actually use.

[Prot]: Yeah, that's the thing. And you can also benefit. I don't know. Of course, that's depending on if you are a visual person or not. But you could also rely on color or, for example, include an emoji as well or modify font-lock-keywords to have like something that stands out. Basically, make it clear that, well, this is an interjection. I will just go and then I will be back. Yeah.

[Sacha]: Good idea. Okay. So that will definitely help with the things where maybe I want to demonstrate something and I want to do the thinking out loud so that it's recorded. And just in case other people have any questions, they can come by and ask them. And then I can sort of massage it into a proper blog post, but still leave the link to the video in case people want to hear the stream of consciousness figuring out of all of this stuff. That sounds like maybe a more polished video or blog post with screenshots and clips coming out of this livestream ramble, kind of tangled. Okay, we're going to jump over here. Gotta leave myself a breadcrumb because I'm going to go in this detour to answer someone's question.

[Prot]: There is value to both. There is value to both because the live stream is a stream of consciousness. You can think of it like a bubbling effect. There is fermentation going on, a lot of things happening. And then when you publish the polished, the finished article, that's the distillation effect. So fermentation distillation. So both are useful. Both is good to see and have a sense of what they are up to, what they are doing. Yeah.

[Sacha]: And Charlie in the comments says he likes Emacs' excursions terminology. So if you can think of it as a save excursion, I'm going to go do something and then come back. I am not very good at popping the stack, but I will work on it. Yes. A couple of other things that I want you to pick your brain about. So you mentioned that in terms of announcing live streams, you're like, look, I'm remembering to mark a topic change.

00:37:59 Announcing livestreams

[Sacha]: So you mentioned, okay, you have a post for the scheduled or spontaneous live streams. Then you actually, you don't even update it with the description. You write the description beforehand and you leave it alone. Probably when people get it in their RSS reader, I guess the YouTube embed always just points to, you know, it's either the currently playing live stream or the archived recording of it. And that's that. The link is the same. The link is the

[Prot]: same. Yes. Yeah, on this live page. So now I have

[Sacha]: yayemacs.com and SachaChua.com/live pointing to this page. And there's like, there's a YouTube way to embed just like upcoming live stream, but then it's like fiddly when it comes to, oh, you know, you've got, if you have more than one public up scheduled live stream or whatever, do you use any of this stuff at all where you're like saying a page that's always has your upcoming or current stuff?

00:38:58 Embeds: Prot embeds specific YouTube videos instead of the general channel one

[Prot]: No, I have a generic embed which I copied many, many years ago and I have it in my static site generator. Then the only field that changes is the ID of the video. And this works for live streams as well as pre-recorded videos.

[Sacha]: Okay, so you always give it like the video IDs basically.

[Prot]: The video ID, yes. I can share with you the exact snippet.

[Sacha]: Yeah, yeah. That would be, you know, and you can send...

[Prot]: Yeah. Well, it's public anyway.

[Sacha]: I can steal it off your website. It's fine.

00:39:32 Demo of my new shortcut for converting time zones

[Sacha]: And then I have just added timestamp translation as well. So I can say, okay, you know, let me show it to you. So this is my webpage, right? So here, this is your standard org timestamp. Yeah. And if I open up https://sachachua.com/live, it's also the same as Emacs. Okay, okay, okay. And I find the browser window. Okay. Theoretically, if I say, okay, down here, you click on this, it translates it to your language. Ah, nice,

[Prot]: Nice, nice.

[Sacha]: Because YouTube will do that for the upcoming one if people link to it. But, you know, it's just people. But this is JavaScript, anyhow. And the other thing that I have just added today is I can go onto that in Org. If I press my control dot embark thing, I can use my Sacha Org timestamp in time zones, which is shift W. And it translates it into a gazillion time zones. So then I can mastodon toot it, which I did,

[Prot]: Just to say that copy to the kill ring, okay, yes, okay, good, good, good.

[Sacha]: Because time zones suck. I mean, it's great, but I cannot do the translation and so I am slightly... I'm working on announcing those upcoming scheduled streams while doing all the math so that... well, having emacs do all the math so that I don't have to do the math.

[Prot]: Yes, that's the spirit. That's good. Very good. This is very nice. Is this timestamp always meant for Mastodon or do you have it elsewhere? I think I've seen it in the Emacs news as well.

[Sacha]: Oh yeah, I'm basically stealing the code. I've used it in Emacs Conf and for Emacs News. I used to announce the Emacs News events also. I should get back to doing that. But definitely in the Emacs News and Emacs Calendar, I translate all of the events into multiple time zones for the virtual ones.

00:41:48 Ozzloy's questions about time zones and QR codes

[Sacha]: Line 23 doesn't have a time offset. Okay, someone is commenting. Ozzloy will tell me about it a little bit later. Ozzloy also has a question. Am I creating the QR code with Emacs Lisp? Is it actually text in Emacs? I'm going to go on a quick detour to show the QR code. Yes, do it, do it, do it. By

[Prot]: the way, I will like the stream. I didn't have the chance to do that. A show string. Yes. So here, this is my... Look, I'm

[Sacha]: using line numbers, but they're really long. Yeah, these

[Prot]: are massive. Of course. What can we do? But it's still better because I can say, okay, go to 97, right? And you kind of know where I mean. Yeah. Yeah, so this is qrencode, qrencode

[Sacha]: format, and all of that stuff. It is in Emacs. I think this one actually inserts text. There's probably a way to get it to get images as well. But yeah, so QR codes, because why not?

[Prot]: Yeah, no, that's very efficient. Yeah, yeah, good, good.

[Sacha]: Okay. Yes. So these timestamps are basically in my local time, and then I can translate them to other time zones, and then I can start announcing them, which will probably happen more if I can get my GotoSocial Mastodon thing to be more reliable. But also following your example, I should try putting it in my blog. I just feel like a little weird suddenly going from posting on my blog like once or twice, well, two or three times a week to Hey, OK, every day. All right. In ten minutes, you're going to have a live stream of me talking about random stuff.

00:43:46 Prot on announcing livestreams on blogs

[Prot]: Well, in a sense, it is weird because it's not something you would normally do on a blog, right? Like you have been blogging for a long time and you know how blogging is, right? You just do it on your own. But this streaming culture is a different experience. I think, however, it shares a lot with the blogging way of doing things, which is like, well, this is what I have to say. This is what I think. And I just do it in a slightly different format. And of course, because you are doing the stream, ultimately you control how you participate, to the degree that you participate, what you want to comment on. So ultimately, even though it's a live stream, you can control it in a way that is not that much of a live stream. In the sense that you can be very specific, very structured and be like, you know what, this is my structure, this is what I will do, and I will not run off on a tangent, for example.

[Sacha]: I don't know if it is possible for me to not run off on a tangent. I appreciate people who can be very focused. It's okay. I think my job, I think my goal is more of how do I at least describe the tangents in text form so that I can find them again and so that other people can decide whether this is worth two hours of their time or whether they can just skip to the five minutes that concerns the thing that they like.

[Prot]: Yes, in that case the timestamping would be the way to go. Timestamp plus a brief description.

[Sacha]: Yes, yes, and that actually gets me to... ta-da!

00:45:25 Processing the recordings

[Sacha]: topic: processing the recordings So, yes, as I mentioned, I've been enjoying going back and editing the transcripts because it becomes an excuse to tinker with Emacs and subed-mode, and then because I have this thing for adding a note above the start of a chapter, I can then easily use that to extract the chapter markers for YouTube and all of that stuff. As I mentioned, I'm working on some workflows for tracking chapters on the fly. You know, it's actually really nice having this little button. I used to think, okay, I can just press a keyboard shortcut, but apparently I forget all of my keyboard shortcuts when I'm trying to talk at the same time. So if there's a button, I'm like, I get incentivized to click on it to see whether my code still works.

[Prot]: Plus it functions as a reminder.

[Sacha]: Yes. So it's very helpful that way. And then, as I mentioned, I still need to work on a good workflow for extracting the screenshots and clips so that I can then turn it into blog posts later on and so forth. Right now, I have a pretty manual process for, okay, after the video is posted, I'm going to download it. I have some shell scripts now and the next step of course after this one is going to write an Emacs function that actually and I just finished this part. I have an Emacs function that calls the shell scripts to download the thing using yt-dlp and then start the transcription process but I still manually do the upload to internet archive which I know has a CLI tool so that's next in my list, and fix subtitles and all that stuff, so that's kind of... if I want to get more out of the recordings, that's a general direction I'm going.

00:47:15 Commitment devices

[Sacha]: This is not something that you're currently fiddling with.

[Prot]: Basically, I'm the wrong person for this.

[Sacha]: Yeah, it's okay. And part of these conversations is not so much that I'm looking to you for specific advice on things that you explicitly don't do because it would be against the alla prima. Just get it done and lower the barrier going in. But it's also useful as a commitment device for me to say, alright, I would like to get better at this. I am telling Prot in order to be able to demonstrate the stuff and make myself... If I'm going to see him in another two weeks... Am I going to see you in another two weeks?

[Prot]: Yes, yes, yes. And I will ask. I keep receipts. Yes, yes, yes.

[Sacha]: Exactly, right? So this is also valuable for that. Not just hoping that in your config, which I have now read, that you would have a snippet exactly for this purpose, but more like, okay, I'm telling somebody I'm going to do it, which means I got to go do it.

[Prot]: Yes, yes. And of course, just verbalizing it means that you can also understand it a little bit better. And you start thinking about it. And then it's a matter of writing the code.

00:48:29 Automating more of the process

[Prot]: I'm curious, though, why do you have the shell scripts and not bring all of that into Emacs? What's the advantage of having Emacs called the shell scripts? Or was it just more convenient?

[Sacha]: It's just out of convenience. Emacs does call the shell scripts. The shell scripts are there just in case I happen to be SSH-ing in from my phone. Because I'm downstairs or whatever and then I can just run it from the shell also because I use it not just for my... So I have some shell scripts for downloading the video as an MP3 or as an MP4 or as the subtitles. And so these are generally useful things that I might not necessarily remember to be in Emacs for. So that's definitely, you know... I needed to find this whole process that eventually ends up in a blog post that has all my lovely stuff. where this chat that I have with you is kind of my high-water mark of this is really fun. I would like to do more things like this, where it ends up with transcripts, resources, kind of like the show notes chapter marker indexes. These are automatically extracted from the transcript. Rough notes that we were working on there. The session ... The transcript has speaker diarization. In a video, I got your subtitles to show up in italics and my subtitles to show up in plain text. So now that I have this infrastructure, I feel compelled to make sure I schedule conversations with people so that I use it.

[Prot]: Yes, of course. And that's actually a good reason generally for writing code, ultimately, because it's the vehicle for doing what the code is supposed to facilitate. So the code is just a pretext for actually doing the thing.

[Sacha]: Or the other way around, yeah.

[Prot]: Or it can be the other way around. So the code is the goal, yeah.

[Sacha]: Yeah, yeah, I know. EmacsConf is basically the way that I test emacsconf.el. Hi. It's fine. It's fine. Yeah, so that's my thing for processing recordings. Changing topic. The button. The button. The button. We must press the button.

00:51:14 Copying non-packaged code

[Sacha]: Non-packaged code. So now that I've modularized my Emacs configuration, I've split all the defuns into different files. I have renamed everything from my- to sacha- so that I don't step on other people's function definitions. Now I'm starting to copy things from other people's code to see whether this is actually a viable approach. So this is the way I'm currently stealing something from your prot-comment. Is this sort of like... It seems to work when I go into something. If I go into something, I can press C-x M-; and it does the thing that you define. So this is sort of what you had in mind, right?

[Prot]: This is basically what I was thinking earlier with the comment. Yeah.

[Sacha]: And then theoretically, this sort of structure will also work for other people who have checked out my very large config and they can autoload specific commands out of it and then they can bind key bindings without necessarily importing all of my other set queues and add hooks because that's in a separate file now. The only thing in my list is defuns.

00:52:25 Prot on defcustom

[Prot]: And if you also, just to add, if you also have configurations for your packages, right? You can also have defcustoms for there, maybe with a default value that works for you or with a default value that is generally useful. And then you can also separate that out. So users don't have to pull anything from your configuration, but just pull the package.

[Sacha]: So right now I have... Right now I have my configurations as defvars because I'm lazy. Do you happen to have a function or whatever that you like to use to just convert a defvar into a defcustom?

[Prot]: I haven't done it because it's actually tricky with the type.

[Sacha]: Yes.

[Prot]: You know, the defcustom has the type keyword. And of course, for the most trivial cases, this is easy. Like, OK, it's boolean or it's a string or whatever. But usually it's not that simple. Like if you have an alist, you have to describe what are the key and value pairs or whatever and the elements of the alist. So I haven't done that because it's always on a case by case basis. And many of the defcustom I have will have like a bespoke type because the data structure is really specific. You know, the value they expect. For example, if you are doing something with the action alists of display buffer, like they have a really specific type how you write it.

[Sacha]: Yeah, yeah, I hear you. So I think because I have a lot of strings, I probably can get away with something that just reads the form, smooshes it into a string, adds a string, or possibly what this will end up looking like is maybe a completing read on the type of the function. Sorry, the type of the thing. And then I can just select from several types.

[Prot]: Well, you can make it like you can make it a guess. Like, of course, if this thing is quoted and it's a symbol, it's not a list. Maybe I can have like a choice or a repeat symbol or something like you. You can, but it won't be accurate. Like that would be like for you to fill it in later.

[Sacha]: Yeah. No, I was thinking just more along the lines of Like a completion so that you can select from maybe some of your common types. The actual guessing of what type it is would be an exercise left for future me. But even just not having to remember exactly what the syntax is for repeat would be nice.

[Prot]: Actually, that's good.

00:55:12 helpful and elisp-demos

[Sacha]: Yes. I mean, one of the things that I always find helpful is, like, I think I've got some examples now. I'm using helpful, right? And I'm also using this elisp-demos. So it just tells me, like, I can add more notes here and I can say, okay, this is what a defcustom, that's a repeat of a string or what a const looks like, so that... 'Cause the manual doesn't have a lot of examples sometimes. Sometimes it's annoying to dig through it looking for examples. Usually it has no examples. I think that that's...

[Prot]: if there was one area of improvement, it's that. Keep it as is, because it's high quality, but complement it with examples.

[Sacha]: I mean, technically, all of Emacs is an example, and you can just find something, but...

[Prot]: Yeah, that's why you have the manual, because if I have to dig through thousands of lines of Emacs Lisp, that will take a toll on my patience.

[Sacha]: Yeah, so for anyone who's watching, helpful and elisp-demos is how to add these helpful little notes to your describe-function, because who remembers these things?

[Prot]: Yeah, yeah, yeah. That's very good. That's very good. Yes.

00:56:23 Prot on code libraries

[Prot]: Just to say on the point, if you have packages, this is something I actually do. I just go and reference one of my packages, which I know I have done the research for. So I'm like, okay, how do you do the display buffer action alist type? I will just go to, for example, denote and copy it.

[Sacha]: I will eventually build up a list of examples that I can refer to.

00:56:50 Prot rewrites functions to fit his style and naming conventions

[Sacha]: The other question I had though was do you ever find yourself copying code from people who do not have their You know, they're functions in nice little things that you can just import and autoload. And what do you do about it? Like if they're, you know, let's say they named it, then maybe they named it without the prefix. So it might be possible to confuse it with the standard stuff or they, you know, it's mixed in with the rest of their config so you can just load the file. What do you like doing when you are copying that kind of code?

[Prot]: I will basically check if I can make edits to it. The first thing I would make is probably change the style to be like my style. So I would anyway change it so there is no scenario where I would just copy it verbatim and paste it.

[Sacha]: Okay, so you like to rewrite things and then you fit it into your naming convention because it is now yours.

[Prot]: But also like the style. For example, this function you have over there, like Sacha here, like the one we are seeing now on screen. For example, I would change the name of pargs. Not because it's wrong, but because stylistically it's not what I would write. Then I would change the indentation. Org Capture String, I would put the concat, the line below. I would basically do small tweaks, not because it's wrong what you have, but because stylistically I have a different way of expressing it.

[Sacha]: Yeah, yeah, yeah. Absolutely. I've started to add where I got it from in the docstring instead of... I used to put it in the comment. But as you mentioned, the doc strings are a little bit more visible. So then I usually don't end up looking for updates. But at least theoretically, if I do want to, I could find out who was... Or if I want to credit somebody or see what else they've come up with lately, then at least it's there.

[Prot]: Yes, it's good enough. Plus, when we are talking about these smaller functions, having the link there, I think, is enough. Like, you wouldn't need to go search for updates or whatever. Like, if they have made some changes, chances are it's there.

[Sacha]: Yeah. Okay, so rewrite things, make it fit your style, and add stuff to the docstring because you like to have thorough docstrings.

00:59:18 Prot's preference for small functions

[Prot]: Yeah, yeah, yeah. There are many functions I have where the docstring is longer than the code. I would say, yeah, many of them are like that. But also, just to say, it's because of how I will write the code, where there are many small functions building up to a big one. And so then the docstring explains basically what all these small functions contribute to.

[Sacha]: I like small functions too because I got used to coding on even smaller screens, right? And so anything that could just actually fit in the screen was much better than things that I had to page through. And it gives you many more avenues to modify the behavior because you have more places that you could def-advice, sorry, advice-add :around or whatever.

[Prot]: Actually, this is why I started doing it as well, because it's easier. I had this reason myself. I think it was an org function, which is like 200 lines, and I wanted to really change one thing and I had to copy the whole function. And I'm like, well, if this was a helper function, I would be done by just overriding the helper and I would be good.

01:00:23 avy-goto-char-timer

[Sacha]: I am slowly getting the hang of using avy-goto-char-timer so that I can copy the symbols from elsewhere. Because even if I'm using nameless to insert the prefixes and then I'm using dabbrev-expand or hippie-expand, for which the config I still need to fiddle with to make it absolutely perfect. It's still a lot of typing sometimes, since we like to use long function names.

[Prot]: And which timer variant do you use? Because it has, with two characters, it has the 0 one, which is type as much as you can within a certain time window.

[Sacha]: That's a good question. Where is this?

[Prot]: Char timer. I think this is based on... I think this is the zero. Yeah, I'm not sure. I remember it's called zero.

[Sacha]: So like I can type li and then go to like lj to jump to that one and now I have it so that I can M-j li and then I can press the yank yeah like y like insert from there which is yes when I was when I was stealing stuff from your config, I could... oh let me show you... where is this... So this is your config, right? Well, this is... Hang on a second. Org link preview. There you go. So now the highlights of your config. I can steal stuff from your config and say, okay, M-j, open parenthesis, oops. M-j. Open parenthesis. I can copy the entire line of LK from avy, which is very nice. Very nice. Yes, yes. So, pretty fast side there into avy. I have to slow down and actually focus on doing the keyboard shortcuts because it's a new habit that I want to build, especially since.

01:02:40 One-shot keyboard modifiers

[Sacha]: Also related to one of your recent videos, I'm experimenting with one-shot keyboard modifiers.

[Prot]: Oh, well done.

[Sacha]: Yes. It's a little tricky. I have to get my brain to get used to it. I'm using keyd to do this on Linux. And it's just getting the hang of pressing control and then moving to the thing. It's messing with my brain a little.

[Prot]: But consider that it's a good opportunity to also use two-handed mode, basically. So, for example, C-x, right? Not like C-x. You see what I'm saying? So basically one hand for the modifier. Yeah, exactly. Because that's a good practice in general, even if you use the standard modifiers. Yeah.

01:03:29 Toggling

[Sacha]: And one of the other things that I started doing after our previous conversation and having looked at some of your toggling sort of things, in your config, what's this idea of using the C-z and C-S-z shortcuts? Since who likes to suspend Emacs anyway, right? So now my C-S-z toggles my now.org, which is the stuff that I'm going to be working on, including the stuff that I want to get the hang of using. So this is my, all right, I need to scope it down so that I don't get overwhelmed. These are the things that will, you know, these are the things that I'm trying to get the hang of using. C-z gets me to my stream notes because then I can add things while I'm live, and then C-S-z is what I have as my now, which also gets posted to my web page, sort of like what I'm focusing on. Which, actually, I can reorganize anyway. So I'm liking this toggling because I can press, like for example, if I'm in the middle of my scratch buffer, I can press C-S-z, pop it up, and then pop it back down. And I was watching Joshua Blais's video about he gets to do this sort of like toggling things in and out from anywhere in his system. So now I'm jealous and I need to figure out how to get that working too.

[Prot]: Yeah, yeah, yeah. That's the kind of thing that is really helpful. Like pop it out and then when you don't need it, it disappears.

01:05:08 System-wide toggle shortcuts using emacsclient

[Sacha]: Do you have any of that kind of system level of toggling even when you don't have Emacs as your main application sort of thing?

[Prot]: Via emacsclient. So you can have a key binding to emacsclient, an emacsclient call, and it will bring up an Emacs window from anywhere. I have that, yes. I have it for a few things. TMR mostly, the timer package. So if I am, for example, here, I can bring it up and start the timer without actually switching to Emacs. Okay,

[Sacha]: so that sounds like something I need to look into. It's

[Prot]: in the prot-window file, prot-window.el. I have a macro there, and it's a macro that defines a command. To run in a new frame and once you do something, such as complete or cancel, to close that frame basically. And it's using a condition

[Sacha]: case. It's using a condition case. I think it's the simplest

[Prot]: you can do.

[Sacha]: And then that's a global keybinding on your window manager that runs that and then brings that so that you can pop it up and put it back.

[Prot]: Yeah. It's just emacsclient -e and then the command.

[Sacha]: Oh, that's interesting. Rickard says using space as control has revolutionized their Emacsing. I'm not sure I'm ready to take that step yet. Also, I can probably figure out how to use keyd to use it as a modifier. We'll see. It's a nice big key, you know? You're just tempted to do all sorts of things with it.

[Prot]: Of course, at the keyboard level, you can have different behavior for tap and hold. So when you tap the space, it's an ordinary space. When you hold it, it's control. Maybe that's what they are.

[Sacha]: Yeah, I think that's what's happening there. Look into using keyd for tap and hold.

[Prot]: Yeah, and this is the principle behind the home row mods, the standard home row mods. It's like when you tap, for example, H, it just does H. When you hold it, it's some modifier key.

01:07:25 My next steps

[Sacha]: I have three minutes before the kiddo runs out and goes, mom, it's lunchtime. So do you have any, like, okay, my next steps, I've got stuff that I need to work on in terms of improving the processing of things and automating things. I found this session very helpful for saying, okay, you know, like, in the weeks leading up to it, two weeks leading up to it, it's like, okay, I got to write this code because I want to be able to say I did it, which is good. And as a result, I have all sorts of fancy things now in my Emacs for streaming and also for my config. In two weeks, I would love to have this kind of conversation with you again, if that's all right with you. Do you have any tips before the kiddo comes out?

01:08:18 Tips from Prot: small functions used frequently

[Prot]: Yeah, yeah, yeah. So for the functions you want to write, you want to make the functions be small so you can test them all and make them part of your habit, like start using them even before the streams. So try to use them every day so that you basically have almost a knee-jerk reaction where it's like, oh, I'm doing this and you call the function basically right away. And I don't know if you use the F keys, the function keys for your shortcuts. Maybe those would be good.

[Sacha]: Yeah, I have some of them. But again, it's hard for me to remember sometimes which one I have matched there. So again, it's trying to build it into muscle memory. Probably what I just need is some kind of drill thing.

01:09:06 Maybe using the header line for tips?

[Prot]: How about a minor mode that sets the header line format? You have seen in many buffers where it says type C-c C-c to finish, right? So set the header line format to be like, you know, type, I don't know, Ctrl-Z to bring up the pop-up, whatever, right?

[Sacha]: Yeah, I mean, quick help sort of is that idea...

[Prot]: Yes, quick help would help you do that as well, yeah.

[Sacha]: It's a screen space thing. But if I can find something that I can smoosh together with keycast so that it reminds me of my key tip in this context. Ah, with keycast. Interesting.

[Prot]: That's why I was thinking of header-line-format. So it would be something that will appear there. And of course, the header line works exactly like the mode line, meaning that it can update the content. It's not static. So like your mode line will update information.

[Sacha]: Yeah. Okay. All right. So let me think about which tips might be, you know, like my keyword shortcut of the day focus could be interesting.

01:10:23 Reorganizing keys

[Prot]: But it also brings the point like here, of course, like the keys you have, maybe it's also a good opportunity to organize them differently. Like the header here should prompt you for one prefix key, for example. Like, you know, C-t, let's say, and that's for transcribing or whatever. Right. And it will just have that one there. And then with the help of which-key, for example, you see what you have behind that prefix.

[Sacha]: I have a hard time figuring out keybindings, which is one of the reasons why I like looking at configs like yours and other people. Because I'm like, yeah, I can totally use that as a starting point for keybindings. But then what else do I assign to it? So for example, I've got this. I apparently don't have this. I have this sacha-stream-transient C-c v. That's where I put it now. Okay. Which now has things like OBS and all that stuff.

[Prot]: What's the mnemonic for v?

[Sacha]: Oh, v would have been video sort of thing.

[Prot]: Okay, I see.

[Sacha]: But I have to fiddle with it and the kiddo is going to come out any moment now. So thanks just in case she comes out.

[Prot]: You're welcome.

[Sacha]: Well, it's lunchtime. Thank you for this. I will schedule something else in two weeks. I'm going to try to practice more scheduled live streams and keep fiddling with this workflow. This has all been very helpful. And thank you to the people who also have dropped by and said hello. You can check the chat later. It's fine. Yes, yes. Thanks, everybody. All right. Okay. I'm going to say bye here just in case. Take care. Take care. Take care, Sacha.

[Prot]: Take care, everybody. Bye-bye. Bye-bye. Thank you.

[Sacha]: Thank you everyone for hanging out. That was my chat with Prot. And I will see y'all again maybe Thurs... Well, probably before then. But I will try to schedule something on Thursday for around that time. Who knows what it's going to be about. But yeah, thank you for coming and experimenting with me. Let us end the stream there. Because it's lunchtime.

View Org source for this post

YE12: Categorizing Emacs News, epwgraph, languages

| emacs, stream, yay-emacs

View in the Internet Archive, watch or comment on YouTube, or email me.

Chapters:

  • 00:41:21 epwgraph
  • 00:54:56 learning languages

Thanks for your patience with the audio issues! At some point, I need to work out the contention between all the different processes that I want to be listening to the audio from my mic. =)

In this livestream, I categorize Emacs News for 2026-04-06, show epwgraph for managing Pipewire connections from Emacs, and share some of my language learning workflows.

View Org source for this post

YE11: Fix find-function for Emacs Lisp from org-babel or scratch

| org, emacs, elisp, stream, yay-emacs

Watch on Internet Archive, watch/comment on YouTube, download captions, or email me

Where can you define an Emacs Lisp function so that you can use find-function to jump to it again later?

  • A: In an indirect buffer from Org Mode source block with your favorite eval function like eval-defun
    • C-c ' (org-edit-special) inside the block; execute the defun with C-M-x (eval-defun), C-x C-e (eval-last-sexp), or eval-buffer.

          (defun my-test-1 () (message "Hello"))
      
  • B: In an Org Mode file by executing the block with C-c C-c

      (defun my-test-2 () (message "Hello"))
    
  • C: In a .el file

    file:///tmp/test-search-function.el : execute the defun with C-M-x (eval-defun), C-x C-e (eval-last-sexp), or eval-buffer

  • D: In a scratch buffer, other temporary buffer, or really any buffer thanks to eval-last-sexp

    (defun my-test-4 () (message "Hello"))

Only option C works - it's gotta be in an .el file for find-function to find it. But I love jumping to function definitions using find-function or lispy-goto-symbol (which is bound to M-. if you use lispy and set up lispy-mode) so that I can look at or change how something works. It can be a little frustrating when I try to jump to a definition and it says, "Don't know where blahblahblah is defined." I just defined it five minutes ago! It's there in one of my other buffers, don't make me look for it myself. Probably this will get fixed in Emacs core someday, but no worries, we can work around it today with a little bit of advice.

I did some digging around in the source code. Turns out that symbol-file can't find the function definition in the load-history variable if you're not in a .el file, so find-function-search-for-symbol gets called with nil for the library, which causes the error. (emacs:subr.el)

I wrote some advice that searches in any open emacs-lisp-mode buffers or in a list of other files, like my Emacs configuration. This is how I activate it:

(setq sacha-elisp-find-function-search-extra '("~/sync/emacs/Sacha.org"))
(advice-add 'find-function-search-for-symbol :around #'sacha-elisp-find-function-search-for-symbol)

Now I should be able to jump to all those functions wherever they're defined.

(my-test-1)
(my-test-2)
(my-test-3)
(my-test-4)

Note that by default, M-. in emacs-lisp-mode uses xref-find-definitions, which seems to really want files. I haven't figured out a good workaround for that yet, but lispy-mode makes M-. work and gives me a bunch of other great shortcuts, so I'd recommend checking that out.

Here's the source code for the find function thing:

(defvar sacha-elisp-find-function-search-extra
  nil
  "List of filenames to search for functions.")

;;;###autoload
(defun sacha-elisp-find-function-search-for-symbol (fn symbol type library &rest _)
  "Find SYMBOL with TYPE in Emacs Lisp buffers or `sacha-find-function-search-extra'.
Prioritize buffers that do not have associated files, such as Org Src
buffers or *scratch*. Note that the fallback search uses \"^([^ )]+\" so that
it isn't confused by preceding forms.

If LIBRARY is specified, fall back to FN.

Activate this with:

(advice-add 'find-function-search-for-symbol
 :around #'sacha-org-babel-find-function-search-for-symbol-in-dotemacs)"
  (if (null library)
      ;; Could not find library; search my-dotemacs-file just in case
      (progn
        (while (and (symbolp symbol) (get symbol 'definition-name))
          (setq symbol (get symbol 'definition-name)))
        (catch 'found
          (mapc
           (lambda (buffer-or-file)
             (with-current-buffer (if (bufferp buffer-or-file)
                                      buffer-or-file
                                    (find-file-noselect buffer-or-file))
               (let* ((regexp-symbol
                       (or (and (symbolp symbol)
                                (alist-get type (get symbol 'find-function-type-alist)))
                           (alist-get type find-function-regexp-alist)))
                      (form-matcher-factory
                       (and (functionp (cdr-safe regexp-symbol))
                            (cdr regexp-symbol)))
                      (regexp-symbol (if form-matcher-factory
                                         (car regexp-symbol)
                                       regexp-symbol))

                      (case-fold-search)
                      (regexp (if (functionp regexp-symbol) regexp-symbol
                                (format (symbol-value regexp-symbol)
                                        ;; Entry for ` (backquote) macro in loaddefs.el,
                                        ;; (defalias (quote \`)..., has a \ but
                                        ;; (symbol-name symbol) doesn't.  Add an
                                        ;; optional \ to catch this.
                                        (concat "\\\\?"
                                                (regexp-quote (symbol-name symbol)))))))
                 (save-restriction
                   (widen)
                   (with-syntax-table emacs-lisp-mode-syntax-table
                     (goto-char (point-min))
                     (if (if (functionp regexp)
                             (funcall regexp symbol)
                           (or (re-search-forward regexp nil t)
                               ;; `regexp' matches definitions using known forms like
                               ;; `defun', or `defvar'.  But some functions/variables
                               ;; are defined using special macros (or functions), so
                               ;; if `regexp' can't find the definition, we look for
                               ;; something of the form "(SOMETHING <symbol> ...)".
                               ;; This fails to distinguish function definitions from
                               ;; variable declarations (or even uses thereof), but is
                               ;; a good pragmatic fallback.
                               (re-search-forward
                                (concat "^([^ )]+" find-function-space-re "['(]?"
                                        (regexp-quote (symbol-name symbol))
                                        "\\_>")
                                nil t)))
                         (progn
                           (beginning-of-line)
                           (throw 'found
                                   (cons (current-buffer) (point))))
                       (when-let* ((find-expanded
                                    (when (trusted-content-p)
                                      (find-function--search-by-expanding-macros
                                       (current-buffer) symbol type
                                       form-matcher-factory))))
                         (throw 'found
                                 (cons (current-buffer)
                                       find-expanded)))))))))
           (delq nil
                 (append
                  (sort
                   (match-buffers '(derived-mode . emacs-lisp-mode))
                   :key (lambda (o) (or (buffer-file-name o) "")))
                  sacha-elisp-find-function-search-extra)))))
    (funcall fn symbol type library)))

I even figured out how to write tests for it:

(ert-deftest sacha-elisp--find-function-search-for-symbol--in-buffer ()
  (let ((sym (make-temp-name "--test-fn"))
        buffer)
    (unwind-protect
        (with-temp-buffer
          (emacs-lisp-mode)
          (insert (format ";; Comment\n(defun %s () (message \"Hello\"))" sym))
          (eval-last-sexp nil)
          (setq buffer (current-buffer))
          (with-temp-buffer
            (let ((pos (sacha-elisp-find-function-search-for-symbol nil (intern sym) nil nil)))
              (should (equal (car pos) buffer))
              (should (equal (cdr pos) 12)))))
      (fmakunbound (intern sym)))))

(ert-deftest sacha-elisp--find-function-search-for-symbol--in-file ()
  (let* ((sym (make-temp-name "--test-fn"))
         (temp-file (make-temp-file
                     "test-" nil ".org"
                     (format
                      "#+begin_src emacs-lisp\n;; Comment\n(defun %s () (message \"Hello\"))\n#+end_src"
                      sym)))
         (sacha-elisp-find-function-search-extra (list temp-file))
         buffer)
    (unwind-protect
        (with-temp-buffer
          (let ((pos (sacha-elisp-find-function-search-for-symbol nil (intern sym) nil nil)))
            (should (equal (buffer-file-name (car pos)) temp-file))
            (should (equal (cdr pos) 35))))
      (delete-file temp-file))))
This is part of my Emacs configuration.
View Org source for this post