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
0
180
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.6k
Dynamic Module
syohex
1
320
Introduction of creating Emacs Lisp Package
syohex
1
100
Emacs Introduction at LLDiver
syohex
2
3.1k
Recent Emacs Work
syohex
2
760
Introduce git-gutter.el
syohex
1
470
websocket.el and its demo applications
syohex
0
1.1k
Other Decks in Programming
See All in Programming
Migrating to Signals: A Practical Workshop
manfredsteyer
PRO
0
280
Deep Dive 大規模システムアーキテクチャ/開発組織エンジニアリング / Deep Dive Large-Scale System Architecture, Development Organization Engineering
nrslib
15
2.9k
ONE WEDGE_Company_Information
1wedge
0
160
document.write再考
brn
5
2.5k
TCAの Shared Stateって どういう仕組みになってんの?
yimajo
0
330
Cloud RunとCloud PubSubでサーバレスなデータ基盤2024 with Terraform / Cloud Run and PubSub with Terraform
shinyorke
7
1.9k
BuefyのMaintainerを引き継いだ件
kikuomax
0
510
DDDはなぜ難しいのか / 良いコードの定義と設計能力の壁
pospome
24
6.7k
DDD, necessary but insufficient: physical design principles for microservices
cer
PRO
0
2.1k
Why 1 + 1 = 2 in Swift?
1plus4
1
240
Ruby製社内ツールのGo移行
bgpat
2
260
TDDと今まで
kanayannet
0
140
Featured
See All Featured
BBQ
matthewcrist
78
8.7k
Building Effective Engineering Teams - LeadDev
addyosmani
25
1.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
57
14k
Robots, Beer and Maslow
schacon
PRO
154
7.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
19
1.6k
Keith and Marios Guide to Fast Websites
keithpitt
407
22k
Typedesign – Prime Four
hannesfritz
36
2k
Thoughts on Productivity
jonyablonski
57
3.8k
Product Roadmaps are Hard
iamctodd
43
9.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
10
4.5k
Building Better People: How to give real-time feedback that sticks.
wjessup
350
18k
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 まで