Ȼ/14

Top / Ȼ / 14

To use Emacs: Emacs Ȥͤᤶ

ʤäơǥ򤭤ȻȤʤ unix ϤܤĤʤ Ǥʤ᤬ݡȡ´򤫤ˤäƤ⡤ĹʸϤ򤭤Ƚ񤯤ˤϤ褤ǥɬפ

̣ǡ Emacs ˤĤơȻȤ褦ˤʤ뤳ȤܻؤƳؤܤ



101: Emacs

Tutorial: ޤ

ޤϰȡemacs ˤĤƤ塼ȥꥢ򤹤Τ

notes.png JNorth_arrow-right-sm.png λ ʬɤߡ¤δİ塼ȥꥢ(Ƥ)ԤȤȤˡʤɤ򤷤Ƥ



Tips: ΤäƤɤ


鿴Ԥ롼ΤäƤȤȤƤΤǡҲ𤷤Ƥ

ޥɤ¹Ԥ(ƤӽФ)
Emacs M-! Ȥȡ Shell command: ȤǤϤ¥롥 ˥ޥɤȡʤ shell ˥ޥϤΤƱͤʷ̤롥 ޤˡM-! Ȥȡdate Ƥߤ褦 date ޥɤϤ̤˸Ϥ

ˡƱͤˡM-! Ȥȡman␣date Ƥߤ褦 ޥɤΥޥ˥奢 Emacs 椫ƤӽФơ⥳ԥڤ뤳ȤǤΤ

ޤޥɤνϷ̤ľܥǥŽդ뤳ȤǤ롥 ˤϡC-u M-! ȤƤ饳ޥɤ¹Ԥɤ  C-u M-! ȤƤ date Ƥߤ褦 뤬ä date ޥɤη̤ŽդϤ

Τ褦ñȯΥޥɤ¹ԤʤС줬ʬΩġ

ԽΥǡޥɤϤƽƤ餦
Emacs Υ꡼󤬤硢M-| (ǸΤϽ) Ϥȡ ޥɤɸϤˤΥǡϤȤǤ롥

㤨С

0001001
0001001
0001001
0001002
0001002
0001002
0001005
0001005
0001008
0001008
0001008
0001008

Ȥԥǡ Emacs Ѱդơޤ region 򤷤褦 줫顢M-| ȤơShell command on region: ȽФƤΤǤ uniq ǤǤߤ褦 ȡ̲ʤɤ(פ Emacs ̥Хåե)ǡνʣǡϤϤC-x b ȤõƤߤ褦

ˡνϷ̤ľŽդפǤ롥 㤨оƱ

0001001
0001001
0001001
0001002
0001002
0001002
0001005
0001005
0001008
0001008
0001008
0001008

Ȥԥǡ Emacs Ѱդơޤ region 򤷤褦 줫顢C-u M-| ȤơShell command on region: ȽФƤΤǤ uniq ǤǤߤ褦 ʤȡʣäǡŽդ졢̤Ȥƥǡ֤롪*1

¾ˤ⡢bc ޥɤ˷׻򤵤ȤΤ⤢ 㤨СҤꤹ륳ɤǤ ISBN Ρ֥åǥåȡ*2׻Ƥߤ褦 Wikipedia ˤСISBN-13 ΥåǥåȤη׻ˡϡ

1. åǥåȤֺ¦η夫1313ĤݤƤ¤
2. ¤10dzä;
3. ;10줿åǥå. η̤ 10 ˤʤäϥåǥåȤ 0 Ȥ롥

ȤƷ׻Ǥ뤽ʤΤǡ GNU Emacs 3ǡפ ISBN
  978-4-87-311277-0
κǸʸåǥåȤΤ 0 ˤʤ뤳ȤǧƤߤ褦
ޤEmacs
(9+8+8+3+1+7) + 3*(7+4+7+1+2+7)
Ƚ񤳤ƤΡֹԡ(ԥɤޤ褦ˡĤޤꡢιƬޤǤ򤹤뤳)*3 region 򤷤Ƥ顢 M-| ȤƤ bc␣-l ϤƤߤ褦*4 ȷ׻ 120 ΤǡȤϰŻdzΤ˥åǥåȤ 0 ˤʤ뤳Ȥ狼롥

