Pre-warning to my followers: I'm going to leave #reddit for good and I'm blogging about the reasons - mostly because reddit management gone crazy (latest: my #firefox isn't working any more for reddit) & also because of https://karl-voit.at/2020/10/23/avoid-web-forums/
imagine if all the org functions that involve moving point around to do stuff programmatically had a common name prefix, e.g. org-nav- or org-move-. (as it is i have no idea how to discover what they are, which functions even exist...)
Whoa. I feel like I've just arrived. My blog post on my #emacs learning in public adventures (https://bob-irving.com/117-2/) was reposted by @sachac ! I've been following her weekly emacs updates and found myself there. Like I said, whoa!
It's nice to be part of a pretty technical community that supports stumbling bumbling n00bs like me.
I'd like to use a workflow where each #Mastodon message that gets bookmarked by me is automatically screenshotted to PNG, archived in a local directory and its text content + image descriptions get added to a text file (preferably #orgdown) together with a link to the screenshot and the original message URL.
I rediscovered #emacs abbreviations after watching this video by Protesilaos Stavrou. It shows how you can define abbrevs in code and even use interactive functions with them. It also gave me the idea to see, if having some personal abbrevs can be useful. Like having meemail, merepo, memastodon and so forth. So typing merepo will be replaced by https://github.com/e11bits while typing. https://protesilaos.com/codelog/2024-02-03-emacs-abbrev-mode/
Taking my new (to me) ThinkPad 450 out for its first stroll. Using it while waiting for the car to be serviced. #linuxmint, #firefox, #emacs, all working like a charm. Keyboard and touchpad are almost perfect, battery life is super long. Screen is a little dim but hey. For under $100US I'm not complaining. This is exactly why I got it and set it up with linux, etc. Oh, also doing some journaling with #orgmode and it seems to be syncing to my home computer with #syncthing. Just about perfect!
I am being a good little programmer and adding docstrings to some Elixir code. I hate looking at it. It so gets in the way of the code; see below.
I want an #emacs keypress that hides all lines between two regexps (One for @…doc…”””; one for the ending “””.) Weirdly, I can’t find anything. I used to be good at Elisp/Emacs programming, but I pretty much stopped doing that around 30 years ago. So looking for something similar I can hack on (or package that obviates the need to).
In #emacs when you run find-file and the filename you specify includes wildcards the default behavior is to open all of the matching files. I find this too unpredictable so it's almost never what I want.
What I'd like instead is to bring up the matching files in dired just as if I'd used C-x d instead. This is not supported out of the box so I came up with the following advice:
The file-name-quoted-p function checks for a /: prefix which is a magical tramp path to quote the filename. It's part of the normal wildcard path so I figured I'd include it too.
A small snippet of #elisp for your #emacs init file to show the current time in the modeline if fullscreen is enabled.
(defun bram85-show-time-for-fullscreen (frame)
"Show the time in the modeline when the FRAME becomes full screen."
(let ((fullscreen (frame-parameter frame 'fullscreen)))
(if (memq fullscreen '(fullscreen fullboth))
(display-time-mode 1)
(display-time-mode -1))))
(add-hook 'window-size-change-functions #'bram85-show-time-for-fullscreen)
Today marks the 555th day of uninterrupted uptime of our Emacs.ch instance. 🥳
That's also 555 days of admin work and a spending of roughly $1200 for IaaS. Donations of our users make that much more sustainable.
With consistently well over 400 monthly active users, we established a friendly and supportive Fediverse community in the Fediverse united in a passion for the world's most humane "text editor". And you helped to make that happen. 🎈
Emacs is not just a program, it is the incarnation of freedom, self-development, respect, tolerance and companionship in the software world. It will never go away and will never turn against its users.
Let's continue to grow and strengthen our community! If you'd like to contribute, please visit our donation page: https://liberapay.com/emacs-ch
Together, we can keep the spirit of Emacs alive and thriving for years to come. Thank you for being a part of this incredible journey! 🙏
BEST comment responding to someone’s geeky “look what i made” post
The comment, “oh Nicholas, you do such beautiful things!” - /u/tealeg
—
make-tab-box.el is a package for #Emacs that lets you generate these tabbed boxes.
Installed #syncthing on my 2 linux machines last night. Seems to be working so far, though I haven't yet figured out exactly how it all works -- what syncs with what, how often, etc. But they can see each other and share.
Next is trying to get it going on my Win10 machine. For some reason, that makes me nervous! But if I can get all 3 synced, and #emacs working on all of them, I'll be pretty jazzed.
Spent way too much time today trying to figure out why consult-imenu will not work for me in #emacs and made zero progress.
Last night I had to tear down my configs for tree sitter because typing / in a js buffer would crash emacs. At least I got that fixed and can work on react code tonight.