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
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
450
Introduction of creating Emacs Lisp Package
syohex
1
160
Emacs Introduction at LLDiver
syohex
2
3.2k
Recent Emacs Work
syohex
2
820
Introduce git-gutter.el
syohex
1
540
websocket.el and its demo applications
syohex
0
1.3k
Other Decks in Programming
See All in Programming
Android CLI
fornewid
0
230
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
250
自動化したのに回らない テスト運用の壁―AI時代の品質責任と生産性
mfunaki
0
380
170k Jobs a Day on GKE: Scaling Mercari's CI Platform - and What's Next for AI-Native Development
junyaokabe
0
120
「人を評価する AI」の設計と実装
ryoyanara
0
220
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
220
今さら聞けない .NET CLI
htkym
0
210
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
170
まずはプロンプトガイドを読もう、話はそれからだ
kiakiraki
1
190
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
3
1.3k
PyConJP2026_wat_Python × Signal Processing: How to Draw Pictures with Sound Using Spectrogram Art
wat
0
120
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
340
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
210
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
First, design no harm
axbom
PRO
2
1.3k
Google's AI Overviews - The New Search
badams
0
1.1k
Why Our Code Smells
bkeepers
PRO
340
58k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
360
Everyday Curiosity
cassininazir
0
290
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
810
How to train your dragon (web standard)
notwaldorf
97
6.8k
How STYLIGHT went responsive
nonsquared
100
6.2k
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 まで