(setq org-startup-folded t) makes Org files open with all headlines folded, my attention-deficient preference.
But then diffs are hidden when comparing Org files with ediff! Here is my ediff config:
(use-package ediff
:custom
(ediff-split-window-function 'split-window-horizontally)
(ediff-window-setup-function 'ediff-setup-windows-plain)
:hook
;;; Start Org files in maximally-unfolded view
(ediff-prepare-buffer . #'outline-show-all))
today i learned, que pour la GUI d' #Emacs il ne semble pas du tout exister de traduction. Les configurations autour des notions de langue ne semblent s'appliquer que dans les windows, modeline, et buffers. Genre vraiment les types ça fait 40 ans qu'ils se sont dit MURICA et voilà.
After a couple-week hiatus, I'm back to #Emacs! This time I discover the joys of text-based browsing in the Emacs Web Wowser! A.k.a. EWW!
So I've been finding, in my dives into using Emacs and Emacspeak more, that Emacspeak actually uses some tools that are quite old and abandonned. TCLX isn't shipped in Arch Linux anymore, and it looks like neither is IWGetID in Fedora. Not all tools age well without maintinence, sadly, especially digital ones. With Tclx, AI was able to work around it by polyfilling the needed functions into TCL scripts. That's the most important part, since the speech engines Emacspeak uses, like ESpeak and Outloud and DecTalk, all rely on TCLX.
#tcl #tclx #emacs #emacspeak #linux #foss #accessibility #blind
@kickingvegas TIL. I had no idea Org had such a function, but of course it does..
Inspired by this I whipped up a quick embark action for calling it on an Org timestamp:
(defun viiru/embark-timestamp-to-now (ts)
"Display and kill difference between timestamp and today."
(interactive "sTimestamp: ")
(let ((res (format "%d" (org-timestamp-to-now ts))))
(message "Difference is %s days" res)
(kill-new res)))
(defvar-keymap embark-org-timestamp-map
:doc "Embark actions for org timestamps."
:parent embark-general-map
"t" #'org-toggle-timestamp-type
"d" #'viiru/embark-timestamp-to-now)
(add-to-list 'embark-keymap-alist '(org-timestamp . embark-org-timestamp-map))
An offline-friendly Elfeed web UI
I want to read articles from my RSS subscriptions on my phone without signing up to a hosted service or running a public server. Elfeed, the Emacs feed reader, already lets me manage my subscriptions and read from within Emacs. It comes with an experimental web UI, but needs the server (running on my laptop) to be accessible whenever I want to read. My phone becomes useless the moment my laptop sleeps.
@hell Debian GNU/Linux & Gnome.
My #Emacs init is exported from an Org file, so it is pretty well organised for my purposes with comments/links etc. There's also an archive section for stuff I might want to use again or draw inspiration from.
I don't change it much these days apart from export settings. I tend to use the built-in stuff over external packages. I find this keeps things more steady. The last major thing I did was to switch to Black in Eglot for Python, & that was a while back.
#TIL #emacs has support for #webkit xwidgets
https://www.gnu.org/software/emacs/manual/html_node/emacs/Embedded-WebKit-Widgets.html
It's had this for 10 years o.o