home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 30 39 69 30 34 |Subject:| v09i04|
|00000010| 36 3a 20 20 4d 69 63 72 | 6f 45 4d 41 43 53 2c 20 |6: Micr|oEMACS, |
|00000020| 76 65 72 73 69 6f 6e 20 | 33 2e 38 62 2c 20 50 61 |version |3.8b, Pa|
|00000030| 72 74 31 34 2f 31 34 0a | 4e 65 77 73 67 72 6f 75 |rt14/14.|Newsgrou|
|00000040| 70 73 3a 20 6d 6f 64 2e | 73 6f 75 72 63 65 73 0a |ps: mod.|sources.|
|00000050| 41 70 70 72 6f 76 65 64 | 3a 20 72 73 40 6d 69 72 |Approved|: rs@mir|
|00000060| 72 6f 72 2e 54 4d 43 2e | 43 4f 4d 0a 0a 53 75 62 |ror.TMC.|COM..Sub|
|00000070| 6d 69 74 74 65 64 20 62 | 79 3a 20 69 68 6e 70 34 |mitted b|y: ihnp4|
|00000080| 21 69 74 69 76 61 78 21 | 64 75 6e 63 61 6e 21 6c |!itivax!|duncan!l|
|00000090| 61 77 72 65 6e 63 65 20 | 28 44 61 6e 69 65 6c 20 |awrence |(Daniel |
|000000a0| 4c 61 77 72 65 6e 63 65 | 29 0a 4d 6f 64 2e 73 6f |Lawrence|).Mod.so|
|000000b0| 75 72 63 65 73 3a 20 56 | 6f 6c 75 6d 65 20 39 2c |urces: V|olume 9,|
|000000c0| 20 49 73 73 75 65 20 34 | 36 0a 41 72 63 68 69 76 | Issue 4|6.Archiv|
|000000d0| 65 2d 6e 61 6d 65 3a 20 | 75 65 6d 61 63 73 33 2e |e-name: |uemacs3.|
|000000e0| 38 62 2f 50 61 72 74 31 | 34 0a 0a 23 21 20 2f 62 |8b/Part1|4..#! /b|
|000000f0| 69 6e 2f 73 68 0a 23 20 | 54 68 69 73 20 69 73 20 |in/sh.# |This is |
|00000100| 61 20 73 68 65 6c 6c 20 | 61 72 63 68 69 76 65 2e |a shell |archive.|
|00000110| 20 20 52 65 6d 6f 76 65 | 20 61 6e 79 74 68 69 6e | Remove| anythin|
|00000120| 67 20 62 65 66 6f 72 65 | 20 74 68 69 73 20 6c 69 |g before| this li|
|00000130| 6e 65 2c 0a 23 20 74 68 | 65 6e 20 75 6e 70 61 63 |ne,.# th|en unpac|
|00000140| 6b 20 69 74 20 62 79 20 | 73 61 76 69 6e 67 20 69 |k it by |saving i|
|00000150| 74 20 69 6e 20 61 20 66 | 69 6c 65 20 61 6e 64 20 |t in a f|ile and |
|00000160| 74 79 70 69 6e 67 20 22 | 73 68 20 66 69 6c 65 22 |typing "|sh file"|
|00000170| 2e 0a 23 20 49 66 20 74 | 68 69 73 20 61 72 63 68 |..# If t|his arch|
|00000180| 69 76 65 20 69 73 20 63 | 6f 6d 70 6c 65 74 65 2c |ive is c|omplete,|
|00000190| 20 79 6f 75 20 77 69 6c | 6c 20 73 65 65 20 74 68 | you wil|l see th|
|000001a0| 65 20 6d 65 73 73 61 67 | 65 3a 0a 23 09 09 22 45 |e messag|e:.#.."E|
|000001b0| 6e 64 20 6f 66 20 61 72 | 63 68 69 76 65 20 31 34 |nd of ar|chive 14|
|000001c0| 20 28 6f 66 20 31 34 29 | 2e 22 0a 23 20 43 6f 6e | (of 14)|.".# Con|
|000001d0| 74 65 6e 74 73 3a 20 20 | 65 6d 61 63 73 31 2e 6d |tents: |emacs1.m|
|000001e0| 73 73 0a 50 41 54 48 3d | 2f 62 69 6e 3a 2f 75 73 |ss.PATH=|/bin:/us|
|000001f0| 72 2f 62 69 6e 3a 2f 75 | 73 72 2f 75 63 62 20 3b |r/bin:/u|sr/ucb ;|
|00000200| 20 65 78 70 6f 72 74 20 | 50 41 54 48 0a 65 63 68 | export |PATH.ech|
|00000210| 6f 20 73 68 61 72 3a 20 | 45 78 74 72 61 63 74 69 |o shar: |Extracti|
|00000220| 6e 67 20 5c 22 65 6d 61 | 63 73 31 2e 6d 73 73 5c |ng \"ema|cs1.mss\|
|00000230| 22 20 5c 28 34 39 38 31 | 31 20 63 68 61 72 61 63 |" \(4981|1 charac|
|00000240| 74 65 72 73 5c 29 0a 69 | 66 20 74 65 73 74 20 2d |ters\).i|f test -|
|00000250| 66 20 65 6d 61 63 73 31 | 2e 6d 73 73 20 3b 20 74 |f emacs1|.mss ; t|
|00000260| 68 65 6e 20 0a 20 20 65 | 63 68 6f 20 73 68 61 72 |hen . e|cho shar|
|00000270| 3a 20 57 69 6c 6c 20 6e | 6f 74 20 6f 76 65 72 2d |: Will n|ot over-|
|00000280| 77 72 69 74 65 20 65 78 | 69 73 74 69 6e 67 20 66 |write ex|isting f|
|00000290| 69 6c 65 20 5c 22 65 6d | 61 63 73 31 2e 6d 73 73 |ile \"em|acs1.mss|
|000002a0| 5c 22 0a 65 6c 73 65 0a | 73 65 64 20 22 73 2f 5e |\".else.|sed "s/^|
|000002b0| 58 2f 2f 22 20 3e 65 6d | 61 63 73 31 2e 6d 73 73 |X//" >em|acs1.mss|
|000002c0| 20 3c 3c 27 45 4e 44 5f | 4f 46 5f 65 6d 61 63 73 | <<'END_|OF_emacs|
|000002d0| 31 2e 6d 73 73 27 0a 58 | 40 63 68 61 70 74 65 72 |1.mss'.X|@chapter|
|000002e0| 28 49 4e 54 52 4f 44 55 | 43 54 4f 4e 29 0a 58 20 |(INTRODU|CTON).X |
|000002f0| 0a 58 20 20 20 20 20 4d | 69 63 72 6f 45 4d 41 43 |.X M|icroEMAC|
|00000300| 53 2c 20 68 65 6e 63 65 | 66 6f 72 74 68 20 63 61 |S, hence|forth ca|
|00000310| 6c 6c 65 64 20 45 4d 41 | 43 53 2c 20 69 73 20 61 |lled EMA|CS, is a|
|00000320| 20 66 75 6c 6c 20 73 63 | 72 65 65 6e 20 65 64 69 | full sc|reen edi|
|00000330| 74 6f 72 20 28 6e 6f 74 | 20 61 0a 58 77 6f 72 64 |tor (not| a.Xword|
|00000340| 20 70 72 6f 63 65 73 73 | 6f 72 29 20 77 68 69 63 | process|or) whic|
|00000350| 68 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 20 6f |h is ava|ilable o|
|00000360| 6e 20 61 20 76 61 72 69 | 65 74 79 20 6f 66 20 63 |n a vari|ety of c|
|00000370| 6f 6d 70 75 74 65 72 73 | 20 28 62 6f 74 68 20 6d |omputers| (both m|
|00000380| 69 63 72 6f 0a 58 61 6e | 64 20 6d 69 6e 69 2f 6d |icro.Xan|d mini/m|
|00000390| 61 69 6e 20 66 72 61 6d | 65 29 2e 20 20 41 73 20 |ain fram|e). As |
|000003a0| 61 20 67 65 6e 65 72 61 | 6c 20 63 68 61 72 61 63 |a genera|l charac|
|000003b0| 74 65 72 69 73 74 69 63 | 2c 20 45 4d 41 43 53 20 |teristic|, EMACS |
|000003c0| 69 73 20 61 20 66 75 6e | 63 74 69 6f 6e 0a 58 64 |is a fun|ction.Xd|
|000003d0| 72 69 76 65 6e 20 70 72 | 6f 67 72 61 6d 20 77 68 |riven pr|ogram wh|
|000003e0| 65 72 65 69 6e 20 65 76 | 65 72 79 20 6b 65 79 73 |erein ev|ery keys|
|000003f0| 74 72 6f 6b 65 20 69 73 | 20 61 20 22 66 75 6e 63 |troke is| a "func|
|00000400| 74 69 6f 6e 22 20 63 61 | 6c 6c 3b 20 68 65 6e 63 |tion" ca|ll; henc|
|00000410| 65 2c 0a 58 74 68 65 72 | 65 20 69 73 20 6e 6f 20 |e,.Xther|e is no |
|00000420| 6e 6f 74 69 6f 6e 20 6f | 66 20 69 6e 70 75 74 20 |notion o|f input |
|00000430| 76 65 72 73 75 73 20 65 | 64 69 74 20 6d 6f 64 65 |versus e|dit mode|
|00000440| 73 2e 20 20 54 68 75 73 | 2c 20 66 6f 72 20 65 78 |s. Thus|, for ex|
|00000450| 61 6d 70 6c 65 2c 20 74 | 68 65 0a 58 6b 65 79 73 |ample, t|he.Xkeys|
|00000460| 74 72 6f 6b 65 20 27 61 | 27 20 69 6e 76 6f 6b 65 |troke 'a|' invoke|
|00000470| 73 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 22 |s the fu|nction "|
|00000480| 69 6e 73 65 72 74 2d 63 | 68 61 72 61 63 74 65 72 |insert-c|haracter|
|00000490| 20 27 61 27 22 2e 20 20 | 41 6c 6c 20 76 69 73 69 | 'a'". |All visi|
|000004a0| 62 6c 65 0a 58 41 53 43 | 49 49 20 28 38 2d 62 69 |ble.XASC|II (8-bi|
|000004b0| 74 29 20 63 68 61 72 61 | 63 74 65 72 73 20 61 72 |t) chara|cters ar|
|000004c0| 65 20 73 65 6c 66 2d 69 | 6e 73 65 72 74 69 6e 67 |e self-i|nserting|
|000004d0| 20 77 68 69 6c 65 20 74 | 68 65 20 6e 6f 6e 2d 76 | while t|he non-v|
|000004e0| 69 73 69 62 6c 65 0a 58 | 28 63 6f 6e 74 72 6f 6c |isible.X|(control|
|000004f0| 29 20 63 68 61 72 61 63 | 74 65 72 73 20 61 72 65 |) charac|ters are|
|00000500| 20 75 73 65 64 20 61 73 | 20 63 6f 6d 6d 61 6e 64 | used as| command|
|00000510| 73 2e 20 0a 58 20 0a 58 | 54 68 65 72 65 20 69 73 |s. .X .X|There is|
|00000520| 20 61 20 74 75 74 6f 72 | 69 61 6c 20 66 69 6c 65 | a tutor|ial file|
|00000530| 20 63 61 6c 6c 65 64 20 | 65 6d 61 63 73 2e 74 75 | called |emacs.tu|
|00000540| 74 20 6f 6e 20 74 68 65 | 20 64 69 73 74 72 69 62 |t on the| distrib|
|00000550| 75 74 69 6f 6e 20 64 69 | 73 6b 2e 20 0a 58 49 74 |ution di|sk. .XIt|
|00000560| 20 6d 69 67 68 74 20 62 | 65 20 75 73 65 66 75 6c | might b|e useful|
|00000570| 20 69 66 20 79 6f 75 20 | 72 65 61 64 20 74 68 69 | if you |read thi|
|00000580| 73 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |s docume|ntation |
|00000590| 61 66 74 65 72 20 67 6f | 69 6e 67 20 74 68 72 6f |after go|ing thro|
|000005a0| 75 67 68 0a 58 74 68 65 | 20 74 75 74 6f 72 69 61 |ugh.Xthe| tutoria|
|000005b0| 6c 2e 20 20 54 6f 20 64 | 6f 20 74 68 69 73 2c 20 |l. To d|o this, |
|000005c0| 74 79 70 65 20 40 62 3c | 65 6d 61 63 73 20 65 6d |type @b<|emacs em|
|000005d0| 61 63 73 2e 74 75 74 3e | 20 77 68 65 6e 20 79 6f |acs.tut>| when yo|
|000005e0| 75 20 67 65 74 20 74 68 | 65 20 44 4f 53 20 70 72 |u get th|e DOS pr|
|000005f0| 6f 6d 70 74 2e 0a 58 54 | 68 69 73 20 77 69 6c 6c |ompt..XT|his will|
|00000600| 20 73 74 61 72 74 20 65 | 6d 61 63 73 2c 20 69 6e | start e|macs, in|
|00000610| 73 74 72 75 63 74 69 6e | 67 20 69 74 20 74 6f 20 |structin|g it to |
|00000620| 72 65 61 64 20 69 6e 20 | 74 68 65 20 66 69 6c 65 |read in |the file|
|00000630| 20 65 6d 61 63 73 2e 74 | 75 74 0a 58 66 72 6f 6d | emacs.t|ut.Xfrom|
|00000640| 20 74 68 65 20 64 65 66 | 61 75 6c 74 20 64 69 73 | the def|ault dis|
|00000650| 6b 20 69 6e 74 6f 20 61 | 20 73 74 61 6e 64 61 72 |k into a| standar|
|00000660| 64 20 62 75 66 66 65 72 | 20 61 6e 64 20 70 75 74 |d buffer| and put|
|00000670| 20 79 6f 75 20 69 6e 74 | 6f 20 69 74 2e 20 20 59 | you int|o it. Y|
|00000680| 6f 75 0a 58 63 61 6e 20 | 74 68 65 6e 20 66 6f 6c |ou.Xcan |then fol|
|00000690| 6c 6f 77 20 74 68 65 20 | 69 6e 73 74 72 75 63 74 |low the |instruct|
|000006a0| 69 6f 6e 73 20 69 6e 20 | 69 74 2e 20 20 40 69 3c |ions in |it. @i<|
|000006b0| 49 6e 20 63 61 73 65 20 | 6f 66 20 74 72 6f 75 62 |In case |of troub|
|000006c0| 6c 65 2c 20 79 6f 75 0a | 58 63 61 6e 20 61 6c 77 |le, you.|Xcan alw|
|000006d0| 61 79 73 20 61 62 6f 72 | 74 20 61 20 63 6f 6d 6d |ays abor|t a comm|
|000006e0| 61 6e 64 20 77 69 74 68 | 20 43 54 52 4c 2d 47 20 |and with| CTRL-G |
|000006f0| 6f 72 20 61 62 6f 72 74 | 20 65 6d 61 63 73 20 77 |or abort| emacs w|
|00000700| 69 74 68 20 43 54 52 4c | 2d 58 20 43 54 52 4c 2d |ith CTRL|-X CTRL-|
|00000710| 43 2e 3e 0a 58 0a 58 20 | 20 20 20 20 54 68 65 20 |C.>.X.X | The |
|00000720| 63 6f 6d 6d 61 6e 64 20 | 73 74 72 75 63 74 75 72 |command |structur|
|00000730| 65 20 6f 66 20 45 4d 41 | 43 53 20 69 73 20 73 69 |e of EMA|CS is si|
|00000740| 6d 70 6c 65 3a 20 63 6f | 6d 6d 61 6e 64 73 20 61 |mple: co|mmands a|
|00000750| 72 65 0a 58 73 69 6e 67 | 6c 65 20 6b 65 79 73 74 |re.Xsing|le keyst|
|00000760| 72 6f 6b 65 2c 20 64 6f | 75 62 6c 65 20 6b 65 79 |roke, do|uble key|
|00000770| 73 74 72 6f 6b 65 2c 20 | 6f 72 20 66 75 6c 6c 20 |stroke, |or full |
|00000780| 63 6f 6d 6d 61 6e 64 2d | 73 70 65 63 2e 20 46 6f |command-|spec. Fo|
|00000790| 72 0a 58 65 66 66 69 63 | 69 65 6e 63 79 2c 20 73 |r.Xeffic|iency, s|
|000007a0| 69 6e 67 6c 65 20 6b 65 | 79 73 74 72 6f 6b 65 20 |ingle ke|ystroke |
|000007b0| 63 6f 6d 6d 61 6e 64 73 | 20 61 72 65 20 74 68 65 |commands| are the|
|000007c0| 20 6d 6f 73 74 20 75 73 | 65 64 2c 20 66 6f 6c 6c | most us|ed, foll|
|000007d0| 6f 77 65 64 0a 58 62 79 | 20 32 2d 6b 65 79 73 74 |owed.Xby| 2-keyst|
|000007e0| 72 6f 6b 65 2c 20 61 6e | 64 20 73 6f 20 6f 6e 2e |roke, an|d so on.|
|000007f0| 0a 58 20 0a 58 20 20 20 | 20 45 76 65 72 79 20 63 |.X .X | Every c|
|00000800| 6f 6d 6d 61 6e 64 20 28 | 77 68 65 72 65 20 69 74 |ommand (|where it|
|00000810| 20 6d 61 6b 65 73 20 73 | 65 6e 73 65 29 20 69 6e | makes s|ense) in|
|00000820| 20 45 4d 41 43 53 20 61 | 6c 6c 6f 77 73 20 66 6f | EMACS a|llows fo|
|00000830| 72 20 61 20 6e 75 6d 65 | 72 69 63 0a 58 61 72 67 |r a nume|ric.Xarg|
|00000840| 75 6d 65 6e 74 20 69 6e | 20 70 72 65 2d 66 69 78 |ument in| pre-fix|
|00000850| 20 6e 6f 74 61 74 69 6f | 6e 2e 20 20 53 69 6e 63 | notatio|n. Sinc|
|00000860| 65 20 64 65 63 69 6d 61 | 6c 20 64 69 67 69 74 73 |e decima|l digits|
|00000870| 20 61 72 65 20 61 6c 73 | 6f 0a 58 73 65 6c 66 2d | are als|o.Xself-|
|00000880| 69 6e 73 65 72 74 69 6e | 67 2c 20 61 72 67 75 6d |insertin|g, argum|
|00000890| 65 6e 74 73 20 61 72 65 | 20 70 61 73 73 65 64 20 |ents are| passed |
|000008a0| 74 6f 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 28 |to the c|ommand (|
|000008b0| 69 6e 63 6c 75 64 69 6e | 67 0a 58 73 65 6c 66 2d |includin|g.Xself-|
|000008c0| 69 6e 73 65 72 74 20 63 | 6f 6d 6d 61 6e 64 73 29 |insert c|ommands)|
|000008d0| 20 74 68 72 6f 75 67 68 | 20 74 77 6f 20 6d 65 63 | through| two mec|
|000008e0| 68 61 6e 69 73 6d 73 2e | 20 20 46 69 72 73 74 2c |hanisms.| First,|
|000008f0| 20 61 6e 20 61 72 62 69 | 74 72 61 72 79 0a 58 6e | an arbi|trary.Xn|
|00000900| 75 6d 65 72 69 63 20 61 | 72 67 75 6d 65 6e 74 20 |umeric a|rgument |
|00000910| 63 61 6e 20 62 65 20 70 | 61 73 73 65 64 20 62 79 |can be p|assed by|
|00000920| 20 45 53 43 20 3c 6e 75 | 6d 62 65 72 3e 20 77 68 | ESC <nu|mber> wh|
|00000930| 65 72 65 20 3c 6e 75 6d | 62 65 72 3e 20 69 73 20 |ere <num|ber> is |
|00000940| 61 0a 58 73 74 61 6e 64 | 61 72 64 20 64 65 63 69 |a.Xstand|ard deci|
|00000950| 6d 61 6c 20 6e 75 6d 62 | 65 72 20 61 6e 64 20 45 |mal numb|er and E|
|00000960| 53 43 20 69 73 20 74 68 | 65 20 45 53 43 61 70 65 |SC is th|e ESCape|
|00000970| 20 63 68 61 72 61 63 74 | 65 72 20 28 63 6f 6e 74 | charact|er (cont|
|00000980| 72 6f 6c 2d 5b 20 6f 72 | 0a 58 74 68 65 20 45 53 |rol-[ or|.Xthe ES|
|00000990| 43 20 6f 6e 20 79 6f 75 | 72 20 6b 65 79 62 6f 61 |C on you|r keyboa|
|000009a0| 72 64 29 2e 20 20 54 68 | 75 73 2c 20 74 68 65 20 |rd). Th|us, the |
|000009b0| 73 65 71 75 65 6e 63 65 | 20 22 65 73 63 20 37 20 |sequence| "esc 7 |
|000009c0| 61 22 20 72 65 73 75 6c | 74 73 20 69 6e 0a 58 61 |a" resul|ts in.Xa|
|000009d0| 61 61 61 61 61 61 61 2e | 20 20 53 65 63 6f 6e 64 |aaaaaaa.| Second|
|000009e0| 2c 20 6e 75 6d 65 72 69 | 63 20 61 72 67 75 6d 65 |, numeri|c argume|
|000009f0| 6e 74 73 20 6f 66 20 70 | 6f 77 65 72 73 20 6f 66 |nts of p|owers of|
|00000a00| 20 34 20 63 61 6e 20 62 | 65 20 70 61 73 73 65 64 | 4 can b|e passed|
|00000a10| 20 62 79 0a 58 70 72 65 | 66 69 78 69 6e 67 20 61 | by.Xpre|fixing a|
|00000a20| 20 63 6f 6d 6d 61 6e 64 | 20 77 69 74 68 20 63 6f | command| with co|
|00000a30| 6e 74 72 6f 6c 2d 55 27 | 73 2e 20 20 45 61 63 68 |ntrol-U'|s. Each|
|00000a40| 20 63 6f 6e 74 72 6f 6c | 2d 55 20 69 6e 63 72 65 | control|-U incre|
|00000a50| 61 73 65 73 20 74 68 65 | 0a 58 70 6f 77 65 72 20 |ases the|.Xpower |
|00000a60| 62 79 20 31 2e 20 20 48 | 65 6e 63 65 20 63 6f 6e |by 1. H|ence con|
|00000a70| 74 72 6f 6c 2d 55 20 6d | 65 61 6e 73 20 34 2c 20 |trol-U m|eans 4, |
|00000a80| 63 6f 6e 74 72 6f 6c 2d | 55 63 6f 6e 74 72 6f 6c |control-|Ucontrol|
|00000a90| 2d 55 20 6d 65 61 6e 73 | 20 31 36 2c 0a 58 63 6f |-U means| 16,.Xco|
|00000aa0| 6e 74 72 6f 6c 2d 55 63 | 6f 6e 74 72 6f 6c 2d 55 |ntrol-Uc|ontrol-U|
|00000ab0| 63 6f 6e 74 72 6f 6c 2d | 55 20 6d 65 61 6e 73 20 |control-|U means |
|00000ac0| 36 34 20 61 6e 64 20 73 | 6f 20 6f 6e 2e 20 20 54 |64 and s|o on. T|
|00000ad0| 68 75 73 2c 0a 58 22 63 | 6f 6e 74 72 6f 6c 2d 55 |hus,.X"c|ontrol-U|
|00000ae0| 63 6f 6e 74 72 6f 6c 2d | 55 61 22 20 79 69 65 6c |control-|Ua" yiel|
|00000af0| 64 73 3a 61 61 61 61 61 | 61 61 61 61 61 61 61 61 |ds:aaaaa|aaaaaaaa|
|00000b00| 61 61 61 2e 20 20 49 66 | 20 61 6e 20 65 78 70 6c |aaa. If| an expl|
|00000b10| 69 63 69 74 20 6e 75 6d | 65 72 69 63 0a 58 61 72 |icit num|eric.Xar|
|00000b20| 67 75 6d 65 6e 74 20 69 | 73 20 6e 6f 74 20 67 69 |gument i|s not gi|
|00000b30| 76 65 6e 2c 20 45 4d 41 | 43 53 20 75 73 65 73 20 |ven, EMA|CS uses |
|00000b40| 31 2e 20 20 4e 6f 74 65 | 20 61 6c 73 6f 20 74 68 |1. Note| also th|
|00000b50| 61 74 20 6e 65 67 61 74 | 69 76 65 20 6e 75 6d 65 |at negat|ive nume|
|00000b60| 72 69 63 0a 58 61 72 67 | 75 6d 65 6e 74 73 20 63 |ric.Xarg|uments c|
|00000b70| 61 6e 20 61 6c 73 6f 20 | 62 65 20 67 69 76 65 6e |an also |be given|
|00000b80| 20 61 6e 64 20 45 4d 41 | 43 53 20 74 72 69 65 73 | and EMA|CS tries|
|00000b90| 20 74 6f 20 62 65 68 61 | 76 65 20 69 6e 74 65 6c | to beha|ve intel|
|00000ba0| 6c 69 67 65 6e 74 6c 79 | 0a 58 61 62 6f 75 74 20 |ligently|.Xabout |
|00000bb0| 74 68 65 6d 2e 20 0a 58 | 20 0a 58 20 20 20 20 20 |them. .X| .X |
|00000bc0| 54 68 65 20 73 74 72 75 | 63 74 75 72 65 20 6f 66 |The stru|cture of|
|00000bd0| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 69 | this do|cument i|
|00000be0| 73 20 66 75 6e 63 74 69 | 6f 6e 61 6c 3a 20 69 2e |s functi|onal: i.|
|00000bf0| 65 2e 2c 20 65 61 63 68 | 0a 58 73 65 63 74 69 6f |e., each|.Xsectio|
|00000c00| 6e 20 69 73 20 64 65 76 | 6f 74 65 64 20 74 6f 20 |n is dev|oted to |
|00000c10| 61 20 73 65 74 20 6f 66 | 20 63 6f 6d 6d 6f 6e 20 |a set of| common |
|00000c20| 61 63 74 69 76 69 74 69 | 65 73 20 73 75 63 68 20 |activiti|es such |
|00000c30| 61 73 20 6d 6f 76 69 6e | 67 0a 58 61 72 6f 75 6e |as movin|g.Xaroun|
|00000c40| 64 2c 20 64 65 6c 65 74 | 69 6e 67 2c 20 63 6f 70 |d, delet|ing, cop|
|00000c50| 79 69 6e 67 20 65 74 63 | 2e 0a 58 40 63 68 61 70 |ying etc|..X@chap|
|00000c60| 74 65 72 28 50 52 45 4c | 49 4d 49 4e 41 52 49 45 |ter(PREL|IMINARIE|
|00000c70| 53 29 0a 58 40 73 65 63 | 74 69 6f 6e 28 52 45 47 |S).X@sec|tion(REG|
|00000c80| 49 4f 4e 20 6f 72 20 50 | 4f 49 4e 54 20 61 6e 64 |ION or P|OINT and|
|00000c90| 20 4d 41 52 4b 29 0a 58 | 0a 58 20 20 20 20 20 41 | MARK).X|.X A|
|00000ca0| 20 72 65 67 69 6f 6e 20 | 69 73 20 61 20 62 6c 6f | region |is a blo|
|00000cb0| 63 6b 20 6f 66 20 74 65 | 78 74 20 74 6f 20 62 65 |ck of te|xt to be|
|00000cc0| 20 61 63 74 65 64 20 75 | 70 6f 6e 20 62 79 20 73 | acted u|pon by s|
|00000cd0| 6f 6d 65 20 45 4d 41 43 | 53 0a 58 63 6f 6d 6d 61 |ome EMAC|S.Xcomma|
|00000ce0| 6e 64 73 2e 20 20 49 74 | 20 69 73 20 64 65 6d 61 |nds. It| is dema|
|00000cf0| 72 63 61 74 65 64 20 62 | 79 20 74 68 65 20 50 4f |rcated b|y the PO|
|00000d00| 49 4e 54 20 6f 6e 20 6f | 6e 65 20 65 6e 64 20 61 |INT on o|ne end a|
|00000d10| 6e 64 20 74 68 65 20 4d | 41 52 4b 20 61 74 0a 58 |nd the M|ARK at.X|
|00000d20| 74 68 65 20 6f 74 68 65 | 72 2e 20 20 54 68 65 20 |the othe|r. The |
|00000d30| 70 6f 69 6e 74 20 69 73 | 20 74 68 65 20 70 72 69 |point is| the pri|
|00000d40| 6d 61 72 79 20 6c 6f 63 | 61 74 69 6f 6e 20 69 64 |mary loc|ation id|
|00000d50| 65 6e 74 69 66 69 65 72 | 20 77 68 65 72 65 20 6d |entifier| where m|
|00000d60| 6f 73 74 0a 58 6f 66 20 | 74 68 65 20 61 63 74 69 |ost.Xof |the acti|
|00000d70| 6f 6e 20 74 61 6b 65 73 | 20 70 6c 61 63 65 20 61 |on takes| place a|
|00000d80| 6e 64 20 69 73 20 61 6c | 77 61 79 73 20 40 69 28 |nd is al|ways @i(|
|00000d90| 62 65 74 77 65 65 6e 29 | 20 74 77 6f 20 63 68 61 |between)| two cha|
|00000da0| 72 61 63 74 65 72 73 2e | 20 0a 58 54 68 65 20 70 |racters.| .XThe p|
|00000db0| 6f 69 6e 74 20 69 73 20 | 69 6e 64 69 63 61 74 65 |oint is |indicate|
|00000dc0| 64 20 62 79 20 74 68 65 | 20 63 75 72 73 6f 72 20 |d by the| cursor |
|00000dd0| 70 6f 73 69 74 69 6f 6e | 20 69 6e 20 74 68 61 74 |position| in that|
|00000de0| 20 69 74 20 69 73 20 6a | 75 73 74 0a 58 62 65 68 | it is j|ust.Xbeh|
|00000df0| 69 6e 64 20 74 68 65 20 | 63 75 72 73 6f 72 2e 20 |ind the |cursor. |
|00000e00| 20 54 68 65 20 70 6f 69 | 6e 74 20 69 73 20 61 6c | The poi|nt is al|
|00000e10| 73 6f 20 73 69 67 6e 69 | 66 69 63 61 6e 74 20 69 |so signi|ficant i|
|00000e20| 6e 20 74 68 61 74 20 69 | 74 20 64 65 66 69 6e 65 |n that i|t define|
|00000e30| 73 0a 58 6f 6e 65 20 65 | 6e 64 20 6f 66 20 74 68 |s.Xone e|nd of th|
|00000e40| 65 20 72 65 67 69 6f 6e | 2e 20 20 54 68 65 20 6d |e region|. The m|
|00000e50| 61 72 6b 2c 20 6f 6e 20 | 74 68 65 20 6f 74 68 65 |ark, on |the othe|
|00000e60| 72 20 68 61 6e 64 2c 20 | 69 73 20 69 6e 76 69 73 |r hand, |is invis|
|00000e70| 69 62 6c 65 2c 0a 58 61 | 6e 64 20 69 73 20 75 73 |ible,.Xa|nd is us|
|00000e80| 65 64 20 74 6f 20 64 65 | 6d 61 72 63 61 74 65 20 |ed to de|marcate |
|00000e90| 74 68 65 20 6f 74 68 65 | 72 20 65 6e 64 20 6f 66 |the othe|r end of|
|00000ea0| 20 74 68 65 20 72 65 67 | 69 6f 6e 28 20 73 65 65 | the reg|ion( see|
|00000eb0| 20 73 65 63 74 69 6f 6e | 0a 58 40 72 65 66 28 72 | section|.X@ref(r|
|00000ec0| 65 67 6d 6f 76 29 20 6f | 72 2c 20 74 6f 20 70 65 |egmov) o|r, to pe|
|00000ed0| 65 6b 20 61 68 65 61 64 | 2c 20 6f 6e 65 20 64 65 |ek ahead|, one de|
|00000ee0| 6e 6f 74 65 73 20 74 68 | 65 20 6d 61 72 6b 20 62 |notes th|e mark b|
|00000ef0| 79 20 65 73 63 61 70 65 | 20 2e 29 2e 20 0a 58 20 |y escape| .). .X |
|00000f00| 0a 58 40 73 65 63 74 69 | 6f 6e 28 42 55 46 46 45 |.X@secti|on(BUFFE|
|00000f10| 52 53 29 0a 58 20 0a 58 | 20 20 20 20 20 42 75 66 |RS).X .X| Buf|
|00000f20| 66 65 72 73 20 61 72 65 | 20 72 65 67 69 6f 6e 73 |fers are| regions|
|00000f30| 20 6f 66 20 6d 65 6d 6f | 72 79 20 77 68 69 63 68 | of memo|ry which|
|00000f40| 20 61 72 65 20 74 68 65 | 20 70 72 69 6d 61 72 79 | are the| primary|
|00000f50| 20 75 6e 69 74 73 20 69 | 6e 74 65 72 6e 61 6c 0a | units i|nternal.|
|00000f60| 58 74 6f 20 45 4d 41 43 | 53 20 61 6e 64 20 77 68 |Xto EMAC|S and wh|
|00000f70| 65 72 65 20 45 4d 41 43 | 53 20 64 6f 65 73 20 69 |ere EMAC|S does i|
|00000f80| 74 73 20 77 6f 72 6b 2e | 20 54 68 75 73 2c 20 61 |ts work.| Thus, a|
|00000f90| 20 66 69 6c 65 20 62 65 | 69 6e 67 20 65 64 69 74 | file be|ing edit|
|00000fa0| 65 64 0a 58 69 73 20 6c | 6f 63 61 74 65 64 20 69 |ed.Xis l|ocated i|
|00000fb0| 6e 20 61 20 62 75 66 66 | 65 72 2e 20 4f 6e 65 20 |n a buff|er. One |
|00000fc0| 63 61 6e 20 68 61 76 65 | 20 6d 75 6c 74 69 70 6c |can have| multipl|
|00000fd0| 65 20 62 75 66 66 65 72 | 73 2c 20 65 61 63 68 20 |e buffer|s, each |
|00000fe0| 77 69 74 68 0a 58 61 20 | 75 6e 69 71 75 65 20 6e |with.Xa |unique n|
|00000ff0| 61 6d 65 2c 20 65 61 63 | 68 20 6f 66 20 77 68 69 |ame, eac|h of whi|
|00001000| 63 68 20 63 61 6e 20 63 | 6f 6e 74 61 69 6e 20 61 |ch can c|ontain a|
|00001010| 20 66 69 6c 65 20 74 6f | 20 62 65 20 77 6f 72 6b | file to| be work|
|00001020| 65 64 0a 58 75 70 6f 6e | 2e 20 20 54 68 65 20 4b |ed.Xupon|. The K|
|00001030| 49 4c 4c 20 62 75 66 66 | 65 72 20 69 73 20 61 20 |ILL buff|er is a |
|00001040| 76 65 72 79 20 73 70 65 | 63 69 61 6c 20 62 75 66 |very spe|cial buf|
|00001050| 66 65 72 20 74 68 61 74 | 20 69 73 20 61 6c 77 61 |fer that| is alwa|
|00001060| 79 73 20 61 72 6f 75 6e | 64 0a 58 61 6e 64 20 77 |ys aroun|d.Xand w|
|00001070| 68 69 63 68 20 68 6f 6c | 64 73 20 6c 61 72 67 65 |hich hol|ds large|
|00001080| 20 70 69 65 63 65 73 20 | 6f 66 20 64 65 6c 65 74 | pieces |of delet|
|00001090| 65 64 20 74 65 78 74 2e | 20 20 57 68 69 6c 65 20 |ed text.| While |
|000010a0| 79 6f 75 20 63 61 6e 6e | 6f 74 0a 58 64 69 72 65 |you cann|ot.Xdire|
|000010b0| 63 74 6c 79 20 77 6f 72 | 6b 20 77 69 74 68 20 74 |ctly wor|k with t|
|000010c0| 68 65 20 62 75 66 66 65 | 72 2c 20 79 6f 75 20 75 |he buffe|r, you u|
|000010d0| 73 65 20 69 74 20 69 6e | 64 69 72 65 63 74 6c 79 |se it in|directly|
|000010e0| 20 69 6e 20 63 6f 70 79 | 69 6e 67 2f 6d 6f 76 69 | in copy|ing/movi|
|000010f0| 6e 67 0a 58 74 65 78 74 | 20 73 65 67 6d 65 6e 74 |ng.Xtext| segment|
|00001100| 73 2e 0a 58 0a 58 40 73 | 65 63 74 69 6f 6e 28 4d |s..X.X@s|ection(M|
|00001110| 4f 44 45 29 0a 58 20 0a | 58 20 20 20 20 20 41 6e |ODE).X .|X An|
|00001120| 20 45 4d 41 43 53 20 6d | 6f 64 65 20 73 70 65 63 | EMACS m|ode spec|
|00001130| 69 66 69 65 73 20 74 68 | 65 20 67 65 6e 65 72 61 |ifies th|e genera|
|00001140| 6c 20 66 61 73 68 69 6f | 6e 20 69 6e 20 77 68 69 |l fashio|n in whi|
|00001150| 63 68 20 45 4d 41 43 53 | 0a 58 64 65 61 6c 73 20 |ch EMACS|.Xdeals |
|00001160| 77 69 74 68 20 75 73 65 | 72 20 69 6e 70 75 74 2e |with use|r input.|
|00001170| 20 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 68 | For ex|ample, h|
|00001180| 6f 77 20 73 68 6f 75 6c | 64 20 45 4d 41 43 53 20 |ow shoul|d EMACS |
|00001190| 64 65 61 6c 20 77 69 74 | 68 20 6c 6f 6e 67 0a 58 |deal wit|h long.X|
|000011a0| 6c 69 6e 65 73 20 28 3e | 20 37 39 20 63 68 61 72 |lines (>| 79 char|
|000011b0| 61 63 74 65 72 73 29 3f | 20 54 68 65 20 6d 6f 64 |acters)?| The mod|
|000011c0| 65 20 69 73 20 61 73 73 | 6f 63 69 61 74 65 64 20 |e is ass|ociated |
|000011d0| 77 69 74 68 20 74 68 65 | 20 62 75 66 66 65 72 20 |with the| buffer |
|000011e0| 61 6e 64 0a 58 6e 6f 74 | 20 74 68 65 20 66 69 6c |and.Xnot| the fil|
|000011f0| 65 2e 20 20 48 65 6e 63 | 65 2c 20 74 68 65 20 6d |e. Henc|e, the m|
|00001200| 6f 64 65 20 68 61 73 20 | 74 6f 20 62 65 20 65 78 |ode has |to be ex|
|00001210| 70 6c 69 63 69 74 6c 79 | 20 73 65 74 20 28 6f 72 |plicitly| set (or|
|00001220| 20 72 65 6d 6f 76 65 64 | 29 0a 58 65 61 63 68 20 | removed|).Xeach |
|00001230| 74 69 6d 65 20 74 68 65 | 20 66 69 6c 65 20 69 73 |time the| file is|
|00001240| 20 74 6f 20 62 65 20 65 | 64 69 74 65 64 2e 20 20 | to be e|dited. |
|00001250| 48 6f 77 65 76 65 72 2c | 20 73 69 6e 63 65 20 74 |However,| since t|
|00001260| 68 65 20 6d 6f 64 65 20 | 69 73 0a 58 61 73 73 6f |he mode |is.Xasso|
|00001270| 63 69 61 74 65 64 20 77 | 69 74 68 20 74 68 65 20 |ciated w|ith the |
|00001280| 62 75 66 66 65 72 2c 20 | 61 20 6e 65 77 20 66 69 |buffer, |a new fi|
|00001290| 6c 65 20 72 65 61 64 20 | 69 6e 74 6f 20 74 68 65 |le read |into the|
|000012a0| 20 62 75 66 66 65 72 20 | 77 69 6c 6c 20 62 65 0a | buffer |will be.|
|000012b0| 58 65 64 69 74 65 64 20 | 77 69 74 68 20 74 68 65 |Xedited |with the|
|000012c0| 20 70 72 65 76 69 6f 75 | 73 6c 79 20 73 70 65 63 | previou|sly spec|
|000012d0| 69 66 69 65 64 20 6d 6f | 64 65 2e 20 20 41 6c 73 |ified mo|de. Als|
|000012e0| 6f 2c 20 73 74 61 6e 64 | 61 72 64 20 28 64 65 66 |o, stand|ard (def|
|000012f0| 61 75 6c 74 29 0a 58 6d | 6f 64 65 73 20 63 61 6e |ault).Xm|odes can|
|00001300| 20 62 65 20 73 65 74 20 | 66 6f 72 20 61 6c 6c 20 | be set |for all |
|00001310| 62 75 66 66 65 72 73 20 | 77 68 65 6e 20 45 4d 41 |buffers |when EMA|
|00001320| 43 53 20 69 73 20 66 69 | 72 73 74 20 73 74 61 72 |CS is fi|rst star|
|00001330| 74 65 64 2e 20 20 28 53 | 65 65 0a 58 40 72 65 66 |ted. (S|ee.X@ref|
|00001340| 28 6d 6f 64 65 73 29 20 | 66 6f 72 20 6d 6f 72 65 |(modes) |for more|
|00001350| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 66 20 | informa|tion of |
|00001360| 6d 6f 64 65 73 2e 29 0a | 58 20 0a 58 40 73 65 63 |modes.).|X .X@sec|
|00001370| 74 69 6f 6e 28 57 49 4e | 44 4f 57 53 29 0a 58 20 |tion(WIN|DOWS).X |
|00001380| 0a 58 20 20 20 20 20 57 | 69 6e 64 6f 77 73 20 61 |.X W|indows a|
|00001390| 72 65 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 70 |re the v|isible p|
|000013a0| 6f 72 74 69 6f 6e 73 20 | 6f 66 20 62 75 66 66 65 |ortions |of buffe|
|000013b0| 72 73 2e 20 45 4d 41 43 | 53 20 61 6c 6c 6f 77 73 |rs. EMAC|S allows|
|000013c0| 20 61 73 0a 58 6d 61 6e | 79 20 77 69 6e 64 6f 77 | as.Xman|y window|
|000013d0| 73 20 6f 6e 20 74 68 65 | 20 73 63 72 65 65 6e 20 |s on the| screen |
|000013e0| 61 73 20 63 61 6e 20 66 | 69 74 2e 20 53 69 6e 63 |as can f|it. Sinc|
|000013f0| 65 20 77 69 6e 64 6f 77 | 73 20 61 72 65 20 73 63 |e window|s are sc|
|00001400| 72 65 65 6e 0a 58 6f 62 | 6a 65 63 74 73 2c 20 74 |reen.Xob|jects, t|
|00001410| 68 65 20 72 65 6c 61 74 | 69 6f 6e 73 68 69 70 20 |he relat|ionship |
|00001420| 6f 66 20 77 69 6e 64 6f | 77 73 20 74 6f 20 62 75 |of windo|ws to bu|
|00001430| 66 66 65 72 73 20 63 61 | 6e 20 62 65 0a 58 6d 61 |ffers ca|n be.Xma|
|00001440| 6e 79 2d 74 6f 2d 6f 6e | 65 2e 20 54 68 61 74 20 |ny-to-on|e. That |
|00001450| 69 73 2c 20 6f 6e 65 20 | 63 61 6e 20 68 61 76 65 |is, one |can have|
|00001460| 20 6d 61 6e 79 20 77 69 | 6e 64 6f 77 73 20 70 65 | many wi|ndows pe|
|00001470| 72 20 62 75 66 66 65 72 | 20 6f 72 20 61 0a 58 65 |r buffer| or a.Xe|
|00001480| 61 63 68 20 77 69 6e 64 | 6f 77 20 63 6f 75 6c 64 |ach wind|ow could|
|00001490| 20 62 65 20 69 6e 74 6f | 20 61 20 64 69 66 66 65 | be into| a diffe|
|000014a0| 72 65 6e 74 20 62 75 66 | 66 65 72 2e 0a 58 20 0a |rent buf|fer..X .|
|000014b0| 58 40 73 65 63 74 69 6f | 6e 28 53 43 52 45 45 4e |X@sectio|n(SCREEN|
|000014c0| 29 0a 58 20 0a 58 20 20 | 20 20 20 54 68 65 20 73 |).X .X | The s|
|000014d0| 63 72 65 65 6e 20 69 73 | 20 75 73 75 61 6c 6c 79 |creen is| usually|
|000014e0| 20 74 68 65 20 32 34 20 | 72 6f 77 20 62 79 20 38 | the 24 |row by 8|
|000014f0| 30 20 63 6f 6c 75 6d 6e | 20 73 65 63 74 69 6f 6e |0 column| section|
|00001500| 20 6f 66 20 74 68 65 0a | 58 70 68 79 73 69 63 61 | of the.|Xphysica|
|00001510| 6c 20 73 63 72 65 65 6e | 20 74 68 61 74 20 69 73 |l screen| that is|
|00001520| 20 61 76 61 69 6c 61 62 | 6c 65 20 74 6f 20 45 4d | availab|le to EM|
|00001530| 41 43 53 2e 20 20 54 68 | 65 20 66 6f 72 6d 61 74 |ACS. Th|e format|
|00001540| 20 69 73 20 61 73 0a 58 | 66 6f 6c 6c 6f 77 73 2e | is as.X|follows.|
|00001550| 20 20 54 68 65 20 32 34 | 74 68 20 72 6f 77 20 28 | The 24|th row (|
|00001560| 74 68 65 20 62 6f 74 74 | 6f 6d 20 6c 69 6e 65 29 |the bott|om line)|
|00001570| 20 69 73 20 67 65 6e 65 | 72 61 6c 6c 79 20 63 6c | is gene|rally cl|
|00001580| 65 61 72 2e 20 20 49 74 | 20 69 73 0a 58 75 73 65 |ear. It| is.Xuse|
|00001590| 64 20 66 6f 72 20 45 4d | 41 43 53 20 70 72 6f 6d |d for EM|ACS prom|
|000015a0| 70 74 73 2c 20 75 73 65 | 72 20 72 65 73 70 6f 6e |pts, use|r respon|
|000015b0| 73 65 73 2c 20 61 6e 64 | 20 45 4d 41 43 53 20 6d |ses, and| EMACS m|
|000015c0| 65 73 73 61 67 65 73 2e | 20 20 54 68 65 0a 58 72 |essages.| The.Xr|
|000015d0| 65 6d 61 69 6e 64 65 72 | 20 6f 66 20 74 68 65 20 |emainder| of the |
|000015e0| 73 63 72 65 65 6e 20 28 | 32 33 20 72 6f 77 73 29 |screen (|23 rows)|
|000015f0| 20 69 73 20 6c 65 66 74 | 20 66 6f 72 20 74 65 78 | is left| for tex|
|00001600| 74 20 64 69 73 70 6c 61 | 79 2e 20 20 46 6f 72 0a |t displa|y. For.|
|00001610| 58 65 61 63 68 20 77 69 | 6e 64 6f 77 20 74 68 61 |Xeach wi|ndow tha|
|00001620| 74 20 69 73 20 6f 70 65 | 6e 20 6f 6e 20 74 68 65 |t is ope|n on the|
|00001630| 20 73 63 72 65 65 6e 2c | 20 74 68 65 20 62 6f 74 | screen,| the bot|
|00001640| 74 6f 6d 20 6c 69 6e 65 | 20 69 73 20 75 73 65 64 |tom line| is used|
|00001650| 20 74 6f 0a 58 70 72 6f | 76 69 64 65 20 69 6e 66 | to.Xpro|vide inf|
|00001660| 6f 72 6d 61 74 69 6f 6e | 20 74 6f 20 74 68 65 20 |ormation| to the |
|00001670| 75 73 65 72 2e 20 20 53 | 74 61 72 74 69 6e 67 20 |user. S|tarting |
|00001680| 77 69 74 68 20 74 68 65 | 20 70 72 6f 67 72 61 6d |with the| program|
|00001690| 27 73 20 6e 61 6d 65 0a | 58 61 6e 64 20 76 65 72 |'s name.|Xand ver|
|000016a0| 73 69 6f 6e 20 6e 75 6d | 62 65 72 2c 20 69 74 20 |sion num|ber, it |
|000016b0| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 62 75 66 |contains| the buf|
|000016c0| 66 65 72 20 6d 6f 64 65 | 28 73 29 20 69 6e 20 70 |fer mode|(s) in p|
|000016d0| 61 72 65 6e 74 68 65 73 | 69 73 2c 0a 58 74 68 65 |arenthes|is,.Xthe|
|000016e0| 20 62 75 66 66 65 72 20 | 6e 61 6d 65 20 61 6e 64 | buffer |name and|
|000016f0| 2c 20 66 69 6e 61 6c 6c | 79 2c 20 74 68 65 20 66 |, finall|y, the f|
|00001700| 69 6c 65 20 6e 61 6d 65 | 20 61 73 73 6f 63 69 61 |ile name| associa|
|00001710| 74 65 64 20 77 69 74 68 | 20 74 68 65 72 65 66 0a |ted with| theref.|
|00001720| 58 62 75 66 66 65 72 20 | 69 66 20 74 68 65 72 65 |Xbuffer |if there|
|00001730| 20 69 73 20 6f 6e 65 20 | 73 6f 20 61 73 73 6f 63 | is one |so assoc|
|00001740| 69 61 74 65 64 2e 20 0a | 58 20 0a 58 40 73 65 63 |iated. .|X .X@sec|
|00001750| 74 69 6f 6e 28 4f 42 4a | 45 43 54 53 29 0a 58 20 |tion(OBJ|ECTS).X |
|00001760| 0a 58 20 20 20 20 20 4f | 62 6a 65 63 74 73 20 61 |.X O|bjects a|
|00001770| 72 65 20 74 68 65 20 65 | 6e 74 69 74 69 65 73 20 |re the e|ntities |
|00001780| 75 70 6f 6e 20 77 68 69 | 63 68 20 63 6f 6d 6d 61 |upon whi|ch comma|
|00001790| 6e 64 73 20 77 69 6c 6c | 20 6f 70 65 72 61 74 65 |nds will| operate|
|000017a0| 2e 20 54 68 65 20 6d 6f | 73 74 0a 58 63 6f 6d 6d |. The mo|st.Xcomm|
|000017b0| 6f 6e 20 6f 62 6a 65 63 | 74 20 69 73 20 74 68 65 |on objec|t is the|
|000017c0| 20 63 68 61 72 61 63 74 | 65 72 2e 20 4f 74 68 65 | charact|er. Othe|
|000017d0| 72 20 6f 62 6a 65 63 74 | 73 20 61 72 65 3a 20 77 |r object|s are: w|
|000017e0| 6f 72 64 73 2c 20 6c 69 | 6e 65 73 2c 20 73 65 6e |ords, li|nes, sen|
|000017f0| 74 65 6e 63 65 73 2c 0a | 58 70 61 72 61 67 72 61 |tences,.|Xparagra|
|00001800| 70 68 73 2c 20 73 63 72 | 65 65 6e 73 2c 20 72 65 |phs, scr|eens, re|
|00001810| 67 69 6f 6e 73 2c 20 61 | 6e 64 20 66 69 6c 65 73 |gions, a|nd files|
|00001820| 2e 0a 58 20 0a 58 40 73 | 65 63 74 69 6f 6e 28 4e |..X .X@s|ection(N|
|00001830| 4f 54 41 54 49 4f 4e 29 | 0a 58 20 0a 58 20 20 20 |OTATION)|.X .X |
|00001840| 20 20 20 53 74 61 6e 64 | 61 72 64 20 76 69 73 69 | Stand|ard visi|
|00001850| 62 6c 65 20 63 68 61 72 | 61 63 74 65 72 73 20 61 |ble char|acters a|
|00001860| 72 65 20 73 68 6f 77 6e | 20 6e 6f 72 6d 61 6c 6c |re shown| normall|
|00001870| 79 2e 20 20 43 6f 6e 74 | 72 6f 6c 20 63 68 61 72 |y. Cont|rol char|
|00001880| 61 63 74 65 73 0a 58 28 | 74 68 65 20 73 6f 2d 63 |actes.X(|the so-c|
|00001890| 61 6c 6c 65 64 20 6e 6f | 6e 2d 70 72 69 6e 74 69 |alled no|n-printi|
|000018a0| 6e 67 20 63 68 61 72 61 | 63 74 65 72 73 29 20 61 |ng chara|cters) a|
|000018b0| 72 65 20 73 68 6f 77 6e | 20 70 72 65 66 69 78 65 |re shown| prefixe|
|000018c0| 64 20 62 79 20 61 20 40 | 62 28 5e 29 0a 58 65 2e |d by a @|b(^).Xe.|
|000018d0| 67 2e 2c 20 63 6f 6e 74 | 72 6f 6c 2d 41 20 61 73 |g., cont|rol-A as|
|000018e0| 20 5e 41 2e 20 20 4e 4f | 54 45 3a 20 69 6e 20 38 | ^A. NO|TE: in 8|
|000018f0| 2d 62 69 74 20 41 53 43 | 49 49 20 74 68 65 72 65 |-bit ASC|II there|
|00001900| 20 61 72 65 20 33 32 20 | 6e 6f 6e 2d 70 72 69 6e | are 32 |non-prin|
|00001910| 74 69 6e 67 0a 58 63 68 | 61 72 61 63 74 65 72 73 |ting.Xch|aracters|
|00001920| 3a 20 40 63 65 6e 74 65 | 72 3c 5e 40 20 5e 41 2e |: @cente|r<^@ ^A.|
|00001930| 2e 5e 5a 20 5e 5b 20 5e | 5c 20 5e 5d 20 5e 5e 20 |.^Z ^[ ^|\ ^] ^^ |
|00001940| 5e 5f 3e 0a 58 0a 58 09 | 43 6f 6e 74 72 6f 6c 20 |^_>.X.X.|Control |
|00001950| 63 68 61 72 61 63 74 65 | 72 73 20 61 72 65 20 63 |characte|rs are c|
|00001960| 61 73 65 20 69 6e 64 65 | 70 65 6e 64 65 6e 74 3b |ase inde|pendent;|
|00001970| 20 69 2e 65 2e 2c 20 5e | 41 20 69 73 20 74 68 65 | i.e., ^|A is the|
|00001980| 20 73 61 6d 65 20 61 73 | 0a 58 5e 61 2e 20 20 46 | same as|.X^a. F|
|00001990| 75 72 74 68 65 72 2c 20 | 74 68 65 20 65 73 63 61 |urther, |the esca|
|000019a0| 70 65 20 6b 65 79 20 77 | 68 69 63 68 2c 20 74 65 |pe key w|hich, te|
|000019b0| 63 68 6e 69 63 61 6c 6c | 79 2c 20 69 73 20 5e 5b |chnicall|y, is ^[|
|000019c0| 20 69 73 20 64 65 6e 6f | 74 65 64 20 62 79 0a 58 | is deno|ted by.X|
|000019d0| 45 53 43 3b 20 6d 6f 73 | 74 20 6b 65 79 62 6f 61 |ESC; mos|t keyboa|
|000019e0| 72 64 73 20 68 61 76 65 | 20 61 20 73 70 65 63 69 |rds have| a speci|
|000019f0| 61 6c 20 6b 65 79 20 6d | 61 72 6b 65 64 20 45 53 |al key m|arked ES|
|00001a00| 43 2e 20 20 49 6e 20 74 | 77 6f 2d 6b 65 79 73 74 |C. In t|wo-keyst|
|00001a10| 72 6f 6b 65 0a 58 63 6f | 6d 6d 61 6e 64 73 2c 20 |roke.Xco|mmands, |
|00001a20| 74 68 65 20 69 6e 74 65 | 72 76 65 6e 69 6e 67 20 |the inte|rvening |
|00001a30| 62 6c 61 6e 6b 20 73 70 | 61 63 65 20 73 68 6f 77 |blank sp|ace show|
|00001a40| 6e 20 69 73 20 66 6f 72 | 20 63 6c 61 72 69 74 79 |n is for| clarity|
|00001a50| 20 61 6e 64 20 73 68 6f | 75 6c 64 0a 58 6e 6f 74 | and sho|uld.Xnot|
|00001a60| 20 62 65 20 74 79 70 65 | 64 2e 20 20 50 61 72 61 | be type|d. Para|
|00001a70| 6d 65 74 65 72 73 20 74 | 6f 20 62 65 20 73 75 70 |meters t|o be sup|
|00001a80| 70 6c 69 65 64 20 62 79 | 20 79 6f 75 20 61 72 65 |plied by| you are|
|00001a90| 20 69 6e 64 69 63 61 74 | 65 64 20 61 73 0a 58 5b | indicat|ed as.X[|
|00001aa0| 70 61 72 61 6d 65 74 65 | 72 2d 74 79 70 65 5d 2e |paramete|r-type].|
|00001ab0| 20 20 46 69 6e 61 6c 6c | 79 2c 20 73 70 65 63 69 | Finall|y, speci|
|00001ac0| 61 6c 20 6b 65 79 73 20 | 61 72 65 20 64 65 6e 6f |al keys |are deno|
|00001ad0| 74 65 64 20 62 79 20 3c | 6b 65 79 2d 6e 61 6d 65 |ted by <|key-name|
|00001ae0| 3e 2e 20 0a 58 20 0a 58 | 40 73 65 63 74 69 6f 6e |>. .X .X|@section|
|00001af0| 28 47 45 54 54 49 4e 47 | 20 53 54 41 52 54 45 44 |(GETTING| STARTED|
|00001b00| 29 0a 58 0a 58 09 54 6f | 20 73 74 61 72 74 20 75 |).X.X.To| start u|
|00001b10| 73 69 6e 67 20 45 4d 41 | 43 53 2c 20 6a 75 73 74 |sing EMA|CS, just|
|00001b20| 20 74 79 70 65 20 40 62 | 28 45 4d 41 43 53 20 5b | type @b|(EMACS [|
|00001b30| 66 69 6c 65 6e 61 6d 65 | 5d 29 20 28 77 68 65 72 |filename|]) (wher|
|00001b40| 65 0a 58 5b 66 69 6c 65 | 6e 61 6d 65 5d 20 69 73 |e.X[file|name] is|
|00001b50| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00001b60| 20 66 69 6c 65 20 79 6f | 75 20 77 69 73 68 20 74 | file yo|u wish t|
|00001b70| 6f 20 65 64 69 74 29 20 | 66 72 6f 6d 20 79 6f 75 |o edit) |from you|
|00001b80| 72 20 6f 70 65 72 61 74 | 69 6e 67 0a 58 73 79 73 |r operat|ing.Xsys|
|00001b90| 74 65 6d 27 73 20 63 6f | 6d 6d 61 6e 64 20 70 72 |tem's co|mmand pr|
|00001ba0| 6f 6d 70 74 2e 20 20 54 | 68 69 73 20 77 69 6c 6c |ompt. T|his will|
|00001bb0| 20 62 72 69 6e 67 20 75 | 70 20 45 4d 41 43 53 20 | bring u|p EMACS |
|00001bc0| 61 6e 64 20 72 65 61 64 | 20 69 6e 20 74 68 65 20 |and read| in the |
|00001bd0| 66 69 6c 65 0a 58 79 6f | 75 20 77 69 73 68 20 74 |file.Xyo|u wish t|
|00001be0| 6f 20 65 64 69 74 2e 20 | 20 28 40 69 5b 49 66 20 |o edit. | (@i[If |
|00001bf0| 79 6f 75 20 61 72 65 20 | 75 73 69 6e 67 20 45 4d |you are |using EM|
|00001c00| 41 43 53 20 66 6f 72 20 | 74 68 65 20 66 69 72 73 |ACS for |the firs|
|00001c10| 74 20 74 69 6d 65 20 6f | 6e 65 0a 58 79 6f 75 72 |t time o|ne.Xyour|
|00001c20| 20 6d 61 63 68 69 6e 65 | 2c 20 72 65 61 64 20 40 | machine|, read @|
|00001c30| 72 65 66 3c 69 6e 73 74 | 61 6c 6c 3e 20 74 6f 20 |ref<inst|all> to |
|00001c40| 6c 65 61 72 6e 20 68 6f | 77 20 74 6f 20 69 6e 73 |learn ho|w to ins|
|00001c50| 74 61 6c 6c 20 45 4d 41 | 43 53 20 6f 6e 20 79 6f |tall EMA|CS on yo|
|00001c60| 75 72 0a 58 6d 61 63 68 | 69 6e 65 5d 29 2e 0a 58 |ur.Xmach|ine])..X|
|00001c70| 0a 58 40 63 68 61 70 74 | 65 72 28 49 4e 53 45 52 |.X@chapt|er(INSER|
|00001c80| 54 49 4e 47 20 54 45 58 | 54 29 0a 58 20 0a 58 20 |TING TEX|T).X .X |
|00001c90| 20 20 20 41 6c 6c 20 73 | 74 61 6e 64 61 72 64 20 | All s|tandard |
|00001ca0| 22 70 72 69 6e 74 61 62 | 6c 65 22 20 41 53 43 49 |"printab|le" ASCI|
|00001cb0| 49 20 63 68 61 72 61 63 | 74 65 72 73 20 61 72 65 |I charac|ters are|
|00001cc0| 20 73 65 6c 66 2d 69 6e | 73 65 72 74 69 6e 67 2e | self-in|serting.|
|00001cd0| 20 20 54 68 69 73 0a 58 | 6d 65 61 6e 73 20 66 6f | This.X|means fo|
|00001ce0| 72 20 74 68 6f 73 65 20 | 6f 66 20 79 6f 75 20 77 |r those |of you w|
|00001cf0| 68 6f 20 68 61 76 65 20 | 22 65 78 74 65 6e 64 65 |ho have |"extende|
|00001d00| 64 22 20 63 68 61 72 61 | 63 74 65 72 73 20 28 41 |d" chara|cters (A|
|00001d10| 53 43 49 49 20 31 32 38 | 2d 32 35 35 29 0a 58 79 |SCII 128|-255).Xy|
|00001d20| 6f 75 20 63 61 6e 20 74 | 79 70 65 20 74 68 65 73 |ou can t|ype thes|
|00001d30| 65 20 69 6e 20 6a 75 73 | 74 20 61 73 20 79 6f 75 |e in jus|t as you|
|00001d40| 20 61 6e 79 20 6f 74 68 | 65 72 20 63 68 61 72 61 | any oth|er chara|
|00001d50| 63 74 65 72 2e 20 20 46 | 6f 72 20 65 78 61 6d 70 |cter. F|or examp|
|00001d60| 6c 65 2c 20 6f 6e 0a 58 | 74 68 65 20 49 42 4d 2d |le, on.X|the IBM-|
|00001d70| 50 43 2c 20 6b 65 65 70 | 69 6e 67 20 74 68 65 20 |PC, keep|ing the |
|00001d80| 3c 41 6c 74 3e 20 6b 65 | 79 20 70 72 65 73 73 65 |<Alt> ke|y presse|
|00001d90| 64 20 64 6f 77 6e 20 77 | 68 69 6c 65 20 74 79 70 |d down w|hile typ|
|00001da0| 69 6e 67 20 69 6e 20 61 | 6e 6f 74 68 65 72 0a 58 |ing in a|nother.X|
|00001db0| 6b 65 79 20 73 65 71 75 | 65 6e 63 65 20 77 69 6c |key sequ|ence wil|
|00001dc0| 6c 20 67 69 76 65 20 79 | 6f 75 20 74 68 65 20 22 |l give y|ou the "|
|00001dd0| 65 78 74 65 6e 64 65 64 | 22 20 63 68 61 72 61 63 |extended|" charac|
|00001de0| 74 65 72 2e 20 20 57 69 | 74 68 20 74 68 65 20 66 |ter. Wi|th the f|
|00001df0| 6f 6c 6c 6f 77 69 6e 67 | 0a 58 65 78 63 65 70 74 |ollowing|.Xexcept|
|00001e00| 69 6f 6e 73 2c 20 61 6c | 6c 20 6f 74 68 65 72 20 |ions, al|l other |
|00001e10| 6e 6f 6e 2d 70 72 69 6e | 74 69 6e 67 20 63 68 61 |non-prin|ting cha|
|00001e20| 72 61 63 74 65 72 73 20 | 61 72 65 20 63 6f 6d 6d |racters |are comm|
|00001e30| 61 6e 64 73 3a 0a 58 20 | 0a 58 40 62 65 67 69 6e |ands:.X |.X@begin|
|00001e40| 28 64 65 73 63 72 69 70 | 74 69 6f 6e 29 0a 58 5e |(descrip|tion).X^|
|00001e50| 49 20 28 6f 72 20 3c 54 | 41 42 3e 29 40 2f 48 61 |I (or <T|AB>)@/Ha|
|00001e60| 6e 64 6c 65 2d 54 61 62 | 3a 20 69 6e 73 65 72 74 |ndle-Tab|: insert|
|00001e70| 73 20 74 68 65 20 74 61 | 62 20 63 68 61 72 61 63 |s the ta|b charac|
|00001e80| 74 65 72 20 6f 72 20 20 | 73 70 61 63 65 73 0a 58 |ter or |spaces.X|
|00001e90| 74 6f 20 6d 6f 76 65 20 | 74 68 65 20 63 75 72 72 |to move |the curr|
|00001ea0| 65 6e 74 6c 79 20 73 65 | 74 20 74 61 62 20 64 69 |ently se|t tab di|
|00001eb0| 73 74 61 6e 63 65 20 28 | 73 65 65 20 40 72 65 66 |stance (|see @ref|
|00001ec0| 28 74 61 62 73 65 74 29 | 29 2e 20 20 57 68 65 6e |(tabset)|). When|
|00001ed0| 20 79 6f 75 20 66 69 72 | 73 74 0a 58 73 74 61 72 | you fir|st.Xstar|
|00001ee0| 74 20 45 4d 41 43 53 2c | 20 74 68 69 73 20 63 68 |t EMACS,| this ch|
|00001ef0| 61 72 61 63 74 65 72 20 | 69 6e 73 65 72 74 73 20 |aracter |inserts |
|00001f00| 69 74 73 65 6c 66 20 61 | 6e 64 20 77 68 69 6c 65 |itself a|nd while|
|00001f10| 20 79 6f 75 20 22 73 65 | 65 22 20 73 70 61 63 65 | you "se|e" space|
|00001f20| 73 2c 0a 58 74 68 65 72 | 65 20 69 73 20 6a 75 73 |s,.Xther|e is jus|
|00001f30| 74 20 6f 6e 65 20 63 68 | 61 72 61 63 74 65 72 20 |t one ch|aracter |
|00001f40| 74 68 65 72 65 2e 20 20 | 48 6f 77 65 76 65 72 2c |there. |However,|
|00001f50| 20 69 66 20 79 6f 75 20 | 75 73 65 20 74 68 65 20 | if you |use the |
|00001f60| 73 65 74 2d 74 61 62 0a | 58 64 69 73 74 61 6e 63 |set-tab.|Xdistanc|
|00001f70| 65 20 63 6f 6d 6d 61 6e | 64 20 28 62 79 20 45 53 |e comman|d (by ES|
|00001f80| 43 20 5b 6e 75 6d 62 65 | 72 5d 20 5e 49 29 20 74 |C [numbe|r] ^I) t|
|00001f90| 68 65 6e 20 74 68 65 20 | 72 65 71 75 69 72 65 64 |hen the |required|
|00001fa0| 20 74 61 62 20 64 69 73 | 74 61 6e 63 65 20 69 73 | tab dis|tance is|
|00001fb0| 0a 58 6f 62 74 61 69 6e | 65 64 20 62 79 20 69 6e |.Xobtain|ed by in|
|00001fc0| 73 65 72 74 69 6e 67 20 | 74 68 65 20 72 65 71 75 |serting |the requ|
|00001fd0| 69 73 69 74 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |isite nu|mber of |
|00001fe0| 73 70 61 63 65 73 20 61 | 6e 64 20 40 69 28 6e 6f |spaces a|nd @i(no|
|00001ff0| 77 29 20 74 68 65 0a 58 | 73 70 61 63 65 73 20 74 |w) the.X|spaces t|
|00002000| 68 61 74 20 79 6f 75 20 | 73 65 65 20 61 72 65 20 |hat you |see are |
|00002010| 69 6e 64 65 65 64 20 73 | 70 61 63 65 73 2e 0a 58 |indeed s|paces..X|
|00002020| 0a 58 5e 4d 20 28 6f 72 | 20 3c 52 45 54 55 52 4e |.X^M (or| <RETURN|
|00002030| 3e 29 40 2f 49 6e 73 65 | 72 74 2d 4e 65 77 6c 69 |>)@/Inse|rt-Newli|
|00002040| 6e 65 2e 20 20 69 6e 73 | 65 72 74 20 61 20 6e 65 |ne. ins|ert a ne|
|00002050| 77 2d 6c 69 6e 65 0a 58 | 61 74 20 70 6f 69 6e 74 |w-line.X|at point|
|00002060| 2e 20 20 4e 6f 74 65 20 | 74 68 61 74 20 74 68 69 |. Note |that thi|
|00002070| 73 20 69 73 20 61 09 0a | 58 63 68 61 72 61 63 74 |s is a..|Xcharact|
|00002080| 65 72 20 6c 69 6b 65 20 | 61 6e 79 20 6f 74 68 65 |er like |any othe|
|00002090| 72 20 61 6e 64 20 63 61 | 6e 20 62 65 20 64 65 6c |r and ca|n be del|
|000020a0| 65 74 65 64 20 6f 72 20 | 69 6e 73 65 72 74 65 64 |eted or |inserted|
|000020b0| 20 61 74 20 61 6e 79 20 | 70 6c 61 63 65 2e 20 20 | at any |place. |
|000020c0| 48 6f 77 65 76 65 72 0a | 58 69 74 20 6c 6f 6f 6b |However.|Xit look|
|000020d0| 73 20 64 69 66 66 65 72 | 65 6e 74 20 62 65 63 61 |s differ|ent beca|
|000020e0| 75 73 65 20 69 74 20 61 | 63 74 73 20 6c 69 6b 65 |use it a|cts like|
|000020f0| 20 74 68 65 20 63 61 72 | 72 69 61 67 65 2d 72 65 | the car|riage-re|
|00002100| 74 75 72 6e 20 6c 69 6e | 65 0a 58 66 65 65 64 20 |turn lin|e.Xfeed |
|00002110| 70 61 69 72 2e 0a 58 0a | 58 5e 4a 20 28 6f 72 20 |pair..X.|X^J (or |
|00002120| 3c 4c 49 4e 45 46 45 45 | 44 3e 29 40 2f 4e 65 77 |<LINEFEE|D>)@/New|
|00002130| 4c 69 6e 65 2d 49 6e 64 | 65 6e 74 3a 20 6c 69 6b |Line-Ind|ent: lik|
|00002140| 65 20 61 62 6f 76 65 20 | 62 75 74 20 69 6e 64 65 |e above |but inde|
|00002150| 6e 74 20 74 6f 20 70 72 | 65 76 69 6f 75 73 0a 58 |nt to pr|evious.X|
|00002160| 6c 69 6e 65 27 73 20 69 | 6e 64 65 6e 74 61 74 69 |line's i|ndentati|
|00002170| 6f 6e 0a 58 48 65 6e 63 | 65 2c 20 61 20 5e 4a 20 |on.XHenc|e, a ^J |
|00002180| 61 63 74 75 61 6c 6c 79 | 20 69 6e 73 65 72 74 73 |actually| inserts|
|00002190| 20 61 20 6e 65 77 2d 6c | 69 6e 65 20 61 6e 64 20 | a new-l|ine and |
|000021a0| 61 73 20 6d 61 6e 79 20 | 73 70 61 63 65 73 20 61 |as many |spaces a|
|000021b0| 73 0a 58 72 65 71 75 69 | 72 65 64 20 74 6f 20 6d |s.Xrequi|red to m|
|000021c0| 6f 76 65 20 75 6e 64 65 | 72 20 74 68 65 20 66 69 |ove unde|r the fi|
|000021d0| 72 73 74 20 63 68 61 72 | 61 63 74 65 72 20 6f 6e |rst char|acter on|
|000021e0| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 6c 69 | the pre|vious li|
|000021f0| 6e 65 2e 0a 58 0a 58 5e | 4f 20 28 6f 68 29 40 2f |ne..X.X^|O (oh)@/|
|00002200| 4f 70 65 6e 2d 4c 69 6e | 65 3a 20 69 6e 73 65 72 |Open-Lin|e: inser|
|00002210| 74 20 61 6e 20 6f 70 65 | 6e 20 6c 69 6e 65 20 61 |t an ope|n line a|
|00002220| 74 20 63 75 72 73 6f 72 | 20 66 6f 72 20 65 6e 74 |t cursor| for ent|
|00002230| 65 72 69 6e 67 20 74 65 | 78 74 2e 0a 58 54 68 69 |ering te|xt..XThi|
|00002240| 73 20 69 73 20 61 0a 58 | 76 65 72 79 20 75 73 65 |s is a.X|very use|
|00002250| 66 75 6c 20 63 6f 6d 6d | 61 6e 64 20 77 68 65 6e |ful comm|and when|
|00002260| 20 79 6f 75 20 61 72 65 | 20 67 6f 69 6e 67 20 74 | you are| going t|
|00002270| 6f 20 62 65 20 69 6e 73 | 65 72 74 69 6e 67 20 6d |o be ins|erting m|
|00002280| 6f 72 65 20 74 68 61 6e | 20 61 20 66 65 77 0a 58 |ore than| a few.X|
|00002290| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 20 62 65 |characte|rs in be|
|000022a0| 74 77 65 65 6e 20 65 78 | 69 73 74 69 6e 67 20 63 |tween ex|isting c|
|000022b0| 68 61 72 61 63 74 65 72 | 73 2e 20 20 42 79 20 75 |haracter|s. By u|
|000022c0| 73 69 6e 67 20 5e 4f 20 | 79 6f 75 20 77 69 6c 6c |sing ^O |you will|
|000022d0| 20 6e 6f 74 0a 58 62 65 | 20 66 6f 72 63 69 6e 67 | not.Xbe| forcing|
|000022e0| 20 45 4d 41 43 53 20 74 | 6f 20 73 68 69 66 74 20 | EMACS t|o shift |
|000022f0| 6f 74 68 65 72 20 74 65 | 78 74 20 61 72 6f 75 6e |other te|xt aroun|
|00002300| 64 20 61 73 20 79 6f 75 | 20 74 79 70 65 20 61 6e |d as you| type an|
|00002310| 64 20 74 68 69 6e 67 73 | 0a 58 77 69 6c 6c 20 62 |d things|.Xwill b|
|00002320| 6f 74 68 20 67 6f 20 66 | 61 73 74 65 72 20 61 6e |oth go f|aster an|
|00002330| 64 20 6c 6f 6f 6b 20 63 | 6c 65 61 6e 65 72 20 6f |d look c|leaner o|
|00002340| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 2e 20 20 49 |n the sc|reen. I|
|00002350| 66 20 79 6f 75 20 61 72 | 65 20 67 6f 69 6e 67 0a |f you ar|e going.|
|00002360| 58 74 6f 20 69 6e 73 65 | 72 74 20 61 20 6c 6f 74 |Xto inse|rt a lot|
|00002370| 20 6f 66 20 6e 65 77 20 | 74 65 78 74 2c 20 75 73 | of new |text, us|
|00002380| 65 20 61 20 6e 75 6d 65 | 72 69 63 20 61 72 67 75 |e a nume|ric argu|
|00002390| 6d 65 6e 74 20 74 6f 20 | 67 65 74 20 61 20 6c 6f |ment to |get a lo|
|000023a0| 74 20 6f 66 0a 58 62 6c | 61 6e 6b 20 6c 69 6e 65 |t of.Xbl|ank line|
|000023b0| 73 20 61 66 74 65 72 20 | 70 6f 69 6e 74 2e 20 20 |s after |point. |
|000023c0| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 5e 58 20 5e |You can |use ^X ^|
|000023d0| 4f 20 74 6f 20 63 6c 65 | 61 6e 20 75 70 20 74 68 |O to cle|an up th|
|000023e0| 65 0a 58 62 75 66 66 65 | 72 20 61 66 74 65 72 20 |e.Xbuffe|r after |
|000023f0| 79 6f 75 20 66 69 6e 69 | 73 68 20 61 64 64 69 6e |you fini|sh addin|
|00002400| 67 20 79 6f 75 72 20 74 | 65 78 74 20 28 73 65 65 |g your t|ext (see|
|00002410| 20 40 72 65 66 28 64 65 | 62 6c 61 6e 6b 29 29 2e | @ref(de|blank)).|
|00002420| 0a 58 0a 58 5e 51 40 2f | 51 75 6f 74 65 2d 4e 65 |.X.X^Q@/|Quote-Ne|
|00002430| 78 74 2d 43 68 61 72 61 | 63 74 65 72 2e 20 20 49 |xt-Chara|cter. I|
|00002440| 66 20 79 6f 75 20 77 69 | 73 68 20 63 65 72 74 61 |f you wi|sh certa|
|00002450| 69 6e 20 63 6f 6e 74 72 | 6f 6c 20 63 68 61 72 61 |in contr|ol chara|
|00002460| 63 74 65 72 73 20 28 6e | 6f 6e 2d 70 72 69 6e 74 |cters (n|on-print|
|00002470| 69 6e 67 29 20 74 6f 0a | 58 61 70 70 65 61 72 20 |ing) to.|Xappear |
|00002480| 69 6e 20 79 6f 75 72 20 | 74 65 78 74 2c 20 79 6f |in your |text, yo|
|00002490| 75 20 63 61 6e 20 64 6f | 20 73 6f 20 62 79 20 22 |u can do| so by "|
|000024a0| 71 75 6f 74 69 6e 67 22 | 20 74 68 65 6d 20 77 69 |quoting"| them wi|
|000024b0| 74 68 20 61 20 5e 51 2e | 20 48 65 6e 63 65 0a 58 |th a ^Q.| Hence.X|
|000024c0| 74 68 65 20 73 65 71 75 | 65 6e 63 65 3a 20 20 5e |the sequ|ence: ^|
|000024d0| 51 20 5b 63 68 61 72 5d | 20 77 69 6c 6c 20 69 6e |Q [char]| will in|
|000024e0| 73 65 72 74 20 74 68 65 | 20 5b 63 68 61 72 5d 20 |sert the| [char] |
|000024f0| 69 6e 74 6f 20 74 68 65 | 20 74 65 78 74 2e 0a 58 |into the| text..X|
|00002500| 0a 58 5e 43 40 2f 49 6e | 73 65 72 74 2d 53 70 61 |.X^C@/In|sert-Spa|
|00002510| 63 65 2e 20 20 54 68 69 | 73 20 63 6f 6d 6d 61 6e |ce. Thi|s comman|
|00002520| 64 20 69 6e 73 65 72 74 | 73 20 61 20 73 70 61 63 |d insert|s a spac|
|00002530| 65 20 61 66 74 65 72 20 | 70 6f 69 6e 74 2e 20 0a |e after |point. .|
|00002540| 58 57 68 69 6c 65 20 6e | 6f 74 20 70 61 72 74 69 |XWhile n|ot parti|
|00002550| 63 75 6c 61 72 6c 79 20 | 75 73 65 66 75 6c 20 69 |cularly |useful i|
|00002560| 6e 20 67 65 6e 65 72 61 | 6c 20 28 73 69 6e 63 65 |n genera|l (since|
|00002570| 20 74 68 65 20 73 70 61 | 63 65 2d 62 61 72 20 22 | the spa|ce-bar "|
|00002580| 6b 65 79 22 20 64 6f 65 | 73 0a 58 74 68 65 20 73 |key" doe|s.Xthe s|
|00002590| 61 6d 65 20 74 68 69 6e | 67 20 61 6e 64 20 6d 6f |ame thin|g and mo|
|000025a0| 72 65 20 65 61 73 69 6c | 79 29 20 69 74 20 69 73 |re easil|y) it is|
|000025b0| 20 76 65 72 79 20 75 73 | 65 66 75 6c 20 77 68 65 | very us|eful whe|
|000025c0| 6e 20 79 6f 75 20 61 72 | 65 20 69 6e 20 22 69 6e |n you ar|e in "in|
|000025d0| 73 65 72 74 0a 58 6d 6f | 64 65 20 28 73 65 65 20 |sert.Xmo|de (see |
|000025e0| 40 72 65 66 28 69 6e 73 | 65 72 74 6d 6f 64 65 29 |@ref(ins|ertmode)|
|000025f0| 29 2e 0a 58 40 65 6e 64 | 28 64 65 73 63 72 69 70 |)..X@end|(descrip|
|00002600| 74 69 6f 6e 29 20 0a 58 | 40 63 68 61 70 74 65 72 |tion) .X|@chapter|
|00002610| 28 4d 4f 56 49 4e 47 20 | 41 52 4f 55 4e 44 29 0a |(MOVING |AROUND).|
|00002620| 58 20 0a 58 20 20 20 20 | 20 49 6e 20 74 68 69 73 |X .X | In this|
|00002630| 20 63 68 61 70 74 65 72 | 2c 20 77 65 20 63 6f 76 | chapter|, we cov|
|00002640| 65 72 20 77 61 79 73 20 | 6f 66 20 6d 6f 76 69 6e |er ways |of movin|
|00002650| 67 20 61 72 6f 75 6e 64 | 20 69 6e 20 61 20 76 61 |g around| in a va|
|00002660| 72 69 65 74 79 0a 58 6f | 66 20 63 6f 6e 74 65 78 |riety.Xo|f contex|
|00002670| 74 73 3a 20 74 68 65 20 | 73 63 72 65 65 6e 2c 20 |ts: the |screen, |
|00002680| 72 65 67 69 6f 6e 2c 20 | 61 6e 64 20 66 69 6c 65 |region, |and file|
|00002690| 2e 0a 58 20 0a 58 40 73 | 65 63 74 69 6f 6e 28 53 |..X .X@s|ection(S|
|000026a0| 43 52 45 45 4e 29 0a 58 | 20 0a 58 20 20 20 20 20 |CREEN).X| .X |
|000026b0| 4d 6f 76 65 6d 65 6e 74 | 20 63 6f 6d 6d 61 6e 64 |Movement| command|
|000026c0| 73 20 77 6f 72 6b 20 6f | 6e 20 70 69 65 63 65 73 |s work o|n pieces|
|000026d0| 20 6f 66 20 74 65 78 74 | 20 63 61 6c 6c 65 64 20 | of text| called |
|000026e0| 6f 62 6a 65 63 74 73 2e | 20 20 54 68 72 65 65 20 |objects.| Three |
|000026f0| 6f 62 6a 65 63 74 73 0a | 58 61 72 65 20 69 6e 76 |objects.|Xare inv|
|00002700| 6f 6c 76 65 64 20 69 6e | 20 6d 6f 76 69 6e 67 20 |olved in| moving |
|00002710| 61 72 6f 75 6e 64 20 74 | 68 65 20 73 63 72 65 65 |around t|he scree|
|00002720| 6e 3a 20 63 68 61 72 61 | 63 74 65 72 2c 20 77 6f |n: chara|cter, wo|
|00002730| 72 64 20 61 6e 64 20 70 | 61 72 61 67 72 61 70 68 |rd and p|aragraph|
|00002740| 2e 0a 58 40 73 75 62 73 | 65 63 74 69 6f 6e 28 43 |..X@subs|ection(C|
|00002750| 68 61 72 61 63 74 65 72 | 20 4d 6f 76 69 6e 67 29 |haracter| Moving)|
|00002760| 0a 58 40 62 65 67 69 6e | 28 64 65 73 63 72 69 70 |.X@begin|(descrip|
|00002770| 74 69 6f 6e 29 20 0a 58 | 5e 46 40 2f 46 6f 72 77 |tion) .X|^F@/Forw|
|00002780| 61 72 64 2d 43 68 61 72 | 63 74 65 72 2e 20 20 54 |ard-Char|cter. T|
|00002790| 68 65 20 70 6f 69 6e 74 | 20 6d 6f 76 65 73 20 66 |he point| moves f|
|000027a0| 6f 72 77 61 72 64 20 62 | 79 20 6f 6e 65 20 63 68 |orward b|y one ch|
|000027b0| 61 72 61 63 74 65 72 20 | 0a 58 68 65 6e 63 65 20 |aracter |.Xhence |
|000027c0| 74 68 65 20 63 75 72 73 | 6f 72 20 61 6c 73 6f 20 |the curs|or also |
|000027d0| 6d 6f 76 65 73 20 73 69 | 6e 63 65 20 74 68 65 20 |moves si|nce the |
|000027e0| 63 75 72 73 6f 72 20 69 | 73 20 6a 75 73 74 20 61 |cursor i|s just a|
|000027f0| 66 74 65 72 20 70 6f 69 | 6e 74 2e 20 20 41 67 61 |fter poi|nt. Aga|
|00002800| 69 6e 0a 58 6e 6f 74 65 | 20 74 68 61 74 20 73 69 |in.Xnote| that si|
|00002810| 6e 63 65 20 74 68 65 20 | 6e 65 77 2d 6c 69 6e 65 |nce the |new-line|
|00002820| 20 63 68 61 72 61 63 74 | 65 72 20 69 73 20 61 20 | charact|er is a |
|00002830| 63 68 61 72 61 63 74 65 | 72 2c 20 79 6f 75 20 63 |characte|r, you c|
|00002840| 61 6e 20 22 6d 6f 76 65 | 22 0a 58 6f 76 65 72 20 |an "move|".Xover |
|00002850| 69 74 20 6a 75 73 74 20 | 61 73 20 79 6f 75 20 77 |it just |as you w|
|00002860| 6f 75 6c 64 20 61 6e 79 | 20 6f 74 68 65 72 20 63 |ould any| other c|
|00002870| 68 61 72 61 63 74 65 72 | 2e 20 20 4f 6e 20 74 68 |haracter|. On th|
|00002880| 65 20 73 63 72 65 65 6e | 20 74 68 69 73 0a 58 61 |e screen| this.Xa|
|00002890| 70 70 65 61 72 73 20 61 | 73 20 61 20 6a 75 6d 70 |ppears a|s a jump|
|000028a0| 20 74 6f 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | to the |beginnin|
|000028b0| 67 20 6f 66 20 74 68 65 | 20 6e 65 78 74 20 6c 69 |g of the| next li|
|000028c0| 6e 65 2e 0a 58 0a 58 5e | 42 40 2f 42 61 63 6b 77 |ne..X.X^|B@/Backw|
|000028d0| 61 72 64 2d 43 68 61 72 | 61 63 74 65 72 2e 20 20 |ard-Char|acter. |
|000028e0| 4a 75 73 74 20 6c 69 6b | 65 20 46 6f 72 77 61 72 |Just lik|e Forwar|
|000028f0| 64 2d 43 68 61 72 61 63 | 74 65 72 20 62 75 74 20 |d-Charac|ter but |
|00002900| 69 6e 20 74 68 65 20 72 | 65 76 65 72 73 65 0a 58 |in the r|everse.X|
|00002910| 64 69 72 65 63 74 69 6f | 6e 2e 0a 58 40 65 6e 64 |directio|n..X@end|
|00002920| 28 64 65 73 63 72 69 70 | 74 69 6f 6e 29 40 73 75 |(descrip|tion)@su|
|00002930| 62 73 65 63 74 69 6f 6e | 28 4c 69 6e 65 20 4d 6f |bsection|(Line Mo|
|00002940| 76 69 6e 67 29 40 62 65 | 67 69 6e 28 64 65 73 63 |ving)@be|gin(desc|
|00002950| 72 69 70 74 69 6f 6e 29 | 0a 58 5e 50 40 2f 50 72 |ription)|.X^P@/Pr|
|00002960| 65 76 69 6f 75 73 2d 4c | 69 6e 65 2e 20 20 54 68 |evious-L|ine. Th|
|00002970| 65 20 70 6f 69 6e 74 20 | 6d 6f 76 65 73 20 74 6f |e point |moves to|
|00002980| 20 74 68 65 20 73 61 6d | 65 20 63 6f 6c 75 6d 6e | the sam|e column|
|00002990| 20 69 6e 20 74 68 65 0a | 58 70 72 65 76 69 6f 75 | in the.|Xpreviou|
|000029a0| 73 20 6c 69 6e 65 20 69 | 66 20 74 68 61 74 20 69 |s line i|f that i|
|000029b0| 73 20 70 6f 73 73 69 62 | 6c 65 2e 20 20 49 66 20 |s possib|le. If |
|000029c0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 74 65 78 74 |there is| no text|
|000029d0| 20 66 6f 72 20 69 74 20 | 74 6f 20 6d 6f 76 65 20 | for it |to move |
|000029e0| 74 6f 0a 58 69 74 20 6d | 6f 76 65 73 20 74 6f 20 |to.Xit m|oves to |
|000029f0| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 6c |the end |of the l|
|00002a00| 69 6e 65 2e 20 20 48 6f | 77 65 76 65 72 2c 20 69 |ine. Ho|wever, i|
|00002a10| 74 20 22 72 65 6d 65 6d | 62 65 72 73 22 20 74 68 |t "remem|bers" th|
|00002a20| 65 20 63 6f 6c 75 6d 6e | 0a 58 69 74 20 77 61 73 |e column|.Xit was|
|00002a30| 20 69 6e 20 61 6e 64 20 | 6d 6f 76 65 73 20 74 6f | in and |moves to|
|00002a40| 20 69 74 20 77 68 65 6e | 20 79 6f 75 20 72 65 74 | it when| you ret|
|00002a50| 75 72 6e 20 74 6f 20 74 | 68 65 20 73 74 61 72 74 |urn to t|he start|
|00002a60| 69 6e 67 20 6c 69 6e 65 | 2e 20 20 49 66 0a 58 74 |ing line|. If.Xt|
|00002a70| 68 65 20 70 6f 69 6e 74 | 20 69 73 20 6f 6e 20 74 |he point| is on t|
|00002a80| 68 65 20 74 6f 70 20 6c | 69 6e 65 20 6f 66 20 74 |he top l|ine of t|
|00002a90| 68 65 20 73 63 72 65 65 | 6e 2c 20 74 68 65 20 73 |he scree|n, the s|
|00002aa0| 63 72 65 65 6e 20 73 63 | 72 6f 6c 6c 73 0a 58 62 |creen sc|rolls.Xb|
|00002ab0| 61 63 6b 77 61 72 64 20 | 73 6f 20 74 68 61 74 20 |ackward |so that |
|00002ac0| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 6c 69 6e |the prev|ious lin|
|00002ad0| 65 20 6f 66 20 74 68 65 | 20 74 65 78 74 20 69 73 |e of the| text is|
|00002ae0| 20 63 65 6e 74 65 72 65 | 64 20 6f 6e 20 74 68 65 | centere|d on the|
|00002af0| 20 6e 65 77 20 73 63 72 | 65 65 6e 2e 0a 58 0a 58 | new scr|een..X.X|
|00002b00| 5e 4e 40 2f 4e 65 78 74 | 2d 4c 69 6e 65 2e 20 20 |^N@/Next|-Line. |
|00002b10| 4c 69 6b 65 20 5e 50 20 | 62 75 74 20 70 6f 69 6e |Like ^P |but poin|
|00002b20| 74 20 6d 6f 76 65 73 20 | 74 6f 20 74 68 65 20 6e |t moves |to the n|
|00002b30| 65 78 74 20 6c 69 6e 65 | 2e 0a 58 0a 58 5e 45 40 |ext line|..X.X^E@|
|00002b40| 2f 45 6e 64 2d 4f 66 2d | 4c 69 6e 65 2e 20 20 20 |/End-Of-|Line. |
|00002b50| 54 68 65 20 70 6f 69 6e | 74 20 6d 6f 76 65 73 20 |The poin|t moves |
|00002b60| 61 66 74 65 72 20 74 68 | 65 20 6c 61 73 74 20 63 |after th|e last c|
|00002b70| 68 61 72 61 63 74 65 72 | 0a 58 6f 6e 20 74 68 65 |haracter|.Xon the|
|00002b80| 20 6c 69 6e 65 20 61 6e | 64 20 73 74 61 79 73 20 | line an|d stays |
|00002b90| 62 65 74 77 65 65 6e 20 | 69 74 20 61 6e 64 20 74 |between |it and t|
|00002ba0| 68 65 20 3c 6e 65 77 2d | 6c 69 6e 65 3e 20 63 68 |he <new-|line> ch|
|00002bb0| 61 72 61 63 74 65 72 2e | 20 20 48 65 6e 63 65 0a |aracter.| Hence.|
|00002bc0| 58 61 6e 6f 74 68 65 72 | 20 5e 46 20 28 46 6f 72 |Xanother| ^F (For|
|00002bd0| 77 61 72 64 2d 43 68 61 | 72 61 63 74 65 72 29 20 |ward-Cha|racter) |
|00002be0| 77 6f 75 6c 64 20 70 75 | 74 20 79 6f 75 20 70 61 |would pu|t you pa|
|00002bf0| 73 74 20 74 68 65 20 6e | 65 77 2d 6c 69 6e 65 2c |st the n|ew-line,|
|00002c00| 20 69 2e 65 2e 2c 0a 58 | 61 74 20 74 68 65 20 62 | i.e.,.X|at the b|
|00002c10| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 74 68 65 20 |eginning| of the |
|00002c20| 6e 65 78 74 20 6c 69 6e | 65 2e 0a 58 0a 58 5e 41 |next lin|e..X.X^A|
|00002c30| 40 2f 53 74 61 72 74 2d | 4f 66 2d 4c 69 6e 65 2e |@/Start-|Of-Line.|
|00002c40| 20 20 54 68 65 20 70 6f | 69 6e 74 20 6d 6f 76 65 | The po|int move|
|00002c50| 73 20 74 6f 20 74 68 65 | 0a 58 62 65 67 69 6e 6e |s to the|.Xbeginn|
|00002c60| 69 6e 67 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 20 |ing of t|he line |
|00002c70| 61 6e 64 20 69 73 20 62 | 65 74 77 65 65 6e 20 74 |and is b|etween t|
|00002c80| 68 65 20 66 69 72 73 74 | 20 63 68 61 72 61 63 74 |he first| charact|
|00002c90| 65 72 20 6f 6e 20 74 68 | 65 20 6c 69 6e 65 0a 58 |er on th|e line.X|
|00002ca0| 61 6e 64 20 74 68 65 20 | 6e 65 77 2d 6c 69 6e 65 |and the |new-line|
|00002cb0| 20 63 68 61 72 61 63 74 | 65 72 20 6f 66 20 74 68 | charact|er of th|
|00002cc0| 65 20 70 72 65 76 69 6f | 75 73 20 6c 69 6e 65 2e |e previo|us line.|
|00002cd0| 20 20 41 20 5e 42 20 28 | 6f 72 0a 58 42 61 63 6b | A ^B (|or.XBack|
|00002ce0| 77 61 72 64 2d 43 68 61 | 72 61 63 74 65 72 29 2c |ward-Cha|racter),|
|00002cf0| 20 74 68 65 6e 2c 20 77 | 6f 75 6c 64 20 70 75 74 | then, w|ould put|
|00002d00| 20 79 6f 75 20 61 74 20 | 74 68 65 20 65 6e 64 20 | you at |the end |
|00002d10| 6f 66 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |of the p|revious |
|00002d20| 6c 69 6e 65 2e 0a 58 0a | 58 45 53 43 20 47 40 2f |line..X.|XESC G@/|
|00002d30| 54 6f 2d 4e 75 6d 62 65 | 72 65 64 2d 4c 69 6e 65 |To-Numbe|red-Line|
|00002d40| 2e 20 20 54 68 65 20 63 | 75 72 73 6f 72 20 6d 6f |. The c|ursor mo|
|00002d50| 76 65 73 20 74 6f 20 74 | 68 65 20 6c 69 6e 65 0a |ves to t|he line.|
|00002d60| 58 73 70 65 63 69 66 65 | 64 20 62 79 20 74 68 65 |Xspecife|d by the|
|00002d70| 20 6e 75 6d 65 72 69 63 | 20 61 72 67 75 6d 65 6e | numeric| argumen|
|00002d80| 74 2e 20 20 49 66 20 6e | 6f 6e 65 20 69 73 20 67 |t. If n|one is g|
|00002d90| 69 76 65 6e 2c 20 45 4d | 41 43 53 2c 20 61 73 20 |iven, EM|ACS, as |
|00002da0| 75 73 75 61 6c 2c 0a 58 | 77 6f 75 6c 64 20 61 73 |usual,.X|would as|
|00002db0| 73 75 6d 65 20 31 20 61 | 6e 64 20 6d 6f 76 65 20 |sume 1 a|nd move |
|00002dc0| 79 6f 75 20 74 6f 20 74 | 68 65 20 74 6f 70 20 6f |you to t|he top o|
|00002dd0| 66 20 74 68 65 20 62 75 | 66 66 65 72 2e 0a 58 55 |f the bu|ffer..XU|
|00002de0| 73 65 20 45 53 43 20 3c | 6e 75 6d 62 65 72 3e 20 |se ESC <|number> |
|00002df0| 74 6f 20 64 65 6e 6f 74 | 65 20 74 68 65 20 74 61 |to denot|e the ta|
|00002e00| 72 67 65 74 20 6c 69 6e | 65 20 77 68 65 72 65 0a |rget lin|e where.|
|00002e10| 58 74 68 65 20 66 69 72 | 73 74 20 6c 69 6e 65 20 |Xthe fir|st line |
|00002e20| 69 73 20 31 2e 20 20 48 | 65 6e 63 65 2c 20 66 6f |is 1. H|ence, fo|
|00002e30| 72 20 65 78 61 6d 70 6c | 65 2c 20 69 66 20 79 6f |r exampl|e, if yo|
|00002e40| 75 20 77 69 73 68 65 64 | 20 74 6f 20 67 6f 20 74 |u wished| to go t|
|00002e50| 6f 0a 58 74 68 65 20 38 | 33 20 6c 69 6e 65 20 79 |o.Xthe 8|3 line y|
|00002e60| 6f 75 20 77 6f 75 6c 64 | 20 74 79 70 65 20 45 53 |ou would| type ES|
|00002e70| 43 20 38 33 20 45 53 43 | 20 47 2e 0a 58 40 65 6e |C 83 ESC| G..X@en|
|00002e80| 64 28 64 65 73 63 72 69 | 70 74 69 6f 6e 29 0a 58 |d(descri|ption).X|
|00002e90| 40 73 65 63 74 69 6f 6e | 28 57 6f 72 64 20 4d 6f |@section|(Word Mo|
|00002ea0| 76 69 6e 67 29 0a 58 40 | 62 65 67 69 6e 28 64 65 |ving).X@|begin(de|
|00002eb0| 73 63 72 69 70 74 69 6f | 6e 29 20 0a 58 45 53 43 |scriptio|n) .XESC|
|00002ec0| 20 46 40 2f 46 6f 72 77 | 61 72 64 2d 57 6f 72 64 | F@/Forw|ard-Word|
|00002ed0| 2e 20 20 54 68 65 20 70 | 6f 69 6e 74 20 69 73 20 |. The p|oint is |
|00002ee0| 6d 6f 76 65 64 20 66 72 | 6f 6d 20 69 74 73 20 63 |moved fr|om its c|
|00002ef0| 75 72 72 65 6e 74 20 6c | 6f 63 61 74 69 6f 6e 20 |urrent l|ocation |
|00002f00| 74 6f 20 74 68 65 0a 58 | 62 65 67 69 6e 6e 69 6e |to the.X|beginnin|
|00002f10| 67 20 6f 66 20 74 68 65 | 20 6e 65 78 74 20 77 6f |g of the| next wo|
|00002f20| 72 64 2e 0a 58 41 20 77 | 6f 72 64 20 69 73 20 64 |rd..XA w|ord is d|
|00002f30| 65 66 69 6e 65 64 20 74 | 6f 20 62 65 20 63 6f 6e |efined t|o be con|
|00002f40| 74 69 67 75 6f 75 73 20 | 63 68 61 72 61 63 74 65 |tiguous |characte|
|00002f50| 72 73 20 73 65 70 61 72 | 61 74 65 64 20 62 79 20 |rs separ|ated by |
|00002f60| 73 70 61 63 65 73 20 6f | 72 0a 58 70 75 6e 63 74 |spaces o|r.Xpunct|
|00002f70| 75 61 74 69 6f 6e 20 6d | 61 72 6b 73 2e 20 20 48 |uation m|arks. H|
|00002f80| 65 6e 63 65 20 69 66 20 | 74 68 65 20 70 6f 69 6e |ence if |the poin|
|00002f90| 74 20 69 73 20 63 75 72 | 72 65 6e 74 6c 79 20 69 |t is cur|rently i|
|00002fa0| 6e 20 6d 69 64 64 6c 65 | 20 6f 66 20 74 77 6f 20 |n middle| of two |
|00002fb0| 77 6f 72 64 73 0a 58 28 | 69 2e 65 2e 2c 20 40 69 |words.X(|i.e., @i|
|00002fc0| 5b 69 6e 20 66 72 6f 6e | 74 20 6f 66 20 74 68 65 |[in fron|t of the|
|00002fd0| 20 73 70 61 63 65 20 6f | 72 20 74 68 65 20 70 75 | space o|r the pu|
|00002fe0| 6e 63 74 75 61 74 69 6f | 6e 5d 29 20 69 74 20 69 |nctuatio|n]) it i|
|00002ff0| 73 20 6d 6f 76 65 64 20 | 74 6f 20 74 68 65 0a 58 |s moved |to the.X|
|00003000| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 20 74 68 65 |beginnin|g of the|
|00003010| 20 6e 65 78 74 20 77 6f | 72 64 2e 0a 58 0a 58 45 | next wo|rd..X.XE|
|00003020| 53 43 20 42 40 2f 42 61 | 63 6b 77 61 72 64 2d 57 |SC B@/Ba|ckward-W|
|00003030| 6f 72 64 2e 20 20 4c 69 | 6b 65 20 66 6f 72 77 61 |ord. Li|ke forwa|
|00003040| 72 64 20 77 6f 72 64 20 | 62 75 74 20 69 6e 20 74 |rd word |but in t|
|00003050| 68 65 20 72 65 76 65 72 | 73 65 20 64 69 72 65 63 |he rever|se direc|
|00003060| 74 69 6f 6e 2e 0a 58 40 | 65 6e 64 28 64 65 73 63 |tion..X@|end(desc|
|00003070| 72 69 70 74 69 6f 6e 29 | 40 73 65 63 74 69 6f 6e |ription)|@section|
|00003080| 28 50 61 72 61 67 72 61 | 70 68 20 4d 6f 76 69 6e |(Paragra|ph Movin|
|00003090| 67 29 40 62 65 67 69 6e | 28 64 65 73 63 72 69 70 |g)@begin|(descrip|
|000030a0| 74 69 6f 6e 29 0a 58 45 | 53 43 20 4e 40 2f 46 6f |tion).XE|SC N@/Fo|
|000030b0| 72 77 61 72 64 2d 50 61 | 72 61 67 72 61 70 68 2e |rward-Pa|ragraph.|
|000030c0| 20 20 4d 6f 76 65 20 74 | 6f 20 74 68 65 20 62 65 | Move t|o the be|
|000030d0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 65 20 6e |ginning |of the n|
|000030e0| 65 78 74 20 70 61 72 61 | 67 72 61 70 68 2e 0a 58 |ext para|graph..X|
|000030f0| 0a 58 09 4e 4f 54 45 3a | 20 41 20 70 61 72 61 67 |.X.NOTE:| A parag|
|00003100| 72 61 70 68 20 69 73 20 | 64 65 66 69 6e 65 64 20 |raph is |defined |
|00003110| 61 73 20 61 20 73 65 63 | 74 69 6f 6e 20 6f 66 20 |as a sec|tion of |
|00003120| 74 65 78 74 20 73 65 70 | 61 72 61 74 65 64 0a 58 |text sep|arated.X|
|00003130| 66 72 6f 6d 20 6f 74 68 | 65 72 20 74 65 78 74 20 |from oth|er text |
|00003140| 62 79 20 31 29 20 62 6c | 61 6e 6b 20 6c 69 6e 65 |by 1) bl|ank line|
|00003150| 73 2c 20 32 29 20 61 20 | 6c 69 6e 65 20 73 74 61 |s, 2) a |line sta|
|00003160| 72 74 69 6e 67 20 77 69 | 74 68 0a 58 62 6c 61 6e |rting wi|th.Xblan|
|00003170| 6b 73 2c 20 6f 72 20 33 | 29 20 61 20 6c 69 6e 65 |ks, or 3|) a line|
|00003180| 20 73 74 61 72 74 69 6e | 67 20 77 69 74 68 20 61 | startin|g with a|
|00003190| 20 74 61 62 20 63 68 61 | 72 61 63 74 65 72 20 28 | tab cha|racter (|
|000031a0| 5e 49 29 2e 40 74 61 67 | 28 70 61 72 61 64 65 66 |^I).@tag|(paradef|
|000031b0| 29 0a 58 0a 58 45 53 43 | 20 4e 40 2f 42 61 63 6b |).X.XESC| N@/Back|
|000031c0| 77 61 72 64 2d 50 61 72 | 61 67 72 61 70 68 2e 20 |ward-Par|agraph. |
|000031d0| 20 4c 69 6b 65 20 66 6f | 72 77 61 72 64 2d 70 61 | Like fo|rward-pa|
|000031e0| 72 61 67 72 61 70 68 20 | 62 75 74 20 69 6e 20 74 |ragraph |but in t|
|000031f0| 68 65 20 72 65 76 65 72 | 73 65 0a 58 64 69 72 65 |he rever|se.Xdire|
|00003200| 63 74 69 6f 6e 2e 0a 58 | 40 65 6e 64 28 64 65 73 |ction..X|@end(des|
|00003210| 63 72 69 70 74 69 6f 6e | 29 40 73 65 63 74 69 6f |cription|)@sectio|
|00003220| 6e 28 52 65 67 69 6f 6e | 20 4d 6f 76 69 6e 67 29 |n(Region| Moving)|
|00003230| 40 54 41 47 28 72 65 67 | 6d 6f 76 29 0a 58 40 62 |@TAG(reg|mov).X@b|
|00003240| 65 67 69 6e 28 64 65 73 | 63 72 69 70 74 69 6f 6e |egin(des|cription|
|00003250| 29 0a 58 5e 58 20 5e 58 | 40 2f 45 78 63 68 61 6e |).X^X ^X|@/Exchan|
|00003260| 67 65 2d 50 6f 69 6e 74 | 2d 41 6e 64 2d 4d 61 72 |ge-Point|-And-Mar|
|00003270| 6b 2e 20 20 54 68 65 72 | 65 20 69 73 20 6f 6e 6c |k. Ther|e is onl|
|00003280| 79 20 6f 6e 65 20 72 65 | 67 69 6f 6e 20 61 76 61 |y one re|gion ava|
|00003290| 69 6c 61 62 6c 65 20 61 | 74 0a 58 61 20 74 69 6d |ilable a|t.Xa tim|
|000032a0| 65 2e 20 48 65 6e 63 65 | 2c 20 6d 6f 76 69 6e 67 |e. Hence|, moving|
|000032b0| 0a 58 62 79 20 72 65 67 | 69 6f 6e 73 20 69 73 20 |.Xby reg|ions is |
|000032c0| 72 65 73 74 72 69 63 74 | 65 64 20 74 6f 20 6d 6f |restrict|ed to mo|
|000032d0| 76 69 6e 67 20 66 72 6f | 6d 20 6f 6e 65 20 65 6e |ving fro|m one en|
|000032e0| 64 20 6f 66 20 74 68 65 | 20 72 65 67 69 6f 6e 0a |d of the| region.|
|000032f0| 58 74 6f 20 74 68 65 20 | 6f 74 68 65 72 2e 20 20 |Xto the |other. |
|00003300| 54 6f 20 72 65 69 74 65 | 72 61 74 65 2c 20 74 68 |To reite|rate, th|
|00003310| 65 20 72 65 67 69 6f 6e | 20 69 73 20 64 65 66 69 |e region| is defi|
|00003320| 6e 65 64 20 62 79 20 74 | 68 65 20 70 6f 69 6e 74 |ned by t|he point|
|00003330| 0a 58 28 62 65 68 69 6e | 64 20 74 68 65 20 63 75 |.X(behin|d the cu|
|00003340| 72 73 6f 72 29 20 61 74 | 20 6f 6e 65 20 65 6e 64 |rsor) at| one end|
|00003350| 20 61 6e 64 20 74 68 65 | 20 6d 61 72 6b 20 28 73 | and the| mark (s|
|00003360| 65 74 20 62 79 20 45 53 | 43 20 2e 20 6f 72 20 45 |et by ES|C . or E|
|00003370| 53 43 20 73 70 61 63 65 | 29 0a 58 61 74 20 74 68 |SC space|).Xat th|
|00003380| 65 20 6f 74 68 65 72 2e | 20 52 65 63 61 6c 6c 20 |e other.| Recall |
|00003390| 74 68 61 74 20 40 69 3c | 74 68 69 73 3e 20 65 6e |that @i<|this> en|
|000033a0| 64 20 6f 66 20 74 68 65 | 20 72 65 67 69 6f 6e 20 |d of the| region |
|000033b0| 69 73 20 77 68 65 72 65 | 20 74 68 65 20 63 75 72 |is where| the cur|
|000033c0| 73 6f 72 20 69 73 2e 0a | 58 48 65 6e 63 65 20 65 |sor is..|XHence e|
|000033d0| 78 63 68 61 6e 67 69 6e | 67 20 70 6f 69 6e 74 20 |xchangin|g point |
|000033e0| 61 6e 64 20 6d 61 72 6b | 20 65 66 66 65 63 74 69 |and mark| effecti|
|000033f0| 76 65 6c 79 20 6d 6f 76 | 65 73 20 79 6f 75 20 66 |vely mov|es you f|
|00003400| 72 6f 6d 20 6f 6e 65 20 | 65 6e 64 20 6f 66 0a 58 |rom one |end of.X|
|00003410| 74 68 65 20 72 65 67 69 | 6f 6e 20 74 6f 20 74 68 |the regi|on to th|
|00003420| 65 20 6f 74 68 65 72 2e | 0a 58 40 65 6e 64 28 64 |e other.|.X@end(d|
|00003430| 65 73 63 72 69 70 74 69 | 6f 6e 29 40 73 65 63 74 |escripti|on)@sect|
|00003440| 69 6f 6e 3c 53 63 72 65 | 65 6e 20 4d 6f 76 69 6e |ion<Scre|en Movin|
|00003450| 67 3e 40 62 65 67 69 6e | 28 64 65 73 63 72 69 70 |g>@begin|(descrip|
|00003460| 74 69 6f 6e 29 0a 58 5e | 56 20 6f 72 20 3c 4e 45 |tion).X^|V or <NE|
|00003470| 58 54 3e 40 2f 4e 65 78 | 74 2d 53 63 72 65 65 6e |XT>@/Nex|t-Screen|
|00003480| 2e 20 20 54 68 65 20 73 | 63 72 65 65 6e 20 69 73 |. The s|creen is|
|00003490| 20 73 63 72 6f 6c 6c 65 | 64 20 75 70 20 73 6f 20 | scrolle|d up so |
|000034a0| 74 68 61 74 20 74 68 65 | 0a 58 6e 65 78 74 20 73 |that the|.Xnext s|
|000034b0| 65 74 20 6f 66 20 6c 69 | 6e 65 73 20 63 61 6e 20 |et of li|nes can |
|000034c0| 62 65 20 73 68 6f 77 6e | 20 69 6e 20 74 68 65 20 |be shown| in the |
|000034d0| 77 69 6e 64 6f 77 2e 20 | 20 45 4d 41 43 53 20 72 |window. | EMACS r|
|000034e0| 65 74 61 69 6e 73 20 61 | 6e 0a 58 6f 76 65 72 6c |etains a|n.Xoverl|
|000034f0| 61 70 20 6f 66 20 74 77 | 6f 20 6c 69 6e 65 73 20 |ap of tw|o lines |
|00003500| 66 6f 72 20 63 6f 6e 74 | 69 6e 75 69 74 79 20 2d |for cont|inuity -|
|00003510| 2d 20 69 2e 65 2e 2c 20 | 79 6f 75 20 64 6f 20 6e |- i.e., |you do n|
|00003520| 6f 74 20 67 65 74 20 61 | 20 6e 65 77 0a 58 73 63 |ot get a| new.Xsc|
|00003530| 72 65 65 6e 20 73 74 61 | 72 74 69 6e 67 20 77 69 |reen sta|rting wi|
|00003540| 74 68 20 74 68 65 20 66 | 69 72 73 74 20 70 72 65 |th the f|irst pre|
|00003550| 76 69 6f 75 73 6c 79 20 | 69 6e 76 69 73 69 62 6c |viously |invisibl|
|00003560| 65 20 6c 69 6e 65 20 62 | 75 74 20 72 61 74 68 65 |e line b|ut rathe|
|00003570| 72 0a 58 74 68 65 20 6e | 65 77 20 73 63 72 65 65 |r.Xthe n|ew scree|
|00003580| 6e 20 77 69 6c 6c 20 73 | 74 61 72 74 20 77 69 74 |n will s|tart wit|
|00003590| 68 20 74 77 6f 20 6c 69 | 6e 65 73 20 66 72 6f 6d |h two li|nes from|
|000035a0| 20 74 68 65 20 62 6f 74 | 74 6f 6d 20 6f 66 20 74 | the bot|tom of t|
|000035b0| 68 65 0a 58 70 72 65 76 | 69 6f 75 73 20 73 63 72 |he.Xprev|ious scr|
|000035c0| 65 65 6e 2e 20 54 68 65 | 20 70 6f 69 6e 74 20 69 |een. The| point i|
|000035d0| 73 20 6c 65 66 74 20 61 | 74 20 74 68 65 20 68 6f |s left a|t the ho|
|000035e0| 6d 65 20 70 6f 73 69 74 | 69 6f 6e 20 28 74 6f 70 |me posit|ion (top|
|000035f0| 20 6c 65 66 74 20 68 61 | 6e 64 20 63 6f 72 6e 65 | left ha|nd corne|
|00003600| 72 29 2e 0a 58 0a 58 45 | 53 43 20 56 20 6f 72 20 |r)..X.XE|SC V or |
|00003610| 43 54 52 4c 20 5a 20 6f | 72 20 3c 50 52 45 56 3e |CTRL Z o|r <PREV>|
|00003620| 40 2f 50 72 65 76 69 6f | 75 73 2d 53 63 72 65 65 |@/Previo|us-Scree|
|00003630| 6e 2e 20 20 4c 69 6b 65 | 20 61 62 6f 76 65 20 65 |n. Like| above e|
|00003640| 78 63 65 70 74 20 74 68 | 61 74 20 74 68 65 20 70 |xcept th|at the p|
|00003650| 72 65 76 69 6f 75 73 0a | 58 73 65 74 20 6f 66 20 |revious.|Xset of |
|00003660| 73 63 72 65 65 6e 20 6c | 69 6e 65 73 20 69 73 20 |screen l|ines is |
|00003670| 64 69 73 70 6c 61 79 65 | 64 2e 0a 58 40 65 6e 64 |displaye|d..X@end|
|00003680| 28 64 65 73 63 72 69 70 | 74 69 6f 6e 29 0a 58 40 |(descrip|tion).X@|
|00003690| 73 65 63 74 69 6f 6e 28 | 57 69 6e 64 6f 77 20 4d |section(|Window M|
|000036a0| 6f 76 69 6e 67 29 0a 58 | 40 62 65 67 69 6e 28 64 |oving).X|@begin(d|
|000036b0| 65 73 63 72 69 70 74 69 | 6f 6e 29 0a 58 0a 58 5e |escripti|on).X.X^|
|000036c0| 58 20 4f 20 28 6f 68 29 | 40 2f 4e 65 78 74 2d 57 |X O (oh)|@/Next-W|
|000036d0| 69 6e 64 6f 77 2e 20 20 | 4d 6f 76 65 73 20 70 6f |indow. |Moves po|
|000036e0| 69 6e 74 20 74 6f 20 74 | 68 65 0a 58 74 68 65 20 |int to t|he.Xthe |
|000036f0| 6e 65 78 74 20 77 69 6e | 64 6f 77 20 6f 6e 20 74 |next win|dow on t|
|00003700| 68 65 20 73 63 72 65 65 | 6e 2e 20 20 45 4d 41 43 |he scree|n. EMAC|
|00003710| 53 20 63 79 63 6c 65 73 | 20 74 68 72 6f 75 67 68 |S cycles| through|
|00003720| 20 77 69 6e 64 6f 77 73 | 2e 20 20 54 68 75 73 2c | windows|. Thus,|
|00003730| 20 69 66 20 79 6f 75 0a | 58 61 72 65 20 69 6e 20 | if you.|Xare in |
|00003740| 74 68 65 20 62 6f 74 74 | 6f 6d 20 77 69 6e 64 6f |the bott|om windo|
|00003750| 77 2c 20 79 6f 75 20 61 | 72 65 20 6d 6f 76 65 64 |w, you a|re moved|
|00003760| 20 74 6f 20 74 68 65 20 | 74 6f 70 20 77 69 6e 64 | to the |top wind|
|00003770| 6f 77 2e 0a 58 0a 58 5e | 58 20 50 40 2f 50 72 65 |ow..X.X^|X P@/Pre|
|00003780| 76 69 6f 75 73 2d 57 69 | 6e 64 6f 77 2e 20 20 4c |vious-Wi|ndow. L|
|00003790| 69 6b 65 20 61 62 6f 76 | 65 20 62 75 74 20 69 6e |ike abov|e but in|
|000037a0| 20 74 68 65 20 6f 70 70 | 6f 73 69 74 65 20 64 69 | the opp|osite di|
|000037b0| 72 65 63 74 69 6f 6e 2e | 0a 58 40 65 6e 64 28 64 |rection.|.X@end(d|
|000037c0| 65 73 63 72 69 70 74 69 | 6f 6e 29 0a 58 0a 58 46 |escripti|on).X.XF|
|000037d0| 6f 72 20 61 64 64 74 69 | 6f 6e 61 6c 20 69 6e 66 |or addti|onal inf|
|000037e0| 6f 72 6d 61 74 69 6f 6e | 20 6f 6e 20 77 69 6e 64 |ormation| on wind|
|000037f0| 6f 77 73 2c 20 73 65 65 | 20 40 72 65 66 28 77 69 |ows, see| @ref(wi|
|00003800| 6e 64 6f 77 73 29 2e 0a | 58 40 73 65 63 74 69 6f |ndows)..|X@sectio|
|00003810| 6e 28 42 75 66 66 65 72 | 20 4d 6f 76 69 6e 67 29 |n(Buffer| Moving)|
|00003820| 40 62 65 67 69 6e 28 64 | 65 73 63 72 69 70 74 69 |@begin(d|escripti|
|00003830| 6f 6e 29 0a 58 0a 58 45 | 53 43 20 3c 20 6f 72 20 |on).X.XE|SC < or |
|00003840| 3c 48 4f 4d 45 3e 40 2f | 54 6f 70 2d 4f 66 2d 42 |<HOME>@/|Top-Of-B|
|00003850| 75 66 66 65 72 2e 20 20 | 4d 6f 76 65 73 20 70 6f |uffer. |Moves po|
|00003860| 69 6e 74 20 74 6f 20 74 | 68 65 20 76 65 72 79 20 |int to t|he very |
|00003870| 62 65 67 69 6e 6e 69 6e | 67 20 6f 66 0a 58 74 68 |beginnin|g of.Xth|
|00003880| 65 20 62 75 66 66 65 72 | 2e 0a 58 0a 58 45 53 43 |e buffer|..X.XESC|
|00003890| 20 3e 6f 72 20 3c 73 68 | 69 66 74 2d 48 4f 4d 45 | >or <sh|ift-HOME|
|000038a0| 3e 40 2f 42 6f 74 74 6f | 6d 2d 4f 66 2d 42 75 66 |>@/Botto|m-Of-Buf|
|000038b0| 66 65 72 2e 20 20 4d 6f | 76 65 73 20 70 6f 69 6e |fer. Mo|ves poin|
|000038c0| 74 20 74 6f 20 74 68 65 | 20 76 65 72 79 20 65 6e |t to the| very en|
|000038d0| 64 20 6f 66 20 74 68 65 | 20 62 75 66 66 65 72 2e |d of the| buffer.|
|000038e0| 0a 58 0a 58 45 53 43 20 | 42 40 2f 54 6f 2d 4e 61 |.X.XESC |B@/To-Na|
|000038f0| 6d 65 64 2d 42 75 66 66 | 65 72 2e 20 20 59 6f 75 |med-Buff|er. You|
|00003900| 20 77 69 6c 6c 20 62 65 | 20 70 72 6f 6d 70 74 65 | will be| prompte|
|00003910| 64 20 66 6f 72 20 61 20 | 62 75 66 66 65 72 20 6e |d for a |buffer n|
|00003920| 61 6d 65 20 28 73 65 65 | 0a 58 40 72 65 66 28 62 |ame (see|.X@ref(b|
|00003930| 75 66 6c 69 73 74 29 20 | 6f 6e 20 68 6f 77 20 74 |uflist) |on how t|
|00003940| 6f 20 66 69 6e 64 20 6f | 75 74 20 61 62 6f 75 74 |o find o|ut about|
|00003950| 20 79 6f 75 72 20 62 75 | 66 66 65 72 73 29 20 61 | your bu|ffers) a|
|00003960| 6e 64 20 77 69 6c 6c 20 | 62 65 0a 58 73 77 69 74 |nd will |be.Xswit|
|00003970| 63 68 65 64 20 74 6f 20 | 69 74 2e 20 20 49 66 20 |ched to |it. If |
|00003980| 74 68 65 20 62 75 66 66 | 65 72 20 64 6f 65 73 20 |the buff|er does |
|00003990| 6e 6f 74 20 65 78 69 74 | 73 2c 20 45 4d 41 43 53 |not exit|s, EMACS|
|000039a0| 20 77 69 6c 6c 20 63 72 | 65 61 74 65 20 6f 6e 65 | will cr|eate one|
|000039b0| 0a 58 61 6e 64 20 70 75 | 74 20 79 6f 75 20 69 6e |.Xand pu|t you in|
|000039c0| 74 6f 20 69 74 2e 0a 58 | 0a 58 5e 58 20 58 40 2f |to it..X|.X^X X@/|
|000039d0| 4e 65 78 74 2d 42 75 66 | 66 65 72 2e 20 20 59 6f |Next-Buf|fer. Yo|
|000039e0| 75 20 77 69 6c 6c 20 62 | 65 20 70 75 74 20 69 6e |u will b|e put in|
|000039f0| 74 6f 20 74 68 65 20 6e | 65 78 74 20 62 75 66 66 |to the n|ext buff|
|00003a00| 65 72 0a 58 69 6e 20 74 | 68 65 20 62 75 66 66 65 |er.Xin t|he buffe|
|00003a10| 72 20 6c 69 73 74 2e 20 | 20 4c 69 6b 65 20 77 69 |r list. | Like wi|
|00003a20| 74 68 20 77 69 6e 64 6f | 77 73 2c 20 45 4d 41 43 |th windo|ws, EMAC|
|00003a30| 53 20 63 79 63 6c 65 73 | 20 74 68 72 6f 75 67 68 |S cycles| through|
|00003a40| 20 74 68 65 0a 58 62 75 | 66 66 65 72 20 6c 69 73 | the.Xbu|ffer lis|
|00003a50| 74 20 61 6e 64 20 68 65 | 6e 63 65 20 69 66 20 79 |t and he|nce if y|
|00003a60| 6f 75 20 61 72 65 20 69 | 6e 20 74 68 65 20 6c 61 |ou are i|n the la|
|00003a70| 73 74 20 62 75 66 66 65 | 72 2c 20 79 6f 75 20 77 |st buffe|r, you w|
|00003a80| 69 6c 6c 20 62 65 20 70 | 75 74 0a 58 69 6e 74 6f |ill be p|ut.Xinto|
|00003a90| 20 74 68 65 20 66 69 72 | 73 74 20 6f 6e 65 2e 0a | the fir|st one..|
|00003aa0| 58 40 65 6e 64 28 64 65 | 73 63 72 69 70 74 69 6f |X@end(de|scriptio|
|00003ab0| 6e 29 0a 58 0a 58 46 6f | 72 20 61 64 64 69 74 69 |n).X.XFo|r additi|
|00003ac0| 6f 6e 61 6c 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |onal inf|ormation|
|00003ad0| 20 6f 6e 20 62 75 66 66 | 65 72 73 2c 20 73 65 65 | on buff|ers, see|
|00003ae0| 20 40 72 65 66 28 62 75 | 66 66 65 72 73 29 2e 0a | @ref(bu|ffers)..|
|00003af0| 58 0a 58 40 73 65 63 74 | 69 6f 6e 28 46 69 6c 65 |X.X@sect|ion(File|
|00003b00| 20 4d 6f 76 69 6e 67 29 | 0a 58 41 20 66 69 6c 65 | Moving)|.XA file|
|00003b10| 20 69 73 20 61 20 6e 61 | 6d 65 64 20 63 6f 6c 6c | is a na|med coll|
|00003b20| 65 63 74 69 6f 6e 20 6f | 66 20 74 65 78 74 20 61 |ection o|f text a|
|00003b30| 6e 64 20 69 73 20 61 73 | 73 6f 63 69 61 74 65 64 |nd is as|sociated|
|00003b40| 20 77 69 74 68 20 61 20 | 62 75 66 66 65 72 0a 58 | with a |buffer.X|
|00003b50| 69 6e 20 45 4d 41 43 53 | 2e 20 20 45 4d 41 43 53 |in EMACS|. EMACS|
|00003b60| 20 61 6c 6c 6f 77 73 20 | 66 75 6c 6c 20 66 69 6c | allows |full fil|
|00003b70| 65 6e 61 6d 65 73 3b 20 | 68 65 6e 63 65 20 74 68 |enames; |hence th|
|00003b80| 65 20 66 75 6c 6c 20 70 | 61 74 68 20 63 61 6e 20 |e full p|ath can |
|00003b90| 62 65 20 73 70 65 63 69 | 66 65 64 2e 0a 58 49 6e |be speci|fed..XIn|
|00003ba0| 20 61 6c 6c 20 63 61 73 | 65 73 20 6f 66 20 6d 6f | all cas|es of mo|
|00003bb0| 76 69 6e 67 20 62 65 74 | 77 65 65 6e 20 66 69 6c |ving bet|ween fil|
|00003bc0| 65 73 2c 20 79 6f 75 20 | 77 69 6c 6c 20 62 65 20 |es, you |will be |
|00003bd0| 70 72 6f 6d 70 74 65 64 | 20 66 6f 72 20 61 20 66 |prompted| for a f|
|00003be0| 69 6c 65 6e 61 6d 65 0a | 58 54 79 70 65 20 69 74 |ilename.|XType it|
|00003bf0| 20 69 6e 20 61 6e 64 20 | 68 69 74 20 3c 72 65 74 | in and |hit <ret|
|00003c00| 75 72 6e 3e 2e 0a 58 40 | 62 65 67 69 6e 28 64 65 |urn>..X@|begin(de|
|00003c10| 73 63 72 69 70 74 69 6f | 6e 29 0a 58 0a 58 5e 58 |scriptio|n).X.X^X|
|00003c20| 20 5e 52 40 2f 52 65 61 | 64 2d 46 69 6c 65 2e 20 | ^R@/Rea|d-File. |
|00003c30| 20 54 68 65 20 66 69 6c | 65 2c 20 69 66 20 66 6f | The fil|e, if fo|
|00003c40| 75 6e 64 2c 20 69 73 20 | 72 65 61 64 20 69 6e 74 |und, is |read int|
|00003c50| 6f 20 74 68 65 0a 58 63 | 75 72 72 65 6e 74 20 62 |o the.Xc|urrent b|
|00003c60| 75 66 66 65 72 20 6f 76 | 65 72 77 72 69 74 69 6e |uffer ov|erwritin|
|00003c70| 67 20 61 6e 79 20 74 65 | 78 74 20 61 6c 72 65 61 |g any te|xt alrea|
|00003c80| 64 79 20 69 6e 20 69 74 | 2e 20 49 66 20 74 68 65 |dy in it|. If the|
|00003c90| 20 62 75 66 66 65 72 20 | 68 61 73 0a 58 62 65 65 | buffer |has.Xbee|
|00003ca0| 6e 20 63 68 61 6e 67 65 | 64 20 61 6e 64 20 79 6f |n change|d and yo|
|00003cb0| 75 20 68 61 76 65 20 6e | 6f 74 20 73 61 76 65 64 |u have n|ot saved|
|00003cc0| 20 79 6f 75 72 20 63 68 | 61 6e 67 65 73 2c 20 79 | your ch|anges, y|
|00003cd0| 6f 75 20 77 69 6c 6c 20 | 62 65 20 61 73 6b 65 64 |ou will |be asked|
|00003ce0| 20 74 6f 0a 58 63 6f 6e | 66 69 72 6d 20 74 68 65 | to.Xcon|firm the|
|00003cf0| 20 6f 76 65 72 77 72 69 | 74 65 2e 20 20 49 66 20 | overwri|te. If |
|00003d00| 74 68 65 20 66 69 6c 65 | 20 69 73 20 6e 6f 74 20 |the file| is not |
|00003d10| 66 6f 75 6e 64 20 77 68 | 65 72 65 20 73 70 65 63 |found wh|ere spec|
|00003d20| 69 66 69 65 64 2c 20 69 | 74 0a 58 69 73 20 61 73 |ified, i|t.Xis as|
|00003d30| 73 75 6d 65 64 20 74 68 | 61 74 20 79 6f 75 20 77 |sumed th|at you w|
|00003d40| 69 73 68 20 74 6f 20 63 | 72 65 61 74 65 20 61 20 |ish to c|reate a |
|00003d50| 6e 65 77 20 66 69 6c 65 | 20 77 69 74 68 20 74 68 |new file| with th|
|00003d60| 61 74 20 6e 61 6d 65 20 | 61 6e 64 20 79 6f 75 72 |at name |and your|
|00003d70| 0a 58 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |.Xcurren|t buffer|
|00003d80| 20 69 73 20 6d 65 72 65 | 6c 79 20 65 6d 70 74 69 | is mere|ly empti|
|00003d90| 65 64 2e 0a 58 0a 58 5e | 58 20 5e 46 40 2f 46 69 |ed..X.X^|X ^F@/Fi|
|00003da0| 6e 64 2d 46 69 6c 65 2e | 20 20 45 4d 41 43 53 20 |nd-File.| EMACS |
|00003db0| 61 74 74 65 6d 70 74 73 | 20 66 69 72 73 74 20 74 |attempts| first t|
|00003dc0| 6f 20 66 69 6e 64 20 74 | 68 65 0a 58 73 70 65 63 |o find t|he.Xspec|
|00003dd0| 69 66 69 65 64 20 66 69 | 6c 65 20 77 69 74 68 69 |ified fi|le withi|
|00003de0| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 65 78 69 |n one of| the exi|
|00003df0| 73 74 69 6e 67 20 62 75 | 66 66 65 72 73 2e 20 20 |sting bu|ffers. |
|00003e00| 49 66 20 69 74 20 66 69 | 6e 64 73 20 74 68 65 20 |If it fi|nds the |
|00003e10| 66 69 6c 65 0a 58 69 74 | 20 6d 65 72 65 6c 79 20 |file.Xit| merely |
|00003e20| 73 77 69 74 63 68 65 73 | 20 79 6f 75 20 74 6f 20 |switches| you to |
|00003e30| 74 68 61 74 20 62 75 66 | 66 65 72 2e 20 20 49 66 |that buf|fer. If|
|00003e40| 20 69 74 20 64 6f 65 73 | 20 6e 6f 74 2c 20 69 74 | it does| not, it|
|00003e50| 20 77 69 6c 6c 0a 58 63 | 72 65 61 74 65 20 61 20 | will.Xc|reate a |
|00003e60| 6e 65 77 20 62 75 66 66 | 65 72 2c 20 72 65 61 64 |new buff|er, read|
|00003e70| 20 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 66 | the spe|cified f|
|00003e80| 69 6c 65 20 69 66 20 66 | 6f 75 6e 64 20 69 6e 74 |ile if f|ound int|
|00003e90| 6f 20 69 74 2c 20 61 6e | 64 0a 58 73 77 69 74 63 |o it, an|d.Xswitc|
|00003ea0| 68 20 79 6f 75 20 74 6f | 20 74 68 65 20 6e 65 77 |h you to| the new|
|00003eb0| 20 62 75 66 66 65 72 2e | 20 20 49 66 20 74 68 65 | buffer.| If the|
|00003ec0| 20 66 69 6c 65 20 69 73 | 20 6e 6f 74 20 66 6f 75 | file is| not fou|
|00003ed0| 6e 64 2c 20 61 20 6e 65 | 77 20 62 75 66 66 65 72 |nd, a ne|w buffer|
|00003ee0| 0a 58 69 73 20 63 72 65 | 61 74 65 64 20 61 6e 64 |.Xis cre|ated and|
|00003ef0| 20 79 6f 75 20 77 69 6c | 6c 20 62 65 20 70 75 74 | you wil|l be put|
|00003f00| 20 69 6e 74 6f 20 69 74 | 2e 0a 58 0a 58 5e 58 20 | into it|..X.X^X |
|00003f10| 5e 56 40 2f 56 69 65 77 | 2d 46 69 6c 65 2e 20 20 |^V@/View|-File. |
|00003f20| 4c 69 6b 65 20 66 69 6e | 64 2d 61 2d 66 69 6c 65 |Like fin|d-a-file|
|00003f30| 20 61 62 6f 76 65 20 65 | 78 63 65 70 74 20 74 68 | above e|xcept th|
|00003f40| 61 74 20 74 68 65 0a 58 | 56 49 45 57 20 6d 6f 64 |at the.X|VIEW mod|
|00003f50| 65 20 69 73 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |e is aut|omatical|
|00003f60| 6c 79 20 61 64 64 65 64 | 20 74 6f 20 74 68 65 20 |ly added| to the |
|00003f70| 62 75 66 66 65 72 2e 20 | 20 49 6e 20 74 68 69 73 |buffer. | In this|
|00003f80| 20 6d 6f 64 65 20 79 6f | 75 20 61 72 65 0a 58 6f | mode yo|u are.Xo|
|00003f90| 6e 6c 79 20 61 6c 6c 6f | 77 65 64 20 74 6f 20 6d |nly allo|wed to m|
|00003fa0| 6f 76 65 20 61 72 6f 75 | 6e 64 20 74 68 65 20 62 |ove arou|nd the b|
|00003fb0| 75 66 66 65 72 20 61 6e | 64 20 63 61 6e 6e 6f 74 |uffer an|d cannot|
|00003fc0| 20 6d 61 6b 65 20 61 6e | 79 20 63 68 61 6e 67 65 | make an|y change|
|00003fd0| 73 2e 0a 58 40 65 6e 64 | 28 64 65 73 63 72 69 70 |s..X@end|(descrip|
|00003fe0| 74 69 6f 6e 29 0a 58 20 | 0a 58 40 63 68 61 70 74 |tion).X |.X@chapt|
|00003ff0| 65 72 28 44 45 4c 45 54 | 49 4e 47 29 0a 58 4c 69 |er(DELET|ING).XLi|
|00004000| 6b 65 20 6d 6f 76 69 6e | 67 20 61 72 6f 75 6e 64 |ke movin|g around|
|00004010| 2c 20 64 65 6c 65 74 69 | 6e 67 20 69 73 20 61 6e |, deleti|ng is an|
|00004020| 20 61 63 74 69 6f 6e 20 | 74 68 61 74 20 63 61 6e | action |that can|
|00004030| 20 77 6f 72 6b 20 77 69 | 74 68 20 61 20 76 61 72 | work wi|th a var|
|00004040| 69 65 74 79 0a 58 6f 66 | 20 6f 62 6a 65 63 74 73 |iety.Xof| objects|
|00004050| 3a 20 20 63 68 61 72 61 | 63 74 65 72 73 2c 20 77 |: chara|cters, w|
|00004060| 6f 72 64 73 2c 20 6c 69 | 6e 65 73 2c 20 70 61 72 |ords, li|nes, par|
|00004070| 61 67 72 61 70 68 73 2c | 20 72 65 67 69 6f 6e 73 |agraphs,| regions|
|00004080| 2c 20 77 69 6e 64 6f 77 | 73 2c 20 61 6e 64 0a 58 |, window|s, and.X|
|00004090| 62 75 66 66 65 72 73 2e | 20 20 49 74 20 69 73 20 |buffers.| It is |
|000040a0| 77 6f 72 74 68 20 72 65 | 69 74 65 72 61 74 69 6e |worth re|iteratin|
|000040b0| 67 20 74 68 61 74 20 74 | 68 65 20 6f 62 6a 65 63 |g that t|he objec|
|000040c0| 74 20 69 73 20 64 65 66 | 69 6e 65 64 20 72 65 6c |t is def|ined rel|
|000040d0| 61 74 69 76 65 0a 58 74 | 6f 20 74 68 65 20 70 6f |ative.Xt|o the po|
|000040e0| 69 6e 74 20 61 6e 64 20 | 6e 6f 74 20 74 68 65 20 |int and |not the |
|000040f0| 6f 62 6a 65 63 74 20 61 | 73 20 61 20 77 68 6f 6c |object a|s a whol|
|00004100| 65 2e 20 20 48 65 6e 63 | 65 2c 20 69 66 20 79 6f |e. Henc|e, if yo|
|00004110| 75 20 61 72 65 20 69 6e | 20 74 68 65 0a 58 6d 69 |u are in| the.Xmi|
|00004120| 64 64 6c 65 20 6f 66 20 | 61 20 77 6f 72 64 20 61 |ddle of |a word a|
|00004130| 6e 64 20 69 73 73 75 65 | 20 61 20 64 65 6c 65 74 |nd issue| a delet|
|00004140| 65 2d 66 6f 72 77 61 72 | 64 2d 77 6f 72 64 20 63 |e-forwar|d-word c|
|00004150| 6f 6d 6d 61 6e 64 2c 20 | 74 68 65 20 74 65 78 74 |ommand, |the text|
|00004160| 0a 58 64 65 6c 65 74 65 | 64 20 69 73 20 61 63 74 |.Xdelete|d is act|
|00004170| 75 61 6c 6c 79 20 66 72 | 6f 6d 20 74 68 65 20 70 |ually fr|om the p|
|00004180| 6f 69 6e 74 20 74 6f 20 | 74 68 65 20 65 6e 64 20 |oint to |the end |
|00004190| 6f 66 20 74 68 65 20 77 | 6f 72 64 2e 0a 58 40 73 |of the w|ord..X@s|
|000041a0| 65 63 74 69 6f 6e 28 43 | 68 61 72 61 63 74 65 72 |ection(C|haracter|
|000041b0| 29 40 62 65 67 69 6e 28 | 64 65 73 63 72 69 70 74 |)@begin(|descript|
|000041c0| 69 6f 6e 29 0a 58 43 54 | 52 4c 2d 44 40 2f 44 65 |ion).XCT|RL-D@/De|
|000041d0| 6c 65 74 65 2d 46 6f 72 | 77 61 72 64 2d 43 68 61 |lete-For|ward-Cha|
|000041e0| 72 61 63 74 65 72 2e 20 | 20 53 69 6e 63 65 20 74 |racter. | Since t|
|000041f0| 68 65 20 70 6f 69 6e 74 | 20 69 73 20 61 6c 77 61 |he point| is alwa|
|00004200| 79 73 20 6a 75 73 74 20 | 62 65 66 6f 72 65 0a 58 |ys just |before.X|
|00004210| 74 68 65 20 63 75 72 73 | 6f 72 2c 20 74 68 65 20 |the curs|or, the |
|00004220| 63 68 61 72 61 63 74 65 | 72 20 75 6e 64 65 72 20 |characte|r under |
|00004230| 74 68 65 20 63 75 72 73 | 6f 72 20 69 73 20 64 65 |the curs|or is de|
|00004240| 6c 65 74 65 64 2e 20 20 | 57 68 65 6e 20 79 6f 75 |leted. |When you|
|00004250| 20 61 72 65 0a 58 61 74 | 20 74 68 65 20 65 6e 64 | are.Xat| the end|
|00004260| 20 6f 66 20 61 20 6c 69 | 6e 65 2c 20 74 68 65 20 | of a li|ne, the |
|00004270| 70 6f 69 6e 74 20 69 73 | 20 6a 75 73 74 20 62 65 |point is| just be|
|00004280| 66 6f 72 65 20 74 68 65 | 20 3c 6e 65 77 6c 69 6e |fore the| <newlin|
|00004290| 65 3e 0a 58 63 68 61 72 | 61 63 74 65 72 20 61 6e |e>.Xchar|acter an|
|000042a0| 64 2c 20 74 68 65 72 65 | 66 6f 72 65 2c 20 61 20 |d, there|fore, a |
|000042b0| 44 65 6c 65 74 65 2d 46 | 6f 72 77 61 72 64 2d 43 |Delete-F|orward-C|
|000042c0| 68 61 72 61 63 74 65 72 | 20 22 65 61 74 73 22 20 |haracter| "eats" |
|000042d0| 75 70 20 74 68 65 20 3c | 6e 65 77 6c 69 6e 65 3e |up the <|newline>|
|000042e0| 20 2d 2d 0a 58 69 6e 20 | 65 66 66 65 63 74 20 74 | --.Xin |effect t|
|000042f0| 68 69 73 20 6a 6f 69 6e | 73 20 74 68 65 20 6e 65 |his join|s the ne|
|00004300| 78 74 20 6c 69 6e 65 20 | 74 6f 20 74 68 65 20 63 |xt line |to the c|
|00004310| 75 72 72 65 6e 74 20 6f | 6e 65 2e 0a 58 0a 58 43 |urrent o|ne..X.XC|
|00004320| 54 52 4c 2d 48 20 20 6f | 72 20 3c 42 41 43 4b 53 |TRL-H o|r <BACKS|
|00004330| 50 41 43 45 3e 40 2f 44 | 65 6c 65 74 65 2d 42 61 |PACE>@/D|elete-Ba|
|00004340| 63 6b 77 61 72 64 2d 43 | 68 61 72 61 63 74 65 72 |ckward-C|haracter|
|00004350| 2e 20 20 54 68 69 73 20 | 64 65 6c 65 74 65 73 20 |. This |deletes |
|00004360| 74 68 65 0a 58 63 68 61 | 72 61 63 74 65 72 20 62 |the.Xcha|racter b|
|00004370| 65 66 6f 72 65 20 70 6f | 69 6e 74 2e 20 20 41 74 |efore po|int. At|
|00004380| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00004390| 66 20 61 20 6c 69 6e 65 | 2c 20 69 74 20 64 65 6c |f a line|, it del|
|000043a0| 65 74 65 73 20 74 68 65 | 0a 58 70 72 65 76 69 6f |etes the|.Xprevio|
|000043b0| 75 73 20 3c 6e 65 77 6c | 69 6e 65 3e 20 63 68 61 |us <newl|ine> cha|
|000043c0| 72 61 63 74 65 72 20 61 | 6e 64 20 68 65 6e 63 65 |racter a|nd hence|
|000043d0| 20 6a 6f 69 6e 73 20 74 | 68 65 20 63 75 72 72 65 | joins t|he curre|
|000043e0| 6e 74 20 6c 69 6e 65 20 | 74 6f 20 74 68 65 0a 58 |nt line |to the.X|
|000043f0| 70 72 65 76 69 6f 75 73 | 20 6f 6e 65 2e 0a 58 40 |previous| one..X@|
|00004400| 65 6e 64 28 64 65 73 63 | 72 69 70 74 69 6f 6e 29 |end(desc|ription)|
|00004410| 40 73 65 63 74 69 6f 6e | 28 57 6f 72 64 29 40 62 |@section|(Word)@b|
|00004420| 65 67 69 6e 28 64 65 73 | 63 72 69 70 74 69 6f 6e |egin(des|cription|
|00004430| 29 0a 58 45 53 43 20 44 | 40 2f 44 65 6c 65 74 65 |).XESC D|@/Delete|
|00004440| 2d 46 6f 72 77 61 72 64 | 2d 57 6f 72 64 2e 20 20 |-Forward|-Word. |
|00004450| 44 65 6c 65 74 65 73 20 | 74 68 65 20 74 65 78 74 |Deletes |the text|
|00004460| 20 66 72 6f 6d 20 74 68 | 65 20 70 6f 69 6e 74 20 | from th|e point |
|00004470| 74 6f 20 74 68 65 0a 58 | 40 69 3c 62 65 67 69 6e |to the.X|@i<begin|
|00004480| 6e 69 6e 67 3e 20 6f 66 | 20 74 68 65 20 6e 65 78 |ning> of| the nex|
|00004490| 74 20 77 6f 72 64 2e 20 | 20 48 65 6e 63 65 2c 20 |t word. | Hence, |
|000044a0| 61 6e 79 20 70 75 6e 63 | 74 75 61 74 69 6f 6e 20 |any punc|tuation |
|000044b0| 73 65 70 61 72 61 74 69 | 6e 67 20 74 68 65 0a 58 |separati|ng the.X|
|000044c0| 77 6f 72 64 73 20 69 73 | 20 61 6c 73 6f 20 64 65 |words is| also de|
|000044d0| 6c 65 74 65 64 2e 0a 58 | 0a 58 45 53 43 20 3c 62 |leted..X|.XESC <b|
|000044e0| 61 63 6b 73 70 61 63 65 | 3e 20 6f 72 20 45 53 43 |ackspace|> or ESC|
|000044f0| 20 43 54 52 4c 2d 48 40 | 2f 44 65 6c 65 74 65 2d | CTRL-H@|/Delete-|
|00004500| 42 61 63 6b 77 61 72 64 | 2d 57 6f 72 64 2e 20 20 |Backward|-Word. |
|00004510| 4c 69 6b 65 20 61 62 6f | 76 65 20 62 75 74 0a 58 |Like abo|ve but.X|
|00004520| 69 6e 20 74 68 65 20 72 | 65 76 65 72 73 73 65 20 |in the r|eversse |
|00004530| 64 69 72 65 63 74 69 6f | 6e 2e 0a 58 40 65 6e 64 |directio|n..X@end|
|00004540| 28 64 65 73 63 72 69 70 | 74 69 6f 6e 29 40 73 65 |(descrip|tion)@se|
|00004550| 63 74 69 6f 6e 28 4c 69 | 6e 65 29 40 62 65 67 69 |ction(Li|ne)@begi|
|00004560| 6e 28 64 65 73 63 72 69 | 70 74 69 6f 6e 29 0a 58 |n(descri|ption).X|
|00004570| 43 54 52 4c 2d 4b 40 2f | 44 65 6c 65 74 65 2d 54 |CTRL-K@/|Delete-T|
|00004580| 6f 2d 45 6e 64 2d 4f 66 | 2d 4c 69 6e 65 20 28 4b |o-End-Of|-Line (K|
|00004590| 69 6c 6c 20 6c 69 6e 65 | 29 2e 20 20 41 6c 6c 20 |ill line|). All |
|000045a0| 63 68 61 72 61 63 74 65 | 72 73 20 66 72 6f 6d 20 |characte|rs from |
|000045b0| 70 6f 69 6e 74 20 74 6f | 20 74 68 65 20 65 6e 64 |point to| the end|
|000045c0| 0a 58 6f 66 20 74 68 65 | 20 6c 69 6e 65 20 61 72 |.Xof the| line ar|
|000045d0| 65 20 64 65 6c 65 74 65 | 64 2e 20 20 40 69 5b 54 |e delete|d. @i[T|
|000045e0| 68 65 20 3c 6e 65 77 2d | 6c 69 6e 65 3e 20 63 68 |he <new-|line> ch|
|000045f0| 61 72 61 63 74 65 72 20 | 69 73 20 4e 4f 54 20 64 |aracter |is NOT d|
|00004600| 65 6c 65 74 65 64 2e 5d | 0a 58 0a 58 09 54 6f 20 |eleted.]|.X.X.To |
|00004610| 64 65 6c 65 74 65 20 61 | 20 6c 69 6e 65 20 63 6f |delete a| line co|
|00004620| 6d 70 6c 65 74 65 6c 79 | 20 66 72 6f 6d 20 74 68 |mpletely| from th|
|00004630| 65 20 62 75 66 66 65 72 | 20 79 6f 75 20 77 6f 75 |e buffer| you wou|
|00004640| 6c 64 20 68 61 76 65 20 | 74 6f 20 64 6f 20 74 68 |ld have |to do th|
|00004650| 65 0a 58 66 6f 6c 6c 6f | 77 69 6e 67 3a 20 43 54 |e.Xfollo|wing: CT|
|00004660| 52 4c 2d 41 20 28 53 74 | 61 72 74 2d 4f 66 2d 4c |RL-A (St|art-Of-L|
|00004670| 69 6e 65 29 20 43 54 52 | 4c 2d 4b 20 28 44 65 6c |ine) CTR|L-K (Del|
|00004680| 65 74 65 2d 54 6f 2d 45 | 6e 64 2d 4f 66 2d 4c 69 |ete-To-E|nd-Of-Li|
|00004690| 6e 65 29 20 43 54 52 4c | 2d 44 0a 58 28 44 65 6c |ne) CTRL|-D.X(Del|
|000046a0| 65 74 65 2d 46 6f 72 77 | 61 72 64 2d 43 68 61 72 |ete-Forw|ard-Char|
|000046b0| 61 63 74 65 72 20 74 6f | 20 64 65 6c 65 74 65 20 |acter to| delete |
|000046c0| 74 68 65 20 3c 6e 65 77 | 6c 69 6e 65 3e 20 63 68 |the <new|line> ch|
|000046d0| 61 72 61 63 74 65 72 29 | 2e 0a 58 0a 58 40 74 61 |aracter)|..X.X@ta|
|000046e0| 67 28 64 65 6c 65 74 65 | 29 0a 58 41 73 20 77 69 |g(delete|).XAs wi|
|000046f0| 74 68 20 61 6c 6c 20 6d | 61 6a 6f 72 20 64 65 6c |th all m|ajor del|
|00004700| 65 74 65 73 20 28 69 2e | 65 2e 2c 20 77 68 65 6e |etes (i.|e., when|
|00004710| 20 6d 6f 72 65 20 74 68 | 61 6e 20 61 20 66 65 77 | more th|an a few|
|00004720| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 | charact|ers are |
|00004730| 64 65 6c 65 74 65 64 0a | 58 45 4d 41 43 53 20 70 |deleted.|XEMACS p|
|00004740| 6c 61 63 65 73 20 74 68 | 65 20 64 65 6c 65 74 65 |laces th|e delete|
|00004750| 64 20 74 65 78 74 20 69 | 6e 20 61 20 4b 49 4c 4c |d text i|n a KILL|
|00004760| 53 20 62 75 66 66 65 72 | 2e 20 20 48 65 6e 63 65 |S buffer|. Hence|
|00004770| 2c 20 74 68 65 20 64 65 | 6c 65 74 69 6f 6e 0a 58 |, the de|letion.X|
|00004780| 63 61 6e 20 62 65 20 75 | 6e 64 6f 6e 65 20 62 79 |can be u|ndone by|
|00004790| 20 22 79 61 6e 6b 69 6e | 67 22 20 74 68 65 20 74 | "yankin|g" the t|
|000047a0| 65 78 74 20 62 61 63 6b | 20 61 74 20 70 6f 69 6e |ext back| at poin|
|000047b0| 74 20 28 75 73 69 6e 67 | 20 43 54 52 4c 2d 59 29 |t (using| CTRL-Y)|
|000047c0| 2e 0a 58 0a 58 43 54 52 | 4c 2d 58 20 43 54 52 4c |..X.XCTR|L-X CTRL|
|000047d0| 2d 4f 20 28 6f 68 29 40 | 2f 44 65 6c 65 74 65 2d |-O (oh)@|/Delete-|
|000047e0| 42 6c 61 6e 6b 2d 4c 69 | 6e 65 73 2e 20 20 54 68 |Blank-Li|nes. Th|
|000047f0| 69 73 20 63 6f 6d 6d 61 | 6e 64 20 64 65 6c 65 74 |is comma|nd delet|
|00004800| 65 73 20 61 6c 6c 20 62 | 6c 61 6e 6b 0a 58 40 69 |es all b|lank.X@i|
|00004810| 3c 6c 69 6e 65 73 3e 20 | 61 72 6f 75 6e 64 20 74 |<lines> |around t|
|00004820| 68 65 20 63 75 72 72 65 | 6e 74 20 6c 69 6e 65 2e |he curre|nt line.|
|00004830| 20 20 49 66 20 74 68 65 | 72 65 20 69 73 20 6f 6e | If the|re is on|
|00004840| 6c 79 20 62 6c 61 6e 6b | 20 6c 69 6e 65 20 61 66 |ly blank| line af|
|00004850| 74 65 72 20 74 68 65 0a | 58 63 75 72 72 65 6e 74 |ter the.|Xcurrent|
|00004860| 20 6c 69 6e 65 20 69 74 | 20 69 73 20 40 69 3c 6e | line it| is @i<n|
|00004870| 6f 74 3e 20 64 65 6c 65 | 74 65 64 2e 20 20 48 6f |ot> dele|ted. Ho|
|00004880| 77 65 76 65 72 2c 20 69 | 66 20 74 68 65 72 65 20 |wever, i|f there |
|00004890| 61 72 65 20 6d 6f 72 65 | 20 74 68 61 6e 20 31 0a |are more| than 1.|
|000048a0| 58 62 6c 61 6e 6b 20 6c | 69 6e 65 73 20 61 66 74 |Xblank l|ines aft|
|000048b0| 65 72 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 6c |er the c|urrent l|
|000048c0| 69 6e 65 2c 20 40 69 3c | 61 6c 6c 3e 20 6f 66 20 |ine, @i<|all> of |
|000048d0| 74 68 65 6d 20 61 72 65 | 20 64 65 6c 65 74 65 64 |them are| deleted|
|000048e0| 2e 40 74 61 67 28 64 65 | 62 6c 61 6e 6b 29 0a 58 |.@tag(de|blank).X|
|000048f0| 40 65 6e 64 28 64 65 73 | 63 72 69 70 74 69 6f 6e |@end(des|cription|
|00004900| 29 40 73 65 63 74 69 6f | 6e 28 52 65 67 69 6f 6e |)@sectio|n(Region|
|00004910| 29 0a 58 54 68 65 20 72 | 65 67 69 6f 6e 20 69 73 |).XThe r|egion is|
|00004920| 20 61 6e 20 61 72 62 69 | 74 72 61 72 79 20 61 72 | an arbi|trary ar|
|00004930| 65 61 20 6f 66 20 74 68 | 65 20 62 75 66 66 65 72 |ea of th|e buffer|
|00004940| 20 64 65 6d 61 72 63 61 | 74 65 64 20 62 79 20 74 | demarca|ted by t|
|00004950| 68 65 20 70 6f 69 6e 74 | 20 0a 58 28 6a 75 73 74 |he point| .X(just|
|00004960| 20 62 65 66 6f 72 65 20 | 74 68 65 20 63 75 72 73 | before |the curs|
|00004970| 6f 72 21 29 20 61 6e 64 | 20 74 68 65 20 6d 61 72 |or!) and| the mar|
|00004980| 6b 2e 20 54 68 65 20 6d | 61 72 6b 20 69 73 20 69 |k. The m|ark is i|
|00004990| 6e 76 69 73 69 62 6c 65 | 20 61 6e 64 20 69 73 0a |nvisible| and is.|
|000049a0| 58 73 65 74 20 75 73 69 | 6e 67 20 45 53 43 20 2e |Xset usi|ng ESC .|
|000049b0| 20 6f 72 20 45 53 43 20 | 3c 73 70 61 63 65 3e 2e | or ESC |<space>.|
|000049c0| 20 20 54 6f 20 73 65 65 | 20 74 68 65 20 6f 74 68 | To see| the oth|
|000049d0| 65 72 20 65 6e 64 20 6f | 66 20 74 68 65 20 72 65 |er end o|f the re|
|000049e0| 67 69 6f 6e 2c 0a 58 75 | 73 65 20 74 68 65 20 45 |gion,.Xu|se the E|
|000049f0| 78 63 68 61 6e 67 65 2d | 50 6f 69 6e 74 2d 41 6e |xchange-|Point-An|
|00004a00| 64 2d 4d 61 72 6b 20 28 | 43 54 52 4c 2d 58 20 58 |d-Mark (|CTRL-X X|
|00004a10| 54 52 4c 2d 58 29 20 63 | 6f 6d 6d 61 6e 64 2e 20 |TRL-X) c|ommand. |
|00004a20| 20 53 69 6e 63 65 20 74 | 68 65 0a 58 72 65 67 69 | Since t|he.Xregi|
|00004a30| 6f 6e 20 68 61 73 20 6e | 6f 20 64 69 72 65 63 74 |on has n|o direct|
|00004a40| 69 6f 6e 20 61 73 73 6f | 63 69 61 74 65 64 20 77 |ion asso|ciated w|
|00004a50| 69 74 68 20 69 74 2c 20 | 74 68 69 73 20 65 66 66 |ith it, |this eff|
|00004a60| 65 63 74 69 76 65 6c 79 | 20 73 68 6f 77 73 20 79 |ectively| shows y|
|00004a70| 6f 75 0a 58 74 68 65 20 | 6d 61 72 6b 20 61 6e 64 |ou.Xthe |mark and|
|00004a80| 20 61 6c 6c 20 72 65 67 | 69 6f 6e 20 63 6f 6d 6d | all reg|ion comm|
|00004a90| 61 6e 64 73 20 77 6f 72 | 6b 20 63 6f 72 72 65 63 |ands wor|k correc|
|00004aa0| 74 6c 79 2e 20 20 46 75 | 72 74 68 65 72 6d 6f 72 |tly. Fu|rthermor|
|00004ab0| 65 2c 20 73 69 6e 63 65 | 0a 58 74 68 65 20 72 65 |e, since|.Xthe re|
|00004ac0| 67 69 6f 6e 20 69 73 20 | 63 6f 6d 70 6c 65 74 65 |gion is |complete|
|00004ad0| 6c 79 20 61 72 62 69 74 | 72 61 72 79 20 69 6e 20 |ly arbit|rary in |
|00004ae0| 73 69 7a 65 20 79 6f 75 | 20 63 6f 75 6c 64 20 64 |size you| could d|
|00004af0| 65 6d 61 72 63 61 74 65 | 20 61 6e 79 0a 58 73 69 |emarcate| any.Xsi|
|00004b00| 7a 65 64 20 6f 62 6a 65 | 63 74 20 66 72 6f 6d 20 |zed obje|ct from |
|00004b10| 61 20 73 69 6e 67 6c 65 | 20 63 68 61 72 61 63 74 |a single| charact|
|00004b20| 65 72 20 61 6c 6c 20 74 | 68 65 20 77 61 79 20 74 |er all t|he way t|
|00004b30| 6f 20 74 68 65 20 65 6e | 74 69 72 65 20 62 75 66 |o the en|tire buf|
|00004b40| 66 65 72 2e 0a 58 40 64 | 65 73 63 72 69 70 74 69 |fer..X@d|escripti|
|00004b50| 6f 6e 3c 0a 58 43 54 52 | 4c 2d 57 40 2f 44 65 6c |on<.XCTR|L-W@/Del|
|00004b60| 65 74 65 2d 52 65 67 69 | 6f 6e 20 28 6b 69 6c 6c |ete-Regi|on (kill|
|00004b70| 20 57 6f 72 6c 64 21 29 | 2e 20 20 44 65 6c 65 74 | World!)|. Delet|
|00004b80| 65 73 20 74 68 65 20 72 | 65 67 69 6f 6e 20 28 62 |es the r|egion (b|
|00004b90| 65 74 77 65 65 6e 0a 58 | 70 6f 69 6e 74 20 61 6e |etween.X|point an|
|00004ba0| 64 20 6d 61 72 6b 29 20 | 61 6e 64 20 70 6c 61 63 |d mark) |and plac|
|00004bb0| 65 73 20 74 68 65 20 6b | 69 6c 6c 65 64 20 74 65 |es the k|illed te|
|00004bc0| 78 74 20 69 6e 20 74 68 | 65 20 4b 49 4c 4c 53 20 |xt in th|e KILLS |
|00004bd0| 62 75 66 66 65 72 20 74 | 6f 20 62 65 20 22 79 61 |buffer t|o be "ya|
|00004be0| 6e 6b 65 64 22 0a 58 62 | 61 63 6b 20 28 77 69 74 |nked".Xb|ack (wit|
|00004bf0| 68 20 43 54 52 4c 2d 59 | 29 20 61 74 20 74 68 65 |h CTRL-Y|) at the|
|00004c00| 20 70 6f 69 6e 74 2e 20 | 20 48 65 6e 63 65 20 69 | point. | Hence i|
|00004c10| 66 20 79 6f 75 20 65 76 | 65 72 20 61 63 63 69 64 |f you ev|er accid|
|00004c20| 65 6e 74 61 6c 6c 79 20 | 74 79 70 65 20 43 54 52 |entally |type CTR|
|00004c30| 4c 2d 57 0a 58 73 69 6d | 70 6c 79 20 75 6e 64 6f |L-W.Xsim|ply undo|
|00004c40| 20 69 74 20 77 69 74 68 | 20 61 6e 20 69 6d 6d 65 | it with| an imme|
|00004c50| 64 69 61 74 65 20 43 54 | 52 4c 2d 59 20 28 73 74 |diate CT|RL-Y (st|
|00004c60| 72 69 63 74 6c 79 20 73 | 70 65 61 6b 69 6e 67 20 |rictly s|peaking |
|00004c70| 74 68 69 73 20 64 6f 65 | 73 0a 58 6e 6f 74 20 68 |this doe|s.Xnot h|
|00004c80| 61 76 65 20 74 6f 20 62 | 65 20 64 6f 6e 65 20 69 |ave to b|e done i|
|00004c90| 6d 6d 65 64 69 61 74 65 | 6c 79 20 73 69 6e 63 65 |mmediate|ly since|
|00004ca0| 20 74 68 65 20 4b 49 4c | 4c 53 20 62 75 66 66 65 | the KIL|LS buffe|
|00004cb0| 72 20 69 73 20 6f 76 65 | 72 77 72 69 74 74 65 6e |r is ove|rwritten|
|00004cc0| 0a 58 6f 6e 6c 79 20 77 | 69 74 68 20 74 68 65 20 |.Xonly w|ith the |
|00004cd0| 6e 65 78 74 20 62 69 67 | 20 64 65 6c 65 74 65 29 |next big| delete)|
|00004ce0| 2e 3e 0a 58 40 73 65 63 | 74 69 6f 6e 3c 57 69 6e |.>.X@sec|tion<Win|
|00004cf0| 64 6f 77 73 3e 40 64 65 | 73 63 72 69 70 74 69 6f |dows>@de|scriptio|
|00004d00| 6e 3c 0a 58 43 54 52 4c | 2d 58 20 31 20 28 6f 6e |n<.XCTRL|-X 1 (on|
|00004d10| 65 29 40 2f 43 6c 6f 73 | 65 2d 41 6c 6c 2d 4f 74 |e)@/Clos|e-All-Ot|
|00004d20| 68 65 72 2d 57 69 6e 64 | 6f 77 73 2e 20 20 54 68 |her-Wind|ows. Th|
|00004d30| 69 73 20 77 69 6c 6c 20 | 63 6c 6f 73 65 20 61 6c |is will |close al|
|00004d40| 6c 20 77 69 6e 64 6f 77 | 73 20 6f 6e 20 74 68 65 |l window|s on the|
|00004d50| 0a 58 73 63 72 65 65 6e | 20 65 78 63 65 70 74 20 |.Xscreen| except |
|00004d60| 66 6f 72 20 74 68 65 20 | 6f 6e 65 20 79 6f 75 20 |for the |one you |
|00004d70| 61 72 65 20 69 6e 20 28 | 69 73 73 75 65 64 20 74 |are in (|issued t|
|00004d80| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 66 72 6f 6d 29 |he comma|nd from)|
|00004d90| 2e 3e 0a 58 40 73 65 63 | 74 69 6f 6e 28 42 75 66 |.>.X@sec|tion(Buf|
|00004da0| 66 65 72 73 29 40 64 65 | 73 63 72 69 70 74 69 6f |fers)@de|scriptio|
|00004db0| 6e 3c 0a 58 43 54 52 4c | 2d 58 20 4b 40 2f 44 65 |n<.XCTRL|-X K@/De|
|00004dc0| 6c 65 74 65 2d 42 75 66 | 66 65 72 2e 20 20 59 6f |lete-Buf|fer. Yo|
|00004dd0| 75 20 77 69 6c 6c 20 62 | 65 20 70 72 6f 6d 70 74 |u will b|e prompt|
|00004de0| 65 64 20 66 6f 72 20 74 | 68 65 20 6e 61 6d 65 20 |ed for t|he name |
|00004df0| 6f 66 20 61 20 62 75 66 | 66 65 72 0a 58 49 66 20 |of a buf|fer.XIf |
|00004e00| 74 68 65 20 62 75 66 66 | 65 72 20 68 61 73 20 62 |the buff|er has b|
|00004e10| 65 65 6e 20 63 68 61 6e | 67 65 64 2c 20 79 6f 75 |een chan|ged, you|
|00004e20| 20 77 69 6c 6c 20 62 65 | 20 61 73 6b 65 64 20 74 | will be| asked t|
|00004e30| 6f 20 63 6f 6e 66 69 72 | 6d 20 74 68 65 0a 58 64 |o confir|m the.Xd|
|00004e40| 65 6c 65 74 69 6f 6e 20 | 73 69 6e 63 65 20 6b 69 |eletion |since ki|
|00004e50| 6c 6c 69 6e 67 20 74 68 | 65 20 62 75 66 66 65 72 |lling th|e buffer|
|00004e60| 20 77 6f 75 6c 64 20 65 | 6c 69 6d 69 6e 61 74 65 | would e|liminate|
|00004e70| 64 20 79 6f 75 72 20 63 | 68 61 6e 67 65 73 2e 20 |d your c|hanges. |
|00004e80| 20 54 6f 0a 58 66 69 6e | 64 20 6f 75 74 20 77 68 | To.Xfin|d out wh|
|00004e90| 69 63 68 20 62 75 66 66 | 65 72 73 20 79 6f 75 20 |ich buff|ers you |
|00004ea0| 68 61 76 65 2c 20 75 73 | 65 20 74 68 65 20 43 54 |have, us|e the CT|
|00004eb0| 52 4c 2d 58 20 43 54 52 | 4c 2d 42 20 63 6f 6d 6d |RL-X CTR|L-B comm|
|00004ec0| 61 6e 64 20 28 73 65 65 | 0a 58 40 74 61 67 3c 62 |and (see|.X@tag<b|
|00004ed0| 75 66 6c 69 73 74 3e 29 | 2e 20 20 41 73 20 61 6c |uflist>)|. As al|
|00004ee0| 77 61 79 73 20 43 54 52 | 4c 2d 47 20 61 62 6f 72 |ways CTR|L-G abor|
|00004ef0| 74 73 20 74 68 65 20 70 | 65 6e 64 69 6e 67 20 63 |ts the p|ending c|
|00004f00| 6f 6d 6d 61 6e 64 20 2d | 2d 20 77 68 69 63 68 0a |ommand -|- which.|
|00004f10| 58 6d 65 61 6e 73 20 40 | 69 28 62 65 66 6f 72 65 |Xmeans @|i(before|
|00004f20| 29 20 79 6f 75 20 68 69 | 74 20 72 65 74 75 72 6e |) you hi|t return|
|00004f30| 20 61 66 74 65 72 20 74 | 79 70 69 6e 67 20 69 6e | after t|yping in|
|00004f40| 20 74 68 65 20 62 75 66 | 66 65 72 20 6e 61 6d 65 | the buf|fer name|
|00004f50| 2e 3e 0a 58 0a 58 40 73 | 65 63 74 69 6f 6e 3c 46 |.>.X.X@s|ection<F|
|00004f60| 69 6c 65 73 3e 0a 58 20 | 0a 58 20 20 20 20 20 46 |iles>.X |.X F|
|00004f70| 69 6c 65 73 20 77 69 74 | 68 69 6e 20 45 4d 41 43 |iles wit|hin EMAC|
|00004f80| 53 20 61 72 65 20 64 65 | 61 6c 74 20 77 69 74 68 |S are de|alt with|
|00004f90| 20 62 79 20 64 65 61 6c | 69 6e 67 20 77 69 74 68 | by deal|ing with|
|00004fa0| 20 74 68 65 0a 58 61 73 | 73 6f 63 69 61 74 65 64 | the.Xas|sociated|
|00004fb0| 20 62 75 66 66 65 72 73 | 2e 20 49 66 20 79 6f 75 | buffers|. If you|
|00004fc0| 20 72 65 61 6c 6c 79 20 | 77 61 6e 74 20 74 6f 20 | really |want to |
|00004fd0| 64 65 61 6c 20 77 69 74 | 68 20 74 68 65 0a 58 64 |deal wit|h the.Xd|
|00004fe0| 69 73 6b 20 62 61 73 65 | 64 20 76 65 72 73 69 6f |isk base|d versio|
|00004ff0| 6e 73 20 6f 66 20 66 69 | 6c 65 73 2c 20 65 73 63 |ns of fi|les, esc|
|00005000| 61 70 65 20 74 6f 20 4d | 53 44 4f 53 2c 20 6d 61 |ape to M|SDOS, ma|
|00005010| 6e 61 67 65 20 79 6f 75 | 72 20 66 69 6c 65 73 0a |nage you|r files.|
|00005020| 58 61 6e 64 20 72 65 74 | 75 72 6e 20 74 6f 20 45 |Xand ret|urn to E|
|00005030| 4d 41 43 53 20 28 73 65 | 65 20 40 72 65 66 28 6d |MACS (se|e @ref(m|
|00005040| 73 64 6f 73 29 20 66 6f | 72 20 61 20 64 69 73 63 |sdos) fo|r a disc|
|00005050| 75 73 73 69 6f 6e 20 6f | 6e 20 75 73 69 6e 67 20 |ussion o|n using |
|00005060| 4d 53 44 4f 53 20 66 72 | 6f 6d 0a 58 77 69 74 68 |MSDOS fr|om.Xwith|
|00005070| 69 6e 20 45 4d 41 43 53 | 29 2e 0a 58 0a 58 40 63 |in EMACS|)..X.X@c|
|00005080| 68 61 70 74 65 72 28 4d | 4f 56 49 4e 47 2f 43 4f |hapter(M|OVING/CO|
|00005090| 50 59 49 4e 47 20 54 45 | 58 54 29 0a 58 20 0a 58 |PYING TE|XT).X .X|
|000050a0| 20 0a 58 20 20 20 20 20 | 54 72 61 6e 73 70 6f 73 | .X |Transpos|
|000050b0| 69 6e 67 20 73 69 6e 67 | 6c 65 20 63 68 61 72 61 |ing sing|le chara|
|000050c0| 63 74 65 72 73 20 69 73 | 20 65 61 73 79 20 69 6e |cters is| easy in|
|000050d0| 20 45 4d 41 43 53 2e 20 | 20 43 54 52 4c 2d 54 20 | EMACS. | CTRL-T |
|000050e0| 64 6f 65 73 20 69 74 2e | 20 0a 58 4c 61 72 67 65 |does it.| .XLarge|
|000050f0| 72 20 65 6e 74 69 74 69 | 65 73 20 61 72 65 20 64 |r entiti|es are d|
|00005100| 65 61 6c 74 20 77 69 74 | 68 20 76 69 61 20 74 68 |ealt wit|h via th|
|00005110| 65 20 4b 49 4c 4c 53 20 | 62 75 66 66 65 72 20 28 |e KILLS |buffer (|
|00005120| 73 65 65 0a 58 40 72 65 | 66 28 64 65 6c 65 74 65 |see.X@re|f(delete|
|00005130| 29 29 2e 20 20 4d 6f 76 | 69 6e 67 20 6f 72 20 63 |)). Mov|ing or c|
|00005140| 6f 70 79 69 6e 67 20 74 | 65 78 74 20 69 6e 20 45 |opying t|ext in E|
|00005150| 4d 41 43 53 20 69 73 20 | 66 75 6e 64 61 6d 65 6e |MACS is |fundamen|
|00005160| 74 61 6c 6c 79 0a 58 69 | 64 65 6e 74 69 63 61 6c |tally.Xi|dentical|
|00005170| 2e 20 20 54 68 65 20 67 | 65 6e 65 72 61 6c 20 70 |. The g|eneral p|
|00005180| 72 6f 63 65 64 75 72 65 | 20 69 73 20 61 73 20 66 |rocedure| is as f|
|00005190| 6f 6c 6c 6f 77 73 3a 0a | 58 40 62 65 67 69 6e 28 |ollows:.|X@begin(|
|000051a0| 65 6e 75 6d 65 72 61 74 | 65 29 20 0a 58 0a 58 49 |enumerat|e) .X.XI|
|000051b0| 66 20 70 72 65 2d 64 65 | 66 69 6e 65 64 20 61 72 |f pre-de|fined ar|
|000051c0| 65 61 73 20 6f 66 20 74 | 65 78 74 20 61 72 65 20 |eas of t|ext are |
|000051d0| 74 68 65 20 64 65 73 69 | 72 65 64 20 61 72 65 61 |the desi|red area|
|000051e0| 73 20 74 6f 20 6d 6f 76 | 65 20 6f 72 20 63 6f 70 |s to mov|e or cop|
|000051f0| 79 20 75 73 65 0a 58 74 | 68 65 20 61 70 70 72 6f |y use.Xt|he appro|
|00005200| 70 72 69 61 74 65 20 64 | 65 6c 65 74 65 20 63 6f |priate d|elete co|
|00005210| 6d 6d 61 6e 64 20 28 64 | 65 6c 65 74 65 2d 6c 69 |mmand (d|elete-li|
|00005220| 6e 65 2c 20 20 64 65 6c | 65 74 65 20 70 61 72 61 |ne, del|ete para|
|00005230| 20 65 74 63 2e 29 20 74 | 6f 20 67 65 74 0a 58 61 | etc.) t|o get.Xa|
|00005240| 20 63 6f 70 79 20 6f 66 | 20 74 68 65 20 61 72 65 | copy of| the are|
|00005250| 61 20 69 6e 74 6f 20 74 | 68 65 20 4b 49 4c 4c 53 |a into t|he KILLS|
|00005260| 20 62 75 66 66 65 72 2e | 20 20 41 6e 20 69 6d 6d | buffer.| An imm|
|00005270| 65 64 69 61 74 65 20 22 | 79 61 6e 6b 22 20 28 43 |ediate "|yank" (C|
|00005280| 54 52 4c 2d 59 29 0a 58 | 72 65 73 75 6c 74 73 20 |TRL-Y).X|results |
|00005290| 69 6e 20 61 6e 20 75 6e | 63 68 61 6e 67 65 64 20 |in an un|changed |
|000052a0| 62 75 66 66 65 72 2e 0a | 58 0a 58 49 66 20 61 72 |buffer..|X.XIf ar|
|000052b0| 62 69 74 72 61 72 79 20 | 61 72 65 61 73 20 6f 66 |bitrary |areas of|
|000052c0| 20 74 65 78 74 20 61 72 | 65 20 64 65 73 69 72 65 | text ar|e desire|
|000052d0| 64 2c 20 74 68 65 20 72 | 65 67 69 6f 6e 20 69 73 |d, the r|egion is|
|000052e0| 20 75 73 65 64 2e 0a 58 | 44 65 6d 61 72 63 61 74 | used..X|Demarcat|
|000052f0| 65 20 74 68 65 20 72 65 | 67 69 6f 6e 20 74 6f 20 |e the re|gion to |
|00005300| 62 65 20 6d 6f 76 65 64 | 2f 63 6f 70 69 65 64 20 |be moved|/copied |
|00005310| 28 74 6f 20 72 65 70 65 | 61 74 3a 0a 58 61 74 20 |(to repe|at:.Xat |
|00005320| 6f 6e 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 72 |one end |of the r|
|00005330| 65 67 69 6f 6e 20 75 73 | 65 20 74 68 65 20 73 65 |egion us|e the se|
|00005340| 74 2d 6d 61 72 6b 20 63 | 6f 6d 6d 61 6e 64 20 28 |t-mark c|ommand (|
|00005350| 77 69 74 68 20 45 53 43 | 20 2e 0a 58 6f 72 20 45 |with ESC| ..Xor E|
|00005360| 53 43 20 3c 73 70 61 63 | 65 3e 29 20 61 6e 64 20 |SC <spac|e>) and |
|00005370| 6d 6f 76 65 20 74 68 65 | 20 63 75 72 73 6f 72 20 |move the| cursor |
|00005380| 74 6f 20 74 68 65 20 6f | 74 68 65 72 20 65 6e 64 |to the o|ther end|
|00005390| 2e 20 20 44 65 6c 65 74 | 65 20 28 43 54 52 4c 2d |. Delet|e (CTRL-|
|000053a0| 57 20 66 6f 72 0a 58 6d | 6f 76 65 29 20 6f 72 20 |W for.Xm|ove) or |
|000053b0| 63 6f 70 79 20 28 45 53 | 43 20 57 29 20 74 68 65 |copy (ES|C W) the|
|000053c0| 20 72 65 67 69 6f 6e 20 | 69 6e 74 6f 20 74 68 65 | region |into the|
|000053d0| 20 4b 49 4c 4c 53 20 62 | 75 66 66 65 72 2e 0a 58 | KILLS b|uffer..X|
|000053e0| 20 0a 58 4f 6e 63 65 20 | 74 68 65 20 64 65 73 69 | .XOnce |the desi|
|000053f0| 72 65 64 20 74 65 78 74 | 20 69 73 20 69 6e 20 74 |red text| is in t|
|00005400| 68 65 20 4b 49 4c 4c 53 | 20 62 75 66 66 65 72 2c |he KILLS| buffer,|
|00005410| 20 69 74 20 63 61 6e 20 | 62 65 20 69 6e 73 65 72 | it can |be inser|
|00005420| 74 65 64 20 69 6e 74 6f | 0a 58 40 69 28 61 6e 79 |ted into|.X@i(any|
|00005430| 29 20 62 75 66 66 65 72 | 20 62 79 20 6d 6f 76 69 |) buffer| by movi|
|00005440| 6e 67 20 74 68 65 20 70 | 6f 69 6e 74 20 69 6e 74 |ng the p|oint int|
|00005450| 6f 20 74 68 65 20 64 65 | 73 69 72 65 64 20 62 75 |o the de|sired bu|
|00005460| 66 66 65 72 20 61 74 20 | 74 68 65 20 64 65 73 69 |ffer at |the desi|
|00005470| 72 65 64 0a 58 6c 6f 63 | 61 74 69 6f 6e 20 61 6e |red.Xloc|ation an|
|00005480| 64 20 22 79 61 6e 6b 69 | 6e 67 22 20 28 43 54 52 |d "yanki|ng" (CTR|
|00005490| 4c 2d 59 29 20 74 68 65 | 20 74 65 78 74 20 66 72 |L-Y) the| text fr|
|000054a0| 6f 6d 20 74 68 65 20 4b | 49 4c 4c 53 20 62 75 66 |om the K|ILLS buf|
|000054b0| 66 65 72 2e 0a 58 40 65 | 6e 64 28 65 6e 75 6d 65 |fer..X@e|nd(enume|
|000054c0| 72 61 74 65 29 40 62 65 | 67 69 6e 28 64 65 73 63 |rate)@be|gin(desc|
|000054d0| 72 69 70 74 69 6f 6e 29 | 0a 58 43 54 52 4c 2d 57 |ription)|.XCTRL-W|
|000054e0| 40 2f 4b 69 6c 6c 2d 52 | 65 67 69 6f 6e 2e 20 20 |@/Kill-R|egion. |
|000054f0| 44 65 6c 65 74 65 20 74 | 65 78 74 20 62 65 74 77 |Delete t|ext betw|
|00005500| 65 65 6e 20 70 6f 69 6e | 74 20 61 6e 64 20 6d 61 |een poin|t and ma|
|00005510| 72 6b 20 61 6e 64 20 63 | 6f 70 79 20 69 74 0a 58 |rk and c|opy it.X|
|00005520| 69 6e 74 6f 20 74 68 65 | 20 4b 49 4c 4c 53 20 62 |into the| KILLS b|
|00005530| 75 66 66 65 72 2e 0a 58 | 0a 58 45 53 43 20 57 40 |uffer..X|.XESC W@|
|00005540| 2f 43 6f 70 79 2d 52 65 | 67 69 6f 6e 2e 20 20 43 |/Copy-Re|gion. C|
|00005550| 6f 70 79 20 74 65 78 74 | 20 62 65 74 77 65 65 6e |opy text| between|
|00005560| 20 70 6f 69 6e 74 20 61 | 6e 64 20 6d 61 72 6b 20 | point a|nd mark |
|00005570| 69 6e 74 6f 20 74 68 65 | 20 4b 49 4c 4c 53 20 62 |into the| KILLS b|
|00005580| 75 66 66 65 72 2e 0a 58 | 0a 58 43 54 52 4c 2d 59 |uffer..X|.XCTRL-Y|
|00005590| 40 2f 59 61 6e 6b 2d 54 | 65 78 74 2e 20 20 49 6e |@/Yank-T|ext. In|
|000055a0| 73 65 72 74 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |sert a c|opy of t|
|000055b0| 68 65 20 4b 49 4c 4c 53 | 20 62 75 66 66 65 72 20 |he KILLS| buffer |
|000055c0| 69 6e 74 6f 20 63 75 72 | 72 65 6e 74 0a 58 62 75 |into cur|rent.Xbu|
|000055d0| 66 66 65 72 20 61 74 20 | 70 6f 69 6e 74 2e 20 20 |ffer at |point. |
|000055e0| 40 69 3c 49 66 20 79 6f | 75 20 61 63 63 69 64 65 |@i<If yo|u accide|
|000055f0| 6e 74 6c 79 20 74 79 70 | 65 64 20 43 54 52 4c 2d |ntly typ|ed CTRL-|
|00005600| 57 20 28 74 68 65 20 6b | 69 6c 6c 20 72 65 67 69 |W (the k|ill regi|
|00005610| 6f 6e 20 63 6f 6d 6d 61 | 6e 64 29 2c 0a 58 69 6d |on comma|nd),.Xim|
|00005620| 6d 65 64 69 61 74 65 6c | 79 20 72 65 63 6f 76 65 |mediatel|y recove|
|00005630| 72 20 62 79 20 74 79 70 | 69 6e 67 20 69 6e 20 43 |r by typ|ing in C|
|00005640| 54 52 4c 2d 59 20 28 74 | 68 65 20 79 61 6e 6b 20 |TRL-Y (t|he yank |
|00005650| 74 65 78 74 20 63 6f 6d | 6d 61 6e 64 29 2e 3e 0a |text com|mand).>.|
|00005660| 58 40 65 6e 64 28 64 65 | 73 63 72 69 70 74 69 6f |X@end(de|scriptio|
|00005670| 6e 29 0a 58 0a 58 53 69 | 6e 63 65 20 74 68 65 20 |n).X.XSi|nce the |
|00005680| 4b 49 4c 4c 53 20 62 75 | 66 66 65 72 20 69 73 20 |KILLS bu|ffer is |
|00005690| 61 6e 20 69 6e 64 65 70 | 65 6e 64 65 6e 74 20 62 |an indep|endent b|
|000056a0| 75 66 66 65 72 2c 20 79 | 6f 75 20 63 61 6e 20 6d |uffer, y|ou can m|
|000056b0| 6f 76 65 20 74 65 78 74 | 0a 58 62 65 74 77 65 65 |ove text|.Xbetwee|
|000056c0| 6e 20 40 69 3c 66 69 6c | 65 73 3e 20 62 79 20 6d |n @i<fil|es> by m|
|000056d0| 6f 76 69 6e 67 20 74 65 | 78 74 20 62 65 74 77 65 |oving te|xt betwe|
|000056e0| 65 6e 20 40 69 3c 62 75 | 66 66 65 72 73 3e 2e 20 |en @i<bu|ffers>. |
|000056f0| 20 46 75 72 74 68 65 72 | 2c 20 22 79 61 6e 6b 69 | Further|, "yanki|
|00005700| 6e 67 22 0a 58 69 73 20 | 61 20 72 65 61 64 2d 6f |ng".Xis |a read-o|
|00005710| 6e 6c 79 20 6f 70 65 72 | 61 74 69 6f 6e 3b 20 68 |nly oper|ation; h|
|00005720| 65 6e 63 65 20 74 68 65 | 20 74 65 78 74 20 63 61 |ence the| text ca|
|00005730| 6e 20 62 65 20 69 6e 73 | 65 72 74 65 64 20 61 73 |n be ins|erted as|
|00005740| 20 6d 61 6e 79 0a 58 74 | 69 6d 65 73 20 61 73 20 | many.Xt|imes as |
|00005750| 64 65 73 69 72 65 64 20 | 77 69 74 68 20 72 65 70 |desired |with rep|
|00005760| 65 61 74 65 64 20 79 61 | 6e 6b 73 2e 20 20 48 6f |eated ya|nks. Ho|
|00005770| 77 65 76 65 72 2c 20 20 | 74 68 65 20 4b 49 4c 4c |wever, |the KILL|
|00005780| 53 20 62 75 66 66 65 72 | 20 67 65 74 73 0a 58 6f |S buffer| gets.Xo|
|00005790| 76 65 72 77 72 69 74 74 | 65 6e 20 77 69 74 68 20 |verwritt|en with |
|000057a0| 65 61 63 68 20 6d 61 6a | 6f 72 20 64 65 6c 65 74 |each maj|or delet|
|000057b0| 65 20 28 69 2e 65 2e 2c | 20 64 65 6c 65 74 69 6f |e (i.e.,| deletio|
|000057c0| 6e 20 6f 66 20 6d 6f 72 | 65 20 74 68 61 6e 20 61 |n of mor|e than a|
|000057d0| 20 66 65 77 0a 58 63 68 | 61 72 61 63 74 65 72 73 | few.Xch|aracters|
|000057e0| 20 61 74 20 61 20 74 69 | 6d 65 29 2e 20 20 43 6f | at a ti|me). Co|
|000057f0| 6e 73 65 71 75 65 6e 74 | 6c 79 20 79 6f 75 20 63 |nsequent|ly you c|
|00005800| 61 6e 6e 6f 74 20 28 61 | 73 20 79 65 74 29 20 61 |annot (a|s yet) a|
|00005810| 63 63 75 6d 75 6c 61 74 | 65 0a 58 74 65 78 74 20 |ccumulat|e.Xtext |
|00005820| 69 6e 20 74 68 65 20 4b | 49 4c 4c 53 20 62 75 66 |in the K|ILLS buf|
|00005830| 66 65 72 20 77 69 74 68 | 20 61 20 73 65 71 75 65 |fer with| a seque|
|00005840| 6e 63 65 20 6f 66 20 6b | 69 6c 6c 73 2e 20 20 49 |nce of k|ills. I|
|00005850| 66 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 0a 58 61 |f you ne|ed to.Xa|
|00005860| 63 63 75 6d 75 6c 61 74 | 65 20 74 65 78 74 20 75 |ccumulat|e text u|
|00005870| 73 65 20 61 20 72 65 67 | 75 6c 61 72 20 62 75 66 |se a reg|ular buf|
|00005880| 66 65 72 20 28 6f 6e 65 | 20 74 68 61 74 20 79 6f |fer (one| that yo|
|00005890| 75 20 61 73 6b 20 66 6f | 72 2c 20 73 65 65 20 40 |u ask fo|r, see @|
|000058a0| 72 65 66 28 62 75 66 66 | 65 72 73 29 29 0a 58 74 |ref(buff|ers)).Xt|
|000058b0| 6f 20 68 6f 6c 64 20 63 | 6f 70 69 65 73 20 6f 66 |o hold c|opies of|
|000058c0| 20 74 68 65 20 64 65 6c | 65 74 65 64 20 28 6f 72 | the del|eted (or|
|000058d0| 20 63 6f 70 69 65 64 29 | 20 74 65 78 74 2e 20 20 | copied)| text. |
|000058e0| 49 66 20 79 6f 75 20 61 | 72 65 20 64 6f 69 6e 67 |If you a|re doing|
|000058f0| 20 61 0a 58 6c 6f 74 20 | 6f 66 20 61 63 63 75 6d | a.Xlot |of accum|
|00005900| 75 6c 61 74 69 6f 6e 2c | 20 79 6f 75 20 6d 69 67 |ulation,| you mig|
|00005910| 68 74 20 77 61 6e 74 20 | 74 6f 20 75 73 65 20 61 |ht want |to use a|
|00005920| 20 6b 65 79 62 6f 61 72 | 64 20 6d 61 63 72 6f 20 | keyboar|d macro |
|00005930| 28 73 65 65 0a 58 40 72 | 65 66 28 6b 62 64 6d 61 |(see.X@r|ef(kbdma|
|00005940| 63 72 6f 29 29 2e 0a 58 | 40 63 68 61 70 74 65 72 |cro))..X|@chapter|
|00005950| 28 53 45 41 52 43 48 2f | 52 45 50 4c 41 43 45 29 |(SEARCH/|REPLACE)|
|00005960| 0a 58 20 0a 58 53 65 61 | 72 63 68 69 6e 67 20 61 |.X .XSea|rching a|
|00005970| 6e 64 20 72 65 70 6c 61 | 63 69 6e 67 20 6f 63 63 |nd repla|cing occ|
|00005980| 75 72 73 20 66 72 6f 6d | 20 74 68 65 20 63 75 72 |urs from| the cur|
|00005990| 72 65 6e 74 20 63 75 72 | 73 6f 72 0a 58 70 6f 73 |rent cur|sor.Xpos|
|000059a0| 69 74 69 6f 6e 20 74 6f | 77 61 72 64 73 20 74 68 |ition to|wards th|
|000059b0| 65 20 65 6e 64 20 6f 66 | 20 74 68 65 20 62 75 66 |e end of| the buf|
|000059c0| 66 65 72 73 2e 20 0a 58 | 57 68 65 6e 20 65 69 74 |fers. .X|When eit|
|000059d0| 68 65 72 20 28 66 6f 72 | 77 61 72 64 20 6f 72 20 |her (for|ward or |
|000059e0| 62 61 63 6b 77 61 72 64 | 29 20 73 65 61 72 63 68 |backward|) search|
|000059f0| 20 74 79 70 65 20 69 73 | 20 61 73 6b 65 64 20 66 | type is| asked f|
|00005a00| 6f 72 2c 20 79 6f 75 20 | 77 69 6c 6c 20 62 65 0a |or, you |will be.|
|00005a10| 58 70 72 6f 6d 70 74 65 | 64 20 66 6f 72 20 74 68 |Xprompte|d for th|
|00005a20| 65 20 73 65 61 72 63 68 | 20 73 74 72 69 6e 67 20 |e search| string |
|00005a30| 6f 6e 20 74 68 65 20 70 | 72 6f 6d 70 74 20 6c 69 |on the p|rompt li|
|00005a40| 6e 65 2e 20 54 79 70 65 | 20 69 6e 20 74 68 65 20 |ne. Type| in the |
|00005a50| 73 74 72 69 6e 67 0a 58 | 28 69 6e 63 6c 75 64 69 |string.X|(includi|
|00005a60| 6e 67 20 63 61 72 72 61 | 69 67 65 20 72 65 74 75 |ng carra|ige retu|
|00005a70| 72 6e 73 2c 20 63 6f 6e | 74 72 6f 6c 20 63 68 61 |rns, con|trol cha|
|00005a80| 72 61 63 74 65 72 73 20 | 65 74 63 2e 29 20 61 6e |racters |etc.) an|
|00005a90| 64 20 66 69 6e 69 73 68 | 0a 58 62 79 20 68 69 74 |d finish|.Xby hit|
|00005aa0| 74 69 6e 67 20 74 68 65 | 20 45 53 43 20 6b 65 79 |ting the| ESC key|
|00005ab0| 20 77 68 69 63 68 20 6d | 61 72 6b 73 20 74 68 65 | which m|arks the|
|00005ac0| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 73 74 72 69 | end of |the stri|
|00005ad0| 6e 67 2e 0a 58 55 6e 66 | 6f 72 74 75 6e 61 74 65 |ng..XUnf|ortunate|
|00005ae0| 6c 79 2c 20 74 68 69 73 | 20 6d 65 61 6e 73 20 74 |ly, this| means t|
|00005af0| 68 61 74 20 45 53 43 20 | 69 74 73 65 6c 66 20 63 |hat ESC |itself c|
|00005b00| 61 6e 6e 6f 74 20 62 65 | 20 70 61 72 74 20 6f 66 |annot be| part of|
|00005b10| 20 74 68 65 0a 58 73 74 | 72 69 6e 67 2e 20 20 54 | the.Xst|ring. T|
|00005b20| 68 65 20 73 65 61 63 68 | 20 62 65 68 61 76 69 6f |he seach| behavio|
|00005b30| 75 72 20 6f 66 20 45 4d | 41 43 53 20 64 65 70 65 |ur of EM|ACS depe|
|00005b40| 6e 64 73 20 75 70 6f 6e | 20 74 68 65 20 73 65 74 |nds upon| the set|
|00005b50| 74 69 6e 67 20 6f 66 20 | 74 68 65 0a 58 65 78 61 |ting of |the.Xexa|
|00005b60| 63 74 20 6d 6f 64 65 20 | 6f 66 20 74 68 65 20 62 |ct mode |of the b|
|00005b70| 75 66 66 65 72 20 28 73 | 65 65 20 40 72 65 66 28 |uffer (s|ee @ref(|
|00005b80| 62 75 66 66 65 72 73 29 | 20 66 6f 72 20 64 65 74 |buffers)| for det|
|00005b90| 61 69 6c 73 20 6f 6e 20 | 6d 6f 64 65 73 29 2e 20 |ails on |modes). |
|00005ba0| 20 49 66 0a 58 65 78 61 | 63 74 20 6d 6f 64 65 20 | If.Xexa|ct mode |
|00005bb0| 69 73 20 6f 6e 2c 20 74 | 68 65 6e 20 74 68 65 20 |is on, t|hen the |
|00005bc0| 73 65 61 72 63 68 20 69 | 73 20 64 6f 6e 65 20 6f |search i|s done o|
|00005bd0| 6e 20 61 20 63 61 73 65 | 20 73 65 6e 73 69 74 69 |n a case| sensiti|
|00005be0| 76 65 20 62 61 73 69 73 | 2e 20 0a 58 4f 74 68 65 |ve basis|. .XOthe|
|00005bf0| 72 77 69 73 65 2c 20 74 | 68 65 20 63 61 73 65 20 |rwise, t|he case |
|00005c00| 6f 66 20 74 68 65 20 74 | 61 72 67 65 74 20 69 73 |of the t|arget is|
|00005c10| 20 69 67 6e 6f 72 65 64 | 2e 20 20 4e 6f 74 65 20 | ignored|. Note |
|00005c20| 74 68 61 74 20 74 68 65 | 20 64 65 66 61 75 6c 74 |that the| default|
|00005c30| 0a 58 66 6f 72 20 65 76 | 65 72 79 20 62 75 66 66 |.Xfor ev|ery buff|
|00005c40| 65 72 20 69 73 20 66 6f | 72 20 74 68 65 20 65 78 |er is fo|r the ex|
|00005c50| 61 63 74 20 6d 6f 64 65 | 20 74 6f 20 62 65 20 6f |act mode| to be o|
|00005c60| 66 66 20 28 75 6e 6c 65 | 73 73 20 74 68 65 20 67 |ff (unle|ss the g|
|00005c70| 6c 6f 62 61 6c 0a 58 6d | 6f 64 65 20 69 73 20 73 |lobal.Xm|ode is s|
|00005c80| 65 74 20 74 6f 20 68 61 | 76 65 20 65 78 61 63 74 |et to ha|ve exact|
|00005c90| 20 6f 6e 20 66 6f 72 20 | 65 61 63 68 20 62 75 66 | on for |each buf|
|00005ca0| 66 65 72 2c 20 73 65 65 | 20 40 72 65 66 28 67 6c |fer, see| @ref(gl|
|00005cb0| 6f 62 61 6c 6d 6f 64 65 | 29 2e 20 0a 58 4f 62 76 |obalmode|). .XObv|
|00005cc0| 69 6f 75 73 6c 79 2c 20 | 6e 6f 20 73 75 63 68 20 |iously, |no such |
|00005cd0| 63 6f 6e 73 74 72 61 69 | 6e 74 20 65 78 69 73 74 |constrai|nt exist|
|00005ce0| 73 20 66 6f 72 20 74 68 | 65 20 72 65 70 6c 61 63 |s for th|e replac|
|00005cf0| 65 6d 65 6e 74 20 73 74 | 72 69 6e 67 20 73 69 6e |ement st|ring sin|
|00005d00| 63 65 0a 58 74 68 65 20 | 72 65 70 6c 61 63 65 6d |ce.Xthe |replacem|
|00005d10| 65 6e 74 20 69 73 20 40 | 69 3c 61 6c 77 61 79 73 |ent is @|i<always|
|00005d20| 3e 20 65 78 61 63 74 2e | 0a 58 45 4d 41 43 53 20 |> exact.|.XEMACS |
|00005d30| 72 65 6d 65 6d 62 65 72 | 73 20 74 68 65 20 73 65 |remember|s the se|
|00005d40| 61 72 63 68 20 61 6e 64 | 20 72 65 70 6c 61 63 65 |arch and| replace|
|00005d50| 20 73 74 72 69 6e 67 73 | 20 61 6e 64 0a 58 61 6c | strings| and.Xal|
|00005d60| 77 61 79 73 20 73 68 6f | 77 73 20 79 6f 75 20 74 |ways sho|ws you t|
|00005d70| 68 65 20 63 75 72 72 65 | 6e 74 20 73 74 6f 72 65 |he curre|nt store|
|00005d80| 64 20 73 74 72 69 6e 67 | 20 77 68 65 6e 20 69 74 |d string| when it|
|00005d90| 20 70 72 6f 6d 70 74 73 | 20 79 6f 75 20 66 6f 72 | prompts| you for|
|00005da0| 20 61 0a 58 73 74 72 69 | 6e 67 20 2e 20 20 54 68 | a.Xstri|ng . Th|
|00005db0| 69 73 20 73 74 72 69 6e | 67 20 69 73 20 75 73 65 |is strin|g is use|
|00005dc0| 64 20 69 66 20 79 6f 75 | 20 72 65 73 70 6f 6e 64 |d if you| respond|
|00005dd0| 20 74 6f 20 74 68 65 20 | 70 72 6f 6d 70 74 20 77 | to the |prompt w|
|00005de0| 69 74 68 20 61 20 6e 75 | 6c 6c 0a 58 73 74 72 69 |ith a nu|ll.Xstri|
|00005df0| 6e 67 20 28 69 2e 65 2e | 2c 20 69 66 20 79 6f 75 |ng (i.e.|, if you|
|00005e00| 20 73 69 6d 70 6c 79 20 | 68 69 74 20 45 53 43 20 | simply |hit ESC |
|00005e10| 77 68 65 6e 20 70 72 6f | 6d 70 74 65 64 29 2e 0a |when pro|mpted)..|
|00005e20| 58 0a 58 54 68 65 72 65 | 20 61 72 65 20 74 77 6f |X.XThere| are two|
|00005e30| 20 77 61 79 73 20 74 6f | 20 72 65 70 6c 61 63 65 | ways to| replace|
|00005e40| 20 73 74 72 69 6e 67 73 | 20 69 6e 20 45 4d 41 43 | strings| in EMAC|
|00005e50| 53 3a 20 75 6e 63 6f 6e | 64 69 74 69 6f 6e 61 6c |S: uncon|ditional|
|00005e60| 20 6f 72 20 71 75 65 72 | 79 0a 58 72 65 70 6c 61 | or quer|y.Xrepla|
|00005e70| 63 65 2e 20 20 49 6e 20 | 74 68 65 20 66 69 72 73 |ce. In |the firs|
|00005e80| 74 2c 20 45 4d 41 43 53 | 20 6d 6f 76 65 73 20 66 |t, EMACS| moves f|
|00005e90| 72 6f 6d 20 70 6f 69 6e | 74 20 74 6f 20 74 68 65 |rom poin|t to the|
|00005ea0| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 62 75 66 66 | end of |the buff|
|00005eb0| 65 72 0a 58 72 65 70 6c | 61 63 69 6e 67 20 40 69 |er.Xrepl|acing @i|
|00005ec0| 3c 65 76 65 72 79 3e 20 | 6f 63 63 75 72 72 65 6e |<every> |occurren|
|00005ed0| 63 65 20 6f 66 20 74 68 | 65 20 73 65 61 72 63 68 |ce of th|e search|
|00005ee0| 20 73 74 72 69 6e 67 20 | 77 69 74 68 20 74 68 65 | string |with the|
|00005ef0| 0a 58 72 65 70 6c 61 63 | 65 6d 65 6e 74 20 73 74 |.Xreplac|ement st|
|00005f00| 72 69 6e 67 20 77 69 74 | 68 6f 75 74 20 70 61 75 |ring wit|hout pau|
|00005f10| 73 65 2e 20 20 49 6e 20 | 74 68 65 20 73 65 63 6f |se. In |the seco|
|00005f20| 6e 64 2c 20 45 4d 41 43 | 53 20 70 61 75 73 65 73 |nd, EMAC|S pauses|
|00005f30| 20 61 74 0a 58 65 76 65 | 72 79 20 73 65 61 72 63 | at.Xeve|ry searc|
|00005f40| 68 20 73 74 72 69 6e 67 | 20 66 6f 75 6e 64 20 61 |h string| found a|
|00005f50| 6e 64 20 70 72 6f 6d 70 | 74 73 20 79 6f 75 20 66 |nd promp|ts you f|
|00005f60| 6f 72 20 61 6e 20 61 63 | 74 69 6f 6e 20 63 6f 6d |or an ac|tion com|
|00005f70| 6d 61 6e 64 20 77 68 69 | 63 68 0a 58 61 6c 6c 6f |mand whi|ch.Xallo|
|00005f80| 77 73 20 79 6f 75 20 74 | 6f 20 63 6f 6e 74 72 6f |ws you t|o contro|
|00005f90| 6c 20 65 78 61 63 74 6c | 79 20 77 68 69 63 68 20 |l exactl|y which |
|00005fa0| 6f 63 63 75 72 72 65 6e | 63 65 73 20 6f 66 20 74 |occurren|ces of t|
|00005fb0| 68 65 20 73 65 61 72 63 | 68 20 73 74 72 69 6e 67 |he searc|h string|
|00005fc0| 0a 58 77 69 6c 6c 20 62 | 65 20 72 65 70 6c 61 63 |.Xwill b|e replac|
|00005fd0| 65 64 2e 20 20 42 65 63 | 61 75 73 65 20 6f 66 20 |ed. Bec|ause of |
|00005fe0| 74 68 65 20 6c 61 63 6b | 20 6f 66 20 63 6f 6e 74 |the lack| of cont|
|00005ff0| 72 6f 6c 20 6f 76 65 72 | 20 74 68 65 20 72 65 67 |rol over| the reg|
|00006000| 75 6c 61 72 0a 58 72 65 | 70 6c 61 63 65 2c 20 69 |ular.Xre|place, i|
|00006010| 74 20 69 73 20 73 74 72 | 6f 6e 67 6c 79 20 72 65 |t is str|ongly re|
|00006020| 63 6f 6d 6d 65 6e 64 65 | 64 20 74 68 61 74 20 79 |commende|d that y|
|00006030| 6f 75 20 62 65 20 76 65 | 72 79 20 73 75 72 65 20 |ou be ve|ry sure |
|00006040| 6f 66 20 79 6f 75 72 0a | 58 63 68 61 6e 67 65 73 |of your.|Xchanges|
|00006050| 20 62 65 66 6f 72 65 20 | 79 6f 75 20 75 73 65 20 | before |you use |
|00006060| 69 74 2e 20 20 49 6e 20 | 67 65 6e 65 72 61 6c 2c |it. In |general,|
|00006070| 20 74 68 65 20 71 75 65 | 72 79 20 72 65 70 6c 61 | the que|ry repla|
|00006080| 63 65 20 63 6f 6d 6d 61 | 6e 64 0a 58 73 68 6f 75 |ce comma|nd.Xshou|
|00006090| 6c 64 20 62 65 20 75 73 | 65 64 2e 20 20 50 72 6f |ld be us|ed. Pro|
|000060a0| 63 65 64 75 72 61 6c 6c | 79 2c 20 72 65 70 6c 61 |cedurall|y, repla|
|000060b0| 63 69 6e 67 20 73 74 72 | 69 6e 67 73 20 77 69 74 |cing str|ings wit|
|000060c0| 68 20 6f 74 68 65 72 20 | 73 74 72 69 6e 67 73 0a |h other |strings.|
|000060d0| 58 28 69 6e 63 6c 75 64 | 69 6e 67 20 74 68 65 20 |X(includ|ing the |
|000060e0| 6e 75 6c 6c 20 73 74 72 | 69 6e 67 29 20 69 73 20 |null str|ing) is |
|000060f0| 64 6f 6e 65 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |done as |follows:|
|00006100| 20 66 69 72 73 74 20 79 | 6f 75 20 61 72 65 20 70 | first y|ou are p|
|00006110| 72 6f 6d 70 74 65 64 0a | 58 66 6f 72 20 74 68 65 |rompted.|Xfor the|
|00006120| 20 73 65 61 72 63 68 20 | 73 74 72 69 6e 67 20 61 | search |string a|
|00006130| 6e 64 20 74 68 65 6e 20 | 66 6f 72 20 74 68 65 20 |nd then |for the |
|00006140| 72 65 70 6c 61 63 65 6d | 65 6e 74 20 73 74 72 69 |replacem|ent stri|
|00006150| 6e 67 2e 20 20 45 4d 41 | 43 53 20 74 68 65 6e 0a |ng. EMA|CS then.|
|00006160| 58 6d 6f 76 65 73 20 66 | 72 6f 6d 20 74 68 65 20 |Xmoves f|rom the |
|00006170| 63 75 72 72 65 6e 74 20 | 70 6f 73 69 74 69 6f 6e |current |position|
|00006180| 20 74 6f 20 74 68 65 20 | 65 6e 64 20 6f 66 20 74 | to the |end of t|
|00006190| 68 65 20 62 75 66 66 65 | 72 20 72 65 70 6c 61 63 |he buffe|r replac|
|000061a0| 69 6e 67 20 28 6f 72 0a | 58 71 75 65 72 79 69 6e |ing (or.|Xqueryin|
|000061b0| 67 29 20 61 73 20 69 74 | 20 67 6f 65 73 20 61 6c |g) as it| goes al|
|000061c0| 6f 6e 67 2e 20 20 4e 6f | 74 65 20 74 68 61 74 20 |ong. No|te that |
|000061d0| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 63 6f 6e 74 |there is| no cont|
|000061e0| 72 6f 6c 20 6f 76 65 72 | 20 74 68 65 0a 58 64 69 |rol over| the.Xdi|
|000061f0| 72 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 72 |rection |of the r|
|00006200| 65 70 6c 61 63 65 6d 65 | 6e 74 20 2d 2d 20 45 4d |eplaceme|nt -- EM|
|00006210| 41 43 53 20 61 6c 77 61 | 79 73 20 6d 6f 76 65 73 |ACS alwa|ys moves|
|00006220| 20 66 6f 77 61 72 64 2e | 20 20 48 65 6e 63 65 2c | foward.| Hence,|
|00006230| 20 74 6f 0a 58 77 6f 72 | 6b 20 6f 6e 20 74 68 65 | to.Xwor|k on the|
|00006240| 20 65 6e 74 69 72 65 20 | 62 75 66 66 65 72 2c 20 | entire |buffer, |
|00006250| 79 6f 75 20 6e 65 65 64 | 20 66 69 72 73 74 20 74 |you need| first t|
|00006260| 6f 20 6d 6f 76 65 20 74 | 6f 20 74 68 65 20 74 6f |o move t|o the to|
|00006270| 70 20 6f 66 20 74 68 65 | 0a 58 62 75 66 66 65 72 |p of the|.Xbuffer|
|00006280| 20 61 6e 64 20 69 73 73 | 75 65 20 74 68 65 20 72 | and iss|ue the r|
|00006290| 65 70 6c 61 63 65 20 63 | 6f 6d 6d 61 6e 64 2e 20 |eplace c|ommand. |
|000062a0| 0a 58 40 62 65 67 69 6e | 28 64 65 73 63 72 69 70 |.X@begin|(descrip|
|000062b0| 74 69 6f 6e 29 0a 58 0a | 58 43 54 52 4c 2d 53 40 |tion).X.|XCTRL-S@|
|000062c0| 2f 53 65 61 72 63 68 2d | 46 6f 72 77 61 72 64 2e |/Search-|Forward.|
|000062d0| 20 20 53 65 61 72 63 68 | 20 66 6f 72 20 69 6e 70 | Search| for inp|
|000062e0| 75 74 20 73 74 72 69 6e | 67 20 28 73 74 6f 72 65 |ut strin|g (store|
|000062f0| 64 20 73 74 72 69 6e 67 | 20 69 66 0a 58 69 6e 70 |d string| if.Xinp|
|00006300| 75 74 20 73 74 72 69 6e | 67 20 69 73 20 6e 75 6c |ut strin|g is nul|
|00006310| 6c 29 20 66 72 6f 6d 20 | 70 6f 69 6e 74 20 74 6f |l) from |point to|
|00006320| 77 61 72 64 73 20 74 68 | 65 20 65 6e 64 20 6f 66 |wards th|e end of|
|00006330| 20 74 68 65 20 62 75 66 | 66 65 72 2e 20 20 54 68 | the buf|fer. Th|
|00006340| 65 0a 58 70 6f 69 6e 74 | 20 69 73 20 6d 6f 76 65 |e.Xpoint| is move|
|00006350| 64 20 66 72 6f 6d 20 74 | 68 65 20 63 75 72 72 65 |d from t|he curre|
|00006360| 6e 74 20 6c 6f 63 61 74 | 69 6f 6e 20 74 6f 20 74 |nt locat|ion to t|
|00006370| 68 65 20 65 6e 64 20 6f | 66 20 74 68 65 20 66 6f |he end o|f the fo|
|00006380| 75 6e 64 20 73 74 72 69 | 6e 67 2e 0a 58 0a 58 43 |und stri|ng..X.XC|
|00006390| 54 52 4c 2d 52 40 2f 53 | 65 61 72 63 68 2d 42 61 |TRL-R@/S|earch-Ba|
|000063a0| 63 6b 77 61 72 64 2e 20 | 20 4c 69 6b 65 20 66 6f |ckward. | Like fo|
|000063b0| 72 77 61 72 64 20 65 78 | 63 65 70 74 20 69 6e 20 |rward ex|cept in |
|000063c0| 74 68 65 20 6f 70 70 6f | 73 69 74 65 20 64 69 72 |the oppo|site dir|
|000063d0| 65 63 74 69 6f 6e 0a 58 | 69 2e 65 2e 2c 20 74 6f |ection.X|i.e., to|
|000063e0| 77 61 72 64 73 20 74 68 | 65 20 62 65 67 69 6e 6e |wards th|e beginn|
|000063f0| 69 6e 67 20 6f 66 20 74 | 68 65 20 62 75 66 66 65 |ing of t|he buffe|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.