Slide 1

Slide 1 text

&NBDT࣮ફೖ໳ 1FSMฤ :"1$"TJB !UZQFTUFS

Slide 2

Slide 2 text

Πϯετʔϧ .BDͷਓ͓͢͢Ί brew tap railwaycat/emacsmacport brew install emacs-mac ΊΜͲ͍ਓ͸όΠφϦμ΢ϯϩʔυ΋͋ΔΑ IUUQTHJUIVCDPNSBJMXBZDBUFNBDTNBDQPSU

Slide 3

Slide 3 text

Πϯετʔϧ .BDͷਓɺຊՈͷ͕ྑ͍ਓ ./configure --with-ns make install OFYUTUFQσΟϨΫτϦʹ&NBDTBQQ͕Ͱ͖Δɻ

Slide 4

Slide 4 text

Πϯετʔϧ -JOVYͱ͔ͷਓ ./configure make install

Slide 5

Slide 5 text

αϯϓϧઃఆ &NBDTͷઃఆ͕खݩʹͳ͍ਓ git clone https://github.com/typester/ emacs-config-sample.git ~/.emacs.d

Slide 6

Slide 6 text

αϯϓϧઃఆ &NBDTͷઃఆ͕͋Δਓ͸ద౰ͳͱ͜ΖʹDMPOFͰ0, git clone https://github.com/typester/ emacs-config-sample.git ~/typester-emacs

Slide 7

Slide 7 text

ىಈʂ dFNBDTEʹDMPOFͨ͠ਓ emacs ଞͷ৔ॴʹDMPOFͨ͠ਓ emacs -q -l ~/typester-config/init.el

Slide 8

Slide 8 text

ઃఆϑΝΠϧ ~/.emacs.el (.emacs.elc) ~/.emacs ~/.emacs.d/init.el (init.elc) ~/.emacs.d/init

Slide 9

Slide 9 text

ઃఆϑΝΠϧ ͓͢͢Ί͸ ~/.emacs.d/init.el FNBDTE͚ͩΛόʔδϣϯ؅ཧ͢Ε͹ྑ͍͔Βָ

Slide 10

Slide 10 text

ૢ࡞ ऴྃ C-x C-c ࠔͬͨ࣌͸ C-g

Slide 11

Slide 11 text

ૢ࡞ ΧʔιϧҠಈ C-f → C-b ← C-p ↑ C-n ↓ C-a ߦ಄ C-e ߦ຤ ͜͜Βล͸$PDPBΞϓϦͳΒେମ࢖͑Δͷ΋̋

Slide 12

Slide 12 text

ૢ࡞ ϑΝΠϧ։͘ C-x C-f อଘ C-x C-s όοϑΝ੾Γସ͑ C-x C-b όοϑΝด͡Δ C-x k

Slide 13

Slide 13 text

ૢ࡞ όοϑΝ෼ׂ C-x 2 C-x 3 όοϑΝ෼ׂͨ͠ͷΛҠಈ C-x o όοϑΝ෼ׂͨ͠ͷΛด͡Δ C-x 0 ݱࡏͷόοϑΝͷΈ͢Δ C-x 1

Slide 14

Slide 14 text

νϡʔτϦΞϧ M-x help-with-tutorial

Slide 15

Slide 15 text

υΩϡϝϯτɾϚχϡΞϧ M-x info

Slide 16

Slide 16 text

ઃఆৄࡉ el-get exec-path helm (anything) perl-completion flymake quickrun

Slide 17

Slide 17 text

FMHFU w &NBDT-JTQΛ؅ཧ͢ΔͨΊͷύοέʔδϚωʔδϟͷͻ ͱͭɻ w IPNFCSFXͬΆ͍΋ͷ w ͦΜͳʹελϯμʔυͰ͸ͳ͍ স w %JTUSJCVUFE4FUVQͱ͍͏ػೳ͕޷͖ͳͷͰ࢖͍ͬͯΔ ͜ͷػೳ͸$BSUPOͷΑ͏ͳ΋ͷ

Slide 18

Slide 18 text

FYFDQBUI w IPNFCSFX΍ɺQMFOWͳͲɺ֎෦1"5)௨͢৔߹ɺ 1"5)ͷઃఆͷଞʹɺFYFDQBUI΁ͷ௥Ճ͕ඞཁ

Slide 19

Slide 19 text

