$30 off During Our Annual Pro Sale. View Details »
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
14 Years of iOS: Lessons and Key Points
seyfoyun
0
400
初めてDefinitelyTypedにPRを出した話
syumai
0
480
flutterkaigi_2024.pdf
kyoheig3
0
440
Serverless苦闘史
mosh_inc
0
140
デザインパターンで理解するLLMエージェントの作り方 / How to develop an LLM agent using agentic design patterns
rkaga
11
2.4k
[KR] Open-Source Ecosystems
skydoves
0
110
PaaSとSaaSの境目で信頼性と開発速度を両立する 〜TROCCO®︎のこれまでとこれから〜
gtnao
6
6.1k
新規学習のハードルを下げる方法とは?/ How to Make Learning Something New Easier?
nobuoooo
1
130
N.E.X.T LEVEL
pluu
2
240
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
730
romajip: 日本の住所CSVデータを活用した英語住所変換ライブラリを作った話
sangunkang
0
2.3k
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
430
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
1
230
Unsuck your backbone
ammeep
669
57k
How to train your dragon (web standard)
notwaldorf
88
5.7k
RailsConf 2023
tenderlove
29
920
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
770
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
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
ɻ