2025-12-01から1ヶ月間の記事一覧
基本的にコミットする際は git commit -v で Vimで書いているけど, Emacsの標準機能だけでいい感じにできないだろうかと思って調べてみた. 個人的には diffを見ながらコミットメッセージを書ければそれでよく、あとは基本的にはいらない. ;; Emacs 30以下向…
(defun my/wsl-copy-region-to-clipboard () (interactive) (unless (use-region-p) (user-error "not specified region")) (let ((input (buffer-substring-no-properties (region-beginning) (region-end))) (cmd "/mnt/c/Windows/System32/clip.exe") (wi…