IFMN BOZUIJOH w બ୒ީิΛΠϯΫϦϝϯλϧݕࡧͭͭ͠બ୒Ͱ͖ΔΠϯ λϑΣεʔΛఏڙͯ͘͠ΕΔFMJTQ w (helm-mode 1)ͱ͢ΔͱόοϑΝ੾Γସ͑΍ɺϑΝΠ ϧΛ։͘ΠϯλϑΣʔε΋IFMNʹͳΔ

Slide 20

Slide 20 text

QFSMDPNQMFUJPO w !JNBLBEP࡞ w 1FSMͷϞδϡʔϧ໊ɺؔ਺໊ɺϝιου໊ͳͲΛɺ BOZUIJOHΠϯλϑΣʔε PSBVUPDPNQMFUF Ͱ͍Ζ͍Ζ ิ׬Ͱ͖ΔFMJTQ w ϞδϡʔϧͷυΩϡϝϯτ PSιʔε ΛݟΔػೳ͕ಛʹ ศརͱ͍͏͔ඞਢʂ

Slide 21

Slide 21 text

qZNBLF w γϯλοΫενΣοΫͭͭ͠ίʔυ͕͔͚Δ w &NBDTσϑΥϧτͰɺ1FSMͷγϯλοΫενΣοΫʹҰ Ԡ͸ରԠ͍ͯ͠ΔͷͰɺΧδϡΞϧʹࢼ͍ͨ͠ͳΒ1FSM ͷϑΝΠϧΛ։͍ͨঢ়ଶͰM-x flymake-modeͱ͢Ε ͹ྑ͍ w ͳͥ௕ʑͱઃఆΛॻ͍͍ͯΔ͔

Slide 22

Slide 22 text

RVJDLSVO w ݴޠͷڍಈΛࢼ͍ͨ࣌͠ͳͲɺͪΐͬͱͨ͠εΫϦϓτ Λॻ͍ͯࢼ͢͜ͱ͕Α͋͘Δ w γΣϧʹ໭࣮ͬͯߦ͢Δͷ͕ΊΜͲ͍͘͞ w Έ͍ͨͳͱ͖͸RVJDLSVOΛ࢖͏ͱ͓खܰ

Slide 23

Slide 23 text

IFMNQSPKFDU w ͍͍ͪͪ$Y$Gͯ͠ϑΝΠϧ։͘ͷΊΜͲ͍͘͞ w ϓϩδΣΫτ಺ͷϑΝΠϧΛIFMNͰબ୒ͯ͠։͚ΔFMJTQ

Slide 24

Slide 24 text

FNBDTTFSWFS w ͍Ζ͍ΖઃఆΛॻ͍͍ͯ͘ͱ&NBDTͷىಈ͕஗͘ͳΔ w Ұ౓্ཱͪ͛ͨ&NBDT͸ऴྃ͠ͳ͍ʂ w &NBDTEBFNPOͱ͔΋͋ΔΑ

Slide 25

Slide 25 text

΋ͬͱྑ͍ิ׬ w IUUQTHJUIVCDPNBLJPFNBDTQMTFOTF w FMHFU͚ͩͩͱΠϯετʔϧͰ͖ͳ͍ͷͰઆ໌͠·ͤΜ Ͱ͕ͨ͠ɺิ׬͚ͩͳΒͪ͜Βͷ΄͏͕༏लͱࢥΘΕ· ͢ʂ

Slide 26

Slide 26 text

&NBDT࣮ફೖ໳ຊฤ w IUUQXXXBNB[PODPKQHQQSPEVDU w &NBDTͷجૅ͔Βɺ͍Ζ͍Ζͳઃఆͷ঺ հɺͦͯࣗ͠෼Ͱ&NBDTΛ࢖͍͜ͳ͍ͯ͠ ͨ͘Ίͷಋઢ͕͏·͘ἧͬͨ࡭

Slide 27

Slide 27 text

৘ใιʔε w UPNPZBࢯͷϒϩά IUUQEIBUFOBOFKQUPNPZB w TZPIFYࢯͷϒϩά IUUQEIBUFOBOFKQTZPIFY w -JOHS IUUQMJOHSDPNSPPNFNBDT

Slide 28

Slide 28 text

๻ͷઃఆ w IUUQTHJUIVCDPNUZQFTUFSFNBDTDPOpH

Slide 29

Slide 29 text

׬ɻ