my emacs is completely fucked
Post
there's a special search method for emoji
the yank pop is so totally a dance move
iterating through the kill ring would be a crazy breakdancing/bboying move
css in sexp format!!!! https://codeberg.org/cosmicexplorer/emacs/src/commit/125b3588c9a69625aa72cb3a86c332a804d02458/lisp/isearch.el#L315-L329
(defface isearch
'((((class color) (min-colors 88) (background light))
;; The background must not be too dark, for that means
;; the character is hard to see when the cursor is there.
(:background "magenta3" :foreground "lightskyblue1"))
(((class color) (min-colors 88) (background dark))
(:background "palevioletred2" :foreground "brown4"))
(((class color) (min-colors 16))
(:background "magenta4" :foreground "cyan1"))
(((class color) (min-colors 8))
(:background "magenta4" :foreground "cyan1"))
(t (:inverse-video t)))
"Face for highlighting Isearch matches."
:group 'isearch
:group 'basic-faces)
this is for highlighting search results. isearch gets the primetime ctrl-s keybinding slot and it is so good. i'm currently making its colors align with mine because you can do that because emacs is entirely about working together towards a shared purpose
apparently you can also have a header line as well as a mode line????????? literally the starship enterprise
Windows on the same frame are organized into a “window tree”, whose
leaf nodes are the live windows. The internal nodes of a window tree
are not live; they exist for the purpose of organizing the relationships
between live windows.
so crazy you can just call (window-tree)
This parameter was introduced in Emacs version 25.1 to support
applications that use large margins to center buffer text within a
window and should be used, with due care, exclusively by those
applications. It might be replaced by an improved solution in
future versions of Emacs.
most people don't make perfect decisions the first time! that's why we iterate!
turns out my emacs problems were as usual the result of absurd and truly unnecessary macro trickery
regex matching as a language feature tied with the logic you perform around regex matching is still a rly cool idea though........hoping to make it work for my vaporware shell language
props to stefan monnier and the very sweet people on emacs-devel for demonstrating a powerful and extensible type system within a tiny little language. pcase is sooooooo cool. singlehandedly convinced me that there is a world of type safety beyond what languages like rust can provide
there's a rly cute "regex contract" that they're doing in the stdlib so your regex to match bugs and issue links magically become clickable URLs https://codeberg.org/cosmicexplorer/emacs/src/commit/125b3588c9a69625aa72cb3a86c332a804d02458/lisp/progmodes/bug-reference.el#L130-L155
it's really really good work, but i am reasonably certain it's overly stringent and erroring as a result of my explicitly-numbered groups (which is critical for making regexps even remotely composable)
cannot overstate how slick it is that emacs lets you magically turn text into clicky buttons. that shit is crazy
maybe if i'm actually right on this here i could have my first commit more than a single parenthesis in emacs. that would be neat