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
Emacs実践入門 Perl編
Search
typester
September 25, 2013
Programming
0
2.6k
Emacs実践入門 Perl編
typester
September 25, 2013
Tweet
Share
More Decks by typester
See All by typester
サーバーサイドエンジニアのためのiOSアプリ開発入門
typester
0
4.6k
XSにまつわる話
typester
4
2.1k
Perlハッカーは息をするようにCPANモジュールを書く
typester
5
7.3k
UV - libuv binding for Perl
typester
1
6k
Hacking Mac OS X Cocoa API from Perl
typester
2
390
Other Decks in Programming
See All in Programming
EventSourcingの理想と現実
wenas
6
2.1k
2万ページのSSG運用における工夫と注意点 / Vue Fes Japan 2024
chinen
3
1.3k
gopls を改造したら開発生産性が高まった
satorunooshie
8
240
Vue3の一歩踏み込んだパフォーマンスチューニング2024
hal_spidernight
3
3.1k
Server Driven Compose With Firebase
skydoves
0
390
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
420
Vue SFCのtemplateでTypeScriptの型を活用しよう
tsukkee
3
1.5k
外部システム連携先が10を超えるシステムでのアーキテクチャ設計・実装事例
kiwasaki
1
220
Tuning GraphQL on Rails
pyama86
2
1k
ECSのサービス間通信 4つの方法を比較する 〜Canary,Blue/Greenも添えて〜
tkikuc
11
2.3k
Piniaの現状と今後
waka292
5
1.4k
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
160
Featured
See All Featured
Gamification - CAS2011
davidbonilla
80
5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
32
1.8k
Designing for humans not robots
tammielis
249
25k
Adopting Sorbet at Scale
ufuk
73
9k
Statistics for Hackers
jakevdp
796
220k
A designer walks into a library…
pauljervisheath
202
24k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
7.9k
Building Your Own Lightsaber
phodgson
102
6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
13
1.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.1k
Into the Great Unknown - MozCon
thekraken
31
1.5k
Transcript
&NBDT࣮ફೖ 1FSMฤ :"1$"TJB !UZQFTUFS
Πϯετʔϧ .BDͷਓ͓͢͢Ί brew tap railwaycat/emacsmacport brew install emacs-mac ΊΜͲ͍ਓόΠφϦμϯϩʔυ͋ΔΑ IUUQTHJUIVCDPNSBJMXBZDBUFNBDTNBDQPSU
Πϯετʔϧ .BDͷਓɺຊՈͷ͕ྑ͍ਓ ./configure --with-ns make install OFYUTUFQσΟϨΫτϦʹ&NBDTBQQ͕Ͱ͖Δɻ
Πϯετʔϧ -JOVYͱ͔ͷਓ ./configure make install
αϯϓϧઃఆ &NBDTͷઃఆ͕खݩʹͳ͍ਓ git clone https://github.com/typester/ emacs-config-sample.git ~/.emacs.d
αϯϓϧઃఆ &NBDTͷઃఆ͕͋Δਓదͳͱ͜ΖʹDMPOFͰ0, git clone https://github.com/typester/ emacs-config-sample.git ~/typester-emacs
ىಈʂ dFNBDTEʹDMPOFͨ͠ਓ emacs ଞͷॴʹDMPOFͨ͠ਓ emacs -q -l ~/typester-config/init.el
ઃఆϑΝΠϧ ~/.emacs.el (.emacs.elc) ~/.emacs ~/.emacs.d/init.el (init.elc) ~/.emacs.d/init
ઃఆϑΝΠϧ ͓͢͢Ί ~/.emacs.d/init.el FNBDTE͚ͩΛόʔδϣϯཧ͢Εྑ͍͔Βָ
ૢ࡞ ऴྃ C-x C-c ࠔͬͨ࣌ C-g
ૢ࡞ ΧʔιϧҠಈ C-f → C-b ← C-p ↑ C-n ↓
C-a ߦ಄ C-e ߦ ͜͜Βล$PDPBΞϓϦͳΒେମ͑Δͷ̋
ૢ࡞ ϑΝΠϧ։͘ C-x C-f อଘ C-x C-s όοϑΝΓସ͑ C-x C-b
όοϑΝด͡Δ C-x k
ૢ࡞ όοϑΝׂ C-x 2 C-x 3 όοϑΝׂͨ͠ͷΛҠಈ C-x o όοϑΝׂͨ͠ͷΛด͡Δ
C-x 0 ݱࡏͷόοϑΝͷΈ͢Δ C-x 1
νϡʔτϦΞϧ M-x help-with-tutorial
υΩϡϝϯτɾϚχϡΞϧ M-x info
ઃఆৄࡉ el-get exec-path helm (anything) perl-completion flymake quickrun
FMHFU w &NBDT-JTQΛཧ͢ΔͨΊͷύοέʔδϚωʔδϟͷͻ ͱͭɻ w IPNFCSFXͬΆ͍ͷ w ͦΜͳʹελϯμʔυͰͳ͍ স w
%JTUSJCVUFE4FUVQͱ͍͏ػೳ͕͖ͳͷͰ͍ͬͯΔ ͜ͷػೳ$BSUPOͷΑ͏ͳͷ
FYFDQBUI w IPNFCSFXɺQMFOWͳͲɺ֎෦1"5)௨͢߹ɺ 1"5)ͷઃఆͷଞʹɺFYFDQBUIͷՃ͕ඞཁ
IFMN BOZUIJOH w બީิΛΠϯΫϦϝϯλϧݕࡧͭͭ͠બͰ͖ΔΠϯ λϑΣεʔΛఏڙͯ͘͠ΕΔFMJTQ w (helm-mode 1)ͱ͢ΔͱόοϑΝΓସ͑ɺϑΝΠ ϧΛ։͘ΠϯλϑΣʔεIFMNʹͳΔ
QFSMDPNQMFUJPO w !JNBLBEP࡞ w 1FSMͷϞδϡʔϧ໊ɺ໊ؔɺϝιου໊ͳͲΛɺ BOZUIJOHΠϯλϑΣʔε PSBVUPDPNQMFUF Ͱ͍Ζ͍Ζ ิͰ͖ΔFMJTQ w
ϞδϡʔϧͷυΩϡϝϯτ PSιʔε ΛݟΔػೳ͕ಛʹ ศརͱ͍͏͔ඞਢʂ
qZNBLF w γϯλοΫενΣοΫͭͭ͠ίʔυ͕͔͚Δ w &NBDTσϑΥϧτͰɺ1FSMͷγϯλοΫενΣοΫʹҰ ԠରԠ͍ͯ͠ΔͷͰɺΧδϡΞϧʹࢼ͍ͨ͠ͳΒ1FSM ͷϑΝΠϧΛ։͍ͨঢ়ଶͰM-x flymake-modeͱ͢Ε ྑ͍ w
ͳͥʑͱઃఆΛॻ͍͍ͯΔ͔
RVJDLSVO w ݴޠͷڍಈΛࢼ͍ͨ࣌͠ͳͲɺͪΐͬͱͨ͠εΫϦϓτ Λॻ͍ͯࢼ͢͜ͱ͕Α͋͘Δ w γΣϧʹ࣮ͬͯߦ͢Δͷ͕ΊΜͲ͍͘͞ w Έ͍ͨͳͱ͖RVJDLSVOΛ͏ͱ͓खܰ
IFMNQSPKFDU w ͍͍ͪͪ$Y$Gͯ͠ϑΝΠϧ։͘ͷΊΜͲ͍͘͞ w ϓϩδΣΫτͷϑΝΠϧΛIFMNͰબͯ͠։͚ΔFMJTQ
FNBDTTFSWFS w ͍Ζ͍ΖઃఆΛॻ͍͍ͯ͘ͱ&NBDTͷىಈ͕͘ͳΔ w Ұ্ཱͪ͛ͨ&NBDTऴྃ͠ͳ͍ʂ w &NBDTEBFNPOͱ͔͋ΔΑ
ͬͱྑ͍ิ w IUUQTHJUIVCDPNBLJPFNBDTQMTFOTF w FMHFU͚ͩͩͱΠϯετʔϧͰ͖ͳ͍ͷͰઆ໌͠·ͤΜ Ͱ͕ͨ͠ɺิ͚ͩͳΒͪ͜Βͷ΄͏͕༏लͱࢥΘΕ· ͢ʂ
&NBDT࣮ફೖຊฤ w IUUQXXXBNB[PODPKQHQQSPEVDU w &NBDTͷجૅ͔Βɺ͍Ζ͍Ζͳઃఆͷ հɺͦͯࣗ͠Ͱ&NBDTΛ͍͜ͳ͍ͯ͠ ͨ͘Ίͷಋઢ͕͏·͘ἧͬͨ
ใιʔε w UPNPZBࢯͷϒϩά IUUQEIBUFOBOFKQUPNPZB w TZPIFYࢯͷϒϩά IUUQEIBUFOBOFKQTZPIFY w -JOHS IUUQMJOHSDPNSPPNFNBDT
ͷઃఆ w IUUQTHJUIVCDPNUZQFTUFSFNBDTDPOpH
ɻ