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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Syohei YOSHIDA
April 09, 2015
Programming
210
0
Share
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
430
Introduction of creating Emacs Lisp Package
syohex
1
150
Emacs Introduction at LLDiver
syohex
2
3.2k
Recent Emacs Work
syohex
2
800
Introduce git-gutter.el
syohex
1
530
websocket.el and its demo applications
syohex
0
1.2k
Other Decks in Programming
See All in Programming
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
140
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
270
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.8k
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
110
安いハードウェアでVulkan
fadis
1
870
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
220
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
110
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
230
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
230
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
190
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
370
Discover your Explorer Soul
emna__ayadi
2
1.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Designing Experiences People Love
moore
143
24k
Ethics towards AI in product and experience design
skipperchong
2
240
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
The Curse of the Amulet
leimatthew05
1
11k
From π to Pie charts
rasagy
0
160
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
500
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
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 まで