Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Introduce git-gutter.el
Search
Syohei YOSHIDA
April 27, 2013
Programming
550
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
9k
Dynamic Module
syohex
1
460
My Recent Emacs Works
syohex
0
220
Introduction of creating Emacs Lisp Package
syohex
1
170
Emacs Introduction at LLDiver
syohex
2
3.3k
Recent Emacs Work
syohex
2
840
websocket.el and its demo applications
syohex
0
1.3k
Other Decks in Programming
See All in Programming
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
160
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
330
8年前のNode.jsを動かして分かった、npm installの裏側
keisukeikeda
0
120
React Native에 현대적인 빌드 도구 더하기: Rollipop 구현기
leegeunhyeok
0
180
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
670
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
180
Crash Auto Pipelines
veronikapj
1
310
dotNET_vulnclicker_intro.pdf
deka_morita
0
160
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
260
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
1.3k
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
320
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
240
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
4 Signs Your Business is Dying
shpigford
187
23k
Mobile First: as difficult as doing things right
swwweet
225
10k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
360
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Technical Leadership for Architectural Decision Making
baasie
3
620
ラッコキーワード サービス紹介資料
rakko
5
5.6M
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
960
Six Lessons from altMBA
skipperchong
29
4.6k
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
ご清聴ありがとうございました