This week, I faced an issue about emacs-eat: eat-yank not work well: https://codeberg.org/akib/emacs-eat/issues/9 ------------- (defun eat-yank (&optional arg) "Same as `yank', but for Eat. ARG is passed to `yank', which see." (interactive "*P") (when eat--terminal (funcall eat--synchronize-scroll-function) (cl-letf* ((inhibit-read-only t) (insert-for-yank (symbol-function #'insert-for-yank)) ((symbol-function #'insert-for-yank) (lambda (&rest args) (cl-letf (((symbol-function #'insert) (lambda (&rest args) (eat-send-string-as-yank eat--terminal (mapconcat (lambda (arg) (if (stringp arg) arg (string arg))) args ""))))) (apply insert-for-yank args))))) (yank arg)))) --------- After some test with author of emacs-eat, we find that config (require 'eat) (load "subr.el") work, while the below config do not work. (require 'eat) (load "subr.elc") we find that C-x C-e insert-for-yank and insert-for-yank-1 works too. so we think subr.elc is not compiled correctly, I use the below script to compile emacs, do not install and run ~/emacs/emacs29/src/emacs directly ------------------------------------------------ #!/bin/bash cd ${HOME}/emacs/emacs29 make clean git reset --hard git clean -xdf git pull ./autogen.sh ./configure \ --with-x-toolkit=lucid \ --with-json \ make bootstrap && make -------------------------------------------------------- (fn STRING) (defalias 'insert-for-yank #[257 "\211C\300\301\302\303\"\"\210\304\305\306\307\242#\211\262\203*\0\310\242\306O!\210\211\242\304O\240\210\202 \0\210\310\242!\207" [run-hook-wrapped yank-transform-functions make-closure #[257 "\300\300\242!\240\210\301\207" [V0 nil] 4 "\n\n(fn F)"] nil next-single-property-change 0 yank-handler insert-for-yank-1] 7 (#$ . 136200)])#@55 Helper for `insert-for-yank', which see. (fn STRING) (defalias 'insert-for-yank-1 #[257 "\211;\205\n\0\303\304\305#\211A@\206\0`\306\307@\203$\0@!\210\202'\0c\210`\262\307\3108\2047\0\311\"\210\211V\203L\0\312S!\203L\0\313S\314\307$\210 \307=\203V\0\3158\3168\205a\0\3168\211)\207" [inhibit-read-only yank-undo-function this-command get-text-property 0 yank-handler nil t 2 remove-yank-excluded-properties text-properties-at put-text-property rear-nonsticky 3 4] 10 (#$ . 136889)])#@286 Insert before point a substring of BUFFER, without text properties. BUFFER may be a buffer or a buffer name. Arguments START and END are character positions specifying the substring. They default to the values of (point-min) and (point-max) in BUFFER. -------------------------------------------------------