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
Click-free releases & the making of a CLI app
oheyadam
2
110
Contemporary Test Cases
maaretp
0
140
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
AI時代におけるSRE、 あるいはエンジニアの生存戦略
pyama86
6
1.1k
Amazon Qを使ってIaCを触ろう!
maruto
0
400
ヤプリ新卒SREの オンボーディング
masaki12
0
130
Remix on Hono on Cloudflare Workers
yusukebe
1
290
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
920
初めてDefinitelyTypedにPRを出した話
syumai
0
410
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
Designing Experiences People Love
moore
138
23k
How to train your dragon (web standard)
notwaldorf
88
5.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
44
2.2k
Rails Girls Zürich Keynote
gr2m
94
13k
Embracing the Ebb and Flow
colly
84
4.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Being A Developer After 40
akosma
86
590k
A Philosophy of Restraint
colly
203
16k
The Invisible Side of Design
smashingmag
298
50k
Mobile First: as difficult as doing things right
swwweet
222
8.9k
How to Ace a Technical Interview
jacobian
276
23k
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
ɻ