yas-yas-yas-snippets.md
OK, unboxing sequence, I guess? There’s a box inside the box. gasp 1 i’M dEcLaRiNg SuCcEsS! I’m declaring sUcCeSs! I’m declaring SUCCESS! 1
# name: 🎔ASCII🎔 home🎔
# expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil))
# --
🎔welcome to my
X humble
/ \ home,🎔
/ \ $0
/ \
/-------\
| |
| +-+ |
| | | |
+--+-+--+
⧍⧍⧍⧍⧍⧍⧍⧍⧍⧍⧍⧍⧍⧍
;REDO:
(aLtCaPs-ReGiOn (region-beginning) (region-end)) (markdown-insert-footnote) (insert-char 10701 1 t) (insert-char 10701 4 t) (insert-char 10701 9 t) (markdown-insert-gfm-code-block "el" nil) (xah-toggle-letter-case)
;REDO:
;-----
(aLtCaPs-ReGiOn (region-beginning)
(region-end))
(markdown-insert-footnote)
(insert-char 10701 1 t) (insert-char 10701 4 t)
(insert-char 10701 9 t)
(markdown-insert-gfm-code-block "el" nil)
(xah-toggle-letter-case) (insert-char 10701 9 t)
# expand-env: expand environment # : expand environment # : expand environment
As an example, you might normally have yas-indent-line set to 'auto and yas-wrap-around-region set to t, but for this particularly brilliant piece of ASCII art these values would mess up your hard work. You can then use:
(yas-wrap-around-region) and (yas-indent-line)
REDO: REDO: (electric-pair-local-mode) <kbd>C-x C-e</kbd>
REDO: REDO: (electric-pair-local-mode) C-x C-e
# name: 🎔ASCII🎔 home🎔 # expand-env: ((yas-indent-line 'fixed) (yas-wrap-around-region 'nil)) # -- 🎔welcome to my X humble / \ home,🎔 / \ $0 / \ /-------\ | | | +-+ | | | | | +--+-+--+
(scramble-region (region-beginning) (region-end))
Tihs is antoehr picee of E imacsslp cdoe in the from of a let varslit form iea lsit of lists assigning vuales to varbiasle It can be uesd to override varialbe values while the sinppet is bieng edxpaned Inteersting vaaribles to override are yas wrap aroudn ergion and yas iendnt line ese Eixpandng Snippets
As an example you might nlormaly hvae ysae indnt line set to atuo and yas wrap aronud region set to t but for tihs patricularly brliliant picee of ASCII art tehse vuales would mses up yuor hrad wrok You can tehn ues:
REDO: (mc/mark-all-in-region-regexp (region-beginning) (region-end))
tihs patricularly brliliant picee of ASCII art
Redo: (describe-function 'mc/mark-all-in-region-regexp) >> (mc/mark-all-in-region-regexp BEG END) (mc/mark->>>->>->>>>>>-regexp BEG END) (mc/mark->>>->>->>>>>>->>>>>> BEG END)
;REDO:
(aLtCaPs-ReGiOn (region-beginning) (region-end)) (markdown-insert-footnote) (insert-char 10701 1 t) (insert-char 10701 4 t) (insert-char 10701 9 t) (markdown-insert-gfm-code-block "el" nil) (xah-toggle-letter-case)
;REDO:
;-----
(aLtCaPs-ReGiOn (region-beginning)
(region-end))
(markdown-insert-footnote)
(insert-char 10701 1 t) (insert-char 10701 4 t)
(insert-char 10701 9 t)
(markdown-insert-gfm-code-block "el" nil)
(xah-toggle-letter-case) (insert-char 10701 9 t)
OK, unboxing sequence, I guess? There’s a box inside the box. ᠁ gasp https://lars.ingebrigtsen.no/2024/08/23/ppc-j6412-101-c-me/#content ᠁ sound effects of [an explosion] going off ᠁ I’m declaring success! But I guess we’ll see whether this machine is more stable than the old — larsmagne23