Live

Livestream

: Oct 2 - Emacs Chat 31: Pedro A. Aranda Gutierrez

https://sachachua.com/blog/2026/10/oct-2-emacs-chat-31-pedro-a-aranda-gutierrez/

On Oct 2, we'll chat with Pedro about Org Mode, LaTeX exports and font management including alternatives and things you can and can't do depending on your choices. He'll share some tips on fallbacks and emojis, which can help a lot with presentations and documentation. We might also discuss recent patches and realistic objectives.

2026-10-02 Fri 06:00-07:00 America/Toronto = Fri Oct 2 0600H EDT / 0500H CDT / 0400H MDT / 0300H PDT / 1000H UTC / 1200H CEST / 1300H EEST / 1530H IST / 1800H +08 / 1900H JST

Watch livestream playlist

See other scheduled livestreams or add the iCalendar feed to see upcoming events in your calendar (Shortcut: Google Calendar) You can also subscribe to the RSS feed.

STARTED Current / notes for next time   stream emacs

Yay Emacs 56: Switched to VAD + ASR python script

Erik and Michael over in the EmacsListen Matrix room suggested that I set it up so that "over" (for toggling dictation mode) can be interpreted at the end of the sentence, instead of having to be an utterance by itself. This gets around my latency thresholds for voice activity detection with the small trade off that I can't end sentences with that keyword. How often do I say "over" at the end of the sentence anyway, right? I mean, I probably could come up with a workaround if I really wanted to, like maybe saying it twice.

Anyway, I realized that I can get slightly faster perceived performance by using my Python script, which does the voice activity detection and the automatic speech recognition at the same time. Or at least by the time it gets to Emacs, it's just text events. I've got it configured with a slightly slower silence threshold, so now it only waits for two hundred milliseconds, I think, in order to mark an utterance as done, which means I just need to think in more connected chunks.

So let's try that new workflow and see what I need to change for my keyboard shortcut to do what I think it should do.

All right, so the goal is that I can just talk to my computer, but I don't get it confused if I want to talk to the stream instead. how do I do that? okay. At the moment, I've switched to using my Python script that does both the voice activity detection and the speech recognition at the same time See that..

Another change This is a change Hang on a second. Where where have I put it? Sorksley. I had cool cold yesterday. I have to go find it. It might be in my my secret inbox, my personal one, with all my other secret, secret tasks. Hang on a second. here it is, in fact. okay, let me copy it .what happens now

topics/

STARTED finalize the short for Prot so that we can post it.

pdftoppm -png -scale-to-x 1080 -scale-to-y 1920 ../community-prot-why.pdf community-prot-why

Trying to get the coordinates based on colors

file:///home/sacha/bin/find-colors.py

Hmm, this doesn't quite work…

