@sachac@emacs.ch
@sachac@emacs.ch avatar

sachac

@sachac@emacs.ch

Interests include: #Emacs, #OrgMode, #elisp, #nodejs, #python, #sketchnotes, #parenting, #cooking, #gardening, #knitting, #sewing, #lego, #captioning, #plover #steno, and #stoic philosophy. Originally from Manila, now in Toronto. Married to a Vim guy (go figure) and raising a 7-year old (editor preference unknown), along with two very loud cats.

Blog: https://sachachua.com (mostly Emacs News these days), sketches: https://sketches.sachachua.com. I also maintain planet.emacslife.com and subed.el

This profile is from a federated server and may be incomplete. Browse more on the original instance.

sachac, to random
@sachac@emacs.ch avatar
sachac, to random
@sachac@emacs.ch avatar
oatmeal, to emacs
@oatmeal@emacs.ch avatar

/ Audio transcription with listen

I was trying to use alphapapa's 'Listen' package, which was already installed, for audio transcription, but I struggled to find an intuitive way to skip forward or backward w/o leaving the working buffer. Also challenging was the fact that my keyboard only has a play/pause key.

But since 'listen' seemed to default to , I decided to use playerctl to control it, regardless of how it was launched. It's a command-line tool that works with MEPRIS players, and I could bind custom shortcuts in GNOME Shell to the play/pause key + a modifier.

sachac,
@sachac@emacs.ch avatar

@oatmeal subed.el has some keyboard shortcuts for controlling mpv, so that's another option

sachac, to random
@sachac@emacs.ch avatar

Unexpected bonus of working on learning how to solve the 2x2 cube blind: I can practise any time, anywhere, including when the kiddo borrows the only cube I have handy.

sachac, to random
@sachac@emacs.ch avatar
sachac, to random
@sachac@emacs.ch avatar

Starting to learn 2x2 blindfolded following J Perm's tutorial. Day 2: I'm slowly getting the hang of moving pieces and moving them back during a sighted solve and I can sometimes close my eyes for one or two pieces in a row. Let's see if I can get the hang of it and if I can keep my brain on-task that long...

sachac,
@sachac@emacs.ch avatar

@ramin_hal9001 For algs, I haven't found anything better than just doing the alg slowly and then speeding up as they enter muscle memory. For pattern recognition, the tutorials tell you what colours to look for (ex: look for two corners of the same colour on one of the sides, put them in the back, then do this alg).

sachac, to random
@sachac@emacs.ch avatar

I haven't been able to access git.sr.ht URLs for a while, so I finally got around to looking into it. I can access it from my phone if I turn off wifi. I still can't access it from my laptop if I disable the Pi-hole ad-blocker. I think Sourcehut's blocking a range of IPs that my Internet provider uses, which is inconvenient.

sachac, (edited ) to emacs
@sachac@emacs.ch avatar

Ooh, list-keyboard-macros in dev looks interesting. You'll be able to edit and rearrange macros using tabulated-list-mode. https://git.savannah.gnu.org/cgit/emacs.git/commit/etc/NEWS?id=7add47337b62064998a5b80f357acc39b1253e98

birv2, to emacs
@birv2@pkm.social avatar

Falling further down the RH adventures.... just discovered and that might be the clincher for me. My writing is very much outline-driven, and I've always wanted an outliner with movable sections (had something in the early PC days that did that). When you combine all of the other functionality, gets more and more attractive. Key binding memorization is overwhelming but just saw some good advice: use M-x and functions at first. So we continue.

sachac,
@sachac@emacs.ch avatar

@birv2 If you like to write with outlines and you're starting to explore , you might enjoy the tips Edmund Jorgensen shared in this talk "Why Nabokov would use Org-Mode if he were writing today": https://emacsconf.org/2023/talks/nabokov/

snap2grid, to emacs
@snap2grid@mastodon.social avatar

Looking at Boxy Headings in and, damn, if that isn't just a smidge away from being a graphical synopsis mode for authors.

I dream of the day I can write a paragraph of synopsis in a properties block and have a “synopsis view” but my lisp skills are almost nonexistent.

sachac,
@sachac@emacs.ch avatar

@snap2grid Another option might be to put your synopsis in a subtree that has a tag, like this:

* Chapter 1  
** Synopsis :syn:  
This is a test. It has several lines in it.  
This is a test. It has several lines in it.  
This is a test. It has several lines in it.  
** Body  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
* Chapter 2  
** Synopsis :syn:  
This is a test. It has several lines in it.  
This is a test. It has several lines in it.  
This is a test. It has several lines in it.  
** Body  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  
This is a much longer thing.  

Then you'll need the following in your Emacs configuration (typically ~/.config/emacs/init.el or ~/.emacs.d/init.el):

(with-eval-after-load 'org (push '(tags-tree . local) org-fold-show-context-detail))

