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
Introduce git-gutter.el
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Syohei YOSHIDA
April 27, 2013
Programming
530
1
Share
Introduce git-gutter.el
Introduce git-gutter.el at Kansai Emacs #07
Syohei YOSHIDA
April 27, 2013
More Decks by Syohei YOSHIDA
See All by Syohei YOSHIDA
yapc-hokkaido-2016
syohex
15
8.9k
Dynamic Module
syohex
1
430
My Recent Emacs Works
syohex
0
210
Introduction of creating Emacs Lisp Package
syohex
1
150
Emacs Introduction at LLDiver
syohex
2
3.2k
Recent Emacs Work
syohex
2
800
websocket.el and its demo applications
syohex
0
1.2k
Other Decks in Programming
See All in Programming
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
550
実践CRDT
tamadeveloper
0
570
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
4
940
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
170
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.6k
第3木曜LT会 #28
tinykitten
PRO
0
110
The Less-Told Story of Socket Timeouts
coe401_
3
250
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
3
310
Angular Signal Forms
debug_mode
0
110
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
200
感情を設計する
ichimichi
5
1.5k
How Swift's Type System Guides AI Agents
koher
0
270
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
890
We Have a Design System, Now What?
morganepeng
55
8.1k
Evolving SEO for Evolving Search Engines
ryanjones
0
180
First, design no harm
axbom
PRO
2
1.2k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
10k
Designing for Performance
lara
611
70k
Designing for humans not robots
tammielis
254
26k
How STYLIGHT went responsive
nonsquared
100
6.1k
What's in a price? How to price your products and services
michaelherold
247
13k
Facilitating Awesome Meetings
lara
57
6.8k
Transcript
git-gutter.el 関西 Emacs勉強 #07 Syohei Yoshida(@syohex)
git-gutter.elとは • Sublime Textの GitGutterの Emacs版 – Vim版 vim-gitgutter •
前回のコミットからの差分を視覚化 • インストール – MELPA, marmalade, el-get
こんな感じ
目的 変更をわかりやすく!! • 前回からどこを変更したか • 余計な変更を加えていないか ? – delete-trailing-whitespace –
関係ない部分の変更
コマンド • 差分情報の表示 M-x git-gutter • 差分箇所間の移動 M-x git-gutter:{next-hunk,previous-hunk} •
現在の差分箇所のポップアップ M-x git-gutter:popup-hunk • 現在の差分箇所の revert M-x git-gutter:reverse-hunk
各種サポート • global-minor-mode, minor-mode • 特定のモードでの無効化 • リモートファイルの編集(tramp) • narrow-to-region
• indirect-buffer
カスタマイズ
git-gutter-fringe • git-gutter.elの問題 – linum-modeと共存できない – 右サイドに差分情報を表示できない • 解決方法 –
バッファではなく fringeに差分情報を表示 • git-gutter-fringeの問題点 – no windowでは利用できない
こんな感じ
git-gutter vs git-gutter-fringe git-gutter git-gutter-fringe linum-modeとの共存 ✘ ◦ no window対応
◦ ✘ 右サイドの表示 ✘ ◦ カスタマイズ性 ◦ △
デモンストレーション
課題 • 高速化 – window-configuration-change-hook – キャッシュ – (Macのみ?)表示が乱れる •
他の VCSのサポート – mercurial等
github.com/ syohex/emacs-git-gutter
ご清聴ありがとうございました