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
たのしいparse.y
ydah
3
120
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
540
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
330
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
310
Symfony Mapper Component
soyuka
2
730
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
nekko cloudにおけるProxmox VE利用事例
irumaru
3
420
Go の GC の不得意な部分を克服したい
taiyow
2
770
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
710
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
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
ɻ