Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
My Recent Emacs Works
Search
Syohei YOSHIDA
April 09, 2015
Programming
0
200
My Recent Emacs Works
My recent Emacs works of my plugins, git-gutter, anzu, helm-ag etc
Syohei YOSHIDA
April 09, 2015
Tweet
Share
More Decks by Syohei YOSHIDA
See All by Syohei YOSHIDA
yapc-hokkaido-2016
syohex
15
8.9k
Dynamic Module
syohex
1
420
Introduction of creating Emacs Lisp Package
syohex
1
140
Emacs Introduction at LLDiver
syohex
2
3.2k
Recent Emacs Work
syohex
2
790
Introduce git-gutter.el
syohex
1
530
websocket.el and its demo applications
syohex
0
1.2k
Other Decks in Programming
See All in Programming
テストやOSS開発に役立つSetup PHP Action
matsuo_atsushi
0
150
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
230
AIコーディングエージェント(NotebookLM)
kondai24
0
170
Socio-Technical Evolution: Growing an Architecture and Its Organization for Fast Flow
cer
PRO
0
320
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
120
認証・認可の基本を学ぼう前編
kouyuume
0
190
関数実行の裏側では何が起きているのか?
minop1205
1
680
CSC509 Lecture 14
javiergs
PRO
0
220
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
360
Rediscover the Console - SymfonyCon Amsterdam 2025
chalasr
2
160
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.7k
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
120
Featured
See All Featured
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
69k
Designing for humans not robots
tammielis
254
26k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Done Done
chrislema
186
16k
Site-Speed That Sticks
csswizardry
13
990
Writing Fast Ruby
sferik
630
62k
Being A Developer After 40
akosma
91
590k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Transcript
My Recent Works kantou-emacs #2 2015/APR/4 Syohei YOSHIDA
目次 • git-gutter.el • helm-ag • anzu.el • php-mode
git-gutter.el
概要 • Live update の対応 • git 以外の VCS のサポート
Live update 対応 • 今までは保存 , revert などのタイミングでのみ , 差分情報を更新
– 保存等をしないと , 差分情報と現在のバッファの間 に差分が生じる • デフォルト無効 ( 試験的に実装したため ) – git-gutter:update-interval > 0 で有効 ( 単位 : 秒 ) – 無駄な更新はなるべくしないように実装
Git 以外の VCS 対応 • サポート – Git – Mercurial
– Subversion – Bazzar • デフォルトでは Git のみ – git-gutter:handled-backends 変数で変更可
helm-ag
概要 • 編集対応 • the_platinum_searcher のサポート • project root からの検索
• 親ディレクトリからの検索
編集対応 • 検索してマッチした行を編集 – 2 年前ほどあった要求にやっと対応 • helm-swoop を参考
the_platium_searcher 対応 • the_platium_searcher 側に問題があったため PR • NOTE – コマンド体系が類似しているものは使える
例 ack
Project root からの検索 • 以下のコマンドを追加 – M-x helm-ag-project-root – M-x
helm-do-ag-project-root
親ディレクトリからの検索 • もう一段上のディレクトリから検索したかっ た , ということがよくある • 検索結果画面で C-l(Control +
small L)
anzu.el
概要 • Emacs 25 風 history のサポート • 置換コマンドのグルーピングハイライト •
evil-anzu のリリース
Emacs 25 風 history のサポート • 置換する際の from, to を同時に表示
, 編集 • Emacs 24 でも利用可
グルーピングハイライト • 正規表現置換における , グルーピングを別 face を使ってハイライト • visual-regexp.el に実装されている機能
evil-anzu • Evil の各種検索コマンドで anzu を使う – /, ?, *,
n, N 等で有効 – ロードするだけで利用可
php-mode • メンテナになった – PHP を書いたことないけど ...
問題 , 提案等ありましたら , 各リポジトリの issues か @syohex まで