by shigemk2

当面は技術的なことしか書かない

Emacs

Error: Cask 'emacs-app' definition is invalid: 'conflicts_with' stanza failed with

emacs-appでも同じことが起きる brew doctorなどしてもダメで、メタデータが古いDSLを使っているので /opt/homebrew/Caskroomから消せってコメントされてる しかし単に/opt/homebrew/Caskroomからemacs-appを消して brew install --cask emacs-app するだけ…

kdl-mode

Zellijの設定ファイルがkdlなのでなんとなく use-packageの案内はないので導入もなんとなく (use-package kdl-mode :ensure t :mode (("\\.kdl\\'" . kdl-mode))) github.com

imenu-list

markdownでも使えた This Emacs minor-mode creates an automatically updated buffer called Ilist that is populated with the current buffer's imenu entries. The Ilist buffer is typically shown as a sidebar (Emacs vertically splits the window).…

Emacs helm 4.0.6

やはりリリースノートはない github.com

Emacs 30.2

Emacs 30.2 is a maintenance release. https://www.gnu.org/software/emacs/news/NEWS.30.2 www.gnu.org

Emacs helm v4.0.5

相変わらずリリースノートはない github.com

vterm

凝ったシャレオツなインジンジケータがうまく表示できなかったり、対話形式で複雑めなインタラクションが可能な今風なコマンドラインツールがまともに使えなかったりしていました 自分はこれをgemini-cliなどで感じている シャレオツインジケータがうまく表…

Emacsのシェルでgemini-cli起動できない

gemini-cliのインタラクティブモードでプロンプトを投げたいが、世に出回ってるターミナルのWezTermやiTerm2では日本語入力がもっさりしてるしあんまり見た目も気に入らない(画面下に表示されるし候補がリアルタイムに変換できない)ので、Emacsのシェルでや…

web-mode

公式が丁寧に紹介してくれてる (use-package web-mode :ensure t :mode (("\\.phtml\\'" . web-mode) ("\\.php\\'" . web-mode) ("\\.tpl\\'" . web-mode) ("\\.[agj]sp\\'" . web-mode) ("\\.as[cp]x\\'" . web-mode) ("\\.erb\\'" . web-mode) ("\\.mustac…

protobuf-mode

(use-package protobuf-mode :ensure t :mode (("\\.proto\\'" . protobuf-mode))) github.com protobuf.dev

terraform-mode

use-packageでの設定も書いてあった (use-package terraform-mode ;; if using straight ;; :straight t ;; if using package.el ;; :ensure t :custom (terraform-indent-level 4) :config (defun my-terraform-mode-init () ;; if you want to use outline…

Emacs cua-mode

特にrequireとか必要ない (cua-mode t) (setq cua-enable-cua-keys nil) ; デフォルトキーバインドを無効化 qiita.com ayatakesi.github.io

fish-mode

M-x package-install fish-mode ;; fish (use-package fish-mode :ensure t ) github.com

Emacs lua mode

;; lua (use-package lua-mode :ensure t ) github.com

Emacs 一時ファイル各種

make-backup-files バックアップファイルを作成するかどうかを決定 auto-save-default ファイルをvisitするバッファーの自動保存がデフォルトで有効になり、それ以外では有効にならない create-lockfiles ロックファイルの作成を抑制 ayatakesi.github.io ay…

helm-ag use-package

(use-package helm-ag :ensure t :bind ("M-g ." . helm-ag) :config (setq helm-ag-base-command "rg -S --vimgrep --no-heading") (setq helm-M-x-fuzzy-match t) ) 参考 emacs.readthedocs.io qiita.com gist.github.com github.com

helm swoop use-package

;; helm swoop (use-package helm-swoop :ensure t :bind (("M-i" . helm-swoop) ("M-o" . helm-swoop-back-to-last-point)) :init (bind-key "M-s" 'helm-swoop-from-isearch isearch-mode-map)) github.com github.com

use-package

統一的なわかりやすい記述で書くことができるようになるライブラリ 地味にEmacs標準ではなかった… (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) jwiegley.github.io qiita.com

use-package helm

難しい (use-package helm :bind (:map helm-command-map ("C-c h" . helm-execute-persistent-action))) www.gnu.org

wdired-change-to-wdired-mode

Emacs標準機能で、ソースコードには以下書いてある In WDired mode, you can edit the names of the files in the buffer, the target of the links, and the permission bits of the files. After typing \\[wdired-finish-edit], Emacs modifies the files…

俺のEmacs 2024

もう数年くらい前からJetBrains課金しててIntelliJメインで使ってるけど、open-junk-fileのメモ書きだったりちょっとしたファイルのcatでいまだに使ってる 職種はSREで、コーディング的なのもIaCがメインで、CloudFormationとかTerraformとかKubernetesとか…

emacs-helm v4.0

何もない… github.com

Emacs helm 3.9.8

いつものNo content github.com

emacs-helm 3.9.7

リリースノートはございません github.com

Emacs helm 3.9.6

リリースノートがない github.com

emacs helm 3.9.6

やはりchangelogが無い github.com

turn-on-iimage-mode

Emacs 29にした後でeggからgit commitしようとしたら Symbol’s function definition is void: turn-on-iimage-mode なるエラーが出て怒られた。turn-on-iimage-modeがない???ってことなので、eggのソースコードは最終コミット数年前とかだけどturn-on-iim…

Emacs 2023 Cask

Caskを使っている状態で、ふと気になってEmacsを28から29.1に上げると、symbol's function definition is void: cask-initializeが出まくるのでなんか色々ダメな気配を感じていた Why is everything you say inconsistent with cask.readthedocs.io? I would…

string-inflection覚え書き

kebabとか忘れそうになる (string-inflection-underscore-function "EmacsLisp") ; => "emacs_lisp" (string-inflection-pascal-case-function "emacs_lisp") ; => "EmacsLisp" (string-inflection-camelcase-function "emacs_lisp") ; => "emacsLisp" (stri…

Emacs helm 3.9.4

github.com