(defvar sacha-image-find-colors-command '("/home/sacha/bin/find-colors.py"))

(defun sacha-image-get-coordinates (image-file labels)
  "Analyze IMAGE-FILE for rectangles matching LABELS.
LABELS is an alist of (label . color).
Return a list of ((label x1 y1 x2 y2) ...)."
  (with-temp-buffer
    (apply #'call-process
           (car sacha-image-find-colors-command) nil t nil
           (expand-file-name image-file)
           (seq-mapcat (lambda (o) (list (car o) (cdr o))) labels))
    (mapcar
     (lambda (o)
       (let ((list (split-string o " ")))
         (cons (car list)
               (mapcar #'string-to-number (cdr list)))))
     (split-string (string-trim (buffer-string))
                   "\n"))))

sacha-image-get-coordinates


(sacha-image-get-coordinates "~/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png" '(("webcam" . "808080") ("caption" . "00ff00") ("animation" . "0000ff")))

(("webcam" 1 16 1079 1081) ("caption" 1 1083 1079 1167) ("animation" 1 1169 1078 1918))

Converting Noteful notebooks to SVGs

openninoor/noteful-mcp reverse-engineered the Noteful format, so I can use svg_export.py (AI-generated) to convert it into strokes annotated with data-length. Example: 2026-Q4 - page 1

Animating the SVG by adding SMIL directives
;;;###autoload

(defun sacha-svg-animate-strokes-with-smil (input-filename bg duration output-filename)
  "Add SMIL directives to INPUT-FILENAME.
Animate it over DURATION on top of BG and save the result to OUTPUT-FILENAME.

DURATION can be the total number of seconds, or a list
of the form ((stroke-start stroke-end start-s stop-s)).
"
  (interactive (list (read-file-name "Input SVG: ")
                     (read-number "Seconds: ")
                     (read-file-name "Output SVG: ")))
  (let ((svg (car (xml-parse-file input-filename)))
        (prev "0s")
        (total-length 0)
        duration-to-length)
    (dom-search
     svg
     (lambda (o)
       (when (dom-attr o 'data-length)
         (incf total-length (string-to-number (dom-attr o 'data-length))))
       (when (eq (dom-tag o) 'circle)
         (incf total-length))))
    (setq duration-to-length (/ duration total-length))
    (dom-add-child-before
     svg
     (dom-node 'rect `((width . "100%")
                       (height . "100%")
                       (fill . ,bg))))
    (mapc
     (lambda (o)
       (let ((dur (* duration-to-length (string-to-number (dom-attr o 'data-length)))))
         (if (string= (format "%.3fs" dur) "0.000s")
             (progn
               (dom-set-attribute o "visibility" "hidden")
               (dom-append-child
                o
                (dom-node 'set
                          `((attributeName . "visibility")
                            (to . "visible")
                            (fill . "freeze")
                            (id . ,(concat (dom-attr o 'id) "a"))
                            (begin . ,prev)))))
           (dom-set-attribute o "visibility" "hidden")
           (dom-set-attribute o "pathLength" "100")
           (dom-set-attribute o "stroke-dasharray" "100")
           (dom-set-attribute o "stroke-dashoffset" "101")
           (dom-append-child
            o
            (dom-node 'animate
                      `((attributeName . "stroke-dashoffset")
                        (from . "101")
                        (to . "0")
                        (fill . "freeze")
                        (id . ,(concat (dom-attr o 'id) "a"))
                        (dur . ,(format "%.3fs" dur))
                        (begin . ,prev))))
           (dom-append-child
            o
            (dom-node 'set
                      `((attributeName . "visibility")
                        (to . "visible")
                        (fill . "freeze")
                        (begin . ,prev))))
           (setq prev (concat (dom-attr o 'id) "a.end")))))
     (dom-by-tag svg 'path))
    (with-temp-file output-filename
      (svg-print svg))))

;; (sacha-svg-animate-strokes-with-smil "~/vendor/noteful-mcp/2026-Q4-prot-svg/2026-Q4-prot-p1.svg" "#000000" 22.451 "~/vendor/noteful-mcp/2026-Q4-prot-svg/2026-Q4-prot-p1-smil.svg")


;; (sacha-svg-animate-strokes-with-smil "~/vendor/noteful-mcp/2026-Q4-valerie-svg/2026-Q4-valerie-p1.svg" "#ffffff" 5 "~/vendor/noteful-mcp/2026-Q4-valerie-svg/2026-Q4-valerie-p1-smil.svg")

This creates a file like 2026-Q4 - page 1.

Recording the animated SVG as a video: svg_to_video didn't like my SVG, but fortunately using Puppeteer to record it was pretty straightforward: record.mjs

node record.mjs 2026-Q4 - page 1 test-node.webm 22451 1263 1123 &

Figuring out how to synchronize stroke animations in an SVG with other timestamps

IDs are of the form s0015

Alright, let's say these are the intervals that I want to animate, starting with a timestamp of 00:09:04.640

15 00:09:07.620 --> 00:09:09.922 integration
18 00:09:16.353 --> 00:09:18.554 email
30 00:09:18.555 --> 00:09:19.714 agenda
39 00:09:20.776 --> 00:09:23.777 rss
54 00:09:24.848 --> 00:09:25.698 prose
56 00:09:25.699 --> 00:09:26.058 code
63 00:09:25.699 --> 00:09:26.058 everything
93 00:09:32.719 --> 00:09:35.812 transferable skills
Overlaying the videos - I think I got this working now!
  (compile-media-get-command
  '((video (:source "~/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png"
  :duration 1000)))
  (expand-file-name  "~/proj/emacsconf-2026-community/test.webm"))

ffmpeg "-loop" "1" "-t" "1.000" "-i" "/home/sacha/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png" "-filter_complex" "[0:v]scale=1280:720:force_original_aspect_ratio=decrease,setsar=sar=1,pad=1280:720:(ow-iw)/2:0+(oh-0-ih)/2,format=yuva420p[v]" "-map:v" "[v]" "-auto-alt-ref" "0" "-y" "/home/sacha/proj/emacsconf-2026-community/test.webm"

  • Two images
    (let ((compile-media-output-video-fps 1)
          (compile-media-output-video-height 192)
          (compile-media-output-video-width 108))
      (compile-media-get-command
      '((video
         (:source "~/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png"
      :duration 500)
         (:source "~/proj/emacsconf-2026-community/prot-frames/community-prot-why-2.png"
      :duration 500)))
      (expand-file-name  "~/proj/emacsconf-2026-community/test.webm")))
    

    ffmpeg "-loop" "1" "-t" "0.500" "-i" "/home/sacha/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png" "-loop" "1" "-t" "0.500" "-i" "/home/sacha/proj/emacsconf-2026-community/prot-frames/community-prot-why-2.png" "-filter_complex" "[0:v]fps=1,scale=108:192:force_original_aspect_ratio=decrease,setsar=sar=1,pad=108:192:(ow-iw)/2:0+(oh-0-ih)/2,format=yuva420p[r0];[1:v]fps=1,scale=108:192:force_original_aspect_ratio=decrease,setsar=sar=1,pad=108:192:(ow-iw)/2:0+(oh-0-ih)/2,format=yuva420p[r1];[r0][r1]concat=n=2:v=1:a=0[v-input-0];;;;;;;;;[r0][r1][r2][r3][r4][r5][r6][r7]concat=n=8:v=1:a=0[v-input-1];[v-input-0][v-input-1]overlay[v-overlaid-1]" "-map:v" "[v-overlaid-1]" "-auto-alt-ref" "0" "-y" "/home/sacha/proj/emacsconf-2026-community/test.webm"

  • With start and stop milliseconds for a video
    (let ((compile-media-output-video-fps 1)
          (compile-media-output-video-height 192)
          (compile-media-output-video-width 108))
      (compile-media-get-command
      '((video
         (:source "/home/sacha/proj/emacsconf-2026-community/video/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816/medium-w_0drkrps80x7d-1794060192002.webm"
         :start-ms "00:09:05.042"
         :stop-ms "00:10:20.550")
        ))
      (expand-file-name  "~/proj/emacsconf-2026-community/test.webm")))
    

    ffmpeg "-i" "/home/sacha/proj/emacsconf-2026-community/video/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816/medium-w_0drkrps80x7d-1794060192002.webm" "-filter_complex" "[0:v]select='between(t,545.042,620.550)',setpts=PTS-STARTPTS,fps=1,scale=108:192:force_original_aspect_ratio=decrease,setsar=sar=1,pad=108:192:(ow-iw)/2:0+(oh-0-ih)/2[v]" "-map:v" "[v]" "-auto-alt-ref" "0" "-y" "/home/sacha/proj/emacsconf-2026-community/test.webm"

  • Let's do a smaller test so that iteration is faster
    (let ((compile-media-output-video-height 1920)
          (compile-media-output-video-width 1080))
      (compile-media-get-command
      '((video
         (:source "~/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png"
      :duration "0:05"))
        (video
         (:source "/home/sacha/proj/emacsconf-2026-community/video/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816/medium-w_0drkrps80x7d-1794060192002.webm"
         :start-ms "00:00:00.000"
         :stop-ms "00:00:05.000"
         :output-pos (1 272 1080 1081)))
        (video
         (:source "~/vendor/svg_to_video/test-node.webm"
         :output-pos (1 1169 1080 1920)))
        (subtitles
         (:source "/home/sacha/proj/emacsconf-2026-community/community-prot-why.vtt"
                  :open-captions t
                  :start-ms  "00:09:04.640"
                  :stop-ms "00:09:09.640"
                  :output-pos (1 1083 1080 1167)
                  :align (center center)))
        (audio
         (:source "/home/sacha/proj/emacsconf-2026-community/audio/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816-63694018.opus"
         :start-ms "00:00:00.000"
         :stop-ms "00:00:05.000")))
      (expand-file-name  "~/proj/emacsconf-2026-community/test.webm")))
    

    ffmpeg "-loop" "1" "-t" "5.000" "-i" "/home/sacha/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png" "-to" "5.000" "-i" "/home/sacha/proj/emacsconf-2026-community/video/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816/medium-w_0drkrps80x7d-1794060192002.webm" "-i" "/home/sacha/vendor/svg_to_video/test-node.webm" "-i" "/home/sacha/proj/emacsconf-2026-community/audio/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816-63694018.opus" "-t" "5" "-filter_complex" "[0:v]scale,format=yuva420p[v-input-0];[1:v]select='between(t,0.000,5.000)',setpts=PTS-STARTPTS,scale=1079:809:force_original_aspect_ratio=decrease[v-input-1];[v-input-0][v-input-1]overlay=x=1+(1079-w)/2:y=272+(809-h)/2[v-overlaid-1];[2:v]setpts=PTS-STARTPTS,scale=1079:751:force_original_aspect_ratio=decrease[v-input-2];[v-overlaid-1][v-input-2]overlay=x=1+(1079-w)/2:y=1169+(751-h)/2[v-overlaid-2];[v-overlaid-2]subtitles=/tmp/compile-mediaIY4mRT.ass[v];[3:a]aselect='between(t,0.000,5.000)',asetpts='N/SR/TB'[a]" "-map:v" "[v]" "-map:a" "[a]" "-auto-alt-ref" "0" "-y" "/home/sacha/proj/emacsconf-2026-community/test.webm"

  • The first section
    (let ((compile-media-output-video-height 1920)
          (compile-media-output-video-width 1080))
      (compile-media-get-command
      '((video
         (:source "~/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png"
      :duration "1:00"))
        (video
         (:source "/home/sacha/proj/emacsconf-2026-community/video/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816/medium-w_0drkrps80x7d-1794060192002.webm"
         :start-ms "00:09:04.640"
         :stop-ms "00:10:05.042"
         :output-pos (1 272 1080 1081)))
        (video
         (:source "~/vendor/svg_to_video/test-node.webm"
         :output-pos (1 1169 1080 1920)))
        (subtitles
         (:source "/home/sacha/proj/emacsconf-2026-community/community-prot-why.vtt"
                  :open-captions t
                  :start-ms  "00:09:04.640"
                  :stop-ms "00:10:05.042"
                  :output-pos (1 1083 1080 1167)
                  :align (center center)))
        (audio
         (:source "/home/sacha/proj/emacsconf-2026-community/audio/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816-63694018.opus"
         :start-ms "00:09:04.640"
         :stop-ms "00:10:05.042")))
      (expand-file-name  "~/proj/emacsconf-2026-community/test.webm")))
    

    ffmpeg "-loop" "1" "-t" "60.000" "-i" "/home/sacha/proj/emacsconf-2026-community/prot-frames/community-prot-why-1.png" "-to" "605.042" "-i" "/home/sacha/proj/emacsconf-2026-community/video/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816/medium-w_0drkrps80x7d-1794060192002.webm" "-i" "/home/sacha/vendor/svg_to_video/test-node.webm" "-i" "/home/sacha/proj/emacsconf-2026-community/audio/e1a70ff93d4dea24dd67698d54491f517bc91a62-1794057844816-63694018.opus" "-t" "605" "-filter_complex" "[0:v]scale,format=yuva420p[v-input-0];[1:v]select='between(t,544.640,605.042)',setpts=PTS-STARTPTS,scale=1079:809:force_original_aspect_ratio=decrease[v-input-1];[v-input-0][v-input-1]overlay=x=1+(1079-w)/2:y=272+(809-h)/2[v-overlaid-1];[2:v]setpts=PTS-STARTPTS,scale=1079:751:force_original_aspect_ratio=decrease[v-input-2];[v-overlaid-1][v-input-2]overlay=x=1+(1079-w)/2:y=1169+(751-h)/2[v-overlaid-2];[v-overlaid-2]subtitles=/tmp/compile-mediaO8wGDj.ass[v];[3:a]aselect='between(t,544.640,605.042)',asetpts='N/SR/TB'[a]" "-map:v" "[v]" "-map:a" "[a]" "-auto-alt-ref" "0" "-y" "/home/sacha/proj/emacsconf-2026-community/test.webm"

Yay Emacs 55: Speech mode switching

I have about 20 minutes. Let's see if we can get speech recognition mode-switching to work!

So the here's the challenge. I want to be able to fluidly use voice activity detection and speech recognition in Emacs while still also being able to tell the difference between when I'm talking on stream or to myself and when I want to have it processed for dictation inserted into the buffer, or if I wanted to just listen to commands. So Let's let's try let's try to separate separate out this those different cases. first, if I'm talking to talking to stream, I I want to be able to run some commands on it. And the way that I can do that is I can just pause before and after saying the command so that it's just one clean utterance. Other buffer. okay. Now it switches. So now it is no longer sleeping. I really should have that as an indicator somewhere.

All right, now I should be able to c talk and have that show up as dictation. Yay! okay, okay. So the way that it works is if I if I talk, then by default, it's going to come out as dictation or have commands processed. And if I keep talking, it'll just keep processing these things in the background because it's all cued. It listens for the pauses in between utterances so that it can segment the text properly. If I want to stop the dictation, I would say over by itself. I'll just move my cursor manually. I need to fiddle with that some more. Anyhow, this is exciting because that means I can distinguish between what I'm talking to my computer and what I'm talking on stream, and all it needs now is to add a little indicator to my mode line.

okay, now we're listening. okay, so now when I'm talking, it will go into the computer. I just need to tweak the voice activity detection threshold so that I don't have to pause for such a long time before and after my my my my command. Or what I could do is I could have it always trigger. Uh Hmm, tempting. Yeah, okay, so I customize the cursor when it's ready for voice. I'm thinking it's just a matter of adding it to my moodline indicator.

(add-to-list 'mode-line-format 'sacha-whisper-mode-indicator) (setq sacha-whisper-mode-indicator "x") (setq mode-line-front-space (cdr mode-line-front-space))

and-now-we're-in-kebab-mode And now we should be able to say things and it should just be sentences. Sentences are great. Maybe there wasn't enough time there. oh, actually, hmm, yeah, that no, no, no. The thing there is it it's it's still doing the the speech recognition. okay, so I think the easiest way to do this kind of switching between modes is just to use my keyboard shortcut. So ignore that part about over, because a keyboard shortcut, I think, is going to be better for that. But the continuous mode, I think, will be helpful. So this might be useful in between. I I'll think about it some more. but it should be interesting.

Yay Emacs 53: Drafting my responses for the community panel

We have a recording session for https://emacsconf.org/2026/talks/community/ tomorrow, so I need to get my thoughts together. Also, if there's time, I want to to document and demonstrate my video workflow so that I can do it again next year, and maybe look into organizing my windows and workspaces in preparation for trying to manage everything everywhere all at once. Aaah! Totally not panicking.

Yay Emacs 52: Drafting my responses for the community panel

We have a recording session for https://emacsconf.org/2026/talks/community/ tomorrow, so I need to get my thoughts together. Also, if there's time, I want to to document and demonstrate my video workflow so that I can do it again next year, and maybe look into organizing my windows and workspaces in preparation for trying to manage everything everywhere all at once. Aaah! Totally not panicking.

Yay Emacs 51: Dusting off my EmacsConf code

EmacsConf has two days of two tracks, and my brain is not very good at paying attention to things that have to be done at a certain time. So I use cron to schedule the playback of talks at the scheduled times during the conference, including:

  • announcing the talk on IRC
  • playing the recorded intro, if it exists
  • playing the video file or joining the talk's BigBlueButton room
  • going to the Q&A session, which could be in BigBlueButton, Etherpad, or IRC
  • publishing the talk video files on the wiki and on media.emacsconf.org

This came in really handy last year because I had to manage EmacsConf by myself for part of the conference. This year, I think I might need to do the same.

One of the challenges of automating something that I do only once a year is that I tend to forget about things, especially if I quickly put together the automation in a rush because I was trying to get things done. If I didn't take the time to document them while it was still fresh in my brain (because I needed to move on to doing something else), now I need to dust off the code, figure out how it works, and fill in those missing notes.

Today I want to get that automatic schedule working again. If I have time, maybe I will record the introductions.

orga - user that the /usr/local/bin/handle-session script connects to

Yay Emacs 50: Trimming audio from my French tonguetwister practice

I can demonstrate my workflow for extracting the clips from my recording of a pronunciation practice session with my teacher.

workflows#extract-my-french-pronunciation-lessons-tongue-twisters-virelangues

Yay Emacs 49: Back to editing the VTT for my conversation with Linkarzu

I'm about halfway through editing the transcript. I would like to get it nicely edited so that it'll be easy to pull out snippets of it as text.

Draft: https://sachachua.com/blog/2026/11/my-chat-with-linkarzu/

Yay Emacs 47: Editing the VTT for my chat with Linkarzu

I finally get to work on this, at least until the kiddo wakes up! I want to turn this into the usual nicely searchable transcript. Draft: https://sachachua.com/blog/2026/11/my-chat-with-linkarzu/

Yay Emacs 46: Tinkering with my speech+typing workflows

Possible things to show

process of drafting a blog post

  • Why:
    • I like writing blog posts because it's a lot easier for people to skim than a twenty-minute video.
    • People can copy code from it, I can search it, um, I can update it as I learn more or as I fiddle with the code.
    • Text is so much easier to work with.
  • Challenges:
    • Some people think very logically.
      • They can start with a top-down outline and then systematically fill it in.
    • Some people work bottom up.
      • They collect a lot of notes which they organize them into larger and larger chunks, and they they make something useful that way.
    • My mind tends to wander all over the place.
      • Sometimes I work from the top down.
      • Sometimes I want to jump to a different part of my outline to fill something in.
      • Sometimes I just have some sentences and then I need to figure out how to get from one place to another.
  • How
    • I wrote about my writing workflow in 2025 (Finding the shape of my thoughts).
    • My workflow has changed a little bit since then.
      • I spend much less time waiting around during playdates these days; it's getting colder because the kiddo now mostly prefers to spend time with me or playing Minecraft. Instead of using my phone for outlines, snippets, placeholders, Uh, she's, you know, maybe she and her friends are growing a little bit apart. Middle school is hard, etc., etcetera.
      • Um
      • So most of my writing now is done on my laptop and the audio br brain dump then doesn't come as a monolithic audio file or this big wall of text that I then have to edit and sort through.
      • It by using this.
      • This workflow.
      • I can.
      • Um, use the outline as a visual anchor for my thoughts while using dictation to quickly jot things down.
      • And all of that is very useful and I should have remembered to
    • Publishing.
    • Next steps.
    • If I'm untangling my thoughts about a complex topic, sometimes I start with a sketch to figure out what I want to say and the order in which I want to say them.
    • Normally, when I'm writing, I do like to play around with sometimes putting one sentence per line.
      • This allows me to move the sentences around very quickly using Org shortcuts, and it also helps me see the variety in the lengths of sentences.
      • I do tend to have very long sentences.
      • It reminds me to break them up into shorter ones.
    • getting the captions for the current recording

Since I can use Emacs and a bit of Python to visualize the gaps and the conversation balance in real-ish time, and I can use speech recognition to see if I've said any of my target words or phrases, why not use that speech recognition result to make a proper VTT of the current recording on the fly so that I can jump to things or extract stuff?

I generated a modified asr.py that gives me Unix timestamp * 1000 + milliseconds. I can check the timestamps against the timestamp in the filename of the latest recording, which OBS is still adding to. This lets me approximately synchronize things so that I can jump to parts of the current recording while I'm recording it, and I can adjust the timestamps further by referring to the waveforms.

spaceballs-how-soon.gif
Figure 1: When will there be now? Soon!

search - How can I find a message by Message-ID in Gmail? - Web Applications Stack Exchange   website

rfc822msgid:20050329231145.62086.mail@mail.emailprovider.com

Yay Emacs 45: Working on Emacs News

Time to work on Emacs News!

Draft with the raw links: 2026-10-26 Emacs news

DONE fix my indentation. I wonder if it's Org indent getting in the way ▶️ screenshot

(defun sacha-org-babel-fix-src-block-indent ()
  (interactive)
  (org-babel-map-src-blocks (buffer-file-name)
    (when (string-match "\\`  " full-block)
      (save-restriction
        (narrow-to-region beg-block end-block)
        (indent-rigidly-left (point-min) (point-max))
        (indent-rigidly-left (point-min) (point-max))))))

Yay Emacs 44: More conversational voice interfaces

Yesterday, I added voice in and voice out to M-x doctor. I think I've figured out how to get gptel to do the same so that I can practice talking in French with Emacs. There are a number of mobile applications that offer similar kinds of AI voice conversations for a subscription, but I'd prefer to do things in Emacs, of course, so that I can use the data and tweak things more. I'll demonstrate what I've got working so far and then tinker with it to see what else I can come up with.

Outline:

  • M-x doctor and sacha-whisper-conversation-mode
  • sacha-gptel-practice-french
  • https://github.com/jwiegley/pending would be nice
    • speech recognition
    • gptel chat

      (use-package pending
        :vc (:url "https://github.com/jwiegley/pending"))
      
      (defvar sacha-whisper-pending-overlay nil "Overlay that will have the pending indicator.")
      (defvar sacha-gptel-pending-overlay nil "Overlay that will have the pending indicator.")
      
      ;;;###autoload
      (defun sacha-whisper-run-with-pending-indicator ()
        "Display a pending indicator while waiting."
        (interactive)
        (if (process-live-p whisper--recording-process)
            (pending-update sacha-whisper-pending-overlay
                            :label "💭")
          (setq sacha-whisper-pending-overlay
                (pending-insert (point) "👂")))
        (whisper-run))
      
      (defun sacha-whisper-pending-remove-overlay (text)
        "Add to `whisper-insert-text-at-point'."
        (when (overlayp (pending-ov sacha-whisper-pending-overlay))
          (delete-overlay (pending-ov sacha-whisper-pending-overlay)))
        text)
      
      (defun sacha-gptel-pending-remove-overlay (&rest _)
        "Add to `gptel-pre-response-hook'."
        (when (overlayp (pending-ov sacha-whisper-pending-overlay))
          (delete-overlay (pending-ov sacha-whisper-pending-overlay))))
      
      (defun sacha-gptel-pending-show-indicator (fn &rest args)
        "Show the indicator in the buffer while waiting."
        (apply fn args)
        (pending-insert (point) "💭"))
      
      ;; (with-eval-after-load 'gptel
      ;;  (advice-add 'gptel-send :around 'sacha-gptel-pending-show-indicator)
      ;;  (add-hook 'gptel-pre-response-hook #'sacha-gptel-pending-remove-overlay)
      ;;  )
      ;; This is a test.
      
      
      
      

      sacha-gptel-pending-show-indicator

Yay Emacs 43: Defining voice commands with phony.el

I used to define voice commands with regular expressions, but I think I've mostly figured out how to use phony.el to define commands using grammar so that I can reuse different components. Let me go play around with this some more.

  • on my computer
  • on my phone with termux?

TODO Try out the STT model that yantar92 uses

OpenVINO/whisper-large-v3-turbo-int4-ov

SOMEDAY set up a stopwatch and a timer that I can trigger by voice

https://fosstodon.org/@eludom/117422669292878212

https://codeberg.org/eludom/home.public.elisp-public/src/branch/master/elisp-public/timer-in-modeline.org

(defvar my-talk-start-time nil
  "When non-nil, the time the talk started (via `current-time').")
(defvar my-talk-timer nil
  "Timer object for updating the mode line.")

(defun my-talk-elapsed ()
  "Return elapsed time string, or nil if no talk is active."
  (when my-talk-start-time
    (let* ((elapsed (float-time (time-subtract (current-time)
                                               my-talk-start-time)))
           (minutes (floor elapsed 60))
           (seconds (floor (- elapsed (* minutes 60)))))
      (format " [talk: %d:%02d]" minutes seconds))))

(defun my-talk-start ()
  "Start the talk timer and enable mode-line display."
  (interactive)
  (setq my-talk-start-time (current-time))
  (unless my-talk-timer
    (setq my-talk-timer
          (run-with-timer 0 1 #'force-mode-line-update)))
  (message "Talk timer started."))

(defun my-talk-stop ()
  "Stop the talk timer and remove the mode-line display."
  (interactive)
  (setq my-talk-start-time nil)
  (when my-talk-timer
    (cancel-timer my-talk-timer)
    (setq my-talk-timer nil))
  (force-mode-line-update)
  (message "Talk timer stopped."))

Yay Emacs 42: Working on Emacs News, happy Canadian Thanksgiving!

Probably just a quick session working on Emacs News today.

Yay Emacs 41: Working on Emacs News, tinkering with more speech commands

I'll work on Emacs News. If there's time, I can show some of the other speech commands I've been playing around with.

  • "remind me to…" now saves a screenshot
  • "open …" works elsewhere
  • "comment …" works in code and subtitle files

TODO IRC for chat - thanks Guest24

##yayemacs on libera.

Yay Emacs 31 livestream: Working on Emacs News

Just hanging out and working on Emacs News

SOMEDAY https://recurse.social/@shapr/116534824687970707

shapr@recurse.social - @sacha Is your org flow written up somewhere?

Like, how you organize your files and how information gets in and out?

and, since I felt a bit cringe about using C-s, how do you find information in your org files?

TODO Ask at the next Org Meetup

  • Is there a way to make headings (ex: Org Babel result block, custom link output)? I'd love it if the headings could get picked up by TOC. Org Babel block reevaluation ends up with duplicates if the result has headings.

Upcoming episodes

Timestamps

  • Sacha and Prot Talk Emacs: May I recommend… sach.ac/yay-emacs
  • Sacha and Prot Talk Emacs: May I recommend… YayEmacs.com
  • Sacha and Prot Talk Emacs YayEmacs.com
  • Sacha and Prot Talk Emacs YayEmacs.com
  • Sacha and Prot Talk Emacs YayEmacs.com
  • Sacha and Prot Talk Emacs: YayEmacs.com
  • Sacha and Prot Talk Emacs: Under-appreciated Built-ins YayEmacs.com
  • Emacs Chat en français
  • Emacs Chat en français
  • Panicked
  • Panicked
  • Panicked
  • Panicked
  • Panicked
  • Panicked
  • Panicked

Ideas

Future: Org Mode LaTeX export - Tinkering with my PDF export

After reading tecosaur's emacs config PDF (source), I have a case of literate config envy. I want to tweak my custom link types so that they export something sensible to LaTeX.

Update How to Learn Emacs

https://sachachua.com/blog/2013/05/how-to-learn-emacs-a-hand-drawn-one-pager-for-beginners/

  • Minor updates:
    • change planet.emacsen.org to planet.emacslife.com
    • change irc.freenode.net to libera.chat, include link to EmacsChannel
  • Include link to EmacsNewbie and the visual guide
  • Include Emacs News for staying connected
  • Learn how to learn
    • Built-in tutorial
    • Start small
    • Part-time is okay
    • Sticky notes
    • How to use a starter kit
  • Getting help
  • Other resources
  • Explore

It might be interesting to have some kind of a skill tracker or progression tree type of quick reference also… =)

Some things we can talk about if people are curious

TODO Improve my audio setup

  • Boom?
    • Tonor T20 CAD 39.99
    • InnoGear 2026 Low Profile Arm
  • Shock mount?
    • Auphonix Shock Mount For Blue Yeti Microphone?

STARTED Modify my sacha-mastodon-save-toot-for-emacs-news

so that it lets me select the link and prompt for the summary right away

Move the functionality of emacs-news-summarize-mastodon-items into it

Inbox

  • conversation
  • practice French
  • learn-lang-flycheck-gptel

    (gptel-make-ollama "Ollama" :host "localhost:11434" ;; Replace 11434 if your port is different :stream t :models '(qwen3.6:35b-a3b qwen3.5:4b))

DONE figure out what my whisper shortcut should do if I'm using this ASD plus sorry, ASR, automatic speech recognition and voice activity detection constantly in the background.

So let's try this now

Yeah. If I use Undo Tree Visualize, then I can press T to change to the timestamp mode, although I don't think it works for historic data.

This just works. I can just keep talking. I don't have even have to press my keyboard shortcut. I will just have to remember to switch between talking and oh whatever else it is.

STARTED figure out any other automations that I can do for BigBlueButton.

I can't rely on recording true in the getMeetings. I might need to actually talk to the browser through an extension.

(use-package browser-gt :config (browser-gt-start))
(plist-get (browser-gt-request "EVAL_IN_ACTIVE_TAB" '(:code "document.title + '|' + document.querySelector('div[data-test=recordingIndicator] > div[aria-label]')?.getAttribute('aria-label')")) :result)
(plist-get (browser-gt-request "EVAL_IN_ACTIVE_TAB" '(:code "document.title")) :result)

I might not be able to use browser GT to connect to multiple instances.

okay, tentative plan is I'm just going to have to remember to start the recording each time. Which is okay because I need to rearrange the windows anyway. Although the rearranging of the windows happens on the stream. Can I get the stream user to start the recording?

If I use the the mod code on the stream user to start the recording, then the mod code will display on the screen briefly, which is not what I want.

I don't think the server reliably stays logged in. I can't distinguish it based on the window title alone.

I would like to be able to automate things like the recording of the session without leaking the mod code. The server can connect without using the mod code. The streaming will use a regular user. I wonder if I can use Firefox to directly connect to it. Alternatively, I could just have a reminder walk me through the steps. So the key things that need to happen is I need to move the the layout anyway every time I start streaming, and I need to start the recording.

The layout needs to happen in the VNC session. The recording needs to happen in my own session, which I'll have anyway.

okay, I can get the number of participants for the meeting. I need local shell script also to open the BVB room.

Hey, what if I use Firefox to open it? Then can I use spookfox to eval the recording status and possibly flip it? No, it's not activated. Can I use xdotool to find the window?

(shell-command "wmctrl -x -a bbb-listen")

moz-extension://a66f3807-6a57-495e-b4df-c9743e46095e/_generated_background_page.html

file:///home/sacha/bin/bbb creates a window with a specified class

okay, I don't know if I can get the actual recording status unless I use webhooks, which I don't think I can do at this moment, but I will just have to do the recording manually. I have a way now to create a Firefox window with the right class for and position them so that I can have BBB and the etherpad already set up on the workspace and I have a way to jump to the workspace from my overview. I also have the number of participants so I can get a sense of the the activity there. And the next steps would would be to set up the audio devices so that I always have my microphone going in. And the output going to a separate audio device that, that can go out to my headphones with some audio shaping or audio location.

Scheduled livestreams

Times are in America/Toronto. If you have Javascript enabled, click on a time to translate it.

  • Oct 2 - Emacs Chat 31: Pedro A. Aranda Gutierrez

    https://sachachua.com/blog/2026/10/oct-2-emacs-chat-31-pedro-a-aranda-gutierrez/

    On Oct 2, we'll chat with Pedro about Org Mode, LaTeX exports and font management including alternatives and things you can and can't do depending on your choices. He'll share some tips on fallbacks and emojis, which can help a lot with presentations and documentation. We might also discuss recent patches and realistic objectives.

    2026-10-02 Fri 06:00-07:00 America/Toronto = Fri Oct 2 0600H EDT / 0500H CDT / 0400H MDT / 0300H PDT / 1000H UTC / 1200H CEST / 1300H EEST / 1530H IST / 1800H +08 / 1900H JST

Previous episodes

Meta

I want to get better at livestreaming while I tinker with Emacs because:

  • Getting into the habit of talking out loud while I code might help me retrace my steps or my logic, like Bookclub tapas.
    • I want to turn those demonstrations or discussions into blog posts with screenshots or video clips. If I note down rough timestamps or capture screenshots, I can use those for chapters, and then I can review the transcript once it's available.
  • Other people might notice something that I take for granted and then I can help them learn more about it. I can share more of my implicit knowledge.
  • Other people might even help me get unstuck or let me know about things I haven't gotten the hang of yet.
  • There might eventually be a time when it will be difficult for me to get outside, so it might be helpful to have more ways to enjoy social interaction and mental stimulation.

A few other Emacs streamers:

sources: Reddit

View Org source for this post
You can e-mail me at sacha@sachachua.com.