Back to the schedule
Previous: Bard Bivou(m)acs - Building a bandcamp-like page for an album of music
Next: Beyond Vim and Emacs: A Scalable UI Paradigm

Trivial Emacs Kits

Corwin Brust

Download compressed .webm video (20.2M)
Download compressed .webm video (12M, highly compressed)
View transcript

Techniques to help new users bootstrap a more gentle introduction to Emacs, one (short) init.el file at a time.

Additional Materials

KindTargetSizeDescription
org, svgtar.gz25kNotes for all talks
demowebm26mCharacter Sheet
demowebm19m"Sketch" Map and Tile editor
demowebm16mBattleboard, damage tracking
demowebm9mGame Maps, controlling fog-of-war
demogif724mAll demos, no overlays
demojson274KOBS scenes
elispwww Corwin's init files
  • Actual start and end time (EST): Start: 2020-11-28T10.45.48; Q&A 2020-11-28T10.57.38; End: 2020-11-28T10.59.48

Questions

What makes the Emacs community unique (special/different?) from other communities (if anything)? And/or, are there other communities that are similar in your view?

Do you use Emacs as a community building tool?

  • Yes, Corwin uses Emacs as a community building tool.
  • Corwin: "Heck yeah, Emacs is a community building tool"

Are you suggesting there is value in "Emacs for scientists", "Emacs for programmers", "Emacs for writers" etc. – i.e. different defaults for different groups?

[Corwin] Implicitly, yes. My argument is that we should rethink the problem of building and maintaining Emacs configuration sets each time we assemble a team to work on something. That gives us a new chance, each time, to maybe produce new data that helps us make more informed decisions about how to make our own personal approaches more robust (and easier to read), but also to help "chip away" at the huge work of making Emacs more easily configurable for new users.

What is the background you are using? What is the tool you are using to present?

[Corwin] Wallpaper Engine on Steam is probably the thing that's grabbing attention. I haven't tried it under GNU/Linux. My family are (mostly) Windows users right now heavy sigh I don't want to get into my tool chain a huge amount, but I will talk about it some as/during the Welcome to the Dungeon talk tomorrow. For now I will say I'm using a mix of free (free and not-free but too easy to avoid tools on my one pretty good computer). I would love to have the time to invest to use more (only) free stuff but sometimes we can't afford the freedom, in terms of the learning curve. I think this is the most important problem space in free software, FWIW.

Notes

  • https://github.com/dungeon-mode/game co-founder
  • Initial "trolling" by showing presentation notes in different editors: vim, Notepad++, VS Code, Sublime Text.
  • LISP wasn't on the list.
  • Disagreement is not the barrier.
  • Emacs is threatening as something that addresses many different needs/use-cases.

Transcript

