Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
210
0
Share
My Recent Emacs Works
My recent Emacs works of my plugins, git-gutter, anzu, helm-ag etc
Syohei YOSHIDA
April 09, 2015
More Decks by Syohei YOSHIDA
See All by Syohei YOSHIDA
yapc-hokkaido-2016
syohex
15
8.9k
Dynamic Module
syohex
1
430
Introduction of creating Emacs Lisp Package
syohex
1
150
Emacs Introduction at LLDiver
syohex
2
3.2k
Recent Emacs Work
syohex
2
800
Introduce git-gutter.el
syohex
1
540
websocket.el and its demo applications
syohex
0
1.2k
Other Decks in Programming
See All in Programming
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
540
AI Agent と正しく分析するための環境作り
yoshyum
2
600
inferと仲良くなる10分間
ryokatsuse
1
250
運用エージェントは "作る" から "育てる" へ - 記憶と自己進化の3層設計パターン / self-evolving-agents-three-layer-agent-design
gawa
10
1.6k
AWSはOSSをどのように 考えているのか?
akihisaikeda
1
140
ふつうのFeature Flag実践入門
irof
4
1.7k
Moments When Things Go Wrong
aurimas
3
110
関係性から理解する"同一性"の型用語たち
pvcresin
2
520
Agentic UI beyond Chats Architecture Patterns & Open Standards @ngMunich 05/2026
manfredsteyer
PRO
0
140
色即是空、空即是色、データサイエンス
kamoneggi
1
160
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
420
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
230
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
190
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
190
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
280
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
510
Why Our Code Smells
bkeepers
PRO
340
58k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
700
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
How to make the Groovebox
asonas
2
2.2k
HDC tutorial
michielstock
2
670
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
We Are The Robots
honzajavorek
0
230
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 まで