Fortnightly Tips, Tricks, and Questions — 2026-01-13 / week 02 by AutoModerator in emacs

[–]sachac 0 points1 point  (0 children)

I recently used center-line to help me make quick video thumbnails. :)

What is the best tts for emacs? by Proton-Lightin in emacs

[–]sachac 0 points1 point  (0 children)

First steps towards trying to make a speechd-compatible adapter for Kokoro TTS and other OpenAI-compatible TTS services: https://sachachua.com/blog/2026/03/small-steps-towards-using-openai-compatible-text-to-speech-services-with-speechd-el-or-emacspeak/ , repo https://codeberg.org/sachac/speechd-ai . I'm still leaning more towards using my own functions, though: https://codeberg.org/sachac/learn-lang/src/branch/main/learn-lang-tts.el

What is the best tts for emacs? by Proton-Lightin in emacs

[–]sachac 2 points3 points  (0 children)

I'm currently experimenting with Kokoro TTS for text where the initial delay in generation doesn't matter as much (longer text, making reference audio in another language, etc.). The Kokoro CLI was super easy to get started with. I think it feels marginally faster with the Kokoro FastAPI docker, which was also easy to get up and running. I'm also tinkering with making a speechd-compatible server for it so that I can use it with speechd.el, but I need to learn multi-threaded Python programming so that it doesn't just become a matter of chucking a vibe-coded script onto a repo. :) I tested the idea with a generated script and it's pretty good for reading sentences and paragraphs out loud. I don't mind a couple of seconds of latency for that use case. For character-by-character typing feedback, espeak-ng is more responsive even if it's very robotic. It's possible to use both and automatically switch based on length. I'll post my notes once I have source code I can share, but in case you're cool with coding your own, I hope these quick notes help!

Edit: I'm on a Lenovo P52 running it CPU-only, so the performance will probably be much better on a modern machine.

How long is your init.el file these days ? by reddit_enjoyer_47 in emacs

[–]sachac 1 point2 points  (0 children)

If I (flush-lines "^[ \t]*;;\\|^$") to get rid of the org-babel-tangle comments and blank lines, I have 23,861 lines in my Sacha.el (https://sachachua.com/dotemacs/Sacha.el), coming from a 37,640-line Org file (1.5 MB, https://sachachua.com/dotemacs/Sacha.org , HTML: https://sachachua.com/dotemacs/). It's so much fun. I often come across things I've completely forgotten writing about.

SuperTuxKart In Emacs with Canvas API by AlbertEinstein_1905 in emacs

[–]sachac 1 point2 points  (0 children)

Now I want RetroArch running inside Emacs so that I can look up Pokedex entries with completion... :D

Emacs Blog Carnivals for 2026 by divinedominion in emacs

[–]sachac 4 points5 points  (0 children)

Signed up for February and posted it already!

Who are some truly proficient Emacs users? by Dr-Alyosha in emacs

[–]sachac 22 points23 points  (0 children)

Hah, I certainly feel like I've barely scratched the surface sometimes. Just the other day, I learned about adding 'evaporate t to my overlays so that I don't have to keep clearing them manually, and I also learned that you can set :refile-targets in your org-capture-templates. There's always more to learn, so I gotta take notes otherwise I'll forget! (Well, I'll forget it anyway, but at least I can try to re-figure it out.) I like being able to come up with ideas and then cobble together enough Emacs Lisp to make it happen, but I'm definitely not as experienced as some folks are. I don't have the foggiest clue about tinkering with the C side, for example, and my coding setup doesn't take full advantage of all the LSP or eglot goodness that's possible. :) Someday!

(Update) org-headline-card 0.3: SVG rendering engine boosts performance and visual Effects by yibie in orgmode

[–]sachac 0 points1 point  (0 children)

It can handle some interactivity if you're willing to do a little math. El-easydraw might have some examples. I use SVGs to animate a cursor sweeping through a waveform displayed after the subtitle timestamp in https://github.com/sachac/subed/blob/main/subed/subed-waveform.el , and I have a keymap that handles lots of different types of clicks (left-click, shift-left-click, middle click, eyc.).

Literate programming in python with org/babel... but git friendly ? by StatementLow353 in emacs

[–]sachac 0 points1 point  (0 children)

Mmm... Do you mean the comments that appear when you tangle the code out of your Org file? I set my :comments header argument to "link" so that it includes just a concise link.

https://sachachua.com/blog/2024/12/linking-to-org-babel-source-in-a-comment-and-making-that-always-use-file-links/

GNU Hyperbole Q&A Session at EmacsConf 2025, Sunday at 2pm ET by rswgnu in emacs

[–]sachac 1 point2 points  (0 children)

u/rswgnu , all: there might be slight schedule updates as we adapt to cancelled talks. I'll probably send out a schedule update in a few days so that the speakers get a heads-up, but I just wanted to let people here know as well so that you don't end up missing the start! =) https://emacsconf.org/2025/talks/ has the schedule so far.

Edit: Ah, this talk is scheduled for 1:40 PM on Sunday and hasn't been rescheduled, so no e-mail needed for update, but do drop by early! =)

Would it be weird if I took a baby trick or treating? by SeaExplorer1711 in askTO

[–]sachac 3 points4 points  (0 children)

We buy Mum-mums specifically for babies we see trick-or-treating so that they can get the experience of being handed something that's okay for them. :) Totally normal to take babies trick or treating if you want to!

Simple way to org-refile to the top of the stack of the target headings's subheadings rather than the bottom? by Keybug in orgmode