There is a visual gimmick underlaying the initial remarks.  We are
looking at the first (first-slide ("Welcome") showing how the org
markdown looks on other editors, including cygwin emacs, Notepad++,
Sublime, VS Code, and cygwin vim.  As each is closed we see the next,
until we reveal GUI Emacs running org-mode in a full-both frame.

[00:00:00.399] My name is Corwin Brust and I will be talking about getting started with Emacs today. I have been an Emacs user for a long time.

[00:00:11.448] First of all, thanks and a huge welcome to the conference from me and and on behalf and back to the other people that have been helping to organize. It's been amazing just to be involved with that and just, kind of, see backstage.

[00:00:36.399] I've used a lot of different editors in my time. That's about 25 years as a professional software engineer. And most of that time I've been using Emacs.

[00:00:54.247] I'll talk a little bit in a minute (if I can ever find my slides) about how I got into Emacs, but I think if you've used Emacs and a lot of other editors for a long time, something that you notice right away is that you get good with it in a way that stays meaningful. You learn new things. Those things stick with you. You learn how to make it do new tricks and then keep doing those tricks.

[00:01:33.759] I want to mention that this conference--oops, this talk isn't about how to adjust your configuration specifically. I don't have a bunch of good code samples in here. There are other great talks at the conference, particularly Andrew's, that I looked at, that looked like they might be more aimed at that "hey, I'm just getting started with Emacs, what are some things to try to make it more comfortable for me starting?"

[00:02:07.017] This is about how to think about the problem space.

[00:02:09.759] Hopefully, a good warm up as we start thinking about some of the lightning talks a little later on. I'm just gonna quickly make sure I can see my IRC buffer in case I run into time. I didn't get my stopwatch started for this one.

[00:02:25.680] So all right, let's dive in.

[00:02:29.680] We assume that we want to install packages and maybe configure some features. This is particularly from the perspective of where we're working with a bunch of people on a team and we want to get something done.

[00:02:42.160] Some of us probably already have mature Emacs workflows. Others are installing it for the first time.

[00:02:53.519] So the first question is, you know, in that context: what's the value proposition? Why should I mess with my machine, my mature Emacs configuration, and impose my ideas over the way somebody else is learning Emacs?

[00:03:09.815] Well, it can be.. I'm off my slides here a little bit.

[00:03:13.840] It can be a little bit tricky to learn Emacs. One thing that helps us a lot is if people that we're working with can tell us, kinda, keystroke for keystroke at times, what to do and explain what everything is doing.

[00:03:30.480] Using the same packages can really help us working together on a project.

[00:03:35.840] Speaking from my personal experience, it took me decades to get to the point where I was excited to program in Emacs Lisp.

[00:03:45.226] I've programmed in a lot of programming languages, but Lisp wasn't on my list. I looked at my config that I was copy-pasting around from generation after generation of .emacs file, or recrafting it from hand and from Internet searches, to get the things that I needed when I would quickly go install Emacs at some new job or contract, and be able to to quickly get through that workflow that caused me to install the program.

[00:04:17.440] You know, just little simple one-liners that got committed to memory over decades eventually just led me to a sort of "hey what's going on here."

[00:04:27.675] And I credit Jeff Goff, my good friend who died earlier in 2020, for my lifelong love of Emacs. Perhaps Erik and I will talk about that a little bit more in another talk we have scheduled, but Jeff was a huge influence on us in a number of ways, and a huge contributor to the Raku programming language, which is very cool.

[00:04:54.840] So, understanding how to make a good decision about splitting up configuration in a way to share it across people with really different uses of Emacs... That's actually a complicated topic and I want to sort of back off and stare at it for a second.

[00:05:12.639] I think Emacs is about people, so that means it's about community. And community means we're going to invite disagreement. In fact, that disagreement isn't necessarily a road-block to our project. In fact, some of the work that a community project can invite us to do is to get closer to each other by inviting those disagreements, by learning from them--learning from different people's styles and from how they argue, and thinking about why they have that perspective and what technical benefits that perhaps radical point of view might carry away. Some people are really aggressive arguers, and others are very passive and really couch their ideas in distancing terms, to say, "well probably, this is a good idea" or "please double check me." Those don't always necessarily indicate how certain a person is, because we're different. We have different ways of communicating ideas like certainty or excitement.

[00:06:24.560] When we think about a bunch of really diverse programmers approaching Emacs, probably one of our first really big challenges is just to pick what we're going to go after. There are a lot of existing kit installs and things like this. My argument is that you could actually get pretty far just trading files around. Maybe the more valuable conversation to have is making the hard decisions about, well, "should we have vertical completion," should that be the out of the box, and the people that want the traditional splayed out over a single line completion, for example in the mode line, those people are going to add a line of config to their own setup?

[00:07:29.039] The way to get there? I mean, how do we find out what works?

[00:07:33.344] We don't want to slow down the people that are super productive with Emacs by asking them to completely break their workflows and make it easier for new folks.

[00:07:42.560] At the same time, we do want to make sure those new people are excited by Emacs and not turned off by having to learn the entire jungle of Emacs history in the form of its unique technical stylings for things like frames, buffers, and other unique Emacs viewpoints on important interface concepts, especially.

[00:08:16.240] The encouragement here is to keep the initialization for a project team together as a crucible. Rather than necessarily following our defaults of finding the simplest configurations that generally work and letting people customize it, what if we tried to look for fairly specific configurations that we'll expect essentially all of our developers to be using, at least when they submit bug reports.

[00:08:52.839] In particular, with this, I think that degree of experimentation can drive back into the Emacs development process. In the development mailing list... I'm hoping I'll get a timing cue here. In the context of Emacs development as a greater entity, we see some of these struggles. Should we change this default? Sometimes we can have the sense that defaults in Emacs will never change. The conversation is too difficult. I think one thing that can help us get there is evidence that says, "hey my 30- to 40-person project is using this set of bindings, and here's what we learned about brand new Emacs users trying to come in and get work done with that." (Amin: Yeah you still have a couple more minutes.) Oh, beautiful. Okay, great. I will try to get through my last few slides that I cut in my last walkthrough, but I think I'm going quicker today, thank you. Thank you.

[00:10:02.000] So let's just recap real quick: in theory, Emacs works out of the box. That means we're free to experiment. We can throw it all away and start over. As an organizational principle... I don't know what I was thinking on that slide, excuse me.

[00:10:30.079] Bringing it back around to the free and open source software community, our goal is to enable users to unlock their computers, to do as much with them as possible. That's the context to take with project initialization, but sometimes it could make sense to put some gloves on. I've thrown up on the screen here just a couple of other ideas, ways to maybe think outside of the box. As you're putting together project nets, my words of encouragement are to experiment with it, try different things, and think really specifically about how different the development users might be from each other as you define standards for configuring the user environment of Emacs specifically for developing on a project.

[00:11:26.552] That's pretty much my talk. If there's any time, I would take a couple questions. (Amin: Thank you for your awesome talk, Corwin. I think we have one or two minutes for a few questions. Do you have the pad open or would you like me to read the questions for you?) Corwin: Oh, I managed to close the pad and I am trying to open it again. All right, there it opened. Bringing it onto a screen where I can see it. Will you read me the first question while I drag windows around, please?

[00:12:09.360] (Amin: Sure. It says, "do you use Emacs as a community building tool?") Do I use Emacs as a community building tool, or how do I? (Amin: It just says do you.) Yes, absolutely. I think Emacs is an ambassador to the GNU tool chain. I think that in the fullness of time, we will see an Emacs that makes iOS and Android and other closed-source tools dream. That's why they mock us and call Emacs an operating system. It's because it could be, if we cared for it to be. It's quite a threatening product from the perspective of how many problem spaces it can address, how many types of users it can satisfy, the things that we can do to make it robust in those environments. I mean, we're always thinking about the weak points, but is Emacs a community building tool? Heck yeah.

[00:13:14.639] (Amin: There's like one or two more questions. I think they're more long-form so it might be better if you took them off stream so you could keep the schedule on time.) I would love to take those questions offline. I will respond to you in writing if we don't get to it in a breakout room. Thanks so much for joining us. I can't wait to see the rest of the conference. See you there! (Amin: Awesome. Thank you again so much, Corwin.)

Saturday, Nov 28 2020, ~10:48 AM - 10:58 AM EST
Saturday, Nov 28 2020, ~ 7:48 AM - 7:58 AM PST
Saturday, Nov 28 2020, ~ 3:48 PM - 3:58 PM UTC
Saturday, Nov 28 2020, ~ 4:48 PM - 4:58 PM CET
Saturday, Nov 28 2020, ~11:48 PM - 11:58 PM +08

Back to the schedule
Previous: Bard Bivou(m)acs - Building a bandcamp-like page for an album of music
Next: Beyond Vim and Emacs: A Scalable UI Paradigm