After that, C-c \ (org-match-sparse-tree) with syn as the input should collapse everything except for the subtrees matching :syn:. By default, matching headlines are shown but stay collapsed, which is why we added tags-tree local to the org-fold-show-context-detail variable. (It's org-show-context-detail in Org < 9.6.) If you add more tags, you can even display subsets of the synopses depending on the tags you put in (syn+tag1+tag2...).

sachac, to random
@sachac@emacs.ch avatar
sachac, to random
@sachac@emacs.ch avatar
jtr, to emacs
@jtr@fosstodon.org avatar

As this is yet another Emacs org-mode update, and several people comments on those, I created Emacs org-mode category on my blog with its own dedicated RSS feed:
https://taonaw.com/categories/emacs-org-mode/feed.xml

This post should be on it as a test.
Emacs org-mode category: https://taonaw.com/2024/03/29/ive-been-following.html

sachac,
@sachac@emacs.ch avatar

@jtr https://taonaw.com/2024/03/29/ive-been-following.html does not appear to be included in https://taonaw.com/categories/emacs-org-mode/feed.xml , but I'm sure you'll get that sorted out at some point!

BigEatie, to orgmode
@BigEatie@fosstodon.org avatar

I'm trying to use as a replacement for . I'm wondering if others use Org that way, and what their solutions are for getting inline plots/images. Ideally I'd like to be able to get regular stdout output and plot output from the same code block as you can in jupyter, and then have the image show up inline at a reasonable size without having to manually mess with filenames, image sizes or adjust headers every time I want to do that.

sachac,
@sachac@emacs.ch avatar
sachac,
@sachac@emacs.ch avatar

@BigEatie also possibly of interest/inspiration, although of course the LLM part is extra and totally optional: https://emacsconf.org/2023/talks/matplotllm/

sachac, to random
@sachac@emacs.ch avatar
sachac, to random
@sachac@emacs.ch avatar
ArneBab, to random German
@ArneBab@rollenspiel.social avatar

@sachac Did I already tell you that Ace Maths (tool to train basic math skills) is developed in orgmode with html-export and org-babel-tangle and org-babel-detangle to enable native browser debugging while keeping everything in one document?

https://www.draketo.de/anderes/mathe-ass
https://hg.sr.ht/~arnebab/draketo/browse/anderes/mathe-ass.org?rev=a08b39a43196#L437

It’s also offline-capable, because all state is saved in local storage (but it still lacks a backup-option).

Besides needing some refactoring, this is how I would like to see more online-tools developed.

sachac,
@sachac@emacs.ch avatar

@ArneBab that sounds really cool!

sachac, to random
@sachac@emacs.ch avatar

@louis Would you consider adding automatic titles to the autoblog RSS feed? :) No rush, low priority, just makes them easier to include in Planet Emacslife and RSS readers.

sachac, to random
@sachac@emacs.ch avatar
sachac, to random
@sachac@emacs.ch avatar

Uhhh, 2100: Detection error on HDD0 (Main HDD) is not a good sign...

sachac,
@sachac@emacs.ch avatar

Oh thank goodness, changing to legacy boot worked.

laotang, to emacs
@laotang@emacs.ch avatar

For the past few years (basically within the first few months of using Emacs in 2020) I’ve been using . My understanding of how completing-read and the minibuffer in should work are thereby strongly influenced by this experience.

This weekend I finally had some time to play with (and marginalia, consult, orderless… inspired by Prot's video). Probably I’m holding it wrong but it was not a smooth experience. Is it correct that vertico ignores the sorting of the collection used? Is there a way to change this? Why is the minibuffer here broken? Any advice would be welcome.

The images attached show the results for (completing-read "" orgrr-selection-list) in helm and vertico.

(completing-read "" orgrr-selection-list) in vertico

sachac,
@sachac@emacs.ch avatar

@laotang there's an extra step if you want completing-read to respect sort order: https://emacs.stackexchange.com/questions/8115/make-completing-read-respect-sorting-order-of-a-collection

BigEatie, to emacs
@BigEatie@fosstodon.org avatar

@summeremacs

Your "cute pink icon" made it to Sacha Chua's weekly post:

sachac,
@sachac@emacs.ch avatar

@summeremacs @BigEatie oh, I think I need to nudge my Mastodon link reformatting code, that should have an attribution next to it. Ah, my brackets got doubled! Fixed.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • kavyap
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • hgfsjryuu7
  • InstantRegret
  • thenastyranch
  • Youngstown
  • slotface
  • rosin
  • khanakhh
  • everett
  • PowerRangers
  • anitta
  • vwfavf
  • ethstaker
  • cubers
  • mdbf
  • cisconetworking
  • Durango
  • tacticalgear
  • osvaldo12
  • normalnudes
  • tester
  • modclub
  • GTA5RPClips
  • provamag3
  • All magazines