| Age | Commit message (Collapse) | Author |
|
|
|
With split-window-preferred-direction defaulting to 'longest, we might
have entered an era where Emacs now truly dwim out of the box?
|
|
|
|
The initial dark mode had rough edges, but it's Fine™ now.
|
|
Noticeable in link-heavy *Help* buffers.
|
|
Simplifies rollbacks: revert symlink to previous directory.
Also,
* make directory names more intuitive: use $(date) for the _new_
directory, instead of the old one;
* write update patches to the new directory, instead of the old one;
* tee update summary to the new directory, so that it survives the
transient shell the update was run from.
Also, ask the augurs why 'test' has both -h and -L for symbolic links,
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/test.html
and get no answer 🤷
|
|
Not sure if I want to actually use elisp-fontify-semantically, but I'd
at least like for it to "make sense" to me visually.
|
|
Otherwise M-q becomes annoying when drafting commit messages for
non-GNU projects, since it insists on inserting colons in '*' bullet
lists.
|
|
I do want a binding for "magit-status in another project", but
* magit-project-status fails to prompt in my adversarial setup where
$HOME is a "project", i.e. has a .git directory, so I prefer
my/magit-project which always prompts.
* Magit is thirdparty, so core Emacs could rebind 'C-x p m' Any Second
Now™; I have my/magit-map on 'C-c g' and my/magit-project on 'C-c g p',
so 'C-x p m' is a liability.
|
|
|
|
[ COND ] → test COND
if COND then LIST fi → COND && LIST
echo -en TEXT → printf $'TEXT'
for … → IFS=c eval 'VAR="${ARRAY[*]}"
[ A -op B ] → ((A OP B))
|
|
The prefixes that all this code shaves are fairly small, all things
considered. Not sure this code carries its own weight.
|
|
|
|
|
|
Test pages:
https://yhetil.org/emacs-bugs/
https://yhetil.org/emacs-bugs/87y1wm9kqh.fsf@gmail.com/t/
|
|
My goal with this option: keep a useful snippet highlighted in window
X while working in window Y.
Unfortunate side-effect: if both windows display the same buffer,
activating the mark in window X causes visual noise in window Y.
|
|
Relic of 2023-02-12 "Absorb .bashrc bits hoarded from machine to
machine for eons" (b3c2ffb), obsoleted by 2023-02-12 "Give up on
colored PS4" (ec4b87b).
|
|
|
|
* bind to C-c k W
* port to Wayland
(could have branched on XDG_SESSION_TYPE; ain't nobody got time)
* echo for feedback
(wouldn't it be nice to ask HTML mode to fontify the echoed string…)
|
|
De-emphasize distro version change.
|
|
Never used it. Got in the habit of hitting ¹²³ directly (one AltGr
away on fr-latin9) C-x 8 ^ if necessary.
Could customize -style to 'unicode, but then -{start,end}-tag cannot
be empty, and I'd much rather avoid the [brackets].
|
|
Just inline the results. That function was useful when both Emacs 27
and 28 were used in the wild, but oldstable has 28 already.
|
|
With some gratuitous variable renaming (add some _dir suffixes) &
bashism banishment (port a [[ =~ ]] to plain case).
|
|
|
|
Port to use-package, which allows me to write a rantionale.
|
|
Be cautiously optimistic: hope that the update process will work; stop
"generate dummy config & install everything from scratch" shenanigans.
(Do create a backup folder tho, just in case)
Also, compute patches for perusal.
|
|
|
|
FTR: found an uncommitted ':height reset' kludge here too; IIRC that
addressed jank with varying heights in outline buffers, but I cannot
reproduce nowadays.
Possibly addressed upstream with magit/magit#5233? Tentatively
dropping the kludge.
|
|
A built-in implementation is cooking over at bug#77544; meanwhile,
page-break-lines has been janking on occasion (e.g. when looking at
diffs, in Magit or in email attachments).
|
|
New faces, new user options, new packages.
|
|
|
|
With apologies to Teen Kévin; I hear you, that 10-year old movie
you've just discovered is the shit.
No apologies to 2018 Kévin; I _know_ you obsessively triple-checked
Wikipedia hoping to convince yourself that this word is fine, and
dismissed all available evidence. It's 2025, the world is on fire,
and that language has no place in my dotfiles.
Also, dunking on code does not make you sound smart. Yes,
emacshorrors.com is funny, but they earn their critic privilege by
also providing insightful technical analysis. _You_ are just
sprinkling purple prose on Stack Exchange slop.
|
|
|
|
And set it to current-line by default; when I only have the odd line
poking out of the window, I prefer not jerking the whole buffer
horizontally.
Should make C-c d h repeatable, someday.
|
|
|
|
Useful to re-purpose an Emacs session as a severely oversized Unicode
character picking widget.
Bind to uppercase 'C' rather than 'c' since $DAYJOB config uses the
latter for 'c'ite (kill a region with added '> ' markers).
|
|
Had hoped I'd port all of this to use-package in init.el, but the
March of Progress was too fast for me.
|
|
* fix out-of-tree build
* allow tweaking configure options
|
|
|
|
|
|
|
|
|
|
Mostly to stop feeling guilty about not first-trying the ln
invocation. Of course now I feel guilty about my half-assed prefix
parsing.
C'est la vie 🧘
|
|
Now that they moved so far away from $HOME.
|
|
And insert an emoji for /!\. I can get the ⚠ with C-x 8.
|
|
- As noted earlier, Debian stable ships Emacs 28, so ditch all
provisions for anything older.
- Make a bona fide minor mode for my/croak; gives us a variable for
free that is always defined, as well as a lighter.
- s/(read-string (format-prompt 𝒫 𝒟) nil nil 𝒟)/(my/read 𝒫 𝒟)
- s/when/and to avoid implying side-effects.
|
|
Now I can 'kdialog --icon compilation-success' 😤✊
|
|
… sort of. Emacs apps will stuff all manner of transient state under
user-emacs-directory by default, so full XDG compliance would probably
involve customizing them all to instead use ~/.cache but 🤷
|
|
Obsoleted. While in there, rewrite to taste:
- could just switch to when-let*, but I hear and-let* is more
idiomatic for code that returns values; when(-let) OTOH denotes
side-effects.
- project-root (singular) has been available since 28, which is in
Debian stable. Good enough.
- I know about 𝓍-let*'s (VALUEFORM) shorthand now.
- “(string-trim-right root "/")”? 🤭
|
|
|