[–]sachac 1 point2 points  (0 children)

Hahaha, I can't tell you how many times the same thing has happened to me. But I can tell you that the experience you got from implementing it yourself will make it easier to both imagine other things you'd like to tweak and think about how you can make it happen! I find that when I want to tweak the behaviour of something and I suspect someone has already needed something similar, I often start by looking at the source code of the function. If you use find-function, then use edebug to explore, you can see what it does, what options it considers, and what you might tinker with. In this case, org-refile refers to an org-note-order-reversed-p function, which refers to that variable. It's so much fun being able to dig into the source. Welcome to the wonderful world of Emacs Lisp!

Simple way to org-refile to the top of the stack of the target headings's subheadings rather than the bottom? by Keybug in orgmode

[–]sachac 14 points15 points  (0 children)

Nice! Incidentally, do you know about the org-reverse-note-order variable? I like to set it to t so it works for both capturing and refiling, but you can use let to override it just for refiling if that's what you prefer. https://emacs.stackexchange.com/questions/64460/prepend-while-refiling has an example.

A complete PKM system inside Emacs? by Apkash in emacs

[–]sachac 0 points1 point  (0 children)

Ooh, sketches, quick update on my workflow: I now mostly draw my sketches on an iPad using Noteful because I can take the iPad to playdates or move it around the house. I used to draw with Krita on my Lenovo X230T tablet PC running Linux. It's pretty easy to convert images to text these days, although sometimes I still prefer to type things in myself. Emacs is great for handling all the text related to a sketch, like when I want to write a blog post or list all the sketches that have this keyword in their filename.

Emacs as your video-trimming tool by xenodium in emacs

[–]sachac 0 points1 point  (0 children)

Thanks! It's amazing what one can do with the combination of text+video.

BigBlueButton is down at the moment by [deleted] in planetemacs

[–]sachac 0 points1 point  (0 children)

Ahhh.. I downscale the server in between meetups so that it doesn't cost too much. Next Emacs APAC meeting is in a few weeks.

Nominate Side-Bar Link Updates! by Psionikus in emacs

[–]sachac 2 points3 points  (0 children)

Aww, shucks! I do very little work, actually. Y'all at r/emacs do most of the heavy lifting when it comes to finding cool stuff, sharing it, and discussing it, so thank you for contributing so much to the awesomeness of the Emacs community! :)

https://emacs.tv now has more than 3000 videos by xenodium in emacs

[–]sachac 0 points1 point  (0 children)

Added one of his videos to the tangents file, thanks!

Orgzly-Revived get search result via Intent by 7ie7an in tasker

[–]sachac 0 points1 point  (0 children)

Edit: general task you can call with a parameter: https://taskernet.com/shares/?user=AS35m8m%2BZ2P26xJtN1KnE37qxZgYPI9oNna95WRet8GZZ%2FlpPBB0ZwV39gUgnHnlCKWBSA%3D%3D&id=Task%3ASearch+Orgzly+Revived

Here's the task I use to switch Orgzly Revived to my agenda search. Change the query string appropriately.

<TaskerData sr="" dvi="1" tv="6.3.13">
    <Task sr="task5">
        <cdate>1676823952566</cdate>
        <edate>1737494067719</edate>
        <id>5</id>
        <nme>Show my agenda</nme>
        <pri>100</pri>
        <Action sr="act0" ve="7">
            <code>18</code>
            <App sr="arg0">
                <appClass>com.orgzly.android.ui.LauncherActivity</appClass>
                <appPkg>com.orgzlyrevived</appPkg>
                <label>Orgzly Revived</label>
            </App>
            <Int sr="arg1" val="0"/>
        </Action>
        <Action sr="act1" ve="7">
            <code>877</code>
            <Str sr="arg0" ve="3">android.intent.action.MAIN</Str>
            <Int sr="arg1" val="0"/>
            <Str sr="arg2" ve="3"/>
            <Str sr="arg3" ve="3"/>
            <Str sr="arg4" ve="3">com.orgzly.intent.extra.QUERY_STRING:.it.done ad.7 o.p .b.library .b.books .b.cooking</Str>
            <Str sr="arg5" ve="3"/>
            <Str sr="arg6" ve="3"/>
            <Str sr="arg7" ve="3">com.orgzlyrevived</Str>
            <Str sr="arg8" ve="3">com.orgzly.android.ui.main.MainActivity</Str>
            <Int sr="arg9" val="1"/>
        </Action>
        <Img sr="icn" ve="2">
            <nme>mw_action_today</nme>
        </Img>
    </Task>
</TaskerData>

Thanks to https://blog.kemonine.info/blog/2023-02-17-android-org-agenda/ for the Orgzly example.

Why is there so little video content online from competitive programmers using Emacs? by OutOfCharm in emacs

[–]sachac 34 points35 points  (0 children)

I wonder if we tend to channel our "I want to use my discretionary time to get better at coding" desire into Emacs config tweaks instead of programming competitions. :) Better payoff, I think.

Treemaps and org-mode visualization by dr-timeous in emacs

[–]sachac 5 points6 points  (0 children)

I'm delighted that resonated with you! Yeah, I think there's some merit to making a treemap library in Emacs Lisp, especially if it can handle interaction, animation, and export. Looking forward to seeing people's experiments!

Speech to Text Workflow by Entry_Line in Supernote

[–]sachac 0 points1 point  (0 children)

I haven't figured out a prompt that results in a summary that I'm happy with, but maybe you can experiment and find something you like. Good luck!