Wednesday weblog: Toots ending 2024-09-25: Emacs and tech
| review, weblogEmacs:
-
Looking at how the kiddo dives deeply into one interest and then moves on to another, and how she gets such satisfaction from sharing those interests with me, I think part of why #Emacs has been a long-lasting interest of mine is that it involves an endless space of novel possibilities that is entirely because of a wonderful community.
-
I wonder if someone's already written a newbie-friendly #Emacs Customize-based interface for defining and saving keyboard shortcuts, function aliases, and other little things that could make it easier for people to make Emacs more comfortable for themselves.
org-src-lang-modes and web-mode
I want my #Emacs #OrgMode `#+begin_export html ... #+end_export` blocks to open in web-mode, not html-mode. I customized `org-src-lang-modes` and now `org-edit-special` does the right thing. Yay Emacs!
-
I pulled together a bunch of beginner-oriented links from past #Emacs News and started mapping out topics. https://sachachua.com/web/beginner-map.html
consult-omni and Google searches
I want to quickly look up and add links. [consult-omni](https://github.com/armindarvish/consult-omni) lets me search within #Emacs instead of switching to a web interface. After I set up consult-omni-google with a Google custom search engine and a JSON API key, I can call it with my shortcut: `M-g w`. Using `M-n` for future history pulls in the word at point. Then I can select a site and use Embark to insert with `C-. i` or copy with `C-. w`.
My config: https://sachachua.com/dotemacs#consult-omni
Tech:
-
I followed the directions at https://ubuntuhandbook.org/index.php/2021/08/enable-hibernate-ubuntu-21-10/ to set up a swap partition and enable hibernate. Now I can pause whatever I'm doing in Linux in order to switch to Windows to play Minecraft Bedrock with the kiddo, and then switch back to Linux afterwards.
-
I noticed out-of-sync subtitles when I used #ffmpeg to combine an animated gif with audio and subtitles. Turns out all I needed to do was to bump up the fps with the fps filter in order to get the video to play smoothly.