Τ褦ˡM-! M-| ϤʤʤʤΤdzФƤ



Nice reference: 褯Ǥ


ޤ JNorth_arrow-right-sm.png Emacs ӥʡ ϡӥʡΤäƤɤȤŪĥȤ˽񤤤ƤäơɤƤ롥 ʬ̤¿ɤ ɤǤɤ


ܤȤƤϡ JNorth_arrow-right-sm.png Gnu Emacs ޥ˥奢 Emacs ˤĤƤβȤơˡˤ褯Ƥ롥 äĹɡ

椫ǽɤǤɤʤȤԥååפƤ

notes.png web A,B,C,... Y,Z,AA,AB,... AK ȸФ˵椬ǤƤ롥 椫顤

  • D. Խޥ
  • E. ߥ˥Хåե
  • H. ޡȥ꡼
  • K. õִ
  • O. ʣΥХåեλȤ
  • P. ʣΥɥ

ʬˤĤơʤ٤ɤߤʤ顤˽񤤤Ƥ륳ޥ¹ԤΤ褦 ޤʤΤˤĤƤ(˺Ƥޤʤ褦)긵Υʤɤ˥⤷Ƥ



again...: ؤȤʬ


notes.png web

  • N. եΰ

Ρ[N.7 VC(ǴС󥳥ȥ)] ɤߡRCS ȹ碌ƻȤäƤߤ褦
RCS äƤʤĶǤϻˤ ϡWindows Meadow cygwin (RCS äƤȤ)ȤȤ߹碌ǻ



Dynamic abbrev: ʤΤǾǤ᤯Ȥ褦ˤʤ٤ Ȥǽ(ưŪάŸ: dabbrev)


ץ񤯤Ȥ䡤ĹʸϤ񤯤Ȥʤɤä礭ϤȯΤưŪάŸ(dynamic abbrev expansion) Ǥ롥

notes.png ˤĤƤϤ web

  • Y. άˡ

Ρ[Y.6 ưŪάŸ] ɤߡƤߤ褦



notes.png (Ը) ʤǥեȤ dabbrev ܸ˼夤 ܸ줬ñ򥹥ڡǶڤʤǤ롥

򤭤Ȳ褹ˡ JNorth_arrow-right-sm.png ܸ dabbrev Ȥ dabbrev-ja ˽񤫤ƤΤǡɤǤʤȤƤߤ补



Cards of commnads: ä⤱륳ޥɻȥ


JNorth_arrow-right-sm.png Emacs Reference Card ˡܸǤޤᡤä⤱褦˻ 1 Emacs Υޥɽ뤿Υե뤬롥

ΥСΤΤԤ餤ޤǤϤޤä꤬ʤϤ ʬ˹礦ΤǤɤǰФʤɤƤ

ʤѸǤǤ褱кǿǤ JNorth_arrow-right-sm.png Emacs Reference Card ˤ.



Report: ݡ

ʲβˤĤǽ¤긭ĴȹͻԤ
AppliedMath7-Report-14
Ȥ̾Ĥ e-mail ˤƶ˥ݡȤȤФ. ʤݡȤ e-mail TeX Ǻ̤ˤФƤ褤.

Exercises:

  1. Emacs ޥɻȥɤ򻲹ͤˤơʬѤΤΤäƤߤ褦 web ˤ TeX 򤪼ڤꤷѹ褤ʬǥäƤߤΤ褤 ơ夬äΤݡȤȤդ补



about Icons, ClipArts

For details, see JNorth_arrow-right-sm.png this.


*1 ʤߤˡEmacs 24.4 ꤫顢delete-duplicate-lines ȤޥɤꡢEmacs ǽʣԤǤ롥⡢uniq ޥɤȰۤʤꡢsort ƤʤƤɤ
*2 ISBN κǸʸʳο׻ǤϥߥʤΥå˻Ȥ
*3 ԥɤäƤʤ bc ʸˡȿȸäƥ顼Ф
*4 ԥɤ꤬Τ, windows emacs cygwin bc Ȥ߹碌ʤɤǤ¿ʬ顼ˤʤ