home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / elisp / modes / cmushell.shar.3 < prev    next >
Mailbox/MIME Entity  |  1990-07-22  |  57.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From utkcs2!emory!swrinde!ucsd!tut.cis.ohio-state.edu!pt.cs.cmu.edu!a.gp.cs.cmu.edu!shivers Tue Jun 12 10:08:02 EDT 1990", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 75 74 6b | 63 73 32 21 65 6d 6f 72 |From utk|cs2!emor|
|00000010| 79 21 73 77 72 69 6e 64 | 65 21 75 63 73 64 21 74 |y!swrind|e!ucsd!t|
|00000020| 75 74 2e 63 69 73 2e 6f | 68 69 6f 2d 73 74 61 74 |ut.cis.o|hio-stat|
|00000030| 65 2e 65 64 75 21 70 74 | 2e 63 73 2e 63 6d 75 2e |e.edu!pt|.cs.cmu.|
|00000040| 65 64 75 21 61 2e 67 70 | 2e 63 73 2e 63 6d 75 2e |edu!a.gp|.cs.cmu.|
|00000050| 65 64 75 21 73 68 69 76 | 65 72 73 20 54 75 65 20 |edu!shiv|ers Tue |
|00000060| 4a 75 6e 20 31 32 20 31 | 30 3a 30 38 3a 30 32 20 |Jun 12 1|0:08:02 |
|00000070| 45 44 54 20 31 39 39 30 | 0a 41 72 74 69 63 6c 65 |EDT 1990|.Article|
|00000080| 20 34 34 32 34 20 6f 66 | 20 63 6f 6d 70 2e 65 6d | 4424 of| comp.em|
|00000090| 61 63 73 3a 0a 58 72 65 | 66 3a 20 75 74 6b 63 73 |acs:.Xre|f: utkcs|
|000000a0| 32 20 63 6f 6d 70 2e 65 | 6d 61 63 73 3a 34 34 32 |2 comp.e|macs:442|
|000000b0| 34 20 67 6e 75 2e 65 6d | 61 63 73 3a 32 39 34 36 |4 gnu.em|acs:2946|
|000000c0| 0a 50 61 74 68 3a 20 75 | 74 6b 63 73 32 21 65 6d |.Path: u|tkcs2!em|
|000000d0| 6f 72 79 21 73 77 72 69 | 6e 64 65 21 75 63 73 64 |ory!swri|nde!ucsd|
|000000e0| 21 74 75 74 2e 63 69 73 | 2e 6f 68 69 6f 2d 73 74 |!tut.cis|.ohio-st|
|000000f0| 61 74 65 2e 65 64 75 21 | 70 74 2e 63 73 2e 63 6d |ate.edu!|pt.cs.cm|
|00000100| 75 2e 65 64 75 21 61 2e | 67 70 2e 63 73 2e 63 6d |u.edu!a.|gp.cs.cm|
|00000110| 75 2e 65 64 75 21 73 68 | 69 76 65 72 73 0a 3e 46 |u.edu!sh|ivers.>F|
|00000120| 72 6f 6d 3a 20 73 68 69 | 76 65 72 73 40 61 2e 67 |rom: shi|vers@a.g|
|00000130| 70 2e 63 73 2e 63 6d 75 | 2e 65 64 75 20 28 4f 6c |p.cs.cmu|.edu (Ol|
|00000140| 69 6e 20 53 68 69 76 65 | 72 73 29 0a 4e 65 77 73 |in Shive|rs).News|
|00000150| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 65 6d 61 |groups: |comp.ema|
|00000160| 63 73 2c 67 6e 75 2e 65 | 6d 61 63 73 0a 53 75 62 |cs,gnu.e|macs.Sub|
|00000170| 6a 65 63 74 3a 20 52 65 | 6c 65 61 73 65 20 74 77 |ject: Re|lease tw|
|00000180| 6f 20 6f 66 20 43 4d 55 | 20 70 72 6f 63 65 73 73 |o of CMU| process|
|00000190| 20 6d 6f 64 65 73 20 20 | 28 33 20 6f 66 20 34 29 | modes |(3 of 4)|
|000001a0| 0a 4b 65 79 77 6f 72 64 | 73 3a 20 63 6f 6d 69 6e |.Keyword|s: comin|
|000001b0| 74 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 39 |t.Messag|e-ID: <9|
|000001c0| 36 30 31 40 70 74 2e 63 | 73 2e 63 6d 75 2e 65 64 |601@pt.c|s.cmu.ed|
|000001d0| 75 3e 0a 44 61 74 65 3a | 20 31 32 20 4a 75 6e 20 |u>.Date:| 12 Jun |
|000001e0| 39 30 20 30 36 3a 32 30 | 3a 31 37 20 47 4d 54 0a |90 06:20|:17 GMT.|
|000001f0| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 43 61 |Organiza|tion: Ca|
|00000200| 72 6e 65 67 69 65 2d 4d | 65 6c 6c 6f 6e 20 55 6e |rnegie-M|ellon Un|
|00000210| 69 76 65 72 73 69 74 79 | 2c 20 43 53 2f 52 49 0a |iversity|, CS/RI.|
|00000220| 4c 69 6e 65 73 3a 20 31 | 34 32 38 0a 0a 0a 54 68 |Lines: 1|428...Th|
|00000230| 69 73 20 6d 65 73 73 61 | 67 65 20 63 6f 6e 74 61 |is messa|ge conta|
|00000240| 69 6e 73 3a 0a 31 2e 20 | 54 68 65 20 73 74 61 6e |ins:.1. |The stan|
|00000250| 64 61 72 64 20 61 6e 6f | 75 6e 63 65 6d 65 6e 74 |dard ano|uncement|
|00000260| 20 68 65 61 64 65 72 0a | 32 2e 20 41 20 73 68 61 | header.|2. A sha|
|00000270| 72 20 66 69 6c 65 20 66 | 6f 72 20 62 61 63 6b 67 |r file f|or backg|
|00000280| 72 6f 75 6e 64 2e 65 6c | 20 61 6e 64 20 63 6d 75 |round.el| and cmu|
|00000290| 74 65 78 2e 65 6c 0a 28 | 54 68 65 20 65 6e 74 69 |tex.el.(|The enti|
|000002a0| 72 65 20 70 61 63 6b 61 | 67 65 20 6d 75 73 74 20 |re packa|ge must |
|000002b0| 62 65 20 73 70 6c 69 74 | 20 2d 2d 20 6f 74 68 65 |be split| -- othe|
|000002c0| 72 77 69 73 65 20 6e 6f | 74 65 73 66 69 6c 65 73 |rwise no|tesfiles|
|000002d0| 20 73 69 74 65 73 20 77 | 69 6c 6c 20 6e 6f 74 0a | sites w|ill not.|
|000002e0| 62 65 20 61 62 6c 65 20 | 74 6f 20 68 61 6e 64 6c |be able |to handl|
|000002f0| 65 20 69 74 2e 29 0a 2d | 2d 2d 2d 2d 2d 2d 2d 2d |e it.).-|--------|
|00000300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000320| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000330| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000340| 2d 2d 2d 2d 2d 2d 0a 49 | 20 61 6d 20 70 6f 73 74 |------.I| am post|
|00000350| 69 6e 67 20 72 65 6c 65 | 61 73 65 20 74 77 6f 20 |ing rele|ase two |
|00000360| 6f 66 20 74 68 65 20 43 | 4d 55 20 70 72 6f 63 65 |of the C|MU proce|
|00000370| 73 73 20 6d 6f 64 65 73 | 2e 20 54 68 65 73 65 20 |ss modes|. These |
|00000380| 61 72 65 20 61 20 73 75 | 69 74 65 20 6f 66 0a 67 |are a su|ite of.g|
|00000390| 6e 75 2d 65 6d 61 63 73 | 20 70 61 63 6b 61 67 65 |nu-emacs| package|
|000003a0| 73 20 66 6f 72 20 72 75 | 6e 6e 69 6e 67 20 76 61 |s for ru|nning va|
|000003b0| 72 69 6f 75 73 20 63 6f | 6d 6d 61 6e 64 20 69 6e |rious co|mmand in|
|000003c0| 74 65 72 70 72 65 74 65 | 72 73 20 69 6e 20 62 75 |terprete|rs in bu|
|000003d0| 66 66 65 72 73 2e 20 54 | 68 65 79 0a 61 72 65 20 |ffers. T|hey.are |
|000003e0| 61 6c 6c 20 62 75 69 6c | 74 20 6f 6e 20 74 6f 70 |all buil|t on top|
|000003f0| 20 6f 66 20 61 20 73 69 | 6e 67 6c 65 20 62 61 73 | of a si|ngle bas|
|00000400| 65 20 6d 6f 64 65 20 28 | 63 6f 6d 69 6e 74 20 6d |e mode (|comint m|
|00000410| 6f 64 65 29 20 74 68 61 | 74 20 70 72 6f 76 69 64 |ode) tha|t provid|
|00000420| 65 73 20 61 0a 63 6f 6e | 73 69 73 74 65 6e 74 20 |es a.con|sistent |
|00000430| 73 65 74 20 6f 66 20 62 | 61 73 65 20 66 75 6e 63 |set of b|ase func|
|00000440| 74 69 6f 6e 61 6c 69 74 | 79 20 61 6e 64 20 6b 65 |tionalit|y and ke|
|00000450| 79 62 69 6e 64 69 6e 67 | 73 2e 0a 0a 54 68 65 73 |ybinding|s...Thes|
|00000460| 65 20 6d 6f 64 65 73 20 | 68 61 76 65 20 74 68 65 |e modes |have the|
|00000470| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 61 64 76 61 6e | followi|ng advan|
|00000480| 74 61 67 65 73 3a 0a 2d | 20 49 6e 70 75 74 20 68 |tages:.-| Input h|
|00000490| 69 73 74 6f 72 79 20 69 | 73 20 6b 65 70 74 20 69 |istory i|s kept i|
|000004a0| 6e 20 61 6c 6c 20 6d 6f | 64 65 73 2c 20 74 72 61 |n all mo|des, tra|
|000004b0| 76 65 72 73 65 64 20 77 | 69 74 68 20 4d 2d 70 20 |versed w|ith M-p |
|000004c0| 61 6e 64 20 4d 2d 6e 2c | 20 6a 75 73 74 0a 20 20 |and M-n,| just. |
|000004d0| 6c 69 6b 65 20 6f 6e 20 | 4c 69 73 70 4d 27 73 20 |like on |LispM's |
|000004e0| 61 6e 64 20 76 61 72 69 | 6f 75 73 20 66 61 6e 63 |and vari|ous fanc|
|000004f0| 79 20 73 68 65 6c 6c 73 | 2e 0a 2d 20 46 69 6c 65 |y shells|..- File|
|00000500| 6e 61 6d 65 20 63 6f 6d | 70 6c 65 74 69 6f 6e 20 |name com|pletion |
|00000510| 61 6e 64 20 71 75 65 72 | 79 20 69 73 20 61 76 61 |and quer|y is ava|
|00000520| 69 6c 61 62 6c 65 20 69 | 6e 20 61 6c 6c 20 6d 6f |ilable i|n all mo|
|00000530| 64 65 73 2e 0a 2d 20 4b | 65 79 62 69 6e 64 69 6e |des..- K|eybindin|
|00000540| 67 73 20 61 72 65 20 63 | 72 6f 73 73 2d 63 6f 6d |gs are c|ross-com|
|00000550| 70 61 74 69 62 6c 65 20 | 61 6d 6f 6e 67 20 61 6c |patible |among al|
|00000560| 6c 20 6d 6f 64 65 73 2e | 0a 2d 20 4b 65 79 62 69 |l modes.|.- Keybi|
|00000570| 6e 64 69 6e 67 73 20 61 | 72 65 20 63 6f 6d 70 61 |ndings a|re compa|
|00000580| 74 69 62 6c 65 20 77 69 | 74 68 20 5a 77 65 69 20 |tible wi|th Zwei |
|00000590| 61 6e 64 20 48 65 6d 6c | 6f 63 6b 2e 0a 2d 20 44 |and Heml|ock..- D|
|000005a0| 69 72 65 63 74 6f 72 79 | 20 74 72 61 63 6b 69 6e |irectory| trackin|
|000005b0| 67 20 69 73 20 6d 6f 72 | 65 20 72 6f 62 75 73 74 |g is mor|e robust|
|000005c0| 20 69 6e 20 73 68 65 6c | 6c 20 6d 6f 64 65 2c 20 | in shel|l mode, |
|000005d0| 61 6e 64 20 69 73 20 2a | 6f 6e 6c 79 2a 20 61 63 |and is *|only* ac|
|000005e0| 74 69 76 65 20 69 6e 0a | 20 20 73 68 65 6c 6c 20 |tive in.| shell |
|000005f0| 6d 6f 64 65 2e 20 28 54 | 72 79 20 65 6e 74 65 72 |mode. (T|ry enter|
|00000600| 69 6e 67 20 22 63 64 20 | 2f 22 20 74 6f 20 61 6e |ing "cd |/" to an|
|00000610| 20 69 6e 66 65 72 69 6f | 72 20 6c 69 73 70 20 69 | inferio|r lisp i|
|00000620| 6e 20 74 68 65 20 6f 6c | 64 20 70 61 63 6b 61 67 |n the ol|d packag|
|00000630| 65 3a 0a 20 20 4c 69 73 | 70 20 62 61 72 66 73 2c |e:. Lis|p barfs,|
|00000640| 20 62 75 74 20 74 68 65 | 20 69 6e 66 65 72 69 6f | but the| inferio|
|00000650| 72 20 6c 69 73 70 20 6d | 6f 64 65 20 67 6f 65 73 |r lisp m|ode goes|
|00000660| 20 61 68 65 61 64 20 61 | 6e 64 20 63 68 61 6e 67 | ahead a|nd chang|
|00000670| 65 73 20 74 68 65 20 0a | 20 20 62 75 66 66 65 72 |es the .| buffer|
|00000680| 27 73 20 64 69 72 65 63 | 74 6f 72 79 2e 29 0a 2d |'s direc|tory.).-|
|00000690| 20 4e 6f 6e 2d 65 63 68 | 6f 65 64 20 74 65 78 74 | Non-ech|oed text|
|000006a0| 20 65 6e 74 72 79 20 28 | 66 6f 72 20 65 6e 74 65 | entry (|for ente|
|000006b0| 72 69 6e 67 20 70 61 73 | 73 77 6f 72 64 73 29 20 |ring pas|swords) |
|000006c0| 69 73 20 61 76 61 69 6c | 61 62 6c 65 20 69 6e 20 |is avail|able in |
|000006d0| 61 6c 6c 20 6d 6f 64 65 | 73 2e 0a 2d 20 53 68 65 |all mode|s..- She|
|000006e0| 6c 6c 20 61 6e 64 20 69 | 6e 66 65 72 69 6f 72 20 |ll and i|nferior |
|000006f0| 4c 69 73 70 20 6d 6f 64 | 65 73 20 61 72 65 20 62 |Lisp mod|es are b|
|00000700| 61 63 6b 77 61 72 64 73 | 20 63 6f 6d 70 61 74 69 |ackwards| compati|
|00000710| 62 6c 65 20 77 69 74 68 | 20 74 68 65 20 73 74 61 |ble with| the sta|
|00000720| 6e 64 61 72 64 0a 20 20 | 67 6e 75 20 6d 6f 64 65 |ndard. |gnu mode|
|00000730| 73 2e 0a 2d 20 41 20 66 | 75 6c 6c 20 73 65 74 20 |s..- A f|ull set |
|00000740| 6f 66 20 65 76 61 6c 2f | 63 6f 6d 70 69 6c 65 2d |of eval/|compile-|
|00000750| 72 65 67 69 6f 6e 2f 64 | 65 66 75 6e 20 63 6f 6d |region/d|efun com|
|00000760| 6d 61 6e 64 73 20 66 6f | 72 20 74 68 65 20 69 6e |mands fo|r the in|
|00000770| 66 65 72 69 6f 72 20 4c | 69 73 70 2c 0a 20 20 53 |ferior L|isp,. S|
|00000780| 63 68 65 6d 65 2c 20 61 | 6e 64 20 54 20 6d 6f 64 |cheme, a|nd T mod|
|00000790| 65 73 2e 0a 2d 20 4e 65 | 77 20 6d 6f 64 65 73 20 |es..- Ne|w modes |
|000007a0| 61 72 65 20 65 61 73 69 | 6c 79 20 63 72 65 61 74 |are easi|ly creat|
|000007b0| 65 64 20 66 6f 72 20 6e | 65 77 20 74 79 70 65 73 |ed for n|ew types|
|000007c0| 20 6f 66 20 70 72 6f 63 | 65 73 73 65 73 2e 0a 0a | of proc|esses...|
|000007d0| 54 68 65 20 63 6f 6d 69 | 6e 74 20 73 6f 75 72 63 |The comi|nt sourc|
|000007e0| 65 20 68 61 73 20 61 20 | 73 65 63 74 69 6f 6e 20 |e has a |section |
|000007f0| 67 69 76 69 6e 67 20 68 | 69 6e 74 73 20 6f 6e 20 |giving h|ints on |
|00000800| 63 6f 6e 76 65 72 74 69 | 6e 67 20 6f 6c 64 65 72 |converti|ng older|
|00000810| 0a 73 68 65 6c 6c 2e 65 | 6c 2d 62 61 73 65 64 20 |.shell.e|l-based |
|00000820| 6d 6f 64 65 73 20 74 6f | 20 75 73 65 20 63 6f 6d |modes to| use com|
|00000830| 69 6e 74 2e 20 49 20 61 | 6d 20 74 6f 6c 64 20 74 |int. I a|m told t|
|00000840| 68 61 74 20 74 68 65 20 | 46 53 46 20 77 69 6c 6c |hat the |FSF will|
|00000850| 20 62 65 0a 75 73 69 6e | 67 20 63 6f 6d 69 6e 74 | be.usin|g comint|
|00000860| 20 69 6e 20 74 68 65 20 | 6e 65 78 74 20 72 65 6c | in the |next rel|
|00000870| 65 61 73 65 20 6f 66 20 | 67 6e 75 6d 61 63 73 2e |ease of |gnumacs.|
|00000880| 0a 0a 0a 54 68 65 20 63 | 75 72 72 65 6e 74 20 73 |...The c|urrent s|
|00000890| 65 74 20 6f 66 20 6d 6f | 64 65 73 20 61 72 65 3a |et of mo|des are:|
|000008a0| 0a 20 20 20 20 62 61 63 | 6b 67 72 6f 75 6e 64 2e |. bac|kground.|
|000008b0| 65 6c 20 20 20 09 2d 20 | 72 75 6e 20 70 72 6f 63 |el .- |run proc|
|000008c0| 65 73 73 20 69 6e 20 62 | 61 63 6b 67 72 6f 75 6e |ess in b|ackgroun|
|000008d0| 64 2c 20 61 20 6c 61 20 | 63 73 68 2e 0a 20 20 20 |d, a la |csh.. |
|000008e0| 20 63 6d 75 6c 69 73 70 | 2e 65 6c 09 20 20 20 20 | cmulisp|.el. |
|000008f0| 09 2d 20 73 69 6d 70 6c | 65 20 6c 69 73 70 2d 69 |.- simpl|e lisp-i|
|00000900| 6e 2d 61 2d 62 75 66 66 | 65 72 20 6d 6f 64 65 2e |n-a-buff|er mode.|
|00000910| 0a 20 20 20 20 63 6d 75 | 73 63 68 65 6d 65 2e 65 |. cmu|scheme.e|
|00000920| 6c 20 20 20 20 09 2d 20 | 53 63 68 65 6d 65 2d 69 |l .- |Scheme-i|
|00000930| 6e 2d 61 2d 62 75 66 66 | 65 72 2e 0a 20 20 20 20 |n-a-buff|er.. |
|00000940| 63 6d 75 73 68 65 6c 6c | 2e 65 6c 09 20 20 20 20 |cmushell|.el. |
|00000950| 09 2d 20 73 68 65 6c 6c | 2d 69 6e 2d 61 2d 62 75 |.- shell|-in-a-bu|
|00000960| 66 66 65 72 2e 0a 20 20 | 20 20 63 6d 75 74 65 78 |ffer.. | cmutex|
|00000970| 2e 65 6c 09 20 20 20 20 | 09 2d 20 66 6f 72 20 54 |.el. |.- for T|
|00000980| 65 58 20 61 6e 64 20 4c | 61 54 65 58 20 65 64 69 |eX and L|aTeX edi|
|00000990| 74 69 6e 67 2e 20 50 72 | 6f 63 65 73 73 20 73 75 |ting. Pr|ocess su|
|000009a0| 70 70 6f 72 74 20 66 6f | 72 0a 20 20 20 20 09 20 |pport fo|r. . |
|000009b0| 20 20 20 09 20 20 20 20 | 09 20 20 72 75 6e 6e 69 | . |. runni|
|000009c0| 6e 67 20 74 65 78 20 61 | 6e 64 20 6c 61 74 65 78 |ng tex a|nd latex|
|000009d0| 2c 20 61 6e 64 20 70 72 | 69 6e 74 69 6e 67 20 61 |, and pr|inting a|
|000009e0| 6e 64 20 70 72 65 76 69 | 65 77 69 6e 67 0a 20 20 |nd previ|ewing. |
|000009f0| 20 20 09 20 20 20 20 09 | 20 20 20 20 09 20 20 2e | . .| . .|
|00000a00| 64 76 69 20 66 69 6c 65 | 73 2e 0a 20 20 20 20 63 |dvi file|s.. c|
|00000a10| 6f 6d 69 6e 74 2e 65 6c | 09 20 20 20 20 09 2d 20 |omint.el|. .- |
|00000a20| 62 61 73 65 20 6d 6f 64 | 65 2e 20 55 73 65 64 20 |base mod|e. Used |
|00000a30| 62 79 20 65 76 65 72 79 | 6f 6e 65 20 65 6c 73 65 |by every|one else|
|00000a40| 2e 0a 20 20 20 20 74 65 | 61 2e 65 6c 20 20 09 20 |.. te|a.el . |
|00000a50| 20 20 20 09 2d 20 54 2d | 69 6e 2d 61 2d 62 75 66 | .- T-|in-a-buf|
|00000a60| 66 65 72 0a 0a 54 68 65 | 73 65 20 70 61 63 6b 61 |fer..The|se packa|
|00000a70| 67 65 73 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |ges can |be used |
|00000a80| 73 69 6e 67 6c 79 20 6f | 72 20 74 6f 67 65 74 68 |singly o|r togeth|
|00000a90| 65 72 2e 20 54 68 65 79 | 20 61 72 65 20 63 61 72 |er. They| are car|
|00000aa0| 65 66 75 6c 20 6e 6f 74 | 20 74 6f 0a 69 6e 74 65 |eful not| to.inte|
|00000ab0| 72 66 65 72 65 20 77 69 | 74 68 20 6f 74 68 65 72 |rfere wi|th other|
|00000ac0| 20 6d 6f 64 65 73 2e 20 | 57 68 65 72 65 20 70 6f | modes. |Where po|
|00000ad0| 73 73 69 62 6c 65 2c 20 | 49 20 68 61 76 65 20 74 |ssible, |I have t|
|00000ae0| 72 69 65 64 20 74 6f 20 | 6d 61 6b 65 20 74 68 65 |ried to |make the|
|00000af0| 6d 0a 63 6f 6d 70 61 74 | 69 62 6c 65 20 77 69 74 |m.compat|ible wit|
|00000b00| 68 20 6f 74 68 65 72 20 | 73 69 6d 69 6c 61 72 20 |h other |similar |
|00000b10| 6d 6f 64 65 73 2c 20 69 | 6e 20 74 65 72 6d 73 20 |modes, i|n terms |
|00000b20| 6f 66 20 6b 65 79 62 69 | 6e 64 69 6e 67 73 2c 20 |of keybi|ndings, |
|00000b30| 66 75 6e 63 74 69 6f 6e | 61 6c 69 74 79 2c 0a 61 |function|ality,.a|
|00000b40| 6e 64 20 76 61 72 69 61 | 62 6c 65 20 6e 61 6d 65 |nd varia|ble name|
|00000b50| 73 2e 20 55 73 65 72 73 | 20 66 61 6d 69 6c 69 61 |s. Users| familia|
|00000b60| 72 20 77 69 74 68 20 48 | 65 6d 6c 6f 63 6b 20 6f |r with H|emlock o|
|00000b70| 72 20 74 68 65 20 4c 69 | 73 70 4d 27 73 20 5a 65 |r the Li|spM's Ze|
|00000b80| 6d 61 63 73 20 77 69 6c | 6c 0a 66 69 6e 64 20 74 |macs wil|l.find t|
|00000b90| 68 65 20 63 6f 6d 6d 61 | 6e 64 73 20 69 6e 20 63 |he comma|nds in c|
|00000ba0| 6d 75 6c 69 73 70 20 61 | 72 65 20 62 6f 75 6e 64 |mulisp a|re bound|
|00000bb0| 20 74 6f 20 73 69 6d 69 | 6c 61 72 20 6b 65 79 73 | to simi|lar keys|
|00000bc0| 2e 20 43 6d 75 73 68 65 | 6c 6c 20 6d 6f 64 65 20 |. Cmushe|ll mode |
|00000bd0| 70 61 79 73 0a 61 74 74 | 65 6e 74 69 6f 6e 20 74 |pays.att|ention t|
|00000be0| 6f 20 74 68 65 20 76 61 | 72 69 61 62 6c 65 73 20 |o the va|riables |
|00000bf0| 74 68 61 74 20 63 75 73 | 74 6f 6d 69 73 65 20 73 |that cus|tomise s|
|00000c00| 68 65 6c 6c 2e 65 6c 2e | 20 41 6e 64 20 73 6f 20 |hell.el.| And so |
|00000c10| 66 6f 72 74 68 2e 0a 0a | 0a 41 6c 73 6f 20 73 65 |forth...|.Also se|
|00000c20| 70 61 72 61 74 65 6c 79 | 20 61 76 61 69 6c 61 62 |parately| availab|
|00000c30| 6c 65 20 61 72 65 3a 0a | 20 20 20 20 69 6c 69 73 |le are:.| ilis|
|00000c40| 70 2e 65 6c 09 20 20 20 | 20 09 2d 20 50 6f 77 65 |p.el. | .- Powe|
|00000c50| 72 66 75 6c 20 74 69 67 | 68 74 6c 79 2d 69 6e 74 |rful tig|htly-int|
|00000c60| 65 67 72 61 74 65 64 20 | 6c 69 73 70 2d 69 6e 2d |egrated |lisp-in-|
|00000c70| 61 2d 62 75 66 66 65 72 | 20 6d 6f 64 65 2e 0a 20 |a-buffer| mode.. |
|00000c80| 20 20 20 63 6f 6d 69 6e | 74 2d 69 70 63 2e 65 6c | comin|t-ipc.el|
|00000c90| 20 20 20 20 20 20 20 2d | 20 46 61 63 69 6c 69 74 | -| Facilit|
|00000ca0| 79 20 66 6f 72 20 70 69 | 67 67 79 2d 62 61 63 6b |y for pi|ggy-back|
|00000cb0| 69 6e 67 20 65 6d 61 63 | 73 2f 73 75 62 70 72 6f |ing emac|s/subpro|
|00000cc0| 63 65 73 73 0a 20 20 20 | 20 09 20 20 20 20 09 20 |cess. | . . |
|00000cd0| 20 20 20 09 20 20 63 6f | 6d 6d 75 6e 69 63 61 74 | . co|mmunicat|
|00000ce0| 69 6f 6e 73 20 6f 6e 20 | 74 6f 70 20 6f 66 20 74 |ions on |top of t|
|00000cf0| 68 65 20 75 73 65 72 27 | 73 20 70 69 70 65 20 6f |he user'|s pipe o|
|00000d00| 72 20 70 74 79 0a 20 20 | 20 20 09 20 20 20 20 09 |r pty. | . .|
|00000d10| 20 20 20 20 09 20 20 63 | 6f 6d 6d 75 6e 69 63 61 | . c|ommunica|
|00000d20| 74 69 6f 6e 73 2e 20 55 | 6e 61 76 6f 69 64 61 62 |tions. U|navoidab|
|00000d30| 6c 79 20 73 6f 6d 65 77 | 68 61 74 20 66 72 61 67 |ly somew|hat frag|
|00000d40| 69 6c 65 2c 20 62 75 74 | 0a 20 20 20 20 09 20 20 |ile, but|. . |
|00000d50| 20 20 09 20 20 20 20 09 | 20 20 6e 6f 6e 74 68 65 | . .| nonthe|
|00000d60| 6c 65 73 73 20 75 73 65 | 66 75 6c 2e 20 55 73 65 |less use|ful. Use|
|00000d70| 64 20 62 79 20 69 6c 69 | 73 70 2e 65 6c 2e 0a 54 |d by ili|sp.el..T|
|00000d80| 68 65 73 65 20 66 69 6c | 65 73 20 73 68 6f 75 6c |hese fil|es shoul|
|00000d90| 64 20 62 65 20 72 65 6c | 65 61 73 65 64 20 69 6d |d be rel|eased im|
|00000da0| 6d 69 6e 65 6e 74 6c 79 | 20 62 79 20 43 68 72 69 |minently| by Chri|
|00000db0| 73 20 4d 63 43 6f 6e 6e | 65 6c 6c 2e 0a 0a 0a 4d |s McConn|ell....M|
|00000dc0| 41 4a 4f 52 20 43 48 41 | 4e 47 45 53 20 46 52 4f |AJOR CHA|NGES FRO|
|00000dd0| 4d 20 52 45 4c 45 41 53 | 45 20 4f 4e 45 0a 3d 3d |M RELEAS|E ONE.==|
|00000de0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000df0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000e00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000e10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000e20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0a 2d 20 |========|=====.- |
|00000e30| 41 6e 20 65 78 74 72 65 | 6d 65 6c 79 20 68 61 69 |An extre|mely hai|
|00000e40| 72 79 20 4c 69 73 70 2f | 53 63 68 65 6d 65 20 69 |ry Lisp/|Scheme i|
|00000e50| 6e 74 65 72 66 61 63 65 | 20 62 79 20 43 68 72 69 |nterface| by Chri|
|00000e60| 73 20 4d 63 6f 6e 6e 65 | 6c 6c 20 28 63 63 6d 40 |s Mconne|ll (ccm@|
|00000e70| 63 73 2e 63 6d 75 2e 65 | 64 75 29 2e 0a 20 20 54 |cs.cmu.e|du).. T|
|00000e80| 68 69 73 20 70 61 63 6b | 61 67 65 2c 20 69 6c 69 |his pack|age, ili|
|00000e90| 73 70 2e 65 6c 2c 20 61 | 6c 6c 6f 77 73 20 65 6d |sp.el, a|llows em|
|00000ea0| 61 63 73 20 74 6f 20 71 | 75 65 72 79 20 74 68 65 |acs to q|uery the|
|00000eb0| 20 72 75 6e 6e 69 6e 67 | 20 70 72 6f 63 65 73 73 | running| process|
|00000ec0| 20 66 6f 72 20 75 73 65 | 66 75 6c 0a 20 20 73 74 | for use|ful. st|
|00000ed0| 61 74 65 2e 20 45 78 61 | 6d 70 6c 65 20 63 6f 6d |ate. Exa|mple com|
|00000ee0| 6d 61 6e 64 73 20 61 72 | 65 3a 0a 20 20 20 20 6c |mands ar|e:. l|
|00000ef0| 69 73 70 2d 61 72 67 6c | 69 73 74 20 20 20 20 64 |isp-argl|ist d|
|00000f00| 69 73 70 6c 61 79 20 74 | 68 65 20 61 72 67 75 6d |isplay t|he argum|
|00000f10| 65 6e 74 73 20 74 61 6b | 65 6e 20 62 79 20 74 68 |ents tak|en by th|
|00000f20| 65 20 63 75 72 72 65 6e | 74 20 66 75 6e 63 74 69 |e curren|t functi|
|00000f30| 6f 6e 2e 0a 20 20 20 20 | 6c 69 73 70 2d 64 65 73 |on.. |lisp-des|
|00000f40| 63 72 69 62 65 20 20 20 | 63 61 6c 6c 20 74 68 65 |cribe |call the|
|00000f50| 20 43 6f 6d 6d 6f 6e 20 | 4c 69 73 70 20 44 45 53 | Common |Lisp DES|
|00000f60| 43 52 49 42 45 20 66 75 | 6e 63 74 69 6f 6e 20 6f |CRIBE fu|nction o|
|00000f70| 6e 20 74 68 65 20 73 79 | 6d 62 6f 6c 0a 20 20 20 |n the sy|mbol. |
|00000f80| 20 09 20 20 20 20 09 20 | 20 20 20 74 68 65 20 63 | . . | the c|
|00000f90| 75 72 73 6f 72 20 69 73 | 20 6f 76 65 72 2c 20 61 |ursor is| over, a|
|00000fa0| 6e 64 20 70 75 74 20 74 | 68 65 20 72 65 73 75 6c |nd put t|he resul|
|00000fb0| 74 73 20 69 6e 20 61 20 | 77 69 6e 64 6f 77 2e 0a |ts in a |window..|
|00000fc0| 20 20 20 20 6c 69 73 70 | 2d 6d 61 63 72 6f 65 78 | lisp|-macroex|
|00000fd0| 70 61 6e 64 20 6d 61 63 | 72 6f 65 78 70 61 6e 64 |pand mac|roexpand|
|00000fe0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 66 6f 72 | the cur|rent for|
|00000ff0| 6d 20 61 6e 64 20 64 69 | 73 70 6c 61 79 20 74 68 |m and di|splay th|
|00001000| 65 20 72 65 73 75 6c 74 | 73 2e 0a 20 20 20 20 6c |e result|s.. l|
|00001010| 69 73 70 2d 66 69 6e 64 | 2d 73 6f 75 72 63 65 20 |isp-find|-source |
|00001020| 45 64 69 74 20 74 68 65 | 20 66 69 6c 65 20 74 68 |Edit the| file th|
|00001030| 61 74 20 64 65 66 69 6e | 65 73 20 74 68 65 20 66 |at defin|es the f|
|00001040| 75 6e 63 74 69 6f 6e 20 | 74 68 65 20 70 6f 69 6e |unction |the poin|
|00001050| 74 20 69 73 20 6f 6e 2e | 0a 20 20 20 20 65 64 69 |t is on.|. edi|
|00001060| 74 2d 6e 65 78 74 2d 63 | 61 6c 6c 65 72 20 45 64 |t-next-c|aller Ed|
|00001070| 69 74 20 74 68 65 20 6e | 65 78 74 20 70 6c 61 63 |it the n|ext plac|
|00001080| 65 20 74 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |e this f|unction |
|00001090| 69 73 20 63 61 6c 6c 65 | 64 2e 0a 0a 20 20 20 49 |is calle|d... I|
|000010a0| 6c 69 73 70 2e 65 6c 20 | 61 6c 6c 6f 77 73 20 74 |lisp.el |allows t|
|000010b0| 69 67 68 74 20 69 6e 74 | 65 67 72 61 74 69 6f 6e |ight int|egration|
|000010c0| 20 77 69 74 68 20 74 68 | 65 20 6c 69 73 70 20 73 | with th|e lisp s|
|000010d0| 75 62 70 72 6f 63 65 73 | 73 20 62 79 0a 20 20 20 |ubproces|s by. |
|000010e0| 73 65 6e 64 69 6e 67 20 | 6d 65 73 73 61 67 65 73 |sending |messages|
|000010f0| 20 74 6f 20 74 68 65 20 | 73 75 62 70 72 6f 63 65 | to the |subproce|
|00001100| 73 73 20 22 62 65 68 69 | 6e 64 2d 74 68 65 2d 73 |ss "behi|nd-the-s|
|00001110| 63 65 6e 65 73 22 20 6f | 76 65 72 20 74 68 65 0a |cenes" o|ver the.|
|00001120| 20 20 20 75 73 65 72 27 | 73 20 63 6f 6e 6e 65 63 | user'|s connec|
|00001130| 74 69 6f 6e 2e 20 49 74 | 20 64 6f 65 73 20 6e 6f |tion. It| does no|
|00001140| 74 20 61 73 73 75 6d 65 | 20 61 20 6d 75 6c 74 69 |t assume| a multi|
|00001150| 74 68 72 65 61 64 65 64 | 20 6c 69 73 70 20 28 61 |threaded| lisp (a|
|00001160| 73 20 69 6e 0a 20 20 20 | 46 72 61 6e 7a 20 49 6e |s in. |Franz In|
|00001170| 63 2e 27 73 20 41 6c 6c | 65 67 72 6f 20 43 6f 6d |c.'s All|egro Com|
|00001180| 6d 6f 6e 20 4c 69 73 70 | 29 2e 20 28 48 6f 77 65 |mon Lisp|). (Howe|
|00001190| 76 65 72 2c 20 69 74 20 | 63 6f 75 6c 64 20 63 65 |ver, it |could ce|
|000011a0| 72 74 61 69 6e 6c 79 20 | 62 65 0a 20 20 20 70 6f |rtainly |be. po|
|000011b0| 72 74 65 64 20 74 6f 20 | 74 61 6b 65 20 61 64 76 |rted to |take adv|
|000011c0| 61 6e 74 61 67 65 20 6f | 66 20 61 20 6d 75 6c 74 |antage o|f a mult|
|000011d0| 69 74 68 72 65 61 64 65 | 64 20 6c 69 73 70 2c 20 |ithreade|d lisp, |
|000011e0| 70 72 6f 76 69 64 69 6e | 67 20 67 72 65 61 74 65 |providin|g greate|
|000011f0| 72 0a 20 20 20 63 6f 6d | 6d 75 6e 69 63 61 74 69 |r. com|municati|
|00001200| 6f 6e 73 20 72 6f 62 75 | 73 74 6e 65 73 73 20 77 |ons robu|stness w|
|00001210| 69 74 68 6f 75 74 20 61 | 6c 74 65 72 69 6e 67 20 |ithout a|ltering |
|00001220| 74 68 65 20 69 6e 74 65 | 72 66 61 63 65 20 66 75 |the inte|rface fu|
|00001230| 6e 63 74 69 6f 6e 61 6c | 69 74 79 0a 20 20 20 61 |nctional|ity. a|
|00001240| 74 20 61 6c 6c 2e 20 41 | 6e 79 6f 6e 65 20 69 6e |t all. A|nyone in|
|00001250| 74 65 72 65 73 74 65 64 | 20 69 6e 20 64 6f 69 6e |terested| in doin|
|00001260| 67 20 73 6f 20 73 68 6f | 75 6c 64 20 63 6f 6e 74 |g so sho|uld cont|
|00001270| 61 63 74 20 43 68 72 69 | 73 2e 29 0a 0a 20 20 20 |act Chri|s.).. |
|00001280| 49 6c 69 73 70 20 63 61 | 6e 20 62 65 20 63 75 73 |Ilisp ca|n be cus|
|00001290| 74 6f 6d 69 73 65 64 20 | 66 6f 72 20 6d 6f 73 74 |tomised |for most|
|000012a0| 20 6d 61 6a 6f 72 20 64 | 69 61 6c 65 63 74 73 20 | major d|ialects |
|000012b0| 6f 66 20 4c 69 73 70 20 | 61 6e 64 20 53 63 68 65 |of Lisp |and Sche|
|000012c0| 6d 65 2e 20 54 68 69 73 | 0a 20 20 20 70 61 63 6b |me. This|. pack|
|000012d0| 61 67 65 20 69 73 20 73 | 6f 20 6d 61 73 73 69 76 |age is s|o massiv|
|000012e0| 65 20 69 74 20 69 73 20 | 62 65 69 6e 67 20 72 65 |e it is |being re|
|000012f0| 6c 65 61 73 65 64 20 69 | 6e 20 61 20 73 65 70 61 |leased i|n a sepa|
|00001300| 72 61 74 65 20 70 6f 73 | 74 20 62 79 20 43 68 72 |rate pos|t by Chr|
|00001310| 69 73 2e 0a 20 20 20 49 | 27 76 65 20 69 6e 63 6c |is.. I|'ve incl|
|00001320| 75 64 65 64 20 61 20 64 | 75 6d 62 2c 20 73 69 6d |uded a d|umb, sim|
|00001330| 70 6c 65 20 69 6e 66 65 | 72 69 6f 72 2d 6c 69 73 |ple infe|rior-lis|
|00001340| 70 20 70 61 63 6b 61 67 | 65 20 69 6e 20 74 68 69 |p packag|e in thi|
|00001350| 73 20 72 65 6c 65 61 73 | 65 2c 20 61 73 20 77 65 |s releas|e, as we|
|00001360| 6c 6c 0a 20 20 20 28 63 | 6d 75 6c 69 73 70 2e 65 |ll. (c|mulisp.e|
|00001370| 6c 29 2e 0a 0a 2d 20 41 | 20 6e 65 77 20 70 61 63 |l)...- A| new pac|
|00001380| 6b 61 67 65 2c 20 62 61 | 63 6b 67 72 6f 75 6e 64 |kage, ba|ckground|
|00001390| 2e 65 6c 20 74 68 61 74 | 20 61 6c 6c 6f 77 73 20 |.el that| allows |
|000013a0| 79 6f 75 20 74 6f 20 72 | 75 6e 20 62 61 63 6b 67 |you to r|un backg|
|000013b0| 72 6f 75 6e 64 20 70 72 | 6f 63 65 73 73 65 73 20 |round pr|ocesses |
|000013c0| 69 6e 20 0a 20 20 62 75 | 66 66 65 72 73 2e 20 54 |in . bu|ffers. T|
|000013d0| 68 69 73 20 77 61 73 20 | 61 64 61 70 74 65 64 20 |his was |adapted |
|000013e0| 66 6f 72 20 63 6f 6d 69 | 6e 74 2e 65 6c 20 66 72 |for comi|nt.el fr|
|000013f0| 6f 6d 20 4a 6f 65 20 4b | 65 61 6e 65 27 73 20 62 |om Joe K|eane's b|
|00001400| 61 63 6b 67 72 6f 75 6e | 64 2e 65 6c 2e 0a 0a 2d |ackgroun|d.el...-|
|00001410| 20 41 20 76 65 72 79 20 | 68 61 69 72 79 20 54 65 | A very |hairy Te|
|00001420| 58 20 61 6e 64 20 4c 61 | 54 65 58 20 70 61 63 6b |X and La|TeX pack|
|00001430| 61 67 65 2e 20 54 68 69 | 73 20 69 6e 63 6c 75 64 |age. Thi|s includ|
|00001440| 65 73 20 62 75 66 66 65 | 72 20 76 61 6c 69 64 61 |es buffe|r valida|
|00001450| 74 69 6f 6e 2c 0a 20 20 | 63 6f 6d 6d 61 6e 64 20 |tion,. |command |
|00001460| 65 6e 74 72 79 20 63 6f | 6d 6d 61 6e 64 73 2c 20 |entry co|mmands, |
|00001470| 70 72 6f 63 65 73 73 20 | 69 6e 74 65 72 66 61 63 |process |interfac|
|00001480| 65 73 20 74 6f 20 54 65 | 58 2c 20 4c 61 54 65 58 |es to Te|X, LaTeX|
|00001490| 2c 20 64 76 69 20 70 72 | 69 6e 74 65 72 73 20 61 |, dvi pr|inters a|
|000014a0| 6e 64 0a 20 20 70 72 65 | 76 69 65 77 65 72 73 2e |nd. pre|viewers.|
|000014b0| 20 50 69 65 63 65 73 20 | 6f 66 20 74 68 69 73 20 | Pieces |of this |
|000014c0| 68 61 76 65 20 62 65 65 | 6e 20 63 6f 6e 74 72 69 |have bee|n contri|
|000014d0| 62 75 74 65 64 20 62 79 | 20 6d 61 6e 79 20 70 65 |buted by| many pe|
|000014e0| 6f 70 6c 65 2c 0a 20 20 | 6e 6f 74 61 62 6c 79 20 |ople,. |notably |
|000014f0| 53 74 65 76 65 20 41 6e | 64 65 72 73 6f 6e 2c 20 |Steve An|derson, |
|00001500| 53 74 65 70 68 65 6e 20 | 47 69 6c 64 65 61 2c 20 |Stephen |Gildea, |
|00001510| 44 6f 72 61 62 20 50 61 | 74 65 6c 2c 20 61 6e 64 |Dorab Pa|tel, and|
|00001520| 20 41 73 68 77 69 6e 20 | 52 61 6d 2e 0a 0a 2d 20 | Ashwin |Ram...- |
|00001530| 4c 6f 74 73 20 6f 66 20 | 74 77 65 61 6b 73 20 74 |Lots of |tweaks t|
|00001540| 6f 20 74 68 65 20 62 61 | 73 69 63 20 63 6f 6d 69 |o the ba|sic comi|
|00001550| 6e 74 20 70 61 63 6b 61 | 67 65 2c 20 6d 61 6e 79 |nt packa|ge, many|
|00001560| 20 63 6f 6e 74 72 69 62 | 75 74 65 64 20 62 79 20 | contrib|uted by |
|00001570| 6f 74 68 65 72 0a 20 20 | 70 65 6f 70 6c 65 2e 0a |other. |people..|
|00001580| 20 20 2b 20 41 20 6e 65 | 77 20 69 6e 70 75 74 20 | + A ne|w input |
|00001590| 68 69 73 74 6f 72 79 20 | 63 6f 6d 6d 61 6e 64 20 |history |command |
|000015a0| 63 6f 6d 69 6e 74 2d 70 | 72 65 76 69 6f 75 73 2d |comint-p|revious-|
|000015b0| 73 69 6d 69 6c 61 72 2d | 69 6e 70 75 74 20 28 4d |similar-|input (M|
|000015c0| 2d 73 29 20 74 61 6b 65 | 6e 0a 20 20 20 20 66 72 |-s) take|n. fr|
|000015d0| 6f 6d 20 73 6f 6d 65 20 | 4c 69 73 70 4d 20 69 6e |om some |LispM in|
|000015e0| 74 65 72 66 61 63 65 2e | 20 54 68 69 73 20 69 73 |terface.| This is|
|000015f0| 20 2a 71 75 69 74 65 2a | 20 75 73 65 66 75 6c 2e | *quite*| useful.|
|00001600| 0a 20 20 2b 20 54 68 65 | 20 6f 74 68 65 72 20 69 |. + The| other i|
|00001610| 6e 70 75 74 20 68 69 73 | 74 6f 72 79 20 63 6f 6d |nput his|tory com|
|00001620| 6d 61 6e 64 73 20 68 61 | 76 65 20 62 65 65 6e 20 |mands ha|ve been |
|00001630| 69 6d 70 72 6f 76 65 64 | 2e 0a 20 20 2b 20 46 69 |improved|.. + Fi|
|00001640| 6c 65 6e 61 6d 65 20 63 | 6f 6d 70 6c 65 74 69 6f |lename c|ompletio|
|00001650| 6e 20 68 61 73 20 62 65 | 65 6e 20 69 6d 70 72 6f |n has be|en impro|
|00001660| 76 65 64 2e 0a 20 20 2b | 20 42 79 20 70 6f 70 75 |ved.. +| By popu|
|00001670| 6c 61 72 20 64 65 6d 61 | 6e 64 2c 20 72 65 74 75 |lar dema|nd, retu|
|00001680| 72 6e 20 6e 6f 77 20 6a | 75 6d 70 73 20 74 6f 20 |rn now j|umps to |
|00001690| 74 68 65 20 65 6e 64 20 | 6f 66 20 6c 69 6e 65 20 |the end |of line |
|000016a0| 62 65 66 6f 72 65 20 0a | 20 20 20 20 73 75 62 6d |before .| subm|
|000016b0| 69 74 74 69 6e 67 20 69 | 6e 70 75 74 20 28 74 68 |itting i|nput (th|
|000016c0| 69 73 20 69 73 20 73 65 | 74 74 61 62 6c 65 2c 20 |is is se|ttable, |
|000016d0| 62 75 74 20 64 65 66 61 | 75 6c 74 73 20 74 6f 20 |but defa|ults to |
|000016e0| 74 68 65 20 65 6f 6c 20 | 62 65 68 61 76 69 6f 72 |the eol |behavior|
|000016f0| 29 2e 0a 20 20 2b 20 4e | 65 77 20 68 6f 6f 6b 73 |).. + N|ew hooks|
|00001700| 20 66 6f 72 20 6d 6f 64 | 65 20 68 61 63 6b 65 72 | for mod|e hacker|
|00001710| 73 2e 0a 20 20 2b 20 63 | 6f 6d 69 6e 74 2d 65 78 |s.. + c|omint-ex|
|00001720| 65 63 20 6e 6f 20 6c 6f | 6e 67 65 72 20 64 65 70 |ec no lo|nger dep|
|00001730| 65 6e 64 65 6e 74 20 6f | 6e 20 65 74 63 2f 65 6e |endent o|n etc/en|
|00001740| 76 20 70 72 6f 67 72 61 | 6d 2e 0a 20 20 2b 20 50 |v progra|m.. + P|
|00001750| 72 6f 63 65 73 73 20 63 | 6f 6d 6d 75 6e 69 63 61 |rocess c|ommunica|
|00001760| 74 69 6f 6e 20 76 69 61 | 20 70 69 70 65 73 20 73 |tion via| pipes s|
|00001770| 75 70 70 6f 72 74 65 64 | 20 62 65 74 74 65 72 2e |upported| better.|
|00001780| 0a 20 20 2b 20 53 69 6d | 70 6c 65 20 70 72 6f 63 |. + Sim|ple proc|
|00001790| 65 73 73 2d 71 75 65 72 | 79 20 66 61 63 69 6c 69 |ess-quer|y facili|
|000017a0| 74 79 20 61 76 61 69 6c | 61 62 6c 65 2e 0a 20 20 |ty avail|able.. |
|000017b0| 2b 20 4e 65 77 20 70 72 | 6f 63 65 64 75 72 65 73 |+ New pr|ocedures|
|000017c0| 20 66 6f 72 20 73 65 6e | 64 69 6e 67 20 69 6e 70 | for sen|ding inp|
|000017d0| 75 74 20 74 6f 20 70 72 | 6f 63 65 73 73 65 73 20 |ut to pr|ocesses |
|000017e0| 74 68 61 74 20 61 76 6f | 69 64 20 68 61 6e 67 69 |that avo|id hangi|
|000017f0| 6e 67 0a 20 20 20 20 6f | 6e 20 6c 61 72 67 65 20 |ng. o|n large |
|00001800| 74 65 78 74 20 62 6c 6f | 63 6b 73 2e 0a 0a 2d 20 |text blo|cks...- |
|00001810| 54 77 65 61 6b 73 20 74 | 6f 20 74 68 65 20 6f 74 |Tweaks t|o the ot|
|00001820| 68 65 72 20 70 61 63 6b | 61 67 65 73 3a 0a 20 20 |her pack|ages:. |
|00001830| 2b 20 49 6d 70 72 6f 76 | 65 64 20 64 69 72 65 63 |+ Improv|ed direc|
|00001840| 74 6f 72 79 20 74 72 61 | 63 6b 69 6e 67 20 69 6e |tory tra|cking in|
|00001850| 20 63 6d 75 73 68 65 6c | 6c 2e 65 6c 2e 20 49 74 | cmushel|l.el. It|
|00001860| 20 6e 6f 77 20 68 61 6e | 64 6c 65 73 0a 20 20 20 | now han|dles. |
|00001870| 20 61 6c 6c 20 66 6f 72 | 6d 73 20 6f 66 20 70 75 | all for|ms of pu|
|00001880| 73 68 64 20 61 6e 64 20 | 70 6f 70 64 2e 20 4e 65 |shd and |popd. Ne|
|00001890| 77 20 63 6f 6d 6d 61 6e | 64 73 20 64 69 72 74 72 |w comman|ds dirtr|
|000018a0| 61 63 6b 2d 74 6f 67 67 | 6c 65 20 61 6e 64 0a 20 |ack-togg|le and. |
|000018b0| 20 20 20 64 69 72 73 20 | 74 6f 67 67 6c 65 20 74 | dirs |toggle t|
|000018c0| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 74 72 61 |he direc|tory tra|
|000018d0| 63 6b 69 6e 67 20 6d 61 | 63 68 69 6e 65 72 79 20 |cking ma|chinery |
|000018e0| 6f 66 66 20 61 6e 64 20 | 6f 6e 2c 20 61 6e 64 0a |off and |on, and.|
|000018f0| 20 20 20 20 72 65 73 79 | 6e 63 20 74 68 65 20 6d | resy|nc the m|
|00001900| 6f 64 65 27 73 20 64 69 | 72 65 63 74 6f 72 79 20 |ode's di|rectory |
|00001910| 73 74 61 63 6b 20 77 69 | 74 68 20 74 68 65 20 73 |stack wi|th the s|
|00001920| 68 65 6c 6c 27 73 2e 0a | 20 20 2b 20 63 6d 75 73 |hell's..| + cmus|
|00001930| 68 65 6c 6c 20 61 6e 64 | 20 63 6d 75 6c 69 73 70 |hell and| cmulisp|
|00001940| 20 6d 6f 64 65 73 20 6e | 6f 77 20 72 65 73 69 64 | modes n|ow resid|
|00001950| 65 20 69 6e 20 73 65 70 | 61 72 61 74 65 20 66 69 |e in sep|arate fi|
|00001960| 6c 65 73 0a 20 20 20 20 | 63 6d 75 73 68 65 6c 6c |les. |cmushell|
|00001970| 2e 65 6c 20 61 6e 64 20 | 63 6d 75 6c 69 73 70 2e |.el and |cmulisp.|
|00001980| 65 6c 2e 20 4e 6f 74 20 | 6f 6e 6c 79 20 69 73 20 |el. Not |only is |
|00001990| 74 68 69 73 20 61 20 67 | 6f 6f 64 20 69 64 65 61 |this a g|ood idea|
|000019a0| 2c 20 0a 20 20 20 20 69 | 74 27 73 20 61 70 70 61 |, . i|t's appa|
|000019b0| 72 65 6e 74 6c 79 20 74 | 68 65 20 77 61 79 20 69 |rently t|he way i|
|000019c0| 74 27 6c 6c 20 62 65 20 | 72 65 6c 20 31 39 2e 20 |t'll be |rel 19. |
|000019d0| 4e 2e 42 2e 3a 20 43 4d | 55 4c 49 53 50 20 55 53 |N.B.: CM|ULISP US|
|000019e0| 45 52 53 0a 20 20 20 20 | 4d 55 53 54 20 43 48 41 |ERS. |MUST CHA|
|000019f0| 4e 47 45 20 54 48 45 49 | 52 20 2e 45 4d 41 43 53 |NGE THEI|R .EMACS|
|00001a00| 20 41 55 54 4f 4c 4f 41 | 44 27 53 20 41 43 43 4f | AUTOLOA|D'S ACCO|
|00001a10| 52 44 49 4e 47 4c 59 2e | 0a 20 20 2b 20 62 65 74 |RDINGLY.|. + bet|
|00001a20| 74 65 72 20 73 75 70 70 | 6f 72 74 20 66 6f 72 20 |ter supp|ort for |
|00001a30| 6d 75 6c 74 69 70 6c 65 | 20 70 72 6f 63 65 73 73 |multiple| process|
|00001a40| 65 73 20 69 6e 20 63 6d | 75 6c 69 73 70 2c 20 63 |es in cm|ulisp, c|
|00001a50| 6d 75 73 63 68 65 6d 65 | 20 0a 20 20 20 20 61 6e |muscheme| . an|
|00001a60| 64 20 74 65 61 20 6d 6f | 64 65 73 2e 0a 20 20 2b |d tea mo|des.. +|
|00001a70| 20 63 6d 75 6c 69 73 70 | 20 68 61 73 20 73 6f 6d | cmulisp| has som|
|00001a80| 65 20 73 69 6d 70 6c 65 | 20 71 75 65 72 79 20 63 |e simple| query c|
|00001a90| 6f 6d 6d 61 6e 64 73 2c | 20 66 6f 72 20 66 75 6e |ommands,| for fun|
|00001aa0| 63 74 69 6f 6e 20 61 6e | 64 0a 20 20 20 20 76 61 |ction an|d. va|
|00001ab0| 72 69 61 62 6c 65 20 64 | 6f 63 75 6d 65 6e 74 61 |riable d|ocumenta|
|00001ac0| 74 69 6f 6e 2c 20 64 65 | 73 63 72 69 62 69 6e 67 |tion, de|scribing|
|00001ad0| 20 73 79 6d 62 6f 6c 73 | 2c 20 61 6e 64 20 67 65 | symbols|, and ge|
|00001ae0| 74 74 69 6e 67 0a 20 20 | 20 20 66 75 6e 63 74 69 |tting. | functi|
|00001af0| 6f 6e 20 61 72 67 6c 69 | 73 74 73 2e 20 54 68 69 |on argli|sts. Thi|
|00001b00| 73 20 69 73 20 61 20 73 | 69 6d 70 6c 65 20 66 61 |s is a s|imple fa|
|00001b10| 63 69 6c 69 74 79 3b 20 | 43 68 72 69 73 20 4d 63 |cility; |Chris Mc|
|00001b20| 43 6f 6e 6e 65 6c 6c 27 | 73 0a 20 20 20 20 69 6c |Connell'|s. il|
|00001b30| 69 73 70 20 70 61 63 6b | 61 67 65 20 69 73 20 6d |isp pack|age is m|
|00001b40| 75 63 68 20 6d 6f 72 65 | 20 66 65 61 74 75 72 65 |uch more| feature|
|00001b50| 66 75 6c 2e 20 49 74 20 | 77 61 73 20 62 61 73 65 |ful. It |was base|
|00001b60| 64 20 6f 6e 20 73 6f 6d | 65 20 63 6f 64 65 0a 20 |d on som|e code. |
|00001b70| 20 20 20 63 6f 6e 74 72 | 69 62 75 74 65 64 20 62 | contr|ibuted b|
|00001b80| 79 20 44 6f 75 67 20 52 | 6f 62 65 72 74 73 2e 0a |y Doug R|oberts..|
|00001b90| 20 20 2b 20 63 6d 75 6c | 69 73 70 2c 20 63 6d 75 | + cmul|isp, cmu|
|00001ba0| 73 63 68 65 6d 65 2c 20 | 61 6e 64 20 74 65 61 20 |scheme, |and tea |
|00001bb0| 6e 6f 77 20 68 61 76 65 | 20 61 20 63 6f 6d 6d 61 |now have| a comma|
|00001bc0| 6e 64 20 28 63 2d 78 20 | 63 2d 65 29 20 74 6f 20 |nd (c-x |c-e) to |
|00001bd0| 65 76 61 6c 20 74 68 65 | 0a 20 20 20 20 6c 61 73 |eval the|. las|
|00001be0| 74 20 73 65 78 70 2e 20 | 54 68 65 20 6b 65 79 62 |t sexp. |The keyb|
|00001bf0| 69 6e 64 69 6e 67 20 69 | 73 20 63 6f 6d 70 61 74 |inding i|s compat|
|00001c00| 69 62 6c 65 20 77 69 74 | 68 20 65 6d 61 63 73 20 |ible wit|h emacs |
|00001c10| 6c 69 73 70 20 61 6e 64 | 20 48 65 6d 6c 6f 63 6b |lisp and| Hemlock|
|00001c20| 2e 0a 20 20 2b 20 46 69 | 6c 65 6e 61 6d 65 20 64 |.. + Fi|lename d|
|00001c30| 65 66 61 75 6c 74 73 20 | 69 6e 20 53 63 68 65 6d |efaults |in Schem|
|00001c40| 65 20 61 6e 64 20 4c 69 | 73 70 20 6d 6f 64 65 73 |e and Li|sp modes|
|00001c50| 20 77 69 6c 6c 20 75 73 | 65 20 74 68 65 20 73 74 | will us|e the st|
|00001c60| 72 69 6e 67 0a 20 20 20 | 20 74 68 65 20 63 75 72 |ring. | the cur|
|00001c70| 73 6f 72 20 69 73 20 6f | 76 65 72 2c 20 69 66 20 |sor is o|ver, if |
|00001c80| 69 74 27 73 20 61 6e 20 | 65 78 69 73 74 69 6e 67 |it's an |existing|
|00001c90| 20 66 69 6c 65 6e 61 6d | 65 2e 20 54 68 69 73 20 | filenam|e. This |
|00001ca0| 69 73 20 61 0a 20 20 20 | 20 64 65 62 61 74 61 62 |is a. | debatab|
|00001cb0| 6c 65 20 64 65 63 69 73 | 69 6f 6e 2e 20 46 65 65 |le decis|ion. Fee|
|00001cc0| 64 62 61 63 6b 20 61 70 | 70 72 65 63 69 61 74 65 |dback ap|preciate|
|00001cd0| 64 2e 0a 0a 47 45 4e 45 | 52 41 4c 20 4e 4f 54 45 |d...GENE|RAL NOTE|
|00001ce0| 53 0a 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |S.======|========|
|00001cf0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001d00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001d10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001d20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001d30| 3d 0a 44 69 72 65 63 74 | 6f 72 79 20 74 72 61 63 |=.Direct|ory trac|
|00001d40| 6b 69 6e 67 3a 0a 54 68 | 65 20 6e 65 77 20 64 69 |king:.Th|e new di|
|00001d50| 72 65 63 74 6f 72 79 20 | 74 72 61 63 6b 69 6e 67 |rectory |tracking|
|00001d60| 20 63 6f 64 65 20 77 69 | 6c 6c 20 68 61 6e 64 6c | code wi|ll handl|
|00001d70| 65 0a 20 20 20 20 70 75 | 73 68 64 20 5b 2b 6e 20 |e. pu|shd [+n |
|00001d80| 7c 20 3c 64 69 72 3e 5d | 0a 20 20 20 20 70 6f 70 || <dir>]|. pop|
|00001d90| 64 20 5b 2b 6e 5d 0a 20 | 20 20 20 63 64 20 5b 3c |d [+n]. | cd [<|
|00001da0| 64 69 72 3e 5d 0a 54 68 | 65 20 65 6d 61 63 73 20 |dir>].Th|e emacs |
|00001db0| 63 6f 6d 6d 61 6e 64 20 | 4d 2d 78 20 64 69 72 73 |command |M-x dirs|
|00001dc0| 20 77 69 6c 6c 20 73 74 | 75 66 66 20 61 20 22 64 | will st|uff a "d|
|00001dd0| 69 72 73 22 20 61 74 20 | 74 68 65 20 70 72 6f 63 |irs" at |the proc|
|00001de0| 65 73 73 2c 20 77 61 69 | 74 20 66 6f 72 0a 61 20 |ess, wai|t for.a |
|00001df0| 6c 69 6e 65 20 6f 66 20 | 6f 75 74 70 75 74 2c 20 |line of |output, |
|00001e00| 70 61 72 73 65 20 69 74 | 20 75 70 2c 20 61 6e 64 |parse it| up, and|
|00001e10| 20 72 65 73 65 74 20 74 | 68 65 20 62 75 66 66 65 | reset t|he buffe|
|00001e20| 72 27 73 20 64 69 72 65 | 63 74 6f 72 79 0a 73 74 |r's dire|ctory.st|
|00001e30| 61 63 6b 20 61 63 63 6f | 72 64 69 6e 67 6c 79 2e |ack acco|rdingly.|
|00001e40| 20 54 68 65 20 65 6d 61 | 63 73 20 63 6f 6d 6d 61 | The ema|cs comma|
|00001e50| 6e 64 20 4d 2d 78 20 64 | 69 72 74 72 61 63 6b 2d |nd M-x d|irtrack-|
|00001e60| 74 6f 67 67 6c 65 20 77 | 69 6c 6c 20 74 6f 67 67 |toggle w|ill togg|
|00001e70| 6c 65 0a 74 68 65 20 64 | 69 72 65 63 74 6f 72 79 |le.the d|irectory|
|00001e80| 20 74 72 61 63 6b 69 6e | 67 20 6d 61 63 68 69 6e | trackin|g machin|
|00001e90| 65 72 79 20 6f 6e 20 61 | 6e 64 20 6f 66 66 2e 20 |ery on a|nd off. |
|00001ea0| 54 68 69 73 20 69 73 20 | 75 73 65 66 75 6c 2c 20 |This is |useful, |
|00001eb0| 66 6f 72 20 65 78 61 6d | 70 6c 65 2c 0a 77 68 65 |for exam|ple,.whe|
|00001ec0| 6e 20 79 6f 75 20 61 72 | 65 20 72 75 6e 6e 69 6e |n you ar|e runnin|
|00001ed0| 67 20 66 74 70 2c 20 61 | 6e 64 20 64 6f 6e 27 74 |g ftp, a|nd don't|
|00001ee0| 20 77 61 6e 74 20 66 74 | 70 27 73 20 22 63 64 22 | want ft|p's "cd"|
|00001ef0| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 74 68 72 6f | command| to thro|
|00001f00| 77 0a 65 6d 61 63 73 20 | 6f 66 66 2e 0a 0a 54 68 |w.emacs |off...Th|
|00001f10| 65 20 6e 65 77 20 63 6f | 64 65 20 77 61 73 20 62 |e new co|de was b|
|00001f20| 61 73 65 64 20 6f 6e 20 | 73 6f 75 72 63 65 20 63 |ased on |source c|
|00001f30| 6f 6e 74 72 69 62 75 74 | 65 64 20 62 79 20 56 69 |ontribut|ed by Vi|
|00001f40| 6e 63 65 20 42 72 6f 6d | 61 6e 2c 20 4d 69 6b 65 |nce Brom|an, Mike|
|00001f50| 20 43 6f 66 66 69 6e 2c | 0a 4a 65 66 66 20 50 65 | Coffin,|.Jeff Pe|
|00001f60| 63 6b 2c 20 61 6e 64 20 | 42 61 72 72 79 20 57 61 |ck, and |Barry Wa|
|00001f70| 72 73 61 77 2e 20 49 74 | 73 20 73 74 72 75 63 74 |rsaw. It|s struct|
|00001f80| 75 72 65 20 73 68 6f 75 | 6c 64 20 61 6c 6c 6f 77 |ure shou|ld allow|
|00001f90| 20 7a 65 61 6c 6f 75 73 | 20 73 68 65 6c 6c 20 68 | zealous| shell h|
|00001fa0| 61 63 6b 65 72 73 0a 74 | 6f 20 65 78 74 65 6e 64 |ackers.t|o extend|
|00001fb0| 20 69 74 20 70 72 65 74 | 74 79 20 65 61 73 69 6c | it pret|ty easil|
|00001fc0| 79 2e 0a 0a 54 68 65 20 | 63 6f 6d 6d 61 6e 64 73 |y...The |commands|
|00001fd0| 20 74 68 61 74 20 64 69 | 72 65 63 74 6f 72 79 20 | that di|rectory |
|00001fe0| 74 72 61 63 6b 69 6e 67 | 20 6c 6f 6f 6b 73 20 66 |tracking| looks f|
|00001ff0| 6f 72 20 61 72 65 20 63 | 75 73 74 6f 6d 69 73 61 |or are c|ustomisa|
|00002000| 62 6c 65 2e 0a 49 66 20 | 79 6f 75 20 64 65 66 69 |ble..If |you defi|
|00002010| 6e 65 20 61 6c 69 61 73 | 65 73 20 66 6f 72 20 63 |ne alias|es for c|
|00002020| 64 20 6f 72 20 70 75 73 | 68 64 20 6f 72 20 70 6f |d or pus|hd or po|
|00002030| 70 64 2c 20 79 6f 75 20 | 63 61 6e 20 73 65 74 20 |pd, you |can set |
|00002040| 74 68 65 20 72 69 67 68 | 74 0a 65 6d 61 63 73 20 |the righ|t.emacs |
|00002050| 76 61 72 69 61 62 6c 65 | 73 20 61 6e 64 20 77 69 |variable|s and wi|
|00002060| 6e 2e 0a 0a 4e 6f 74 65 | 20 74 68 61 74 20 69 6e |n...Note| that in|
|00002070| 20 67 65 6e 65 72 61 6c | 2c 20 63 6f 6d 70 6c 65 | general|, comple|
|00002080| 78 20 64 69 72 65 63 74 | 6f 72 79 20 74 72 61 63 |x direct|ory trac|
|00002090| 6b 69 6e 67 20 69 73 20 | 61 20 6c 6f 73 69 6e 67 |king is |a losing|
|000020a0| 20 67 61 6d 65 2e 0a 59 | 6f 75 20 63 61 6e 27 74 | game..Y|ou can't|
|000020b0| 20 77 69 6e 2e 20 49 66 | 20 79 6f 75 20 68 61 76 | win. If| you hav|
|000020c0| 65 20 61 20 70 72 6f 67 | 72 61 6d 6d 61 62 6c 65 |e a prog|rammable|
|000020d0| 20 73 68 65 6c 6c 2c 20 | 61 6e 20 65 78 63 65 6c | shell, |an excel|
|000020e0| 6c 65 6e 74 20 68 61 63 | 6b 0a 69 73 20 74 6f 20 |lent hac|k.is to |
|000020f0| 70 72 6f 67 72 61 6d 20 | 74 68 65 20 64 69 72 65 |program |the dire|
|00002100| 63 74 6f 72 79 2d 63 68 | 61 6e 67 69 6e 67 20 63 |ctory-ch|anging c|
|00002110| 6f 6d 6d 61 6e 64 73 20 | 74 6f 20 74 79 70 65 20 |ommands |to type |
|00002120| 63 6f 64 65 20 73 65 71 | 75 65 6e 63 65 73 0a 61 |code seq|uences.a|
|00002130| 74 20 74 68 65 20 74 65 | 72 6d 69 6e 61 6c 2c 20 |t the te|rminal, |
|00002140| 61 6e 64 20 77 72 69 74 | 65 20 61 20 70 72 6f 63 |and writ|e a proc|
|00002150| 65 73 73 20 66 69 6c 74 | 65 72 20 74 6f 20 77 61 |ess filt|er to wa|
|00002160| 74 63 68 20 66 6f 72 20 | 74 68 65 73 65 20 73 65 |tch for |these se|
|00002170| 71 75 65 6e 63 65 73 2e | 0a 41 20 73 65 71 75 65 |quences.|.A seque|
|00002180| 6e 63 65 20 6c 69 6b 65 | 20 22 45 53 43 20 44 20 |nce like| "ESC D |
|00002190| 3c 6c 65 6e 67 74 68 3e | 20 3c 64 69 72 65 63 74 |<length>| <direct|
|000021a0| 6f 72 79 3e 22 20 77 68 | 65 72 65 20 3c 64 69 72 |ory>" wh|ere <dir|
|000021b0| 65 63 74 6f 72 79 3e 20 | 69 73 20 3c 6c 65 6e 67 |ectory> |is <leng|
|000021c0| 74 68 3e 0a 63 68 61 72 | 61 63 74 65 72 73 20 6c |th>.char|acters l|
|000021d0| 6f 6e 67 20 77 6f 75 6c | 64 20 64 6f 20 66 69 6e |ong woul|d do fin|
|000021e0| 65 2e 20 28 55 73 69 6e | 67 20 61 20 3c 6c 65 6e |e. (Usin|g a <len|
|000021f0| 67 74 68 3e 20 70 61 72 | 61 6d 65 74 65 72 20 69 |gth> par|ameter i|
|00002200| 6e 73 74 65 61 64 20 6f | 66 0a 73 74 72 69 6e 67 |nstead o|f.string|
|00002210| 20 64 65 6c 69 6d 65 74 | 65 72 73 20 70 72 65 76 | delimet|ers prev|
|00002220| 65 6e 74 73 20 65 6d 61 | 63 73 20 66 72 6f 6d 20 |ents ema|cs from |
|00002230| 67 6f 62 62 6c 69 6e 67 | 20 75 70 20 75 6e 62 6f |gobbling| up unbo|
|00002240| 75 6e 64 65 64 20 61 6d | 6f 75 6e 74 73 20 6f 66 |unded am|ounts of|
|00002250| 20 73 68 65 6c 6c 0a 6f | 75 74 70 75 74 20 69 6e | shell.o|utput in|
|00002260| 20 74 68 65 20 65 76 65 | 6e 74 20 74 68 65 20 74 | the eve|nt the t|
|00002270| 65 72 6d 69 6e 61 74 69 | 6e 67 20 64 65 6c 69 6d |erminati|ng delim|
|00002280| 69 74 65 72 20 67 65 74 | 73 20 6c 6f 73 74 2e 29 |iter get|s lost.)|
|00002290| 0a 0a 0a 4d 75 6c 74 69 | 70 6c 65 20 70 72 6f 63 |...Multi|ple proc|
|000022a0| 65 73 73 20 62 75 66 66 | 65 72 73 3a 0a 4d 61 6e |ess buff|ers:.Man|
|000022b0| 79 20 70 65 6f 70 6c 65 | 20 73 75 67 67 65 73 74 |y people| suggest|
|000022c0| 20 77 61 79 73 20 74 6f | 20 72 75 6e 20 6d 75 6c | ways to| run mul|
|000022d0| 74 69 70 6c 65 20 73 68 | 65 6c 6c 20 62 75 66 66 |tiple sh|ell buff|
|000022e0| 65 72 73 2e 20 54 68 69 | 73 20 64 6f 65 73 20 6e |ers. Thi|s does n|
|000022f0| 6f 74 20 72 65 71 75 69 | 72 65 0a 65 78 74 72 61 |ot requi|re.extra|
|00002300| 20 66 65 61 74 75 72 65 | 73 2e 20 53 75 70 70 6f | feature|s. Suppo|
|00002310| 73 65 20 79 6f 75 20 77 | 61 6e 74 20 74 77 6f 20 |se you w|ant two |
|00002320| 73 68 65 6c 6c 20 62 75 | 66 66 65 72 73 2e 20 20 |shell bu|ffers. |
|00002330| 53 69 6d 70 6c 79 20 6d | 61 6b 65 20 61 20 73 68 |Simply m|ake a sh|
|00002340| 65 6c 6c 0a 62 75 66 66 | 65 72 20 77 69 74 68 20 |ell.buff|er with |
|00002350| 4d 2d 78 20 63 6d 75 73 | 68 65 6c 6c 2c 20 61 6e |M-x cmus|hell, an|
|00002360| 64 20 74 68 65 6e 20 72 | 65 6e 61 6d 65 20 69 74 |d then r|ename it|
|00002370| 20 77 69 74 68 20 4d 2d | 78 20 72 65 6e 61 6d 65 | with M-|x rename|
|00002380| 2d 62 75 66 66 65 72 2e | 20 4d 61 6b 65 20 74 68 |-buffer.| Make th|
|00002390| 65 0a 6e 65 78 74 20 73 | 68 65 6c 6c 20 77 69 74 |e.next s|hell wit|
|000023a0| 68 20 4d 2d 78 20 63 6d | 75 73 68 65 6c 6c 2c 20 |h M-x cm|ushell, |
|000023b0| 61 6e 64 20 6e 6f 77 20 | 79 6f 75 27 76 65 20 67 |and now |you've g|
|000023c0| 6f 74 20 74 77 6f 2e 20 | 55 73 65 20 4d 2d 78 20 |ot two. |Use M-x |
|000023d0| 63 6d 75 73 68 65 6c 6c | 20 74 6f 20 67 65 74 0a |cmushell| to get.|
|000023e0| 74 6f 20 74 68 65 20 6e | 65 77 65 73 74 20 6f 6e |to the n|ewest on|
|000023f0| 65 2c 20 61 6e 64 20 43 | 2d 78 20 62 20 3c 62 75 |e, and C|-x b <bu|
|00002400| 66 6e 61 6d 65 3e 20 74 | 6f 20 67 65 74 20 74 6f |fname> t|o get to|
|00002410| 20 74 68 65 20 6f 74 68 | 65 72 2e 0a 0a 4d 75 6c | the oth|er...Mul|
|00002420| 74 69 70 6c 65 20 4c 69 | 73 70 20 61 6e 64 20 53 |tiple Li|sp and S|
|00002430| 63 68 65 6d 65 20 62 75 | 66 66 65 72 73 20 77 6f |cheme bu|ffers wo|
|00002440| 72 6b 20 73 69 6d 69 6c | 61 72 6c 79 2e 20 43 6f |rk simil|arly. Co|
|00002450| 6d 6d 61 6e 64 73 20 74 | 68 61 74 20 73 65 6e 64 |mmands t|hat send|
|00002460| 20 74 65 78 74 0a 66 72 | 6f 6d 20 61 20 73 6f 75 | text.fr|om a sou|
|00002470| 72 63 65 20 62 75 66 66 | 65 72 20 74 6f 20 74 68 |rce buff|er to th|
|00002480| 65 20 70 72 6f 63 65 73 | 73 20 62 75 66 66 65 72 |e proces|s buffer|
|00002490| 20 77 69 6c 6c 20 61 6c | 77 61 79 73 20 73 65 6e | will al|ways sen|
|000024a0| 64 20 74 6f 20 74 68 65 | 0a 62 75 66 66 65 72 20 |d to the|.buffer |
|000024b0| 77 69 74 68 20 74 68 65 | 20 22 6f 66 66 69 63 69 |with the| "offici|
|000024c0| 61 6c 22 20 6e 61 6d 65 | 20 75 6e 6c 65 73 73 20 |al" name| unless |
|000024d0| 79 6f 75 20 65 78 70 6c | 69 63 69 74 6c 79 20 6f |you expl|icitly o|
|000024e0| 76 65 72 72 69 64 65 20 | 74 68 69 73 0a 28 73 65 |verride |this.(se|
|000024f0| 65 20 76 61 72 69 61 62 | 6c 65 20 6c 69 73 70 2f |e variab|le lisp/|
|00002500| 73 63 68 65 6d 65 2f 74 | 65 61 2d 62 75 66 66 65 |scheme/t|ea-buffe|
|00002510| 72 29 2e 20 49 20 64 6f | 6e 27 74 20 73 65 65 20 |r). I do|n't see |
|00002520| 61 6e 79 20 72 65 61 6c | 20 67 6f 6f 64 20 77 61 |any real| good wa|
|00002530| 79 73 20 74 6f 0a 65 78 | 74 65 6e 64 20 74 68 69 |ys to.ex|tend thi|
|00002540| 73 2e 20 59 6f 75 20 63 | 6f 75 6c 64 20 61 73 73 |s. You c|ould ass|
|00002550| 6f 63 69 61 74 65 20 65 | 61 63 68 20 73 6f 75 72 |ociate e|ach sour|
|00002560| 63 65 20 62 75 66 66 65 | 72 20 77 69 74 68 20 73 |ce buffe|r with s|
|00002570| 6f 6d 65 20 70 72 6f 63 | 65 73 73 0a 62 75 66 66 |ome proc|ess.buff|
|00002580| 65 72 2c 20 62 75 74 20 | 74 68 69 73 20 67 65 74 |er, but |this get|
|00002590| 73 20 6d 65 73 73 79 2e | 20 49 27 76 65 20 74 72 |s messy.| I've tr|
|000025a0| 69 65 64 20 74 6f 20 6b | 65 65 70 20 69 74 20 73 |ied to k|eep it s|
|000025b0| 69 6d 70 6c 65 2e 20 49 | 66 20 79 6f 75 20 66 69 |imple. I|f you fi|
|000025c0| 6e 64 0a 79 6f 75 72 73 | 65 6c 66 20 73 77 69 74 |nd.yours|elf swit|
|000025d0| 63 68 69 6e 67 20 62 65 | 74 77 65 65 6e 20 6d 75 |ching be|tween mu|
|000025e0| 6c 74 69 70 6c 65 20 70 | 72 6f 63 65 73 73 20 62 |ltiple p|rocess b|
|000025f0| 75 66 66 65 72 73 20 61 | 20 6c 6f 74 2c 20 63 6f |uffers a| lot, co|
|00002600| 6e 73 69 64 65 72 20 75 | 73 69 6e 67 0a 69 6c 69 |nsider u|sing.ili|
|00002610| 73 70 2e 65 6c 2e 20 4f | 72 20 77 72 69 74 65 20 |sp.el. O|r write |
|00002620| 61 20 6c 69 74 74 6c 65 | 20 63 6f 64 65 20 74 6f |a little| code to|
|00002630| 20 73 6f 75 70 20 75 70 | 20 63 6d 75 6c 69 73 70 | soup up| cmulisp|
|00002640| 2e 65 6c 2e 0a 0a 0a 44 | 6f 63 75 6d 65 6e 74 61 |.el....D|ocumenta|
|00002650| 74 69 6f 6e 3a 0a 54 68 | 65 72 65 20 69 73 20 6e |tion:.Th|ere is n|
|00002660| 6f 20 6d 61 6e 75 61 6c | 20 6f 72 20 69 6e 66 6f |o manual| or info|
|00002670| 20 6e 6f 64 65 20 66 6f | 72 20 61 6e 79 20 6f 66 | node fo|r any of|
|00002680| 20 74 68 69 73 20 73 74 | 75 66 66 2e 20 49 20 61 | this st|uff. I a|
|00002690| 6d 20 6e 6f 74 20 67 6f | 69 6e 67 20 74 6f 0a 77 |m not go|ing to.w|
|000026a0| 72 69 74 65 20 6f 6e 65 | 2e 20 46 65 65 6c 20 66 |rite one|. Feel f|
|000026b0| 72 65 65 20 74 6f 20 77 | 72 69 74 65 20 6f 6e 65 |ree to w|rite one|
|000026c0| 20 69 66 20 79 6f 75 20 | 6c 69 6b 65 2c 20 61 6e | if you |like, an|
|000026d0| 64 20 73 75 62 6d 69 74 | 20 69 74 20 74 6f 20 6d |d submit| it to m|
|000026e0| 65 20 6f 72 20 74 68 65 | 20 46 53 46 2e 0a 49 74 |e or the| FSF..It|
|000026f0| 20 77 6f 75 6c 64 20 62 | 65 20 61 20 67 6f 6f 64 | would b|e a good|
|00002700| 20 74 68 69 6e 67 2e 0a | 0a 54 68 65 20 2e 65 6c | thing..|.The .el|
|00002710| 20 66 69 6c 65 73 20 61 | 72 65 20 63 6f 70 69 6f | files a|re copio|
|00002720| 75 73 6c 79 20 64 6f 63 | 75 6d 65 6e 74 65 64 2c |usly doc|umented,|
|00002730| 20 68 6f 77 65 76 65 72 | 2e 20 49 66 20 79 6f 75 | however|. If you|
|00002740| 20 77 61 6e 74 20 74 6f | 20 75 73 65 20 61 6e 79 | want to| use any|
|00002750| 20 6f 66 0a 74 68 65 73 | 65 20 6d 6f 64 65 73 2c | of.thes|e modes,|
|00002760| 20 49 20 73 74 72 6f 6e | 67 6c 79 20 73 75 67 67 | I stron|gly sugg|
|00002770| 65 73 74 20 74 68 61 74 | 20 79 6f 75 20 72 65 61 |est that| you rea|
|00002780| 64 20 74 68 65 20 73 6f | 75 72 63 65 20 66 69 6c |d the so|urce fil|
|00002790| 65 73 2e 20 20 52 65 61 | 6c 6c 79 2e 20 44 6f 0a |es. Rea|lly. Do.|
|000027a0| 69 74 2e 20 54 68 65 79 | 20 63 6f 6e 74 61 69 6e |it. They| contain|
|000027b0| 20 6d 61 6e 79 20 75 73 | 65 66 75 6c 20 73 65 63 | many us|eful sec|
|000027c0| 74 69 6f 6e 73 20 6f 66 | 20 63 6f 6d 6d 65 6e 74 |tions of| comment|
|000027d0| 73 2e 20 53 6b 69 70 20 | 61 6e 79 74 68 69 6e 67 |s. Skip |anything|
|000027e0| 20 79 6f 75 20 64 6f 6e | 27 74 0a 75 6e 64 65 72 | you don|'t.under|
|000027f0| 73 74 61 6e 64 3b 20 72 | 65 61 64 20 74 68 65 20 |stand; r|ead the |
|00002800| 65 61 73 79 20 70 61 72 | 74 73 2e 20 20 59 6f 75 |easy par|ts. You|
|00002810| 20 6d 61 79 20 66 69 6e | 64 20 73 6f 6d 65 20 75 | may fin|d some u|
|00002820| 73 65 66 75 6c 20 63 6f | 6d 6d 61 6e 64 73 20 79 |seful co|mmands y|
|00002830| 6f 75 20 64 69 64 6e 27 | 74 0a 6b 6e 6f 77 20 61 |ou didn'|t.know a|
|00002840| 62 6f 75 74 2e 20 20 54 | 68 65 20 74 6f 70 20 6f |bout. T|he top o|
|00002850| 66 20 65 61 63 68 20 66 | 69 6c 65 20 63 6f 6e 74 |f each f|ile cont|
|00002860| 61 69 6e 73 20 61 20 63 | 6c 65 61 72 6c 79 2d 6d |ains a c|learly-m|
|00002870| 61 72 6b 65 64 2c 20 66 | 72 69 65 6e 64 6c 79 0a |arked, f|riendly.|
|00002880| 22 73 75 67 67 65 73 74 | 69 6f 6e 73 20 66 6f 72 |"suggest|ions for|
|00002890| 20 79 6f 75 72 20 2e 65 | 6d 61 63 73 20 66 69 6c | your .e|macs fil|
|000028a0| 65 22 20 73 65 63 74 69 | 6f 6e 20 74 68 61 74 20 |e" secti|on that |
|000028b0| 77 69 6c 6c 20 73 68 6f | 77 20 79 6f 75 20 65 78 |will sho|w you ex|
|000028c0| 61 63 74 6c 79 20 68 6f | 77 20 74 6f 0a 67 65 74 |actly ho|w to.get|
|000028d0| 20 73 65 74 20 75 70 20 | 75 73 69 6e 67 20 74 68 | set up |using th|
|000028e0| 65 20 70 61 63 6b 61 67 | 65 2e 20 41 6c 73 6f 2c |e packag|e. Also,|
|000028f0| 20 70 61 79 20 61 74 74 | 65 6e 74 69 6f 6e 20 74 | pay att|ention t|
|00002900| 6f 20 74 68 65 20 44 45 | 46 56 41 52 27 64 20 76 |o the DE|FVAR'd v|
|00002910| 61 72 69 61 62 6c 65 73 | 2e 0a 54 68 65 73 65 20 |ariables|..These |
|00002920| 61 72 65 20 74 79 70 69 | 63 61 6c 6c 79 20 74 68 |are typi|cally th|
|00002930| 65 20 6d 65 61 6e 73 20 | 62 79 20 77 68 69 63 68 |e means |by which|
|00002940| 20 79 6f 75 20 63 61 6e | 20 63 75 73 74 6f 6d 69 | you can| customi|
|00002950| 73 65 20 74 68 65 20 70 | 61 63 6b 61 67 65 20 66 |se the p|ackage f|
|00002960| 6f 72 20 79 6f 75 72 0a | 6c 6f 63 61 6c 20 65 6e |or your.|local en|
|00002970| 76 69 72 6f 6e 6d 65 6e | 74 2e 0a 0a 54 68 65 20 |vironmen|t...The |
|00002980| 75 73 75 61 6c 20 6f 6e | 2d 6c 69 6e 65 20 64 6f |usual on|-line do|
|00002990| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 6f 6e 20 6d |cumentat|ion on m|
|000029a0| 6f 64 65 73 2c 20 76 61 | 72 69 61 62 6c 65 73 20 |odes, va|riables |
|000029b0| 61 6e 64 20 63 6f 6d 6d | 61 6e 64 73 0a 69 73 20 |and comm|ands.is |
|000029c0| 61 6c 73 6f 20 61 76 61 | 69 6c 61 62 6c 65 20 76 |also ava|ilable v|
|000029d0| 69 61 20 63 2d 68 20 6d | 2c 20 63 2d 68 20 76 2c |ia c-h m|, c-h v,|
|000029e0| 20 61 6e 64 20 63 2d 68 | 20 64 2e 0a 0a 0a 3d 3d | and c-h| d....==|
|000029f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002a00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002a10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002a20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002a30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0a 41 20 |========|=====.A |
|00002a40| 73 68 61 72 20 66 69 6c | 65 20 66 6f 72 20 74 68 |shar fil|e for th|
|00002a50| 65 20 73 6f 75 72 63 65 | 20 66 69 6c 65 73 20 66 |e source| files f|
|00002a60| 6f 6c 6c 6f 77 73 2e 20 | 54 68 69 73 20 63 6f 64 |ollows. |This cod|
|00002a70| 65 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 20 75 |e is ava|ilable u|
|00002a80| 6e 64 65 72 20 74 68 65 | 0a 74 65 72 6d 73 20 6f |nder the|.terms o|
|00002a90| 66 20 74 68 65 20 47 6e | 75 20 43 6f 70 79 72 69 |f the Gn|u Copyri|
|00002aa0| 67 68 74 20 61 67 72 65 | 65 6d 65 6e 74 3a 20 79 |ght agre|ement: y|
|00002ab0| 6f 75 20 63 61 6e 20 64 | 6f 20 77 68 61 74 65 76 |ou can d|o whatev|
|00002ac0| 65 72 20 79 6f 75 20 6c | 69 6b 65 20 77 69 74 68 |er you l|ike with|
|00002ad0| 20 69 74 20 61 73 0a 6c | 6f 6e 67 20 61 73 20 79 | it as.l|ong as y|
|00002ae0| 6f 75 20 64 6f 6e 27 74 | 20 63 68 61 72 67 65 20 |ou don't| charge |
|00002af0| 66 6f 72 20 69 74 20 6f | 72 20 68 6f 6c 64 20 6d |for it o|r hold m|
|00002b00| 65 20 72 65 73 70 6f 6e | 73 69 62 6c 65 20 66 6f |e respon|sible fo|
|00002b10| 72 20 61 6e 79 74 68 69 | 6e 67 20 69 74 20 64 6f |r anythi|ng it do|
|00002b20| 65 73 2e 0a 50 6c 65 61 | 73 65 20 73 65 6e 64 20 |es..Plea|se send |
|00002b30| 61 6e 79 20 63 6f 6d 6d | 65 6e 74 73 2c 20 69 6d |any comm|ents, im|
|00002b40| 70 72 6f 76 65 6d 65 6e | 74 73 2c 20 62 75 67 20 |provemen|ts, bug |
|00002b50| 72 65 70 6f 72 74 73 2c | 20 66 69 78 65 73 20 6f |reports,| fixes o|
|00002b60| 72 20 73 75 67 67 65 73 | 74 69 6f 6e 73 20 74 6f |r sugges|tions to|
|00002b70| 0a 6f 6c 69 6e 2e 73 68 | 69 76 65 72 73 40 63 73 |.olin.sh|ivers@cs|
|00002b80| 2e 63 6d 75 2e 65 64 75 | 2e 0a 0a 49 20 77 6f 75 |.cmu.edu|...I wou|
|00002b90| 6c 64 20 6c 69 6b 65 20 | 74 6f 20 74 68 61 6e 6b |ld like |to thank|
|00002ba0| 20 61 6c 6c 20 74 68 65 | 20 70 65 6f 70 6c 65 20 | all the| people |
|00002bb0| 77 68 6f 20 74 6f 6f 6b | 20 74 68 65 20 74 69 6d |who took| the tim|
|00002bc0| 65 20 74 6f 20 73 65 6e | 64 20 6d 65 20 74 68 65 |e to sen|d me the|
|00002bd0| 20 63 6f 64 65 0a 74 68 | 61 74 20 77 65 6e 74 20 | code.th|at went |
|00002be0| 69 6e 74 6f 20 74 68 69 | 73 20 73 65 63 6f 6e 64 |into thi|s second|
|00002bf0| 20 72 65 6c 65 61 73 65 | 2e 0a 20 20 20 20 09 2d | release|.. .-|
|00002c00| 4f 6c 69 6e 0a 20 20 20 | 20 09 4a 75 6e 65 20 31 |Olin. | .June 1|
|00002c10| 32 2c 20 31 39 39 30 0a | 3d 3d 3d 3d 3d 3d 3d 3d |2, 1990.|========|
|00002c20| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002c30| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002c40| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002c50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002c60| 3d 3d 3d 3d 3d 3d 3d 0a | 23 0a 23 20 74 79 70 65 |=======.|#.# type|
|00002c70| 20 20 20 20 73 68 20 2f | 61 66 73 2f 63 73 2e 63 | sh /|afs/cs.c|
|00002c80| 6d 75 2e 65 64 75 2f 75 | 73 65 72 2f 73 68 69 76 |mu.edu/u|ser/shiv|
|00002c90| 65 72 73 2f 6c 69 62 2f | 65 6d 61 63 73 2f 73 68 |ers/lib/|emacs/sh|
|00002ca0| 33 20 20 20 74 6f 20 75 | 6e 70 61 63 6b 20 74 68 |3 to u|npack th|
|00002cb0| 69 73 20 61 72 63 68 69 | 76 65 2e 0a 23 0a 65 63 |is archi|ve..#.ec|
|00002cc0| 68 6f 20 65 78 74 72 61 | 63 74 69 6e 67 20 62 61 |ho extra|cting ba|
|00002cd0| 63 6b 67 72 6f 75 6e 64 | 2e 65 6c 2e 2e 2e 0a 63 |ckground|.el....c|
|00002ce0| 61 74 20 3e 62 61 63 6b | 67 72 6f 75 6e 64 2e 65 |at >back|ground.e|
|00002cf0| 6c 20 3c 3c 27 21 45 21 | 4f 21 46 21 27 0a 3b 3b |l <<'!E!|O!F!'.;;|
|00002d00| 20 46 75 6e 20 77 69 74 | 68 20 62 61 63 6b 67 72 | Fun wit|h backgr|
|00002d10| 6f 75 6e 64 20 6a 6f 62 | 73 2e 0a 3b 3b 20 43 6f |ound job|s..;; Co|
|00002d20| 70 79 72 69 67 68 74 20 | 28 43 29 20 31 39 38 38 |pyright |(C) 1988|
|00002d30| 20 4a 6f 65 20 4b 65 61 | 6e 65 20 3c 6a 6b 33 6b | Joe Kea|ne <jk3k|
|00002d40| 2b 40 61 6e 64 72 65 77 | 2e 63 6d 75 2e 65 64 75 |+@andrew|.cmu.edu|
|00002d50| 3e 0a 3b 3b 20 41 64 61 | 70 74 65 64 20 74 6f 20 |>.;; Ada|pted to |
|00002d60| 75 73 65 20 63 6f 6d 69 | 6e 74 20 61 6e 64 20 63 |use comi|nt and c|
|00002d70| 6c 65 61 6e 65 64 20 75 | 70 20 73 6f 6d 65 77 68 |leaned u|p somewh|
|00002d80| 61 74 2e 20 4f 6c 69 6e | 20 53 68 69 76 65 72 73 |at. Olin| Shivers|
|00002d90| 20 35 2f 39 30 0a 3b 3b | 20 52 65 66 65 72 20 74 | 5/90.;;| Refer t|
|00002da0| 6f 20 74 68 65 20 47 4e | 55 20 45 6d 61 63 73 20 |o the GN|U Emacs |
|00002db0| 47 65 6e 65 72 61 6c 20 | 50 75 62 6c 69 63 20 4c |General |Public L|
|00002dc0| 69 63 65 6e 73 65 20 66 | 6f 72 20 63 6f 70 79 72 |icense f|or copyr|
|00002dd0| 69 67 68 74 20 69 6e 66 | 6f 2e 0a 0a 28 70 72 6f |ight inf|o...(pro|
|00002de0| 76 69 64 65 20 27 62 61 | 63 6b 67 72 6f 75 6e 64 |vide 'ba|ckground|
|00002df0| 29 0a 28 72 65 71 75 69 | 72 65 20 27 63 6f 6d 69 |).(requi|re 'comi|
|00002e00| 6e 74 29 0a 0a 3b 3b 20 | 75 73 65 72 20 76 61 72 |nt)..;; |user var|
|00002e10| 69 61 62 6c 65 73 0a 28 | 64 65 66 76 61 72 20 62 |iables.(|defvar b|
|00002e20| 61 63 6b 67 72 6f 75 6e | 64 2d 73 68 6f 77 20 74 |ackgroun|d-show t|
|00002e30| 0a 20 20 22 2a 49 66 20 | 6e 6f 6e 2d 6e 69 6c 2c |. "*If |non-nil,|
|00002e40| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 6a 6f 62 73 | backgro|und jobs|
|00002e50| 27 20 62 75 66 66 65 72 | 73 20 61 72 65 20 73 68 |' buffer|s are sh|
|00002e60| 6f 77 6e 20 77 68 65 6e | 20 74 68 65 79 27 72 65 |own when| they're|
|00002e70| 20 73 74 61 72 74 65 64 | 2e 22 29 0a 28 64 65 66 | started|.").(def|
|00002e80| 76 61 72 20 62 61 63 6b | 67 72 6f 75 6e 64 2d 73 |var back|ground-s|
|00002e90| 65 6c 65 63 74 20 6e 69 | 6c 0a 20 20 22 2a 49 66 |elect ni|l. "*If|
|00002ea0| 20 6e 6f 6e 2d 6e 69 6c | 2c 20 62 61 63 6b 67 72 | non-nil|, backgr|
|00002eb0| 6f 75 6e 64 20 6a 6f 62 | 73 27 20 62 75 66 66 65 |ound job|s' buffe|
|00002ec0| 72 73 20 61 72 65 20 73 | 65 6c 65 63 74 65 64 20 |rs are s|elected |
|00002ed0| 77 68 65 6e 20 74 68 65 | 79 27 72 65 20 73 74 61 |when the|y're sta|
|00002ee0| 72 74 65 64 2e 22 29 0a | 0a 28 64 65 66 75 6e 20 |rted.").|.(defun |
|00002ef0| 62 61 63 6b 67 72 6f 75 | 6e 64 20 28 63 6f 6d 6d |backgrou|nd (comm|
|00002f00| 61 6e 64 29 0a 20 20 22 | 52 75 6e 20 43 4f 4d 4d |and). "|Run COMM|
|00002f10| 41 4e 44 20 69 6e 20 74 | 68 65 20 62 61 63 6b 67 |AND in t|he backg|
|00002f20| 72 6f 75 6e 64 20 6c 69 | 6b 65 20 63 73 68 2e 20 |round li|ke csh. |
|00002f30| 20 0a 41 20 6d 65 73 73 | 61 67 65 20 69 73 20 64 | .A mess|age is d|
|00002f40| 69 73 70 6c 61 79 65 64 | 20 77 68 65 6e 20 74 68 |isplayed| when th|
|00002f50| 65 20 6a 6f 62 20 73 74 | 61 72 74 73 20 61 6e 64 |e job st|arts and|
|00002f60| 20 66 69 6e 69 73 68 65 | 73 2e 20 20 54 68 65 20 | finishe|s. The |
|00002f70| 62 75 66 66 65 72 20 69 | 73 20 69 6e 0a 63 6f 6d |buffer i|s in.com|
|00002f80| 69 6e 74 20 6d 6f 64 65 | 2c 20 73 6f 20 79 6f 75 |int mode|, so you|
|00002f90| 20 63 61 6e 20 73 65 6e | 64 20 69 6e 70 75 74 20 | can sen|d input |
|00002fa0| 61 6e 64 20 73 69 67 6e | 61 6c 73 20 74 6f 20 74 |and sign|als to t|
|00002fb0| 68 65 20 6a 6f 62 2e 20 | 20 54 68 65 20 70 72 6f |he job. | The pro|
|00002fc0| 63 65 73 73 20 6f 62 6a | 65 63 74 0a 69 73 20 72 |cess obj|ect.is r|
|00002fd0| 65 74 75 72 6e 65 64 20 | 69 66 20 61 6e 79 6f 6e |eturned |if anyon|
|00002fe0| 65 20 63 61 72 65 73 2e | 20 20 53 65 65 20 61 6c |e cares.| See al|
|00002ff0| 73 6f 20 63 6f 6d 69 6e | 74 2d 6d 6f 64 65 20 61 |so comin|t-mode a|
|00003000| 6e 64 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 73 |nd the v|ariables|
|00003010| 0a 62 61 63 6b 67 72 6f | 75 6e 64 2d 73 68 6f 77 |.backgro|und-show|
|00003020| 20 61 6e 64 20 62 61 63 | 6b 67 72 6f 75 6e 64 2d | and bac|kground-|
|00003030| 73 65 6c 65 63 74 2e 22 | 0a 20 20 28 69 6e 74 65 |select."|. (inte|
|00003040| 72 61 63 74 69 76 65 20 | 22 73 25 25 20 22 29 0a |ractive |"s%% ").|
|00003050| 20 20 28 6c 65 74 20 28 | 28 6a 6f 62 2d 6e 75 6d | (let (|(job-num|
|00003060| 62 65 72 20 31 29 0a 09 | 28 6a 6f 62 2d 6e 61 6d |ber 1)..|(job-nam|
|00003070| 65 20 22 25 31 22 29 29 | 0a 20 20 20 20 28 77 68 |e "%1"))|. (wh|
|00003080| 69 6c 65 20 28 70 72 6f | 63 65 73 73 2d 73 74 61 |ile (pro|cess-sta|
|00003090| 74 75 73 20 6a 6f 62 2d | 6e 61 6d 65 29 0a 20 20 |tus job-|name). |
|000030a0| 20 20 20 20 28 73 65 74 | 71 20 6a 6f 62 2d 6e 61 | (set|q job-na|
|000030b0| 6d 65 20 28 63 6f 6e 63 | 61 74 20 22 25 22 20 28 |me (conc|at "%" (|
|000030c0| 73 65 74 71 20 6a 6f 62 | 2d 6e 75 6d 62 65 72 20 |setq job|-number |
|000030d0| 28 31 2b 20 6a 6f 62 2d | 6e 75 6d 62 65 72 29 29 |(1+ job-|number))|
|000030e0| 29 29 29 0a 20 20 20 20 | 28 69 66 20 62 61 63 6b |))). |(if back|
|000030f0| 67 72 6f 75 6e 64 2d 73 | 65 6c 65 63 74 20 28 70 |ground-s|elect (p|
|00003100| 6f 70 2d 74 6f 2d 62 75 | 66 66 65 72 20 6a 6f 62 |op-to-bu|ffer job|
|00003110| 2d 6e 61 6d 65 29 0a 20 | 20 20 20 20 20 28 69 66 |-name). | (if|
|00003120| 20 62 61 63 6b 67 72 6f | 75 6e 64 2d 73 68 6f 77 | backgro|und-show|
|00003130| 20 28 77 69 74 68 2d 6f | 75 74 70 75 74 2d 74 6f | (with-o|utput-to|
|00003140| 2d 74 65 6d 70 2d 62 75 | 66 66 65 72 20 6a 6f 62 |-temp-bu|ffer job|
|00003150| 2d 6e 61 6d 65 29 29 20 | 3b 20 63 75 74 65 0a 20 |-name)) |; cute. |
|00003160| 20 20 20 20 20 28 73 65 | 74 2d 62 75 66 66 65 72 | (se|t-buffer|
|00003170| 20 28 67 65 74 2d 62 75 | 66 66 65 72 2d 63 72 65 | (get-bu|ffer-cre|
|00003180| 61 74 65 20 6a 6f 62 2d | 6e 61 6d 65 29 29 29 0a |ate job-|name))).|
|00003190| 20 20 20 20 28 65 72 61 | 73 65 2d 62 75 66 66 65 | (era|se-buffe|
|000031a0| 72 29 0a 20 20 20 20 28 | 73 65 74 71 20 64 65 66 |r). (|setq def|
|000031b0| 61 75 6c 74 2d 64 69 72 | 65 63 74 6f 72 79 0a 09 |ault-dir|ectory..|
|000031c0| 20 20 28 69 66 20 28 73 | 74 72 69 6e 67 2d 6d 61 | (if (s|tring-ma|
|000031d0| 74 63 68 20 22 5e 63 64 | 5b 5c 74 20 5d 2b 5c 5c |tch "^cd|[\t ]+\\|
|000031e0| 28 5b 5e 5c 74 20 3b 5d | 2b 5c 5c 29 5b 5c 74 20 |([^\t ;]|+\\)[\t |
|000031f0| 5d 2a 3b 5b 5c 74 20 5d | 2a 22 20 63 6f 6d 6d 61 |]*;[\t ]|*" comma|
|00003200| 6e 64 29 0a 09 20 20 20 | 20 20 20 28 66 69 6c 65 |nd).. | (file|
|00003210| 2d 6e 61 6d 65 2d 61 73 | 2d 64 69 72 65 63 74 6f |-name-as|-directo|
|00003220| 72 79 0a 09 20 20 20 20 | 20 20 20 28 65 78 70 61 |ry.. | (expa|
|00003230| 6e 64 2d 66 69 6c 65 2d | 6e 61 6d 65 0a 09 09 28 |nd-file-|name...(|
|00003240| 73 75 62 73 74 72 69 6e | 67 20 63 6f 6d 6d 61 6e |substrin|g comman|
|00003250| 64 20 28 6d 61 74 63 68 | 2d 62 65 67 69 6e 6e 69 |d (match|-beginni|
|00003260| 6e 67 20 31 29 20 28 6d | 61 74 63 68 2d 65 6e 64 |ng 1) (m|atch-end|
|00003270| 20 31 29 29 29 29 29 29 | 0a 20 20 20 20 28 69 6e | 1))))))|. (in|
|00003280| 73 65 72 74 20 22 25 20 | 22 20 63 6f 6d 6d 61 6e |sert "% |" comman|
|00003290| 64 20 3f 5c 6e 29 0a 0a | 20 20 20 20 28 6c 65 74 |d ?\n)..| (let|
|000032a0| 20 28 28 70 72 6f 63 20 | 28 67 65 74 2d 62 75 66 | ((proc |(get-buf|
|000032b0| 66 65 72 2d 70 72 6f 63 | 65 73 73 0a 09 09 20 28 |fer-proc|ess... (|
|000032c0| 63 6f 6d 69 6e 74 2d 65 | 78 65 63 20 6a 6f 62 2d |comint-e|xec job-|
|000032d0| 6e 61 6d 65 20 6a 6f 62 | 2d 6e 61 6d 65 20 73 68 |name job|-name sh|
|000032e0| 65 6c 6c 2d 66 69 6c 65 | 2d 6e 61 6d 65 0a 09 09 |ell-file|-name...|
|000032f0| 09 20 20 20 20 20 20 6e | 69 6c 20 28 6c 69 73 74 |. n|il (list|
|00003300| 20 22 2d 63 22 20 63 6f | 6d 6d 61 6e 64 29 29 29 | "-c" co|mmand)))|
|00003310| 29 29 0a 20 20 20 20 20 | 20 28 63 6f 6d 69 6e 74 |)). | (comint|
|00003320| 2d 6d 6f 64 65 29 0a 20 | 20 20 20 20 20 3b 3b 20 |-mode). | ;; |
|00003330| 43 4f 4e 44 20 62 65 63 | 61 75 73 65 20 74 68 65 |COND bec|ause the|
|00003340| 20 70 72 6f 63 20 6d 61 | 79 20 68 61 76 65 20 64 | proc ma|y have d|
|00003350| 69 65 64 20 62 65 66 6f | 72 65 20 74 68 65 20 47 |ied befo|re the G|
|00003360| 2d 42 2d 50 20 69 73 20 | 63 61 6c 6c 65 64 2e 0a |-B-P is |called..|
|00003370| 20 20 20 20 20 20 28 63 | 6f 6e 64 20 28 70 72 6f | (c|ond (pro|
|00003380| 63 20 28 73 65 74 2d 70 | 72 6f 63 65 73 73 2d 73 |c (set-p|rocess-s|
|00003390| 65 6e 74 69 6e 65 6c 20 | 70 72 6f 63 20 27 62 61 |entinel |proc 'ba|
|000033a0| 63 6b 67 72 6f 75 6e 64 | 2d 73 65 6e 74 69 6e 65 |ckground|-sentine|
|000033b0| 6c 29 0a 09 09 20 20 28 | 6d 65 73 73 61 67 65 20 |l)... (|message |
|000033c0| 22 5b 25 64 5d 20 25 64 | 22 20 6a 6f 62 2d 6e 75 |"[%d] %d|" job-nu|
|000033d0| 6d 62 65 72 20 28 70 72 | 6f 63 65 73 73 2d 69 64 |mber (pr|ocess-id|
|000033e0| 20 70 72 6f 63 29 29 29 | 29 0a 20 20 20 20 20 20 | proc)))|). |
|000033f0| 28 73 65 74 71 20 6d 6f | 64 65 2d 6e 61 6d 65 20 |(setq mo|de-name |
|00003400| 22 42 61 63 6b 67 72 6f | 75 6e 64 22 29 0a 20 20 |"Backgro|und"). |
|00003410| 20 20 20 20 70 72 6f 63 | 29 29 29 0a 0a 28 64 65 | proc|)))..(de|
|00003420| 66 75 6e 20 62 61 63 6b | 67 72 6f 75 6e 64 2d 73 |fun back|ground-s|
|00003430| 65 6e 74 69 6e 65 6c 20 | 28 70 72 6f 63 65 73 73 |entinel |(process|
|00003440| 20 6d 73 67 29 0a 20 20 | 22 43 61 6c 6c 65 64 20 | msg). |"Called |
|00003450| 77 68 65 6e 20 61 20 62 | 61 63 6b 67 72 6f 75 6e |when a b|ackgroun|
|00003460| 64 20 6a 6f 62 20 63 68 | 61 6e 67 65 73 20 73 74 |d job ch|anges st|
|00003470| 61 74 65 2e 22 0a 20 20 | 28 6c 65 74 20 28 28 6d |ate.". |(let ((m|
|00003480| 73 67 20 28 63 6f 6e 64 | 20 28 28 73 74 72 69 6e |sg (cond| ((strin|
|00003490| 67 3d 20 6d 73 67 20 22 | 66 69 6e 69 73 68 65 64 |g= msg "|finished|
|000034a0| 5c 6e 22 29 20 22 44 6f | 6e 65 22 29 0a 09 09 20 |\n") "Do|ne")... |
|000034b0| 20 20 28 28 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 | ((stri|ng-match|
|000034c0| 20 22 5e 65 78 69 74 65 | 64 22 20 6d 73 67 29 0a | "^exite|d" msg).|
|000034d0| 09 09 20 20 20 20 28 63 | 6f 6e 63 61 74 20 22 45 |.. (c|oncat "E|
|000034e0| 78 69 74 20 22 20 28 73 | 75 62 73 74 72 69 6e 67 |xit " (s|ubstring|
|000034f0| 20 6d 73 67 20 32 38 20 | 2d 31 29 29 29 0a 09 09 | msg 28 |-1)))...|
|00003500| 20 20 20 28 28 7a 65 72 | 6f 70 20 28 6c 65 6e 67 | ((zer|op (leng|
|00003510| 74 68 20 6d 73 67 29 29 | 20 22 43 6f 6e 74 69 6e |th msg))| "Contin|
|00003520| 75 69 6e 67 22 29 0a 09 | 09 20 20 20 28 74 20 28 |uing")..|. (t (|
|00003530| 63 6f 6e 63 61 74 20 28 | 75 70 63 61 73 65 20 28 |concat (|upcase (|
|00003540| 73 75 62 73 74 72 69 6e | 67 20 6d 73 67 20 30 20 |substrin|g msg 0 |
|00003550| 31 29 29 0a 09 09 09 20 | 20 20 20 20 20 28 73 75 |1)).... | (su|
|00003560| 62 73 74 72 69 6e 67 20 | 6d 73 67 20 31 20 2d 31 |bstring |msg 1 -1|
|00003570| 29 29 29 29 29 29 0a 20 | 20 20 20 28 6d 65 73 73 |)))))). | (mess|
|00003580| 61 67 65 20 22 5b 25 73 | 5d 20 25 73 20 25 73 22 |age "[%s|] %s %s"|
|00003590| 20 28 73 75 62 73 74 72 | 69 6e 67 20 28 70 72 6f | (substr|ing (pro|
|000035a0| 63 65 73 73 2d 6e 61 6d | 65 20 70 72 6f 63 65 73 |cess-nam|e proces|
|000035b0| 73 29 20 31 29 0a 09 20 | 20 20 20 20 20 20 20 20 |s) 1).. | |
|000035c0| 20 20 20 20 20 20 20 20 | 20 6d 73 67 0a 09 09 09 | | msg....|
|000035d0| 20 20 28 6e 74 68 20 32 | 20 28 70 72 6f 63 65 73 | (nth 2| (proces|
|000035e0| 73 2d 63 6f 6d 6d 61 6e | 64 20 70 72 6f 63 65 73 |s-comman|d proces|
|000035f0| 73 29 29 29 0a 20 20 20 | 20 28 69 66 20 28 6e 75 |s))). | (if (nu|
|00003600| 6c 6c 20 28 62 75 66 66 | 65 72 2d 6e 61 6d 65 20 |ll (buff|er-name |
|00003610| 28 70 72 6f 63 65 73 73 | 2d 62 75 66 66 65 72 20 |(process|-buffer |
|00003620| 70 72 6f 63 65 73 73 29 | 29 29 0a 09 28 73 65 74 |process)|))..(set|
|00003630| 2d 70 72 6f 63 65 73 73 | 2d 62 75 66 66 65 72 20 |-process|-buffer |
|00003640| 70 72 6f 63 65 73 73 20 | 6e 69 6c 29 20 3b 20 57 |process |nil) ; W|
|00003650| 48 59 3f 20 4f 6c 69 6e | 2e 0a 09 28 69 66 20 28 |HY? Olin|...(if (|
|00003660| 6d 65 6d 71 20 28 70 72 | 6f 63 65 73 73 2d 73 74 |memq (pr|ocess-st|
|00003670| 61 74 75 73 20 70 72 6f | 63 65 73 73 29 20 27 28 |atus pro|cess) '(|
|00003680| 73 69 67 6e 61 6c 20 65 | 78 69 74 29 29 0a 09 20 |signal e|xit)).. |
|00003690| 20 20 20 28 73 61 76 65 | 2d 65 78 63 75 72 73 69 | (save|-excursi|
|000036a0| 6f 6e 0a 09 20 20 20 20 | 20 20 28 73 65 74 2d 62 |on.. | (set-b|
|000036b0| 75 66 66 65 72 20 28 70 | 72 6f 63 65 73 73 2d 62 |uffer (p|rocess-b|
|000036c0| 75 66 66 65 72 20 70 72 | 6f 63 65 73 73 29 29 0a |uffer pr|ocess)).|
|000036d0| 09 20 20 20 20 20 20 28 | 6c 65 74 20 28 28 61 74 |. (|let ((at|
|000036e0| 2d 65 6e 64 20 28 65 6f | 62 70 29 29 29 0a 09 09 |-end (eo|bp)))...|
|000036f0| 28 73 61 76 65 2d 65 78 | 63 75 72 73 69 6f 6e 0a |(save-ex|cursion.|
|00003700| 09 09 20 20 28 67 6f 74 | 6f 2d 63 68 61 72 20 28 |.. (got|o-char (|
|00003710| 70 6f 69 6e 74 2d 6d 61 | 78 29 29 0a 09 09 20 20 |point-ma|x))... |
|00003720| 28 69 6e 73 65 72 74 20 | 3f 5c 6e 20 6d 73 67 20 |(insert |?\n msg |
|00003730| 3f 20 0a 09 09 09 20 20 | 28 73 75 62 73 74 72 69 |? .... |(substri|
|00003740| 6e 67 20 28 63 75 72 72 | 65 6e 74 2d 74 69 6d 65 |ng (curr|ent-time|
|00003750| 2d 73 74 72 69 6e 67 29 | 20 31 31 20 31 39 29 20 |-string)| 11 19) |
|00003760| 3f 5c 6e 29 29 0a 09 09 | 28 69 66 20 61 74 2d 65 |?\n))...|(if at-e|
|00003770| 6e 64 20 28 67 6f 74 6f | 2d 63 68 61 72 20 28 70 |nd (goto|-char (p|
|00003780| 6f 69 6e 74 2d 6d 61 78 | 29 29 29 29 0a 09 20 20 |oint-max|)))).. |
|00003790| 20 20 20 20 28 73 65 74 | 2d 62 75 66 66 65 72 2d | (set|-buffer-|
|000037a0| 6d 6f 64 69 66 69 65 64 | 2d 70 20 6e 69 6c 29 29 |modified|-p nil))|
|000037b0| 29 29 29 29 0a 21 45 21 | 4f 21 46 21 0a 23 0a 23 |)))).!E!|O!F!.#.#|
|000037c0| 20 74 79 70 65 20 20 20 | 20 73 68 20 2f 61 66 73 | type | sh /afs|
|000037d0| 2f 63 73 2e 63 6d 75 2e | 65 64 75 2f 75 73 65 72 |/cs.cmu.|edu/user|
|000037e0| 2f 73 68 69 76 65 72 73 | 2f 6c 69 62 2f 65 6d 61 |/shivers|/lib/ema|
|000037f0| 63 73 2f 73 68 33 20 20 | 20 74 6f 20 75 6e 70 61 |cs/sh3 | to unpa|
|00003800| 63 6b 20 74 68 69 73 20 | 61 72 63 68 69 76 65 2e |ck this |archive.|
|00003810| 0a 23 0a 65 63 68 6f 20 | 65 78 74 72 61 63 74 69 |.#.echo |extracti|
|00003820| 6e 67 20 63 6d 75 74 65 | 78 2e 65 6c 2e 2e 2e 0a |ng cmute|x.el....|
|00003830| 63 61 74 20 3e 63 6d 75 | 74 65 78 2e 65 6c 20 3c |cat >cmu|tex.el <|
|00003840| 3c 27 21 45 21 4f 21 46 | 21 27 0a 3b 3b 20 54 65 |<'!E!O!F|!'.;; Te|
|00003850| 58 20 6d 6f 64 65 20 63 | 6f 6d 6d 61 6e 64 73 2e |X mode c|ommands.|
|00003860| 0a 3b 3b 20 43 6f 70 79 | 72 69 67 68 74 20 28 43 |.;; Copy|right (C|
|00003870| 29 20 31 39 38 35 2c 20 | 31 39 38 36 20 46 72 65 |) 1985, |1986 Fre|
|00003880| 65 20 53 6f 66 74 77 61 | 72 65 20 46 6f 75 6e 64 |e Softwa|re Found|
|00003890| 61 74 69 6f 6e 2c 20 49 | 6e 63 2e 0a 3b 3b 0a 0a |ation, I|nc..;;..|
|000038a0| 3b 20 53 6f 6d 65 20 73 | 75 67 67 65 73 74 69 6f |; Some s|uggestio|
|000038b0| 6e 73 20 66 6f 72 20 79 | 6f 75 72 20 2e 65 6d 61 |ns for y|our .ema|
|000038c0| 63 73 20 66 69 6c 65 3a | 0a 3b 20 3d 3d 3d 3d 3d |cs file:|.; =====|
|000038d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000038e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000038f0| 3d 0a 3b 20 3b 3b 20 41 | 72 72 61 6e 67 65 20 66 |=.; ;; A|rrange f|
|00003900| 6f 72 20 74 65 78 20 6d | 6f 64 65 20 74 6f 20 61 |or tex m|ode to a|
|00003910| 75 74 6f 6c 6f 61 64 20 | 66 72 6f 6d 20 63 6d 75 |utoload |from cmu|
|00003920| 74 65 78 2e 65 6c 2c 20 | 69 6e 73 74 65 61 64 20 |tex.el, |instead |
|00003930| 6f 66 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 0a |of the s|tandard.|
|00003940| 3b 20 3b 3b 20 70 61 63 | 6b 61 67 65 2c 20 74 65 |; ;; pac|kage, te|
|00003950| 78 2d 6d 6f 64 65 2e 65 | 6c 2e 0a 3b 20 28 61 75 |x-mode.e|l..; (au|
|00003960| 74 6f 6c 6f 61 64 20 27 | 74 65 78 2d 6d 6f 64 65 |toload '|tex-mode|
|00003970| 20 22 63 6d 75 74 65 78 | 22 20 22 4d 61 6a 6f 72 | "cmutex|" "Major|
|00003980| 20 6d 6f 64 65 20 66 6f | 72 20 65 64 69 74 69 6e | mode fo|r editin|
|00003990| 67 20 66 69 6c 65 73 20 | 6f 66 20 54 65 58 20 6f |g files |of TeX o|
|000039a0| 72 20 4c 61 54 65 58 2e | 22 0a 3b 20 09 20 20 20 |r LaTeX.|".; . |
|000039b0| 20 74 29 0a 3b 0a 3b 20 | 3b 3b 20 54 65 6c 6c 20 | t).;.; |;; Tell |
|000039c0| 69 73 70 65 6c 6c 20 74 | 6f 20 72 75 6e 20 6c 61 |ispell t|o run la|
|000039d0| 74 65 78 20 73 6f 75 72 | 63 65 20 74 68 72 6f 75 |tex sour|ce throu|
|000039e0| 67 68 20 64 65 6c 61 74 | 65 78 20 62 65 66 6f 72 |gh delat|ex befor|
|000039f0| 65 20 73 70 65 6c 6c 20 | 63 68 65 63 6b 69 6e 67 |e spell |checking|
|00003a00| 3a 0a 3b 20 28 73 65 74 | 71 20 6c 61 74 65 78 2d |:.; (set|q latex-|
|00003a10| 6d 6f 64 65 2d 68 6f 6f | 6b 20 27 28 28 6c 61 6d |mode-hoo|k '((lam|
|00003a20| 62 64 61 20 28 29 20 28 | 73 65 74 71 20 69 73 70 |bda () (|setq isp|
|00003a30| 65 6c 6c 2d 66 69 6c 74 | 65 72 2d 68 6f 6f 6b 20 |ell-filt|er-hook |
|00003a40| 22 64 65 6c 61 74 65 78 | 22 29 0a 3b 20 20 20 20 |"delatex|").; |
|00003a50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003a70| 28 73 65 74 71 20 69 73 | 70 65 6c 6c 2d 66 69 6c |(setq is|pell-fil|
|00003a80| 74 65 72 2d 68 6f 6f 6b | 2d 61 72 67 73 20 6e 69 |ter-hook|-args ni|
|00003a90| 6c 29 29 29 29 0a 3b 0a | 3b 20 3b 3b 20 41 72 72 |l)))).;.|; ;; Arr|
|00003aa0| 61 6e 67 65 20 66 6f 72 | 20 74 65 78 2d 76 69 65 |ange for| tex-vie|
|00003ab0| 77 2d 66 69 6c 65 20 74 | 6f 20 75 73 65 20 64 76 |w-file t|o use dv|
|00003ac0| 69 32 74 74 79 20 77 68 | 65 6e 20 49 27 6d 20 64 |i2tty wh|en I'm d|
|00003ad0| 69 73 70 6c 61 79 69 6e | 67 20 6f 6e 20 61 0a 3b |isplayin|g on a.;|
|00003ae0| 20 3b 3b 20 74 65 72 6d | 69 6e 61 6c 2e 0a 3b 20 | ;; term|inal..; |
|00003af0| 28 69 66 20 28 6e 6f 74 | 20 28 65 71 20 77 69 6e |(if (not| (eq win|
|00003b00| 64 6f 77 2d 73 79 73 74 | 65 6d 20 27 78 29 29 0a |dow-syst|em 'x)).|
|00003b10| 3b 20 20 20 20 20 28 73 | 65 74 71 20 74 65 78 2d |; (s|etq tex-|
|00003b20| 76 69 65 77 2d 64 76 69 | 2d 66 69 6c 65 2d 63 6f |view-dvi|-file-co|
|00003b30| 6d 6d 61 6e 64 20 22 64 | 76 69 32 74 74 79 20 25 |mmand "d|vi2tty %|
|00003b40| 73 20 7c 20 63 61 74 20 | 2d 73 22 29 29 0a 3b 0a |s | cat |-s")).;.|
|00003b50| 3b 20 3b 3b 20 49 66 20 | 63 6d 75 74 65 78 2e 65 |; ;; If |cmutex.e|
|00003b60| 6c 20 6f 72 20 63 6f 6d | 69 6e 74 2e 65 6c 20 72 |l or com|int.el r|
|00003b70| 65 73 69 64 65 20 69 6e | 20 61 20 6e 6f 6e 2d 73 |eside in| a non-s|
|00003b80| 74 61 6e 64 61 72 64 20 | 64 69 72 65 63 74 6f 72 |tandard |director|
|00003b90| 79 2c 20 79 6f 75 0a 3b | 20 3b 3b 20 6d 75 73 74 |y, you.;| ;; must|
|00003ba0| 20 74 65 6c 6c 20 65 6d | 61 63 73 20 77 68 65 72 | tell em|acs wher|
|00003bb0| 65 20 74 6f 20 6c 6f 6f | 6b 20 66 6f 72 20 74 68 |e to loo|k for th|
|00003bc0| 65 6d 2e 20 54 68 69 73 | 20 6d 61 79 20 6e 6f 74 |em. This| may not|
|00003bd0| 20 62 65 20 6e 65 63 65 | 73 73 61 72 79 2e 0a 3b | be nece|ssary..;|
|00003be0| 20 28 73 65 74 71 20 6c | 6f 61 64 2d 70 61 74 68 | (setq l|oad-path|
|00003bf0| 20 28 63 6f 6e 73 20 28 | 65 78 70 61 6e 64 2d 66 | (cons (|expand-f|
|00003c00| 69 6c 65 2d 6e 61 6d 65 | 20 22 2f 61 66 73 2f 75 |ile-name| "/afs/u|
|00003c10| 73 65 72 2f 73 68 69 76 | 65 72 73 2f 6c 69 62 2f |ser/shiv|ers/lib/|
|00003c20| 65 6d 61 63 73 22 29 0a | 3b 20 09 09 20 20 20 20 |emacs").|; .. |
|00003c30| 20 20 6c 6f 61 64 2d 70 | 61 74 68 29 29 0a 0a 3b | load-p|ath))..;|
|00003c40| 3b 20 53 65 65 20 6e 6f | 74 65 73 20 62 65 6c 6f |; See no|tes belo|
|00003c50| 77 20 74 6f 20 69 66 20 | 79 6f 75 20 69 6e 74 65 |w to if |you inte|
|00003c60| 6e 64 20 74 6f 20 75 73 | 65 20 74 68 65 20 74 65 |nd to us|e the te|
|00003c70| 78 2d 72 65 67 69 6f 6e | 20 63 6f 6d 6d 61 6e 64 |x-region| command|
|00003c80| 2e 0a 3b 3b 0a 3b 3b 20 | 43 48 41 4e 47 45 20 4c |..;;.;; |CHANGE L|
|00003c90| 4f 47 3a 0a 3b 3b 20 3d | 3d 3d 3d 3d 3d 3d 3d 3d |OG:.;; =|========|
|00003ca0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003cb0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003cc0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003cd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003ce0| 3d 3d 3d 0a 3b 3b 20 52 | 65 77 72 69 74 74 65 6e |===.;; R|ewritten|
|00003cf0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 63 6f 6e 74 72 | followi|ng contr|
|00003d00| 69 62 75 74 69 6f 6e 73 | 20 62 79 20 57 69 6c 6c |ibutions| by Will|
|00003d10| 69 61 6d 20 46 2e 20 53 | 63 68 65 6c 74 65 72 0a |iam F. S|chelter.|
|00003d20| 3b 3b 20 61 6e 64 20 44 | 69 63 6b 20 4b 69 6e 67 |;; and D|ick King|
|00003d30| 20 28 6b 69 6e 67 40 6b | 65 73 74 72 65 6c 29 2e | (king@k|estrel).|
|00003d40| 0a 3b 3b 20 4d 6f 64 69 | 66 69 65 64 20 41 75 67 |.;; Modi|fied Aug|
|00003d50| 75 73 74 20 31 39 38 36 | 20 62 79 20 53 74 65 70 |ust 1986| by Step|
|00003d60| 68 65 6e 20 47 69 6c 64 | 65 61 20 3c 6d 69 74 2d |hen Gild|ea <mit-|
|00003d70| 65 72 6c 21 67 69 6c 64 | 65 61 3e 20 61 6e 64 0a |erl!gild|ea> and.|
|00003d80| 3b 3b 20 4d 69 63 68 61 | 65 6c 20 50 72 61 6e 67 |;; Micha|el Prang|
|00003d90| 65 20 3c 6d 69 74 2d 65 | 72 6c 21 70 72 61 6e 67 |e <mit-e|rl!prang|
|00003da0| 65 3e 20 74 6f 20 61 64 | 64 20 4c 61 54 65 58 20 |e> to ad|d LaTeX |
|00003db0| 73 75 70 70 6f 72 74 20 | 61 6e 64 20 65 6e 68 61 |support |and enha|
|00003dc0| 6e 63 65 0a 3b 3b 20 54 | 65 58 2d 72 65 67 69 6f |nce.;; T|eX-regio|
|00003dd0| 6e 2e 0a 3b 3b 20 41 64 | 64 65 64 20 54 65 58 2d |n..;; Ad|ded TeX-|
|00003de0| 64 69 72 65 63 74 6f 72 | 79 20 61 6e 64 20 72 65 |director|y and re|
|00003df0| 6f 72 67 61 6e 69 7a 65 | 64 20 73 6f 6d 65 77 68 |organize|d somewh|
|00003e00| 61 74 20 20 67 69 6c 64 | 65 61 20 32 31 20 4e 6f |at gild|ea 21 No|
|00003e10| 76 20 38 36 0a 3b 3b 0a | 3b 3b 20 50 72 6f 63 65 |v 86.;;.|;; Proce|
|00003e20| 73 73 20 73 74 75 66 66 | 20 72 65 77 72 69 74 74 |ss stuff| rewritt|
|00003e30| 65 6e 20 73 75 62 73 74 | 61 6e 74 69 61 6c 6c 79 |en subst|antially|
|00003e40| 2e 20 54 65 58 20 70 72 | 6f 63 65 73 73 65 73 20 |. TeX pr|ocesses |
|00003e50| 61 72 65 20 6e 6f 77 20 | 72 75 6e 20 61 74 0a 3b |are now |run at.;|
|00003e60| 3b 20 74 6f 70 6c 65 76 | 65 6c 20 69 6e 20 61 20 |; toplev|el in a |
|00003e70| 63 6f 6d 69 6e 74 20 62 | 75 66 66 65 72 2e 20 54 |comint b|uffer. T|
|00003e80| 68 65 79 20 61 72 65 20 | 6b 69 6c 6c 65 64 20 77 |hey are |killed w|
|00003e90| 69 74 68 20 74 68 65 20 | 4b 49 4c 4c 20 73 69 67 |ith the |KILL sig|
|00003ea0| 6e 61 6c 2c 0a 3b 3b 20 | 73 6f 20 74 68 65 79 20 |nal,.;; |so they |
|00003eb0| 64 69 65 20 77 69 74 68 | 6f 75 74 20 63 6f 72 65 |die with|out core|
|00003ec0| 20 64 75 6d 70 69 6e 67 | 2e 20 43 6f 6d 69 6e 74 | dumping|. Comint|
|00003ed0| 20 6d 6f 64 65 20 70 72 | 6f 76 69 64 65 73 20 62 | mode pr|ovides b|
|00003ee0| 65 74 74 65 72 0a 3b 3b | 20 70 72 6f 63 65 73 73 |etter.;;| process|
|00003ef0| 20 69 6e 74 65 72 61 63 | 74 69 6f 6e 20 74 68 61 | interac|tion tha|
|00003f00| 6e 20 6f 6c 64 20 73 68 | 65 6c 6c 20 6d 6f 64 65 |n old sh|ell mode|
|00003f10| 2e 20 0a 3b 3b 20 2d 20 | 73 75 67 67 65 73 74 20 |. .;; - |suggest |
|00003f20| 79 6f 75 20 61 72 72 61 | 6e 67 65 20 66 6f 72 20 |you arra|nge for |
|00003f30| 54 65 58 2d 64 69 72 65 | 63 74 6f 72 79 20 74 6f |TeX-dire|ctory to|
|00003f40| 20 62 65 20 22 2e 22 20 | 73 6f 20 74 68 61 74 0a | be "." |so that.|
|00003f50| 3b 3b 20 20 20 5c 69 6e | 63 6c 75 64 65 20 61 6e |;; \in|clude an|
|00003f60| 64 20 5c 69 6e 70 75 74 | 27 73 20 77 6f 72 6b 2e |d \input|'s work.|
|00003f70| 20 53 65 65 20 6e 6f 74 | 65 73 20 62 65 6c 6f 77 | See not|es below|
|00003f80| 2e 0a 3b 3b 20 2d 20 66 | 69 78 65 64 20 54 65 58 |..;; - f|ixed TeX|
|00003f90| 2d 72 65 67 69 6f 6e 20 | 73 6f 20 69 74 20 64 6f |-region |so it do|
|00003fa0| 65 73 6e 27 74 20 69 6e | 63 6c 75 64 65 20 74 68 |esn't in|clude th|
|00003fb0| 65 20 6c 69 6e 65 20 62 | 65 66 6f 72 65 20 74 68 |e line b|efore th|
|00003fc0| 65 20 68 65 61 64 65 72 | 2e 0a 3b 3b 20 20 20 49 |e header|..;; I|
|00003fd0| 20 64 69 64 20 6e 6f 74 | 20 66 69 78 20 69 74 20 | did not| fix it |
|00003fe0| 73 6f 20 74 68 61 74 20 | 69 66 20 79 6f 75 20 54 |so that |if you T|
|00003ff0| 65 58 2d 72 65 67 69 6f | 6e 20 74 68 65 20 65 6e |eX-regio|n the en|
|00004000| 74 69 72 65 20 62 75 66 | 66 65 72 2c 0a 3b 3b 20 |tire buf|fer,.;; |
|00004010| 20 20 74 68 65 20 74 72 | 61 69 6c 65 72 20 77 6f | the tr|ailer wo|
|00004020| 6e 27 74 20 67 65 74 20 | 69 6e 63 6c 75 64 65 64 |n't get |included|
|00004030| 20 74 77 69 63 65 20 28 | 6f 6e 63 65 20 66 72 6f | twice (|once fro|
|00004040| 6d 20 74 68 65 20 62 75 | 66 66 65 72 2c 20 61 6e |m the bu|ffer, an|
|00004050| 64 20 6f 6e 63 65 0a 3b | 3b 20 20 20 63 6f 75 72 |d once.;|; cour|
|00004060| 74 65 73 79 20 6f 66 20 | 54 65 58 2d 72 65 67 69 |tesy of |TeX-regi|
|00004070| 6f 6e 29 2e 20 54 65 58 | 20 77 6f 72 6b 73 20 69 |on). TeX| works i|
|00004080| 6e 20 74 68 65 20 70 72 | 65 73 65 6e 63 65 20 6f |n the pr|esence o|
|00004090| 66 20 74 68 69 73 20 62 | 75 67 2c 20 73 6f 0a 3b |f this b|ug, so.;|
|000040a0| 3b 20 20 20 77 68 61 74 | 20 74 68 65 20 68 65 6c |; what| the hel|
|000040b0| 6c 2e 0a 3b 3b 20 2d 20 | 63 68 61 6e 67 65 64 20 |l..;; - |changed |
|000040c0| 54 65 58 2d 62 75 66 66 | 65 72 20 73 6f 20 69 74 |TeX-buff|er so it|
|000040d0| 20 64 69 72 65 63 74 6c | 79 20 54 65 58 27 73 20 | directl|y TeX's |
|000040e0| 74 68 65 20 66 69 6c 65 | 20 77 68 65 6e 20 61 70 |the file| when ap|
|000040f0| 70 72 6f 70 72 69 61 74 | 65 2e 0a 3b 3b 20 20 20 |propriat|e..;; |
|00004100| 41 6c 73 6f 20 61 64 64 | 65 64 20 54 65 58 2d 6c |Also add|ed TeX-l|
|00004110| 61 73 74 2d 70 72 6f 63 | 65 73 73 65 64 2d 66 69 |ast-proc|essed-fi|
|00004120| 6c 65 20 73 6f 20 74 68 | 61 74 20 54 65 58 2d 70 |le so th|at TeX-p|
|00004130| 72 69 6e 74 20 6b 6e 6f | 77 73 20 77 68 6f 20 74 |rint kno|ws who t|
|00004140| 6f 20 70 72 69 6e 74 2e | 0a 3b 3b 20 20 20 54 68 |o print.|.;; Th|
|00004150| 69 73 20 69 73 20 70 72 | 65 74 74 79 20 77 69 6e |is is pr|etty win|
|00004160| 6e 69 6e 67 2e 0a 3b 3b | 20 2d 20 54 65 58 2d 64 |ning..;;| - TeX-d|
|00004170| 76 69 2d 70 72 69 6e 74 | 2d 63 6f 6d 6d 61 6e 64 |vi-print|-command|
|00004180| 20 69 73 20 6e 6f 77 20 | 61 20 66 6f 72 6d 61 74 | is now |a format|
|00004190| 20 73 74 72 69 6e 67 2c | 20 77 69 74 68 20 61 20 | string,| with a |
|000041a0| 25 73 20 77 68 65 72 65 | 20 74 68 65 20 66 69 6c |%s where| the fil|
|000041b0| 65 6e 61 6d 65 0a 3b 3b | 20 20 20 67 6f 65 73 2e |ename.;;| goes.|
|000041c0| 20 4e 6f 77 20 79 6f 75 | 20 63 61 6e 20 68 61 76 | Now you| can hav|
|000041d0| 65 20 70 72 69 6e 74 20 | 63 6f 6d 6d 61 6e 64 73 |e print |commands|
|000041e0| 20 6c 69 6b 65 3a 20 22 | 64 76 69 2d 70 73 20 25 | like: "|dvi-ps %|
|000041f0| 73 20 7c 20 6c 70 72 22 | 2e 0a 3b 3b 20 4f 6c 69 |s | lpr"|..;; Oli|
|00004200| 6e 20 53 68 69 76 65 72 | 73 20 28 73 68 69 76 65 |n Shiver|s (shive|
|00004210| 72 73 40 63 73 2e 63 6d | 75 2e 65 64 75 29 20 32 |rs@cs.cm|u.edu) 2|
|00004220| 2f 38 39 0a 3b 3b 0a 3b | 3b 20 4d 6f 64 69 66 69 |/89.;;.;|; Modifi|
|00004230| 65 64 20 62 79 20 53 2e | 20 41 6e 64 65 72 73 6f |ed by S.| Anderso|
|00004240| 6e 20 3c 61 6e 64 65 72 | 73 6f 6e 40 73 61 70 69 |n <ander|son@sapi|
|00004250| 72 2e 63 6f 67 2e 6a 68 | 75 2e 65 64 75 3e 20 74 |r.cog.jh|u.edu> t|
|00004260| 6f 20 61 64 64 20 0a 3b | 3b 20 65 78 74 65 6e 64 |o add .;|; extend|
|00004270| 65 64 20 4c 61 54 65 58 | 20 73 75 70 70 6f 72 74 |ed LaTeX| support|
|00004280| 20 28 69 6e 63 6c 75 64 | 69 6e 67 20 63 6f 6e 74 | (includ|ing cont|
|00004290| 72 69 62 75 74 69 6f 6e | 73 20 66 72 6f 6d 20 41 |ribution|s from A|
|000042a0| 73 68 77 69 6e 20 52 61 | 6d 20 0a 3b 3b 20 61 6e |shwin Ra|m .;; an|
|000042b0| 64 20 6f 74 68 65 72 73 | 29 2c 20 42 69 62 54 65 |d others|), BibTe|
|000042c0| 58 20 61 6e 64 20 64 76 | 69 2d 66 69 6c 65 20 70 |X and dv|i-file p|
|000042d0| 72 65 76 69 65 77 65 72 | 20 69 6e 76 6f 63 61 74 |reviewer| invocat|
|000042e0| 69 6f 6e 73 0a 3b 3b 20 | 32 31 20 4e 6f 76 2e 20 |ions.;; |21 Nov. |
|000042f0| 31 39 38 39 0a 3b 3b 0a | 3b 3b 20 41 6e 64 65 72 |1989.;;.|;; Ander|
|00004300| 73 6f 6e 2c 20 50 61 74 | 65 6c 20 61 6e 64 20 52 |son, Pat|el and R|
|00004310| 61 6d 27 73 20 73 74 75 | 66 66 20 6d 65 72 67 65 |am's stu|ff merge|
|00004320| 64 20 69 6e 20 74 6f 20 | 6d 61 73 74 65 72 20 73 |d in to |master s|
|00004330| 6f 75 72 63 65 20 61 74 | 20 43 4d 55 2e 20 53 6d |ource at| CMU. Sm|
|00004340| 61 6c 6c 0a 3b 3b 20 74 | 68 69 6e 67 73 20 63 6c |all.;; t|hings cl|
|00004350| 65 61 6e 65 64 20 75 70 | 2e 20 53 68 69 76 65 72 |eaned up|. Shiver|
|00004360| 73 20 32 2f 39 30 2e 0a | 3b 3b 20 4e 65 77 20 66 |s 2/90..|;; New f|
|00004370| 65 61 74 75 72 65 73 3a | 0a 3b 3b 20 2d 20 4c 61 |eatures:|.;; - La|
|00004380| 54 65 58 20 6d 6f 64 65 | 20 69 73 20 64 65 66 61 |TeX mode| is defa|
|00004390| 75 6c 74 2c 20 6e 6f 74 | 20 54 65 58 20 6d 6f 64 |ult, not| TeX mod|
|000043a0| 65 2e 0a 3b 3b 20 2d 20 | 53 74 75 6e 6e 69 6e 67 |e..;; - |Stunning|
|000043b0| 20 61 72 72 61 79 20 6f | 66 20 63 6f 6d 6d 61 6e | array o|f comman|
|000043c0| 64 73 20 74 6f 20 69 6e | 73 65 72 74 20 61 6e 64 |ds to in|sert and|
|000043d0| 20 63 6c 6f 73 65 20 4c | 61 54 65 58 20 63 6f 6d | close L|aTeX com|
|000043e0| 6d 61 6e 64 73 2e 0a 3b | 3b 20 20 20 53 6f 20 6d |mands..;|; So m|
|000043f0| 61 6e 79 20 63 6f 6d 6d | 61 6e 64 73 2c 20 74 68 |any comm|ands, th|
|00004400| 65 20 62 69 6e 64 69 6e | 67 73 20 61 72 65 20 6e |e bindin|gs are n|
|00004410| 6f 77 20 70 6f 6c 69 74 | 69 63 61 6c 6c 79 20 69 |ow polit|ically i|
|00004420| 6e 63 6f 72 72 65 63 74 | 2e 0a 3b 3b 20 2d 20 43 |ncorrect|..;; - C|
|00004430| 6f 6d 6d 61 6e 64 73 20 | 74 6f 20 69 6e 76 6f 6b |ommands |to invok|
|00004440| 65 20 64 76 69 20 70 72 | 65 76 69 65 77 65 72 20 |e dvi pr|eviewer |
|00004450| 61 6e 64 20 62 69 62 74 | 65 78 2e 0a 3b 3b 20 2d |and bibt|ex..;; -|
|00004460| 20 53 65 70 61 72 61 74 | 65 20 54 65 58 20 61 6e | Separat|e TeX an|
|00004470| 64 20 4c 61 54 65 58 20 | 6b 65 79 6d 61 70 73 2e |d LaTeX |keymaps.|
|00004480| 0a 3b 3b 20 2d 20 53 6d | 61 72 74 65 72 20 69 6e |.;; - Sm|arter in|
|00004490| 64 65 6e 74 2d 66 6f 72 | 2d 63 6f 6d 6d 65 6e 74 |dent-for|-comment|
|000044a0| 20 63 6f 6d 6d 61 6e 64 | 2e 0a 3b 3b 20 2d 20 54 | command|..;; - T|
|000044b0| 65 58 2d 70 72 69 6e 74 | 20 77 69 74 68 20 61 20 |eX-print| with a |
|000044c0| 6e 75 6d 65 72 69 63 61 | 6c 20 61 72 67 20 61 6c |numerica|l arg al|
|000044d0| 6c 6f 77 73 20 79 6f 75 | 20 74 6f 20 65 64 69 74 |lows you| to edit|
|000044e0| 20 74 68 65 20 70 72 69 | 6e 74 20 63 6f 6d 6d 61 | the pri|nt comma|
|000044f0| 6e 64 2e 0a 3b 3b 20 20 | 20 48 61 6e 64 79 20 66 |nd..;; | Handy f|
|00004500| 6f 72 20 73 70 65 63 69 | 66 79 69 6e 67 20 61 20 |or speci|fying a |
|00004510| 6e 6f 6e 2d 64 65 66 61 | 75 6c 74 20 70 72 69 6e |non-defa|ult prin|
|00004520| 74 65 72 2c 20 70 61 67 | 65 20 63 6f 75 6e 74 2c |ter, pag|e count,|
|00004530| 20 65 74 63 2e 0a 3b 3b | 20 2d 20 53 6d 61 72 74 | etc..;;| - Smart|
|00004540| 65 72 20 76 61 6c 69 64 | 61 74 65 2d 72 65 67 69 |er valid|ate-regi|
|00004550| 6f 6e 20 61 6e 64 20 63 | 6c 6f 73 65 2d 62 6c 6f |on and c|lose-blo|
|00004560| 63 6b 20 63 6f 6d 6d 61 | 6e 64 73 2e 0a 3b 3b 20 |ck comma|nds..;; |
|00004570| 2d 20 41 64 64 65 64 20 | 68 65 6c 70 20 6d 65 6e |- Added |help men|
|00004580| 75 20 6f 6e 20 3f 20 74 | 6f 20 6c 61 74 65 78 2d |u on ? t|o latex-|
|00004590| 69 6e 73 65 72 74 2d 62 | 65 67 69 6e 2e 20 53 68 |insert-b|egin. Sh|
|000045a0| 75 66 66 6c 65 64 20 6b | 65 79 62 69 6e 64 69 6e |uffled k|eybindin|
|000045b0| 67 73 0a 3b 3b 20 20 20 | 6f 6e 20 6c 61 74 65 78 |gs.;; |on latex|
|000045c0| 20 6b 65 79 6d 61 70 20 | 61 6e 64 20 65 6e 76 20 | keymap |and env |
|000045d0| 63 6f 64 65 73 20 6f 6e | 20 6c 61 74 65 78 2d 69 |codes on| latex-i|
|000045e0| 6e 73 65 72 74 2d 62 65 | 67 69 6e 2e 20 53 65 65 |nsert-be|gin. See|
|000045f0| 20 63 6f 64 65 0a 3b 3b | 20 20 20 66 6f 72 20 72 | code.;;| for r|
|00004600| 61 74 69 6f 6e 61 6c 65 | 2e 0a 3b 3b 20 2d 20 4d |ationale|..;; - M|
|00004610| 75 6e 67 65 64 20 74 68 | 65 20 76 61 6c 69 64 61 |unged th|e valida|
|00004620| 74 69 6f 6e 20 63 6f 6d | 6d 61 6e 64 73 2c 20 62 |tion com|mands, b|
|00004630| 75 74 20 74 68 65 79 20 | 73 74 69 6c 6c 20 6e 65 |ut they |still ne|
|00004640| 65 64 20 77 6f 72 6b 2e | 0a 3b 3b 20 20 20 41 6c |ed work.|.;; Al|
|00004650| 73 6f 20 73 77 61 70 70 | 65 64 20 61 72 6f 75 6e |so swapp|ed aroun|
|00004660| 64 20 70 69 65 63 65 73 | 20 6f 66 20 74 68 65 20 |d pieces| of the |
|00004670| 6e 61 6d 65 73 20 74 6f | 20 6d 61 6b 65 20 66 6f |names to| make fo|
|00004680| 72 20 63 6f 6e 73 69 73 | 74 65 6e 74 0a 3b 3b 20 |r consis|tent.;; |
|00004690| 20 20 6e 61 6d 69 6e 67 | 20 73 63 68 65 6d 65 3a | naming| scheme:|
|000046a0| 20 76 61 6c 69 64 61 74 | 65 2d 54 65 58 2f 6c 61 | validat|e-TeX/la|
|000046b0| 74 65 78 2d 72 65 67 69 | 6f 6e 2f 62 75 66 66 65 |tex-regi|on/buffe|
|000046c0| 72 2f 70 61 72 61 67 72 | 61 70 68 2e 0a 3b 3b 20 |r/paragr|aph..;; |
|000046d0| 2d 20 41 64 64 65 64 20 | 73 74 75 66 66 20 74 6f |- Added |stuff to|
|000046e0| 20 61 6c 6c 6f 77 20 63 | 75 73 74 6f 6d 69 73 61 | allow c|ustomisa|
|000046f0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 70 72 69 6e |tion of |the prin|
|00004700| 74 20 63 6f 6d 6d 61 6e | 64 2e 0a 3b 3b 20 54 68 |t comman|d..;; Th|
|00004710| 69 73 20 70 61 63 6b 61 | 67 65 20 69 73 20 6e 6f |is packa|ge is no|
|00004720| 77 20 73 6f 20 66 65 61 | 74 75 72 65 66 75 6c 20 |w so fea|tureful |
|00004730| 69 74 20 6d 61 6b 65 73 | 20 6d 79 20 68 65 61 64 |it makes| my head|
|00004740| 20 68 75 72 74 2e 0a 3b | 3b 0a 3b 3b 20 47 69 6c | hurt..;|;.;; Gil|
|00004750| 64 65 61 20 77 6f 72 6b | 65 64 20 69 74 20 6f 76 |dea work|ed it ov|
|00004760| 65 72 20 61 67 61 69 6e | 20 33 2f 39 30 0a 3b 3b |er again| 3/90.;;|
|00004770| 20 2d 20 43 6c 65 61 6e | 65 64 20 75 70 20 74 68 | - Clean|ed up th|
|00004780| 65 20 64 6f 63 20 73 74 | 72 69 6e 67 73 0a 3b 3b |e doc st|rings.;;|
|00004790| 20 2d 20 44 65 6c 65 74 | 65 64 20 54 65 58 2d 69 | - Delet|ed TeX-i|
|000047a0| 6e 64 65 6e 74 2d 66 6f | 72 2d 63 6f 6d 6d 65 6e |ndent-fo|r-commen|
|000047b0| 74 20 61 6e 64 20 63 68 | 61 6e 67 65 64 20 63 6f |t and ch|anged co|
|000047c0| 6d 6d 65 6e 74 2d 73 74 | 61 72 74 2d 73 6b 69 70 |mment-st|art-skip|
|000047d0| 2e 0a 3b 3b 20 20 20 49 | 6e 20 31 38 2e 35 31 20 |..;; I|n 18.51 |
|000047e0| 69 6e 64 65 6e 74 2d 66 | 6f 72 2d 63 6f 6d 6d 65 |indent-f|or-comme|
|000047f0| 6e 74 20 63 68 61 6e 67 | 65 64 20 73 6f 20 54 65 |nt chang|ed so Te|
|00004800| 58 20 6d 6f 64 65 20 63 | 6f 75 6c 64 20 75 73 65 |X mode c|ould use|
|00004810| 20 69 74 20 64 69 72 65 | 63 74 6c 79 2e 0a 3b 3b | it dire|ctly..;;|
|00004820| 20 2d 20 43 68 61 6e 67 | 65 64 20 70 61 72 61 67 | - Chang|ed parag|
|00004830| 72 61 70 68 2d 73 74 61 | 72 74 20 74 6f 20 6d 61 |raph-sta|rt to ma|
|00004840| 6b 65 20 6c 69 6e 65 73 | 20 73 74 61 72 74 69 6e |ke lines| startin|
|00004850| 67 20 77 69 74 68 20 27 | 25 27 20 73 65 70 61 72 |g with '|%' separ|
|00004860| 61 74 65 0a 3b 3b 20 20 | 20 70 61 72 61 67 72 61 |ate.;; | paragra|
|00004870| 70 68 73 2e 20 20 28 54 | 68 69 73 20 69 73 20 66 |phs. (T|his is f|
|00004880| 72 6f 6d 20 31 38 2e 35 | 34 20 74 65 78 2d 6d 6f |rom 18.5|4 tex-mo|
|00004890| 64 65 2e 65 6c 2e 29 0a | 3b 3b 20 2d 20 54 77 65 |de.el.).|;; - Twe|
|000048a0| 61 6b 65 64 20 71 75 6f | 74 65 20 68 61 6e 64 6c |aked quo|te handl|
|000048b0| 69 6e 67 2e 20 20 54 68 | 65 20 63 68 61 72 61 63 |ing. Th|e charac|
|000048c0| 74 65 72 73 20 74 68 61 | 74 20 22 20 69 6e 73 65 |ters tha|t " inse|
|000048d0| 72 74 73 20 61 72 65 20 | 6e 6f 77 20 76 61 72 69 |rts are |now vari|
|000048e0| 61 62 6c 65 73 0a 3b 3b | 20 20 20 73 6f 20 74 68 |ables.;;| so th|
|000048f0| 65 79 20 63 61 6e 20 62 | 65 20 63 68 61 6e 67 65 |ey can b|e change|
|00004900| 64 20 66 6f 72 20 65 64 | 69 74 69 6e 67 20 6f 74 |d for ed|iting ot|
|00004910| 68 65 72 20 6c 61 6e 67 | 75 61 67 65 73 2e 20 22 |her lang|uages. "|
|00004920| 0a 3b 3b 20 2d 20 46 69 | 78 65 64 20 61 6e 20 65 |.;; - Fi|xed an e|
|00004930| 72 72 6f 72 20 69 6e 20 | 54 65 58 2d 64 65 66 69 |rror in |TeX-defi|
|00004940| 6e 65 2d 63 6f 6d 6d 6f | 6e 2d 6b 65 79 73 2e 0a |ne-commo|n-keys..|
|00004950| 3b 3b 0a 3b 3b 20 53 68 | 69 76 65 72 73 20 77 6f |;;.;; Sh|ivers wo|
|00004960| 72 6b 65 64 20 69 74 20 | 6f 76 65 72 20 61 67 61 |rked it |over aga|
|00004970| 69 6e 20 35 2f 39 30 0a | 3b 3b 20 2d 20 4c 6f 77 |in 5/90.|;; - Low|
|00004980| 65 72 2d 63 61 73 65 64 | 20 6f 63 63 75 72 65 6e |er-cased| occuren|
|00004990| 63 65 73 20 6f 66 20 54 | 65 58 20 61 6e 64 20 4c |ces of T|eX and L|
|000049a0| 61 54 65 58 20 69 6e 20 | 63 6f 6d 6d 61 6e 64 20 |aTeX in |command |
|000049b0| 61 6e 64 20 76 61 72 69 | 61 62 6c 65 20 6e 61 6d |and vari|able nam|
|000049c0| 65 73 2e 0a 3b 3b 20 20 | 20 54 68 69 73 20 77 61 |es..;; | This wa|
|000049d0| 73 20 61 20 70 72 6f 62 | 6c 65 6d 2e 0a 3b 3b 20 |s a prob|lem..;; |
|000049e0| 2d 20 43 68 61 6e 67 65 | 64 20 74 65 78 2d 64 69 |- Change|d tex-di|
|000049f0| 72 65 63 74 6f 72 79 20 | 64 65 66 61 75 6c 74 20 |rectory |default |
|00004a00| 74 6f 20 22 2e 2f 22 20 | 73 69 6e 63 65 20 74 68 |to "./" |since th|
|00004a10| 61 74 27 73 20 77 68 61 | 74 20 65 76 65 72 79 6f |at's wha|t everyo|
|00004a20| 6e 65 20 75 73 65 73 2e | 0a 3b 3b 20 20 20 54 68 |ne uses.|.;; Th|
|00004a30| 69 73 20 6d 61 6b 65 73 | 20 74 65 78 2d 72 65 67 |is makes| tex-reg|
|00004a40| 69 6f 6e 20 77 6f 72 6b | 20 77 68 65 6e 20 74 68 |ion work| when th|
|00004a50| 65 20 73 6f 75 72 63 65 | 20 63 6f 6e 74 61 69 6e |e source| contain|
|00004a60| 73 20 5c 69 6e 63 6c 75 | 64 65 20 61 6e 64 20 5c |s \inclu|de and \|
|00004a70| 69 6e 70 75 74 27 73 2e | 0a 3b 3b 20 2d 20 7a 61 |input's.|.;; - za|
|00004a80| 70 20 66 69 6c 65 20 6e | 61 6d 65 20 69 73 20 6a |p file n|ame is j|
|00004a90| 75 73 74 20 22 7a 61 70 | 22 2c 20 6e 6f 74 20 22 |ust "zap|", not "|
|00004aa0| 23 7a 61 70 22 2e 0a 0a | 0a 3b 3b 20 54 68 69 73 |#zap"...|.;; This|
|00004ab0| 20 66 69 6c 65 20 69 73 | 20 70 61 72 74 20 6f 66 | file is| part of|
|00004ac0| 20 47 4e 55 20 45 6d 61 | 63 73 2e 0a 3b 3b 20 47 | GNU Ema|cs..;; G|
|00004ad0| 4e 55 20 45 6d 61 63 73 | 20 69 73 20 64 69 73 74 |NU Emacs| is dist|
|00004ae0| 72 69 62 75 74 65 64 20 | 69 6e 20 74 68 65 20 68 |ributed |in the h|
|00004af0| 6f 70 65 20 74 68 61 74 | 20 69 74 20 77 69 6c 6c |ope that| it will|
|00004b00| 20 62 65 20 75 73 65 66 | 75 6c 2c 0a 3b 3b 20 62 | be usef|ul,.;; b|
|00004b10| 75 74 20 57 49 54 48 4f | 55 54 20 41 4e 59 20 57 |ut WITHO|UT ANY W|
|00004b20| 41 52 52 41 4e 54 59 2e | 20 20 4e 6f 20 61 75 74 |ARRANTY.| No aut|
|00004b30| 68 6f 72 20 6f 72 20 64 | 69 73 74 72 69 62 75 74 |hor or d|istribut|
|00004b40| 6f 72 0a 3b 3b 20 61 63 | 63 65 70 74 73 20 72 65 |or.;; ac|cepts re|
|00004b50| 73 70 6f 6e 73 69 62 69 | 6c 69 74 79 20 74 6f 20 |sponsibi|lity to |
|00004b60| 61 6e 79 6f 6e 65 20 66 | 6f 72 20 74 68 65 20 63 |anyone f|or the c|
|00004b70| 6f 6e 73 65 71 75 65 6e | 63 65 73 20 6f 66 20 75 |onsequen|ces of u|
|00004b80| 73 69 6e 67 20 69 74 0a | 3b 3b 20 6f 72 20 66 6f |sing it.|;; or fo|
|00004b90| 72 20 77 68 65 74 68 65 | 72 20 69 74 20 73 65 72 |r whethe|r it ser|
|00004ba0| 76 65 73 20 61 6e 79 20 | 70 61 72 74 69 63 75 6c |ves any |particul|
|00004bb0| 61 72 20 70 75 72 70 6f | 73 65 20 6f 72 20 77 6f |ar purpo|se or wo|
|00004bc0| 72 6b 73 20 61 74 20 61 | 6c 6c 2c 0a 3b 3b 20 75 |rks at a|ll,.;; u|
|00004bd0| 6e 6c 65 73 73 20 68 65 | 20 73 61 79 73 20 73 6f |nless he| says so|
|00004be0| 20 69 6e 20 77 72 69 74 | 69 6e 67 2e 20 20 52 65 | in writ|ing. Re|
|00004bf0| 66 65 72 20 74 6f 20 74 | 68 65 20 47 4e 55 20 45 |fer to t|he GNU E|
|00004c00| 6d 61 63 73 20 47 65 6e | 65 72 61 6c 20 50 75 62 |macs Gen|eral Pub|
|00004c10| 6c 69 63 0a 3b 3b 20 4c | 69 63 65 6e 73 65 20 66 |lic.;; L|icense f|
|00004c20| 6f 72 20 66 75 6c 6c 20 | 64 65 74 61 69 6c 73 2e |or full |details.|
|00004c30| 0a 0a 3b 3b 20 45 76 65 | 72 79 6f 6e 65 20 69 73 |..;; Eve|ryone is|
|00004c40| 20 67 72 61 6e 74 65 64 | 20 70 65 72 6d 69 73 73 | granted| permiss|
|00004c50| 69 6f 6e 20 74 6f 20 63 | 6f 70 79 2c 20 6d 6f 64 |ion to c|opy, mod|
|00004c60| 69 66 79 20 61 6e 64 20 | 72 65 64 69 73 74 72 69 |ify and |redistri|
|00004c70| 62 75 74 65 0a 3b 3b 20 | 47 4e 55 20 45 6d 61 63 |bute.;; |GNU Emac|
|00004c80| 73 2c 20 62 75 74 20 6f | 6e 6c 79 20 75 6e 64 65 |s, but o|nly unde|
|00004c90| 72 20 74 68 65 20 63 6f | 6e 64 69 74 69 6f 6e 73 |r the co|nditions|
|00004ca0| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 74 68 | describ|ed in th|
|00004cb0| 65 0a 3b 3b 20 47 4e 55 | 20 45 6d 61 63 73 20 47 |e.;; GNU| Emacs G|
|00004cc0| 65 6e 65 72 61 6c 20 50 | 75 62 6c 69 63 20 4c 69 |eneral P|ublic Li|
|00004cd0| 63 65 6e 73 65 2e 20 20 | 20 41 20 63 6f 70 79 20 |cense. | A copy |
|00004ce0| 6f 66 20 74 68 69 73 20 | 6c 69 63 65 6e 73 65 20 |of this |license |
|00004cf0| 69 73 0a 3b 3b 20 73 75 | 70 70 6f 73 65 64 20 74 |is.;; su|pposed t|
|00004d00| 6f 20 68 61 76 65 20 62 | 65 65 6e 20 67 69 76 65 |o have b|een give|
|00004d10| 6e 20 74 6f 20 79 6f 75 | 20 61 6c 6f 6e 67 20 77 |n to you| along w|
|00004d20| 69 74 68 20 47 4e 55 20 | 45 6d 61 63 73 20 73 6f |ith GNU |Emacs so|
|00004d30| 20 79 6f 75 0a 3b 3b 20 | 63 61 6e 20 6b 6e 6f 77 | you.;; |can know|
|00004d40| 20 79 6f 75 72 20 72 69 | 67 68 74 73 20 61 6e 64 | your ri|ghts and|
|00004d50| 20 72 65 73 70 6f 6e 73 | 69 62 69 6c 69 74 69 65 | respons|ibilitie|
|00004d60| 73 2e 20 20 49 74 20 73 | 68 6f 75 6c 64 20 62 65 |s. It s|hould be|
|00004d70| 20 69 6e 20 61 0a 3b 3b | 20 66 69 6c 65 20 6e 61 | in a.;;| file na|
|00004d80| 6d 65 64 20 43 4f 50 59 | 49 4e 47 2e 20 20 41 6d |med COPY|ING. Am|
|00004d90| 6f 6e 67 20 6f 74 68 65 | 72 20 74 68 69 6e 67 73 |ong othe|r things|
|00004da0| 2c 20 74 68 65 20 63 6f | 70 79 72 69 67 68 74 20 |, the co|pyright |
|00004db0| 6e 6f 74 69 63 65 0a 3b | 3b 20 61 6e 64 20 74 68 |notice.;|; and th|
|00004dc0| 69 73 20 6e 6f 74 69 63 | 65 20 6d 75 73 74 20 62 |is notic|e must b|
|00004dd0| 65 20 70 72 65 73 65 72 | 76 65 64 20 6f 6e 20 61 |e preser|ved on a|
|00004de0| 6c 6c 20 63 6f 70 69 65 | 73 2e 0a 0a 3b 3b 20 53 |ll copie|s...;; S|
|00004df0| 74 69 6c 6c 20 74 6f 20 | 64 6f 3a 0a 3b 3b 20 20 |till to |do:.;; |
|00004e00| 56 61 6c 69 64 61 74 69 | 6f 6e 20 6e 65 65 64 73 |Validati|on needs|
|00004e10| 20 77 6f 72 6b 21 0a 3b | 3b 0a 3b 3b 20 20 4d 61 | work!.;|;.;; Ma|
|00004e20| 6b 65 20 54 41 42 20 69 | 6e 64 65 6e 74 20 63 6f |ke TAB i|ndent co|
|00004e30| 72 72 65 63 74 6c 79 20 | 66 6f 72 20 54 65 58 20 |rrectly |for TeX |
|00004e40| 63 6f 64 65 2e 20 20 54 | 68 65 6e 20 77 65 20 63 |code. T|hen we c|
|00004e50| 61 6e 20 6d 61 6b 65 20 | 6c 69 6e 65 66 65 65 64 |an make |linefeed|
|00004e60| 0a 3b 3b 20 20 64 6f 20 | 73 6f 6d 65 74 68 69 6e |.;; do |somethin|
|00004e70| 67 20 6d 6f 72 65 20 75 | 73 65 66 75 6c 2e 0a 3b |g more u|seful..;|
|00004e80| 3b 0a 3b 3b 20 20 48 61 | 76 65 20 73 70 65 6c 6c |;.;; Ha|ve spell|
|00004e90| 20 75 6e 64 65 72 73 74 | 61 6e 64 20 54 65 58 20 | underst|and TeX |
|00004ea0| 69 6e 73 74 65 61 64 20 | 6f 66 20 61 73 73 75 6d |instead |of assum|
|00004eb0| 69 6e 67 20 74 68 65 20 | 65 6e 74 69 72 65 20 77 |ing the |entire w|
|00004ec0| 6f 72 6c 64 0a 3b 3b 20 | 20 75 73 65 73 20 6e 72 |orld.;; | uses nr|
|00004ed0| 6f 66 66 2e 0a 3b 3b 0a | 3b 3b 20 20 54 68 65 20 |off..;;.|;; The |
|00004ee0| 63 6f 64 65 20 66 6f 72 | 20 66 69 6e 64 69 6e 67 |code for| finding|
|00004ef0| 20 6d 61 74 63 68 69 6e | 67 20 24 20 6e 65 65 64 | matchin|g $ need|
|00004f00| 73 20 74 6f 20 62 65 20 | 66 69 78 65 64 2e 0a 0a |s to be |fixed...|
|00004f10| 0c 0a 28 70 72 6f 76 69 | 64 65 20 27 74 65 78 2d |..(provi|de 'tex-|
|00004f20| 6d 6f 64 65 29 0a 0a 3b | 3b 3b 20 48 4f 4f 4b 53 |mode)..;|;; HOOKS|
|00004f30| 20 41 4e 44 20 53 57 49 | 54 43 48 45 53 0a 3b 3b | AND SWI|TCHES.;;|
|00004f40| 3b 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |; ======|========|
|00004f50| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004f60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004f70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004f80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 0a 3b 3b |========|=====.;;|
|00004f90| 3b 20 48 65 72 65 27 73 | 20 61 6c 6c 20 74 68 65 |; Here's| all the|
|00004fa0| 20 76 61 72 69 61 62 6c | 65 73 20 74 68 65 20 75 | variabl|es the u|
|00004fb0| 73 65 72 20 63 61 6e 20 | 73 65 74 20 74 6f 20 63 |ser can |set to c|
|00004fc0| 75 73 74 6f 6d 69 73 65 | 20 74 68 65 20 6d 6f 64 |ustomise| the mod|
|00004fd0| 65 2e 0a 0a 28 64 65 66 | 76 61 72 20 74 65 78 2d |e...(def|var tex-|
|00004fe0| 64 69 72 65 63 74 6f 72 | 79 20 22 2e 2f 22 0a 20 |director|y "./". |
|00004ff0| 20 22 2a 44 69 72 65 63 | 74 6f 72 79 20 69 6e 20 | "*Direc|tory in |
|00005000| 77 68 69 63 68 20 74 6f | 20 72 75 6e 20 54 65 58 |which to| run TeX|
|00005010| 20 73 75 62 6a 6f 62 2e | 20 20 54 65 6d 70 6f 72 | subjob.| Tempor|
|00005020| 61 72 79 20 66 69 6c 65 | 73 20 61 72 65 20 63 72 |ary file|s are cr|
|00005030| 65 61 74 65 64 20 68 65 | 72 65 2e 22 29 0a 0a 28 |eated he|re.")..(|
|00005040| 64 65 66 76 61 72 20 74 | 65 78 2d 64 76 69 2d 70 |defvar t|ex-dvi-p|
|00005050| 72 69 6e 74 2d 63 6f 6d | 6d 61 6e 64 20 22 64 76 |rint-com|mand "dv|
|00005060| 69 70 72 20 25 73 22 0a | 20 20 22 2a 53 68 65 6c |ipr %s".| "*Shel|
|00005070| 6c 20 63 6f 6d 6d 61 6e | 64 20 75 73 65 64 20 62 |l comman|d used b|
|00005080| 79 20 5c 5c 5b 74 65 78 | 2d 70 72 69 6e 74 5d 20 |y \\[tex|-print] |
|00005090| 74 6f 20 70 72 69 6e 74 | 20 61 20 2e 64 76 69 20 |to print| a .dvi |
|000050a0| 66 69 6c 65 2e 22 29 0a | 0a 28 64 65 66 76 61 72 |file.").|.(defvar|
|000050b0| 20 74 65 78 2d 64 76 69 | 2d 70 72 69 6e 74 2d 63 | tex-dvi|-print-c|
|000050c0| 6f 6d 6d 61 6e 64 2d 73 | 75 66 66 69 78 20 22 22 |ommand-s|uffix ""|
|000050d0| 0a 20 20 22 2a 41 64 64 | 69 74 69 6f 6e 61 6c 20 |. "*Add|itional |
|000050e0| 61 72 67 75 6d 65 6e 74 | 73 20 6f 72 20 63 6f 6d |argument|s or com|
|000050f0| 6d 61 6e 64 20 6e 61 6d | 65 20 6d 6f 64 69 66 69 |mand nam|e modifi|
|00005100| 63 61 74 69 6f 6e 20 66 | 6f 72 20 63 6f 6d 6d 61 |cation f|or comma|
|00005110| 6e 64 20 73 74 72 69 6e | 67 20 74 6f 20 70 72 69 |nd strin|g to pri|
|00005120| 6e 74 20 61 20 2e 64 76 | 69 20 66 69 6c 65 2e 22 |nt a .dv|i file."|
|00005130| 29 0a 0a 28 64 65 66 76 | 61 72 20 74 65 78 2d 6c |)..(defv|ar tex-l|
|00005140| 61 73 74 2d 70 72 6f 63 | 65 73 73 65 64 2d 66 69 |ast-proc|essed-fi|
|00005150| 6c 65 20 6e 69 6c 0a 20 | 20 22 54 68 65 20 6c 61 |le nil. | "The la|
|00005160| 73 74 20 66 69 6c 65 20 | 74 68 61 74 20 77 61 73 |st file |that was|
|00005170| 20 54 65 58 27 65 64 20 | 62 79 20 5c 5c 5b 74 65 | TeX'ed |by \\[te|
|00005180| 78 2d 72 65 67 69 6f 6e | 5d 20 6f 72 20 5c 5c 5b |x-region|] or \\[|
|00005190| 74 65 78 2d 62 75 66 66 | 65 72 5d 2e 0a 55 73 65 |tex-buff|er]..Use|
|000051a0| 64 20 62 79 20 5c 5c 5b | 74 65 78 2d 70 72 69 6e |d by \\[|tex-prin|
|000051b0| 74 5d 2e 22 29 0a 0a 28 | 64 65 66 76 61 72 20 74 |t].")..(|defvar t|
|000051c0| 65 78 2d 73 68 6f 77 2d | 71 75 65 75 65 2d 63 6f |ex-show-|queue-co|
|000051d0| 6d 6d 61 6e 64 20 22 6c | 70 71 22 0a 20 20 22 2a |mmand "l|pq". "*|
|000051e0| 43 6f 6d 6d 61 6e 64 20 | 73 74 72 69 6e 67 20 75 |Command |string u|
|000051f0| 73 65 64 20 62 79 20 5c | 5c 5b 74 65 78 2d 73 68 |sed by \|\[tex-sh|
|00005200| 6f 77 2d 70 72 69 6e 74 | 2d 71 75 65 75 65 5d 20 |ow-print|-queue] |
|00005210| 74 6f 20 73 68 6f 77 20 | 74 68 65 20 70 72 69 6e |to show |the prin|
|00005220| 74 20 71 75 65 75 65 2e | 0a 53 68 6f 75 6c 64 20 |t queue.|.Should |
|00005230| 73 68 6f 77 20 74 68 65 | 20 71 75 65 75 65 20 74 |show the| queue t|
|00005240| 68 61 74 20 5c 5c 5b 74 | 65 78 2d 70 72 69 6e 74 |hat \\[t|ex-print|
|00005250| 5d 20 70 75 74 20 79 6f | 75 72 20 6a 6f 62 20 6f |] put yo|ur job o|
|00005260| 6e 2e 22 29 0a 0a 28 64 | 65 66 76 61 72 20 74 65 |n.")..(d|efvar te|
|00005270| 78 2d 62 69 62 74 65 78 | 2d 63 6f 6d 6d 61 6e 64 |x-bibtex|-command|
|00005280| 20 22 62 69 62 74 65 78 | 20 25 73 22 0a 20 20 22 | "bibtex| %s". "|
|00005290| 2a 43 6f 6d 6d 61 6e 64 | 20 73 74 72 69 6e 67 20 |*Command| string |
|000052a0| 75 73 65 64 20 62 79 20 | 5c 5c 5b 62 69 62 74 65 |used by |\\[bibte|
|000052b0| 78 2d 62 75 66 66 65 72 | 5d 20 74 6f 20 72 75 6e |x-buffer|] to run|
|000052c0| 20 42 69 42 74 65 78 20 | 6f 6e 20 61 20 4c 61 54 | BiBtex |on a LaT|
|000052d0| 65 58 27 65 64 20 66 69 | 6c 65 2e 22 29 0a 0a 28 |eX'ed fi|le.")..(|
|000052e0| 64 65 66 76 61 72 20 74 | 65 78 2d 76 69 65 77 2d |defvar t|ex-view-|
|000052f0| 64 76 69 2d 66 69 6c 65 | 2d 63 6f 6d 6d 61 6e 64 |dvi-file|-command|
|00005300| 20 28 69 66 20 28 65 71 | 20 77 69 6e 64 6f 77 2d | (if (eq| window-|
|00005310| 73 79 73 74 65 6d 20 27 | 78 29 20 22 74 65 78 78 |system '|x) "texx|
|00005320| 20 25 73 22 20 22 74 65 | 78 73 75 6e 20 25 73 22 | %s" "te|xsun %s"|
|00005330| 29 0a 20 20 22 2a 43 6f | 6d 6d 61 6e 64 20 74 6f |). "*Co|mmand to|
|00005340| 20 69 6e 76 6f 6b 65 20 | 70 72 65 76 69 65 77 65 | invoke |previewe|
|00005350| 72 20 6f 6e 20 64 76 69 | 20 66 69 6c 65 2e 22 29 |r on dvi| file.")|
|00005360| 0a 0a 28 64 65 66 76 61 | 72 20 74 65 78 2d 64 65 |..(defva|r tex-de|
|00005370| 66 61 75 6c 74 2d 6d 6f | 64 65 20 27 6c 61 74 65 |fault-mo|de 'late|
|00005380| 78 2d 6d 6f 64 65 0a 20 | 20 22 2a 4d 6f 64 65 20 |x-mode. | "*Mode |
|00005390| 74 6f 20 65 6e 74 65 72 | 20 66 6f 72 20 61 20 6e |to enter| for a n|
|000053a0| 65 77 20 66 69 6c 65 20 | 77 68 65 6e 20 69 74 20 |ew file |when it |
|000053b0| 63 61 6e 27 74 20 62 65 | 20 64 65 74 65 72 6d 69 |can't be| determi|
|000053c0| 6e 65 64 20 77 68 65 74 | 68 65 72 0a 74 68 65 20 |ned whet|her.the |
|000053d0| 66 69 6c 65 20 69 73 20 | 70 6c 61 69 6e 20 54 65 |file is |plain Te|
|000053e0| 58 20 6f 72 20 4c 61 54 | 65 58 20 6f 72 20 77 68 |X or LaT|eX or wh|
|000053f0| 61 74 2e 22 29 0a 0a 28 | 64 65 66 76 61 72 20 74 |at.")..(|defvar t|
|00005400| 65 78 2d 6f 70 65 6e 2d | 71 75 6f 74 65 20 22 60 |ex-open-|quote "`|
|00005410| 60 22 0a 20 20 22 53 74 | 72 69 6e 67 20 69 6e 73 |`". "St|ring ins|
|00005420| 65 72 74 65 64 20 62 79 | 20 74 79 70 69 6e 67 20 |erted by| typing |
|00005430| 5c 5c 5b 74 65 78 2d 69 | 6e 73 65 72 74 2d 71 75 |\\[tex-i|nsert-qu|
|00005440| 6f 74 65 5d 20 74 6f 20 | 6f 70 65 6e 20 61 20 71 |ote] to |open a q|
|00005450| 75 6f 74 61 74 69 6f 6e | 2e 22 29 0a 0a 28 64 65 |uotation|.")..(de|
|00005460| 66 76 61 72 20 74 65 78 | 2d 63 6c 6f 73 65 2d 71 |fvar tex|-close-q|
|00005470| 75 6f 74 65 20 22 27 27 | 22 0a 20 20 22 53 74 72 |uote "''|". "Str|
|00005480| 69 6e 67 20 69 6e 73 65 | 72 74 65 64 20 62 79 20 |ing inse|rted by |
|00005490| 74 79 70 69 6e 67 20 5c | 5c 5b 74 65 78 2d 69 6e |typing \|\[tex-in|
|000054a0| 73 65 72 74 2d 71 75 6f | 74 65 5d 20 74 6f 20 63 |sert-quo|te] to c|
|000054b0| 6c 6f 73 65 20 61 20 71 | 75 6f 74 61 74 69 6f 6e |lose a q|uotation|
|000054c0| 2e 22 29 0a 0a 28 64 65 | 66 76 61 72 20 74 65 78 |.")..(de|fvar tex|
|000054d0| 2d 63 6f 6d 6d 61 6e 64 | 20 6e 69 6c 0a 20 20 22 |-command| nil. "|
|000054e0| 2a 54 68 65 20 63 6f 6d | 6d 61 6e 64 20 74 6f 20 |*The com|mand to |
|000054f0| 72 75 6e 20 54 65 58 20 | 6f 6e 20 61 20 66 69 6c |run TeX |on a fil|
|00005500| 65 2e 0a 54 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |e..The n|ame of t|
|00005510| 68 65 20 66 69 6c 65 20 | 77 69 6c 6c 20 62 65 20 |he file |will be |
|00005520| 61 70 70 65 6e 64 65 64 | 20 74 6f 20 74 68 69 73 |appended| to this|
|00005530| 20 73 74 72 69 6e 67 2c | 20 73 65 70 61 72 61 74 | string,| separat|
|00005540| 65 64 20 62 79 20 61 20 | 73 70 61 63 65 2e 0a 54 |ed by a |space..T|
|00005550| 68 69 73 20 69 73 20 61 | 20 62 75 66 66 65 72 20 |his is a| buffer |
|00005560| 6c 6f 63 61 6c 20 76 61 | 72 69 61 62 6c 65 2c 20 |local va|riable, |
|00005570| 64 65 66 61 75 6c 74 73 | 20 74 6f 20 22 74 65 78 |defaults| to "tex|
|00005580| 22 20 69 6e 20 70 6c 61 | 69 6e 2d 74 65 78 2d 6d |" in pla|in-tex-m|
|00005590| 6f 64 65 20 62 75 66 66 | 65 72 73 2c 0a 61 6e 64 |ode buff|ers,.and|
|000055a0| 20 22 6c 61 74 65 78 22 | 20 69 6e 20 6c 61 74 65 | "latex"| in late|
|000055b0| 78 2d 6d 6f 64 65 20 62 | 75 66 66 65 72 73 2e 20 |x-mode b|uffers. |
|000055c0| 49 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 61 |If you w|ant to a|
|000055d0| 6c 74 65 72 20 69 74 2c | 20 64 6f 20 74 68 65 20 |lter it,| do the |
|000055e0| 63 68 61 6e 67 65 0a 69 | 6e 20 74 68 65 20 70 6c |change.i|n the pl|
|000055f0| 61 69 6e 2d 74 65 78 2d | 6d 6f 64 65 2d 68 6f 6f |ain-tex-|mode-hoo|
|00005600| 6b 20 6f 72 20 74 68 65 | 20 6c 61 74 65 78 2d 6d |k or the| latex-m|
|00005610| 6f 64 65 2d 68 6f 6f 6b | 2e 22 29 0a 0a 28 64 65 |ode-hook|.")..(de|
|00005620| 66 76 61 72 20 74 65 78 | 2d 74 72 61 69 6c 65 72 |fvar tex|-trailer|
|00005630| 20 6e 69 6c 0a 20 20 22 | 2a 53 74 72 69 6e 67 20 | nil. "|*String |
|00005640| 61 70 70 65 6e 64 65 64 | 20 61 66 74 65 72 20 74 |appended| after t|
|00005650| 68 65 20 65 6e 64 20 6f | 66 20 61 20 72 65 67 69 |he end o|f a regi|
|00005660| 6f 6e 20 73 65 6e 74 20 | 74 6f 20 54 65 58 20 62 |on sent |to TeX b|
|00005670| 79 20 5c 5c 5b 74 65 78 | 2d 72 65 67 69 6f 6e 5d |y \\[tex|-region]|
|00005680| 2e 22 29 0a 0a 28 64 65 | 66 76 61 72 20 74 65 78 |.")..(de|fvar tex|
|00005690| 2d 73 74 61 72 74 2d 6f | 66 2d 68 65 61 64 65 72 |-start-o|f-header|
|000056a0| 20 6e 69 6c 0a 20 20 22 | 2a 53 74 72 69 6e 67 20 | nil. "|*String |
|000056b0| 75 73 65 64 20 62 79 20 | 5c 5c 5b 74 65 78 2d 72 |used by |\\[tex-r|
|000056c0| 65 67 69 6f 6e 5d 20 74 | 6f 20 64 65 6c 69 6d 69 |egion] t|o delimi|
|000056d0| 74 20 74 68 65 20 73 74 | 61 72 74 20 6f 66 20 74 |t the st|art of t|
|000056e0| 68 65 20 66 69 6c 65 27 | 73 20 68 65 61 64 65 72 |he file'|s header|
|000056f0| 2e 22 29 0a 0a 28 64 65 | 66 76 61 72 20 74 65 78 |.")..(de|fvar tex|
|00005700| 2d 65 6e 64 2d 6f 66 2d | 68 65 61 64 65 72 20 6e |-end-of-|header n|
|00005710| 69 6c 0a 20 20 22 2a 53 | 74 72 69 6e 67 20 75 73 |il. "*S|tring us|
|00005720| 65 64 20 62 79 20 5c 5c | 5b 74 65 78 2d 72 65 67 |ed by \\|[tex-reg|
|00005730| 69 6f 6e 5d 20 74 6f 20 | 64 65 6c 69 6d 69 74 20 |ion] to |delimit |
|00005740| 74 68 65 20 65 6e 64 20 | 6f 66 20 74 68 65 20 66 |the end |of the f|
|00005750| 69 6c 65 27 73 20 68 65 | 61 64 65 72 2e 22 29 0a |ile's he|ader.").|
|00005760| 0a 28 64 65 66 76 61 72 | 20 74 65 78 2d 7a 61 70 |.(defvar| tex-zap|
|00005770| 2d 66 69 6c 65 20 6e 69 | 6c 0a 20 20 22 2a 54 65 |-file ni|l. "*Te|
|00005780| 6d 70 6f 72 61 72 79 20 | 66 69 6c 65 20 6e 61 6d |mporary |file nam|
|00005790| 65 20 75 73 65 64 20 66 | 6f 72 20 74 65 78 74 20 |e used f|or text |
|000057a0| 62 65 69 6e 67 20 73 65 | 6e 74 20 61 73 20 69 6e |being se|nt as in|
|000057b0| 70 75 74 20 74 6f 20 54 | 65 58 2e 0a 53 68 6f 75 |put to T|eX..Shou|
|000057c0| 6c 64 20 62 65 20 61 20 | 73 69 6d 70 6c 65 20 66 |ld be a |simple f|
|000057d0| 69 6c 65 20 6e 61 6d 65 | 20 77 69 74 68 20 6e 6f |ile name| with no|
|000057e0| 20 65 78 74 65 6e 73 69 | 6f 6e 20 6f 72 20 64 69 | extensi|on or di|
|000057f0| 72 65 63 74 6f 72 79 20 | 73 70 65 63 69 66 69 63 |rectory |specific|
|00005800| 61 74 69 6f 6e 2e 22 29 | 0a 0a 0c 0a 3b 3b 3b 20 |ation.")|....;;; |
|00005810| 53 54 41 52 54 55 50 20 | 53 54 55 46 46 3a 20 4d |STARTUP |STUFF: M|
|00005820| 4f 44 45 53 20 26 20 4d | 41 50 53 0a 3b 3b 3b 20 |ODES & M|APS.;;; |
|00005830| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005840| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005850| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005860| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005870| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 3b 3b 3b 20 |========|===.;;; |
|00005880| 48 65 72 65 27 73 20 74 | 68 65 20 63 6f 64 65 20 |Here's t|he code |
|00005890| 74 68 61 74 20 73 65 74 | 73 20 75 70 20 74 68 65 |that set|s up the|
|000058a0| 20 6d 6f 64 65 73 3a 20 | 69 6e 69 74 69 61 6c 69 | modes: |initiali|
|000058b0| 73 65 73 20 74 68 65 20 | 6b 65 79 6d 61 70 73 2c |ses the |keymaps,|
|000058c0| 20 62 75 66 66 65 72 0a | 3b 3b 3b 20 6c 6f 63 61 | buffer.|;;; loca|
|000058d0| 6c 20 76 61 72 69 61 62 | 6c 65 73 2c 20 61 6e 64 |l variab|les, and|
|000058e0| 20 73 6f 20 66 6f 72 74 | 68 2e 0a 0a 28 64 65 66 | so fort|h...(def|
|000058f0| 76 61 72 20 74 65 78 2d | 6d 6f 64 65 2d 73 79 6e |var tex-|mode-syn|
|00005900| 74 61 78 2d 74 61 62 6c | 65 20 6e 69 6c 0a 20 20 |tax-tabl|e nil. |
|00005910| 22 53 79 6e 74 61 78 20 | 74 61 62 6c 65 20 75 73 |"Syntax |table us|
|00005920| 65 64 20 77 68 69 6c 65 | 20 69 6e 20 54 65 58 20 |ed while| in TeX |
|00005930| 6d 6f 64 65 2e 22 29 0a | 0a 28 64 65 66 76 61 72 |mode.").|.(defvar|
|00005940| 20 74 65 78 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 | tex-mod|e-map ni|
|00005950| 6c 20 22 4b 65 79 6d 61 | 70 20 66 6f 72 20 54 65 |l "Keyma|p for Te|
|00005960| 58 20 6d 6f 64 65 2e 22 | 29 0a 28 64 65 66 76 61 |X mode."|).(defva|
|00005970| 72 20 6c 61 74 65 78 2d | 6d 6f 64 65 2d 6d 61 70 |r latex-|mode-map|
|00005980| 20 6e 69 6c 20 22 4b 65 | 79 6d 61 70 20 66 6f 72 | nil "Ke|ymap for|
|00005990| 20 4c 61 54 65 58 20 6d | 6f 64 65 2e 22 29 0a 0a | LaTeX m|ode.")..|
|000059a0| 28 64 65 66 75 6e 20 74 | 65 78 2d 64 65 66 69 6e |(defun t|ex-defin|
|000059b0| 65 2d 63 6f 6d 6d 6f 6e | 2d 6b 65 79 73 20 28 6b |e-common|-keys (k|
|000059c0| 65 79 6d 61 70 29 0a 20 | 20 22 44 65 66 69 6e 65 |eymap). | "Define|
|000059d0| 20 74 68 65 20 6b 65 79 | 73 20 74 68 61 74 20 77 | the key|s that w|
|000059e0| 65 20 77 61 6e 74 20 64 | 65 66 69 6e 65 64 20 69 |e want d|efined i|
|000059f0| 6e 20 61 6c 6c 20 54 65 | 58 2d 72 65 6c 61 74 65 |n all Te|X-relate|
|00005a00| 64 20 6d 6f 64 65 73 2e | 0a 54 68 65 73 65 20 6d |d modes.|.These m|
|00005a10| 6f 64 65 73 20 61 72 65 | 20 74 65 78 2d 6d 6f 64 |odes are| tex-mod|
|00005a20| 65 2c 20 6c 61 74 65 78 | 2d 6d 6f 64 65 2c 20 61 |e, latex|-mode, a|
|00005a30| 6e 64 20 74 68 65 20 74 | 65 78 2d 73 68 65 6c 6c |nd the t|ex-shell|
|00005a40| 2e 22 0a 20 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |.". (de|fine-key|
|00005a50| 20 6b 65 79 6d 61 70 20 | 22 5c 43 2d 63 5c 43 2d | keymap |"\C-c\C-|
|00005a60| 6b 22 20 27 74 65 78 2d | 6b 69 6c 6c 2d 6a 6f 62 |k" 'tex-|kill-job|
|00005a70| 29 0a 20 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |). (def|ine-key |
|00005a80| 6b 65 79 6d 61 70 20 22 | 5c 43 2d 63 5c 43 2d 6c |keymap "|\C-c\C-l|
|00005a90| 22 20 27 74 65 78 2d 72 | 65 63 65 6e 74 65 72 2d |" 'tex-r|ecenter-|
|00005aa0| 6f 75 74 70 75 74 2d 62 | 75 66 66 65 72 29 0a 20 |output-b|uffer). |
|00005ab0| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 6b 65 79 | (define|-key key|
|00005ac0| 6d 61 70 20 22 5c 43 2d | 63 5c 43 2d 71 22 20 27 |map "\C-|c\C-q" '|
|00005ad0| 74 65 78 2d 73 68 6f 77 | 2d 70 72 69 6e 74 2d 71 |tex-show|-print-q|
|00005ae0| 75 65 75 65 29 0a 20 20 | 28 64 65 66 69 6e 65 2d |ueue). |(define-|
|00005af0| 6b 65 79 20 6b 65 79 6d | 61 70 20 22 5c 43 2d 63 |key keym|ap "\C-c|
|00005b00| 5c 43 2d 70 22 20 27 74 | 65 78 2d 70 72 69 6e 74 |\C-p" 't|ex-print|
|00005b10| 29 0a 20 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |). (def|ine-key |
|00005b20| 6b 65 79 6d 61 70 20 22 | 5c 43 2d 63 50 22 20 27 |keymap "|\C-cP" '|
|00005b30| 74 65 78 2d 76 69 65 77 | 2d 66 69 6c 65 29 29 0a |tex-view|-file)).|
|00005b40| 0a 28 69 66 20 74 65 78 | 2d 6d 6f 64 65 2d 6d 61 |.(if tex|-mode-ma|
|00005b50| 70 20 0a 20 20 20 20 6e | 69 6c 0a 20 20 28 73 65 |p . n|il. (se|
|00005b60| 74 71 20 74 65 78 2d 6d | 6f 64 65 2d 6d 61 70 20 |tq tex-m|ode-map |
|00005b70| 28 6d 61 6b 65 2d 73 70 | 61 72 73 65 2d 6b 65 79 |(make-sp|arse-key|
|00005b80| 6d 61 70 29 29 0a 20 20 | 28 74 65 78 2d 64 65 66 |map)). |(tex-def|
|00005b90| 69 6e 65 2d 63 6f 6d 6d | 6f 6e 2d 6b 65 79 73 20 |ine-comm|on-keys |
|00005ba0| 74 65 78 2d 6d 6f 64 65 | 2d 6d 61 70 29 0a 20 20 |tex-mode|-map). |
|00005bb0| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 74 65 78 2d |(define-|key tex-|
|00005bc0| 6d 6f 64 65 2d 6d 61 70 | 20 22 5c 22 22 20 27 74 |mode-map| "\"" 't|
|00005bd0| 65 78 2d 69 6e 73 65 72 | 74 2d 71 75 6f 74 65 29 |ex-inser|t-quote)|
|00005be0| 0a 20 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 74 |. (defi|ne-key t|
|00005bf0| 65 78 2d 6d 6f 64 65 2d | 6d 61 70 20 22 5c 6e 22 |ex-mode-|map "\n"|
|00005c00| 20 27 74 65 78 2d 74 65 | 72 6d 69 6e 61 74 65 2d | 'tex-te|rminate-|
|00005c10| 70 61 72 61 67 72 61 70 | 68 29 0a 20 20 28 64 65 |paragrap|h). (de|
|00005c20| 66 69 6e 65 2d 6b 65 79 | 20 74 65 78 2d 6d 6f 64 |fine-key| tex-mod|
|00005c30| 65 2d 6d 61 70 20 22 5c | 65 7d 22 20 27 75 70 2d |e-map "\|e}" 'up-|
|00005c40| 6c 69 73 74 29 0a 20 20 | 28 64 65 66 69 6e 65 2d |list). |(define-|
|00005c50| 6b 65 79 20 74 65 78 2d | 6d 6f 64 65 2d 6d 61 70 |key tex-|mode-map|
|00005c60| 20 22 5c 65 7b 22 20 27 | 74 65 78 2d 69 6e 73 65 | "\e{" '|tex-inse|
|00005c70| 72 74 2d 62 72 61 63 65 | 73 29 0a 20 20 28 64 65 |rt-brace|s). (de|
|00005c80| 66 69 6e 65 2d 6b 65 79 | 20 74 65 78 2d 6d 6f 64 |fine-key| tex-mod|
|00005c90| 65 2d 6d 61 70 20 22 5c | 43 2d 63 5c 43 2d 72 22 |e-map "\|C-c\C-r"|
|00005ca0| 20 27 74 65 78 2d 72 65 | 67 69 6f 6e 29 0a 20 20 | 'tex-re|gion). |
|00005cb0| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 74 65 78 2d |(define-|key tex-|
|00005cc0| 6d 6f 64 65 2d 6d 61 70 | 20 22 5c 43 2d 63 5c 43 |mode-map| "\C-c\C|
|00005cd0| 2d 62 22 20 27 74 65 78 | 2d 62 75 66 66 65 72 29 |-b" 'tex|-buffer)|
|00005ce0| 0a 20 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 74 |. (defi|ne-key t|
|00005cf0| 65 78 2d 6d 6f 64 65 2d | 6d 61 70 20 22 5c 43 2d |ex-mode-|map "\C-|
|00005d00| 63 62 22 20 27 62 69 62 | 74 65 78 2d 62 75 66 66 |cb" 'bib|tex-buff|
|00005d10| 65 72 29 0a 20 20 29 0a | 0a 3b 3b 3b 20 53 68 75 |er). ).|.;;; Shu|
|00005d20| 66 66 6c 65 64 20 6b 65 | 79 62 69 6e 64 69 6e 67 |ffled ke|ybinding|
|00005d30| 73 20 73 6f 20 74 68 61 | 74 0a 3b 3b 3b 20 2d 20 |s so tha|t.;;; - |
|00005d40| 6c 61 74 65 78 2d 69 6e | 73 65 72 74 2d 62 65 67 |latex-in|sert-beg|
|00005d50| 69 6e 20 63 6f 64 65 73 | 20 61 72 65 20 63 6f 6e |in codes| are con|
|00005d60| 73 69 73 74 65 6e 74 20 | 77 69 74 68 20 6b 65 79 |sistent |with key|
|00005d70| 62 69 6e 64 69 6e 67 73 | 20 74 6f 0a 3b 3b 3b 20 |bindings| to.;;; |
|00005d80| 20 20 65 71 75 69 76 61 | 6c 65 6e 74 20 63 6f 6d | equiva|lent com|
|00005d90| 6d 61 6e 64 73 2e 20 54 | 68 69 73 20 6d 75 73 74 |mands. T|his must|
|00005da0| 20 62 65 20 73 6f 2c 20 | 6f 72 20 79 6f 75 20 77 | be so, |or you w|
|00005db0| 69 6c 6c 20 2a 6e 65 76 | 65 72 2a 20 72 65 6d 65 |ill *nev|er* reme|
|00005dc0| 6d 62 65 72 0a 3b 3b 3b | 20 20 20 61 6c 6c 20 74 |mber.;;;| all t|
|00005dd0| 68 6f 73 65 20 62 69 6e | 64 69 6e 67 73 21 0a 3b |hose bin|dings!.;|
|00005de0| 3b 3b 20 2d 20 57 68 65 | 6e 20 62 69 6e 64 69 6e |;; - Whe|n bindin|
|00005df0| 67 20 74 2f 54 20 74 6f | 20 74 61 62 6c 65 2f 74 |g t/T to| table/t|
|00005e00| 61 62 75 6c 61 72 20 6f | 72 20 71 2f 51 20 74 6f |abular o|r q/Q to|
|00005e10| 20 71 75 6f 74 65 2f 71 | 75 6f 74 61 74 69 6f 6e | quote/q|uotation|
|00005e20| 2c 0a 3b 3b 3b 20 20 20 | 63 6f 6e 73 69 73 74 65 |,.;;; |consiste|
|00005e30| 6e 74 6c 79 20 62 6f 75 | 6e 64 20 74 68 65 20 73 |ntly bou|nd the s|
|00005e40| 6d 61 6c 6c 20 6c 65 74 | 74 65 72 20 74 6f 20 74 |mall let|ter to t|
|00005e50| 68 65 20 73 6d 61 6c 6c | 65 72 20 28 73 68 6f 72 |he small|er (shor|
|00005e60| 74 65 72 29 0a 3b 3b 3b | 20 20 20 63 6f 6d 6d 61 |ter).;;;| comma|
|00005e70| 6e 64 2e 20 41 20 73 69 | 6d 70 6c 65 20 72 75 6c |nd. A si|mple rul|
|00005e80| 65 20 74 6f 20 68 65 6c | 70 20 79 6f 75 20 72 65 |e to hel|p you re|
|00005e90| 6d 65 6d 62 65 72 2e 0a | 3b 3b 3b 20 2d 20 6c 61 |member..|;;; - la|
|00005ea0| 74 65 78 2d 63 6c 6f 73 | 65 2d 62 6c 6f 63 6b 20 |tex-clos|e-block |
|00005eb0| 69 73 20 6f 6e 20 43 2d | 63 20 73 70 61 63 65 2e |is on C-|c space.|
|00005ec0| 20 45 61 73 79 20 74 6f | 20 74 79 70 65 2e 0a 3b | Easy to| type..;|
|00005ed0| 3b 3b 20 4f 6c 69 6e 20 | 32 2f 39 30 0a 0a 28 69 |;; Olin |2/90..(i|
|00005ee0| 66 20 6c 61 74 65 78 2d | 6d 6f 64 65 2d 6d 61 70 |f latex-|mode-map|
|00005ef0| 0a 20 20 20 20 6e 69 6c | 0a 20 20 28 73 65 74 71 |. nil|. (setq|
|00005f00| 20 6c 61 74 65 78 2d 6d | 6f 64 65 2d 6d 61 70 20 | latex-m|ode-map |
|00005f10| 28 6d 61 6b 65 2d 73 70 | 61 72 73 65 2d 6b 65 79 |(make-sp|arse-key|
|00005f20| 6d 61 70 29 29 0a 20 20 | 28 74 65 78 2d 64 65 66 |map)). |(tex-def|
|00005f30| 69 6e 65 2d 63 6f 6d 6d | 6f 6e 2d 6b 65 79 73 20 |ine-comm|on-keys |
|00005f40| 6c 61 74 65 78 2d 6d 6f | 64 65 2d 6d 61 70 29 0a |latex-mo|de-map).|
|00005f50| 20 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 6c 61 | (defin|e-key la|
|00005f60| 74 65 78 2d 6d 6f 64 65 | 2d 6d 61 70 20 22 5c 43 |tex-mode|-map "\C|
|00005f70| 2d 6a 22 20 27 74 65 78 | 2d 74 65 72 6d 69 6e 61 |-j" 'tex|-termina|
|00005f80| 74 65 2d 70 61 72 61 67 | 72 61 70 68 29 0a 20 20 |te-parag|raph). |
|00005f90| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 6c 61 74 65 |(define-|key late|
|00005fa0| 78 2d 6d 6f 64 65 2d 6d | 61 70 20 22 5c 65 7b 22 |x-mode-m|ap "\e{"|
|00005fb0| 20 27 74 65 78 2d 69 6e | 73 65 72 74 2d 62 72 61 | 'tex-in|sert-bra|
|00005fc0| 63 65 73 29 0a 20 20 28 | 64 65 66 69 6e 65 2d 6b |ces). (|define-k|
|00005fd0| 65 79 20 6c 61 74 65 78 | 2d 6d 6f 64 65 2d 6d 61 |ey latex|-mode-ma|
|00005fe0| 70 20 22 5c 65 7d 22 20 | 27 75 70 2d 6c 69 73 74 |p "\e}" |'up-list|
|00005ff0| 29 0a 20 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |). (def|ine-key |
|00006000| 6c 61 74 65 78 2d 6d 6f | 64 65 2d 6d 61 70 20 22 |latex-mo|de-map "|
|00006010| 5c 22 22 20 27 74 65 78 | 2d 69 6e 73 65 72 74 2d |\"" 'tex|-insert-|
|00006020| 71 75 6f 74 65 29 0a 20 | 20 28 64 65 66 69 6e 65 |quote). | (define|
|00006030| 2d 6b 65 79 20 6c 61 74 | 65 78 2d 6d 6f 64 65 2d |-key lat|ex-mode-|
|00006040| 6d 61 70 20 22 5c 43 2d | 63 61 22 20 27 6c 61 74 |map "\C-|ca" 'lat|
|00006050| 65 78 2d 61 72 72 61 79 | 29 0a 20 20 28 64 65 66 |ex-array|). (def|
|00006060| 69 6e 65 2d 6b 65 79 20 | 6c 61 74 65 78 2d 6d 6f |ine-key |latex-mo|
|00006070| 64 65 2d 6d 61 70 20 22 | 5c 43 2d 63 41 22 20 27 |de-map "|\C-cA" '|
|00006080| 6c 61 74 65 78 2d 61 62 | 73 74 72 61 63 74 29 0a |latex-ab|stract).|
|00006090| 20 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 6c 61 | (defin|e-key la|
|000060a0| 74 65 78 2d 6d 6f 64 65 | 2d 6d 61 70 20 22 5c 43 |tex-mode|-map "\C|
|000060b0| 2d 63 5c 43 2d 62 22 20 | 27 74 65 78 2d 62 75 66 |-c\C-b" |'tex-buf|
|000060c0| 66 65 72 29 0a 20 20 28 | 64 65 66 69 6e 65 2d 6b |fer). (|define-k|
|000060d0| 65 79 20 6c 61 74 65 78 | 2d 6d 6f 64 65 2d 6d 61 |ey latex|-mode-ma|
|000060e0| 70 20 22 5c 43 2d 63 62 | 22 20 27 62 69 62 74 65 |p "\C-cb|" 'bibte|
|000060f0| 78 2d 62 75 66 66 65 72 | 29 0a 20 20 28 64 65 66 |x-buffer|). (def|
|00006100| 69 6e 65 2d 6b 65 79 20 | 6c 61 74 65 78 2d 6d 6f |ine-key |latex-mo|
|00006110| 64 65 2d 6d 61 70 20 22 | 5c 43 2d 63 5c 43 2d 63 |de-map "|\C-c\C-c|
|00006120| 22 20 27 6c 61 74 65 78 | 2d 63 69 74 65 29 0a 20 |" 'latex|-cite). |
|00006130| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 6c 61 74 | (define|-key lat|
|00006140| 65 78 2d 6d 6f 64 65 2d | 6d 61 70 20 22 5c 43 2d |ex-mode-|map "\C-|
|00006150| 63 63 22 20 27 6c 61 74 | 65 78 2d 63 65 6e 74 65 |cc" 'lat|ex-cente|
|00006160| 72 29 0a 20 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |r). (de|fine-key|
|00006170| 20 6c 61 74 65 78 2d 6d | 6f 64 65 2d 6d 61 70 20 | latex-m|ode-map |
|00006180| 22 5c 43 2d 63 43 22 20 | 27 6c 61 74 65 78 2d 63 |"\C-cC" |'latex-c|
|00006190| 68 61 70 74 65 72 29 0a | 20 20 28 64 65 66 69 6e |hapter).| (defin|
|000061a0| 65 2d 6b 65 79 20 6c 61 | 74 65 78 2d 6d 6f 64 65 |e-key la|tex-mode|
|000061b0| 2d 6d 61 70 20 22 5c 43 | 2d 63 5c 43 2d 64 22 20 |-map "\C|-c\C-d" |
|000061c0| 27 6c 61 74 65 78 2d 64 | 6f 63 75 6d 65 6e 74 29 |'latex-d|ocument)|
|000061d0| 0a 20 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 6c |. (defi|ne-key l|
|000061e0| 61 74 65 78 2d 6d 6f 64 | 65 2d 6d 61 70 20 22 5c |atex-mod|e-map "\|
|000061f0| 43 2d 63 64 22 20 27 6c | 61 74 65 78 2d 64 65 73 |C-cd" 'l|atex-des|
|00006200| 63 72 69 70 74 69 6f 6e | 29 0a 20 20 28 64 65 66 |cription|). (def|
|00006210| 69 6e 65 2d 6b 65 79 20 | 6c 61 74 65 78 2d 6d 6f |ine-key |latex-mo|
|00006220| 64 65 2d 6d 61 70 20 22 | 5c 43 2d 63 5c 43 2d 65 |de-map "|\C-c\C-e|
|00006230| 22 20 27 6c 61 74 65 78 | 2d 65 71 75 61 74 69 6f |" 'latex|-equatio|
|00006240| 6e 29 0a 20 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |n). (de|fine-key|
|00006250| 20 6c 61 74 65 78 2d 6d | 6f 64 65 2d 6d 61 70 20 | latex-m|ode-map |
|00006260| 22 5c 43 2d 63 65 22 20 | 27 6c 61 74 65 78 2d 65 |"\C-ce" |'latex-e|
|00006270| 6e 75 6d 65 72 61 74 65 | 29 0a 20 20 28 64 65 66 |numerate|). (def|
|00006280| 69 6e 65 2d 6b 65 79 20 | 6c 61 74 65 78 2d 6d 6f |ine-key |latex-mo|
|00006290| 64 65 2d 6d 61 70 20 22 | 5c 43 2d 63 45 22 20 27 |de-map "|\C-cE" '|
|000062a0| 6c 61 74 65 78 2d 65 78 | 61 6d 70 6c 65 29 0a 20 |latex-ex|ample). |
|000062b0| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 6c 61 74 | (define|-key lat|
|000062c0| 65 78 2d 6d 6f 64 65 2d | 6d 61 70 20 22 5c 43 2d |ex-mode-|map "\C-|
|000062d0| 63 5c 43 2d 66 22 20 27 | 6c 61 74 65 78 2d 66 6f |c\C-f" '|latex-fo|
|000062e0| 6f 74 6e 6f 74 65 29 0a | 20 20 28 64 65 66 69 6e |otnote).| (defin|
|000062f0| 65 2d 6b 65 79 20 6c 61 | 74 65 78 2d 6d 6f 64 65 |e-key la|tex-mode|
|00006300| 2d 6d 61 70 20 22 5c 43 | 2d 63 66 22 20 27 6c 61 |-map "\C|-cf" 'la|
|00006310| 74 65 78 2d 66 69 67 75 | 72 65 29 0a 20 20 28 64 |tex-figu|re). (d|
|00006320| 65 66 69 6e 65 2d 6b 65 | 79 20 6c 61 74 65 78 2d |efine-ke|y latex-|
|00006330| 6d 6f 64 65 2d 6d 61 70 | 20 22 5c 43 2d 63 5c 43 |mode-map| "\C-c\C|
|00006340| 2d 69 22 20 27 6c 61 74 | 65 78 2d 69 74 65 6d 29 |-i" 'lat|ex-item)|
|00006350| 20 20 20 20 3b 20 5e 43 | 2d 54 41 42 0a 20 20 28 | ; ^C|-TAB. (|
|00006360| 64 65 66 69 6e 65 2d 6b | 65 79 20 6c 61 74 65 78 |define-k|ey latex|
|00006370| 2d 6d 6f 64 65 2d 6d 61 | 70 20 22 5c 43 2d 63 69 |-mode-ma|p "\C-ci|
|00006380| 22 20 27 6c 61 74 65 78 | 2d 69 6e 73 65 72 74 2d |" 'latex|-insert-|
|00006390| 62 65 67 69 6e 29 0a 20 | 20 28 64 65 66 69 6e 65 |begin). | (define|
|000063a0| 2d 6b 65 79 20 6c 61 74 | 65 78 2d 6d 6f 64 65 2d |-key lat|ex-mode-|
|000063b0| 6d 61 70 20 22 5c 43 2d | 63 49 22 20 27 6c 61 74 |map "\C-|cI" 'lat|
|000063c0| 65 78 2d 69 74 65 6d 69 | 7a 65 29 0a 3b 3b 3b 20 |ex-itemi|ze).;;; |
|000063d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000063f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.