Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
My Recent Emacs Works
Syohei YOSHIDA
April 09, 2015
Programming
0
170
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.4k
Dynamic Module
syohex
1
280
Introduction of creating Emacs Lisp Package
syohex
1
77
Emacs Introduction at LLDiver
syohex
2
3k
Recent Emacs Work
syohex
2
740
Introduce git-gutter.el
syohex
1
450
websocket.el and its demo applications
syohex
0
1.1k
Other Decks in Programming
See All in Programming
AWSとCPUのムフフな関係
cmdemura
0
450
Most Valuable Bug(?) ~インシデント未遂から得た学び~
tatsumiakahori
0
140
Rによる大規模データの処理
s_uryu
2
620
Spring BootとKubernetesで実現する今どきのDevOps入門
xblood
0
330
AWS App Runnerがそろそろ本番環境でも使い物になりそう
n1215
PRO
0
880
jq at the Shortcuts
cockscomb
1
390
AWSにおける標的型Bot対策
hacomono
0
390
Makuakeの認証基盤とRe-Architectureチーム
bmf_san
0
150
Use KMM to call the API of the National Tax Agency
akkeylab
0
290
Remix + Cloudflare Pages + D1 で ポケモン SV のレンタルチームを検索できるアプリを作ってみた
kuroppe1819
4
1.3k
フロントエンドで 良いコードを書くために
t_keshi
3
1.6k
なぜRubyコミュニティにコミットするのか?
luccafort
0
300
Featured
See All Featured
Atom: Resistance is Futile
akmur
256
24k
The Language of Interfaces
destraynor
149
21k
Design by the Numbers
sachag
271
18k
Agile that works and the tools we love
rasmusluckow
320
20k
Code Reviewing Like a Champion
maltzj
508
38k
A better future with KSS
kneath
230
16k
Rails Girls Zürich Keynote
gr2m
87
12k
The Web Native Designer (August 2011)
paulrobertlloyd
76
2.2k
Become a Pro
speakerdeck
PRO
6
3.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
270
12k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
351
21k
How to train your dragon (web standard)
notwaldorf
66
4.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 まで