home *** CD-ROM | disk | FTP | other *** search
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was processed as: SHell self-extracting ARchive
(archive/shar).
You can browse this item here: part01
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news or mail, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 53 75 62 6a 65 63 74 3a | 20 20 76 31 31 69 30 39 |Subject:| v11i09|
|00000010| 31 3a 20 20 54 65 6d 70 | 6c 61 74 65 2d 6d 6f 64 |1: Temp|late-mod|
|00000020| 65 20 66 6f 72 20 47 4e | 55 20 45 6d 61 63 73 2c |e for GN|U Emacs,|
|00000030| 20 50 61 72 74 30 31 2f | 30 36 0a 4e 65 77 73 67 | Part01/|06.Newsg|
|00000040| 72 6f 75 70 73 3a 20 63 | 6f 6d 70 2e 73 6f 75 72 |roups: c|omp.sour|
|00000050| 63 65 73 2e 75 6e 69 78 | 0a 53 65 6e 64 65 72 3a |ces.unix|.Sender:|
|00000060| 20 73 6f 75 72 63 65 73 | 0a 41 70 70 72 6f 76 65 | sources|.Approve|
|00000070| 64 3a 20 72 73 40 75 75 | 6e 65 74 2e 55 55 2e 4e |d: rs@uu|net.UU.N|
|00000080| 45 54 0a 0a 53 75 62 6d | 69 74 74 65 64 2d 62 79 |ET..Subm|itted-by|
|00000090| 3a 20 22 4d 61 72 6b 20 | 41 2e 20 41 72 64 69 73 |: "Mark |A. Ardis|
|000000a0| 22 20 3c 6d 61 61 40 73 | 65 69 2e 63 6d 75 2e 65 |" <maa@s|ei.cmu.e|
|000000b0| 64 75 3e 0a 50 6f 73 74 | 69 6e 67 2d 6e 75 6d 62 |du>.Post|ing-numb|
|000000c0| 65 72 3a 20 56 6f 6c 75 | 6d 65 20 31 31 2c 20 49 |er: Volu|me 11, I|
|000000d0| 73 73 75 65 20 39 31 0a | 41 72 63 68 69 76 65 2d |ssue 91.|Archive-|
|000000e0| 6e 61 6d 65 3a 20 74 65 | 6d 70 6c 61 74 65 73 2f |name: te|mplates/|
|000000f0| 70 61 72 74 30 31 0a 0a | 54 68 69 73 20 69 73 20 |part01..|This is |
|00000100| 74 68 65 20 66 69 72 73 | 74 20 6f 66 20 73 69 78 |the firs|t of six|
|00000110| 20 70 69 65 63 65 73 20 | 6f 66 20 22 74 65 6d 70 | pieces |of "temp|
|00000120| 6c 61 74 65 2d 6d 6f 64 | 65 22 2c 20 61 20 6d 69 |late-mod|e", a mi|
|00000130| 6e 6f 72 20 6d 6f 64 65 | 20 66 6f 72 0a 47 4e 55 |nor mode| for.GNU|
|00000140| 20 45 6d 61 63 73 2e 20 | 20 54 65 6d 70 6c 61 74 | Emacs. | Templat|
|00000150| 65 2d 6d 6f 64 65 20 73 | 75 70 70 6f 72 74 73 20 |e-mode s|upports |
|00000160| 74 68 65 20 63 72 65 61 | 74 69 6f 6e 20 61 6e 64 |the crea|tion and|
|00000170| 20 6d 61 6e 69 70 75 6c | 61 74 69 6f 6e 20 6f 66 | manipul|ation of|
|00000180| 0a 74 65 6d 70 6c 61 74 | 65 73 20 6f 66 20 74 65 |.templat|es of te|
|00000190| 78 74 2e 20 20 54 65 6d | 70 6c 61 74 65 73 20 61 |xt. Tem|plates a|
|000001a0| 72 65 20 75 73 65 66 75 | 6c 20 66 6f 72 20 62 6f |re usefu|l for bo|
|000001b0| 69 6c 65 72 70 6c 61 74 | 65 2c 20 69 64 69 6f 6d |ilerplat|e, idiom|
|000001c0| 73 2c 20 6f 72 0a 61 6e | 79 74 68 69 6e 67 20 73 |s, or.an|ything s|
|000001d0| 74 72 75 63 74 75 72 61 | 6c 20 74 68 61 74 20 68 |tructura|l that h|
|000001e0| 61 73 20 63 6f 6e 63 72 | 65 74 65 20 73 79 6e 74 |as concr|ete synt|
|000001f0| 61 78 2e 20 20 49 6e 63 | 6c 75 64 65 64 20 69 6e |ax. Inc|luded in|
|00000200| 20 74 68 69 73 0a 70 61 | 63 6b 61 67 65 20 61 72 | this.pa|ckage ar|
|00000210| 65 20 74 65 6d 70 6c 61 | 74 65 73 20 66 6f 72 20 |e templa|tes for |
|00000220| 43 2c 20 4c 61 54 65 58 | 2c 20 50 61 73 63 61 6c |C, LaTeX|, Pascal|
|00000230| 2c 20 53 63 72 69 62 65 | 2c 20 61 6e 64 20 61 20 |, Scribe|, and a |
|00000240| 66 65 77 20 6f 74 68 65 | 72 0a 6d 69 73 63 65 6c |few othe|r.miscel|
|00000250| 6c 61 6e 65 6f 75 73 20 | 6c 61 6e 67 75 61 67 65 |laneous |language|
|00000260| 73 2e 0a 0a 4d 79 20 62 | 69 67 67 65 73 74 20 72 |s...My b|iggest r|
|00000270| 65 67 72 65 74 20 69 6e | 20 64 69 73 74 72 69 62 |egret in| distrib|
|00000280| 75 74 69 6e 67 20 74 65 | 6d 70 6c 61 74 65 2d 6d |uting te|mplate-m|
|00000290| 6f 64 65 20 69 73 20 74 | 68 61 74 20 69 74 20 68 |ode is t|hat it h|
|000002a0| 61 73 20 6e 6f 74 0a 62 | 65 65 6e 20 61 64 65 71 |as not.b|een adeq|
|000002b0| 75 61 74 65 6c 79 20 74 | 65 73 74 65 64 2e 20 20 |uately t|ested. |
|000002c0| 49 74 20 77 6f 72 6b 73 | 20 66 69 6e 65 20 66 6f |It works| fine fo|
|000002d0| 72 20 6d 65 2c 20 62 75 | 74 20 49 20 68 61 76 65 |r me, bu|t I have|
|000002e0| 20 6e 6f 74 20 62 65 65 | 6e 0a 61 62 6c 65 20 74 | not bee|n.able t|
|000002f0| 6f 20 67 65 6e 65 72 61 | 74 65 20 6c 61 72 67 65 |o genera|te large|
|00000300| 20 74 65 73 74 20 73 63 | 72 69 70 74 73 20 66 6f | test sc|ripts fo|
|00000310| 72 20 69 74 2c 20 79 65 | 74 2e 20 20 49 20 65 78 |r it, ye|t. I ex|
|00000320| 70 65 63 74 20 74 6f 20 | 63 6f 6e 74 69 6e 75 65 |pect to |continue|
|00000330| 0a 74 6f 20 77 6f 72 6b | 20 6f 6e 20 74 68 69 73 |.to work| on this|
|00000340| 20 70 61 63 6b 61 67 65 | 20 61 74 20 6d 79 20 6e | package| at my n|
|00000350| 65 77 20 6c 6f 63 61 74 | 69 6f 6e 2e 20 20 50 6c |ew locat|ion. Pl|
|00000360| 65 61 73 65 20 73 65 6e | 64 20 63 6f 6d 6d 65 6e |ease sen|d commen|
|00000370| 74 73 2c 0a 73 75 67 67 | 65 73 74 69 6f 6e 73 2c |ts,.sugg|estions,|
|00000380| 20 62 75 67 73 2c 20 65 | 74 63 2e 20 74 6f 3a 0a | bugs, e|tc. to:.|
|00000390| 0a 6d 61 61 40 73 65 69 | 2e 63 6d 75 2e 65 64 75 |.maa@sei|.cmu.edu|
|000003a0| 0a 6f 72 0a 4d 61 72 6b | 20 41 2e 20 41 72 64 69 |.or.Mark| A. Ardi|
|000003b0| 73 0a 53 6f 66 74 77 61 | 72 65 20 45 6e 67 69 6e |s.Softwa|re Engin|
|000003c0| 65 65 72 69 6e 67 20 49 | 6e 73 74 69 74 75 74 65 |eering I|nstitute|
|000003d0| 0a 34 35 30 30 20 46 69 | 66 74 68 20 41 76 65 6e |.4500 Fi|fth Aven|
|000003e0| 75 65 0a 50 69 74 74 73 | 62 75 72 67 68 2c 20 50 |ue.Pitts|burgh, P|
|000003f0| 41 20 31 35 32 31 33 0a | 23 21 20 2f 62 69 6e 2f |A 15213.|#! /bin/|
|00000400| 73 68 0a 23 20 54 68 69 | 73 20 69 73 20 61 20 73 |sh.# Thi|s is a s|
|00000410| 68 65 6c 6c 20 61 72 63 | 68 69 76 65 2c 20 6d 65 |hell arc|hive, me|
|00000420| 61 6e 69 6e 67 3a 0a 23 | 20 31 2e 20 52 65 6d 6f |aning:.#| 1. Remo|
|00000430| 76 65 20 65 76 65 72 79 | 74 68 69 6e 67 20 61 62 |ve every|thing ab|
|00000440| 6f 76 65 20 74 68 65 20 | 23 21 20 2f 62 69 6e 2f |ove the |#! /bin/|
|00000450| 73 68 20 6c 69 6e 65 2e | 0a 23 20 32 2e 20 53 61 |sh line.|.# 2. Sa|
|00000460| 76 65 20 74 68 65 20 72 | 65 73 75 6c 74 69 6e 67 |ve the r|esulting|
|00000470| 20 74 65 78 74 20 69 6e | 20 61 20 66 69 6c 65 2e | text in| a file.|
|00000480| 0a 23 20 33 2e 20 45 78 | 65 63 75 74 65 20 74 68 |.# 3. Ex|ecute th|
|00000490| 65 20 66 69 6c 65 20 77 | 69 74 68 20 2f 62 69 6e |e file w|ith /bin|
|000004a0| 2f 73 68 20 28 6e 6f 74 | 20 63 73 68 29 20 74 6f |/sh (not| csh) to|
|000004b0| 20 63 72 65 61 74 65 3a | 0a 23 09 4d 41 4e 49 46 | create:|.#.MANIF|
|000004c0| 45 53 54 0a 23 09 52 45 | 41 44 4d 45 0a 23 09 49 |EST.#.RE|ADME.#.I|
|000004d0| 4e 53 54 41 4c 4c 0a 23 | 09 64 69 72 0a 23 09 6d |NSTALL.#|.dir.#.m|
|000004e0| 61 6e 75 61 6c 2e 74 65 | 78 69 6e 66 6f 0a 23 09 |anual.te|xinfo.#.|
|000004f0| 74 65 6d 70 6c 61 74 65 | 2e 74 65 78 69 6e 66 6f |template|.texinfo|
|00000500| 0a 65 78 70 6f 72 74 20 | 50 41 54 48 3b 20 50 41 |.export |PATH; PA|
|00000510| 54 48 3d 2f 62 69 6e 3a | 2f 75 73 72 2f 62 69 6e |TH=/bin:|/usr/bin|
|00000520| 3a 24 50 41 54 48 0a 65 | 63 68 6f 20 73 68 61 72 |:$PATH.e|cho shar|
|00000530| 3a 20 22 65 78 74 72 61 | 63 74 69 6e 67 20 27 4d |: "extra|cting 'M|
|00000540| 41 4e 49 46 45 53 54 27 | 22 20 27 28 31 35 39 39 |ANIFEST'|" '(1599|
|00000550| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|00000560| 20 74 65 73 74 20 2d 66 | 20 27 4d 41 4e 49 46 45 | test -f| 'MANIFE|
|00000570| 53 54 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |ST'.then|..echo s|
|00000580| 68 61 72 3a 20 22 77 69 | 6c 6c 20 6e 6f 74 20 6f |har: "wi|ll not o|
|00000590| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|000005a0| 6e 67 20 66 69 6c 65 20 | 27 4d 41 4e 49 46 45 53 |ng file |'MANIFES|
|000005b0| 54 27 22 0a 65 6c 73 65 | 0a 73 65 64 20 27 73 2f |T'".else|.sed 's/|
|000005c0| 5e 58 2f 2f 27 20 3c 3c | 20 5c 53 48 41 52 5f 45 |^X//' <<| \SHAR_E|
|000005d0| 4f 46 20 3e 20 27 4d 41 | 4e 49 46 45 53 54 27 0a |OF > 'MA|NIFEST'.|
|000005e0| 58 46 69 6c 65 20 20 20 | 20 20 20 20 20 20 20 20 |XFile | |
|000005f0| 20 41 72 63 68 69 76 65 | 20 20 20 20 20 20 20 20 | Archive| |
|00000600| 20 44 65 73 63 72 69 70 | 74 69 6f 6e 0a 58 2d 2d | Descrip|tion.X--|
|00000610| 2d 2d 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 2d |-- | --|
|00000620| 2d 2d 2d 2d 2d 20 20 20 | 20 20 20 20 20 20 2d 2d |----- | --|
|00000630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 58 0a 58 49 4e 53 |--------|-.X.XINS|
|00000640| 54 41 4c 4c 20 20 20 20 | 20 20 20 20 20 20 20 20 |TALL | |
|00000650| 31 20 20 20 20 20 20 20 | 20 20 20 20 20 48 6f 77 |1 | How|
|00000660| 20 74 6f 20 67 65 74 20 | 73 74 61 72 74 65 64 0a | to get |started.|
|00000670| 58 4d 41 4e 49 46 45 53 | 54 20 20 20 20 20 20 20 |XMANIFES|T |
|00000680| 20 20 20 20 31 20 20 20 | 20 20 20 20 20 20 20 20 | 1 | |
|00000690| 20 54 68 69 73 20 73 68 | 69 70 70 69 6e 67 20 6c | This sh|ipping l|
|000006a0| 69 73 74 0a 58 52 45 41 | 44 4d 45 20 20 20 20 20 |ist.XREA|DME |
|000006b0| 20 20 20 20 20 20 20 20 | 31 20 20 20 20 20 20 20 | |1 |
|000006c0| 20 20 20 20 20 44 65 73 | 63 72 69 70 74 69 6f 6e | Des|cription|
|000006d0| 20 6f 66 20 66 69 6c 65 | 73 0a 58 61 77 6b 2e 65 | of file|s.Xawk.e|
|000006e0| 6c 20 20 20 20 20 20 20 | 20 20 20 20 20 20 35 20 |l | 5 |
|000006f0| 20 20 20 20 20 20 20 20 | 20 20 20 4d 61 6a 6f 72 | | Major|
|00000700| 20 6d 6f 64 65 20 66 6f | 72 20 61 77 6b 0a 58 61 | mode fo|r awk.Xa|
|00000710| 77 6b 2e 74 70 6c 20 20 | 20 20 20 20 20 20 20 20 |wk.tpl | |
|00000720| 20 20 36 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | 6 | T|
|00000730| 65 6d 70 6c 61 74 65 73 | 20 66 6f 72 20 61 77 6b |emplates| for awk|
|00000740| 0a 58 62 69 62 2e 65 6c | 20 20 20 20 20 20 20 20 |.Xbib.el| |
|00000750| 20 20 20 20 20 35 20 20 | 20 20 20 20 20 20 20 20 | 5 | |
|00000760| 20 20 4d 61 6a 6f 72 20 | 6d 6f 64 65 20 66 6f 72 | Major |mode for|
|00000770| 20 62 69 62 6c 69 6f 67 | 72 61 70 68 69 65 73 0a | bibliog|raphies.|
|00000780| 58 62 69 62 2e 74 70 6c | 20 20 20 20 20 20 20 20 |Xbib.tpl| |
|00000790| 20 20 20 20 36 20 20 20 | 20 20 20 20 20 20 20 20 | 6 | |
|000007a0| 20 54 65 6d 70 6c 61 74 | 65 73 20 66 6f 72 20 62 | Templat|es for b|
|000007b0| 69 62 6c 69 6f 67 72 61 | 70 68 69 65 73 0a 58 63 |ibliogra|phies.Xc|
|000007c0| 2e 74 70 6c 20 20 20 20 | 20 20 20 20 20 20 20 20 |.tpl | |
|000007d0| 20 20 36 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | 6 | T|
|000007e0| 65 6d 70 6c 61 74 65 73 | 20 66 6f 72 20 43 0a 58 |emplates| for C.X|
|000007f0| 64 69 72 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |dir | |
|00000800| 20 20 20 31 20 20 20 20 | 20 20 20 20 20 20 20 20 | 1 | |
|00000810| 4e 65 77 20 65 6e 74 72 | 79 20 66 6f 72 20 49 6e |New entr|y for In|
|00000820| 66 6f 20 6d 65 6e 75 0a | 58 65 6c 69 73 70 2e 74 |fo menu.|Xelisp.t|
|00000830| 70 6c 20 20 20 20 20 20 | 20 20 20 20 36 20 20 20 |pl | 6 |
|00000840| 20 20 20 20 20 20 20 20 | 20 54 65 6d 70 6c 61 74 | | Templat|
|00000850| 65 73 20 66 6f 72 20 45 | 6d 61 63 73 20 4c 69 73 |es for E|macs Lis|
|00000860| 70 0a 58 67 65 6e 65 72 | 69 63 2e 74 70 6c 20 20 |p.Xgener|ic.tpl |
|00000870| 20 20 20 20 20 20 36 20 | 20 20 20 20 20 20 20 20 | 6 | |
|00000880| 20 20 20 47 65 6e 65 72 | 69 63 20 74 65 6d 70 6c | Gener|ic templ|
|00000890| 61 74 65 73 20 28 61 6c | 77 61 79 73 20 61 76 61 |ates (al|ways ava|
|000008a0| 69 6c 61 62 6c 65 29 0a | 58 6c 61 74 65 78 2e 74 |ilable).|Xlatex.t|
|000008b0| 70 6c 20 20 20 20 20 20 | 20 20 20 20 36 20 20 20 |pl | 6 |
|000008c0| 20 20 20 20 20 20 20 20 | 20 54 65 6d 70 6c 61 74 | | Templat|
|000008d0| 65 73 20 66 6f 72 20 4c | 61 54 65 58 0a 58 6d 61 |es for L|aTeX.Xma|
|000008e0| 6e 75 61 6c 2e 74 65 78 | 69 6e 66 6f 20 20 20 20 |nual.tex|info |
|000008f0| 20 31 20 20 20 20 20 20 | 20 20 20 20 20 20 54 65 | 1 | Te|
|00000900| 58 20 77 72 61 70 70 65 | 72 20 66 6f 72 20 75 73 |X wrappe|r for us|
|00000910| 65 72 20 6d 61 6e 75 61 | 6c 0a 58 6d 65 6e 75 2e |er manua|l.Xmenu.|
|00000920| 65 6c 20 20 20 20 20 20 | 20 20 20 20 20 20 35 20 |el | 5 |
|00000930| 20 20 20 20 20 20 20 20 | 20 20 20 54 65 6d 70 6c | | Templ|
|00000940| 61 74 65 2d 6d 6f 64 65 | 20 2d 2d 20 73 65 6c 65 |ate-mode| -- sele|
|00000950| 63 74 69 6f 6e 20 6f 66 | 20 65 6e 74 72 69 65 73 |ction of| entries|
|00000960| 0a 58 70 61 73 63 61 6c | 2e 65 6c 20 20 20 20 20 |.Xpascal|.el |
|00000970| 20 20 20 20 20 35 20 20 | 20 20 20 20 20 20 20 20 | 5 | |
|00000980| 20 20 4d 61 6a 6f 72 20 | 6d 6f 64 65 20 66 6f 72 | Major |mode for|
|00000990| 20 50 61 73 63 61 6c 0a | 58 70 61 73 63 61 6c 2e | Pascal.|Xpascal.|
|000009a0| 74 70 6c 20 20 20 20 20 | 20 20 20 20 36 20 20 20 |tpl | 6 |
|000009b0| 20 20 20 20 20 20 20 20 | 20 54 65 6d 70 6c 61 74 | | Templat|
|000009c0| 65 73 20 66 6f 72 20 50 | 61 73 63 61 6c 0a 58 73 |es for P|ascal.Xs|
|000009d0| 63 72 69 62 65 2e 74 70 | 6c 20 20 20 20 20 20 20 |cribe.tp|l |
|000009e0| 20 20 36 20 20 20 20 20 | 20 20 20 20 20 20 20 54 | 6 | T|
|000009f0| 65 6d 70 6c 61 74 65 73 | 20 66 6f 72 20 53 63 72 |emplates| for Scr|
|00000a00| 69 62 65 0a 58 73 79 6d | 62 6f 6c 2e 65 6c 20 20 |ibe.Xsym|bol.el |
|00000a10| 20 20 20 20 20 20 20 20 | 35 20 20 20 20 20 20 20 | |5 |
|00000a20| 20 20 20 20 20 54 65 6d | 70 6c 61 74 65 2d 6d 6f | Tem|plate-mo|
|00000a30| 64 65 20 2d 2d 20 69 6e | 73 65 72 74 69 6f 6e 2d |de -- in|sertion-|
|00000a40| 69 6e 2d 70 6c 61 63 65 | 0a 58 74 65 6d 70 6c 61 |in-place|.Xtempla|
|00000a50| 74 65 2e 65 6c 20 20 20 | 20 20 20 20 20 32 20 20 |te.el | 2 |
|00000a60| 20 20 20 20 20 20 20 20 | 20 20 52 6f 6f 74 20 6f | | Root o|
|00000a70| 66 20 74 65 6d 70 6c 61 | 74 65 2d 6d 6f 64 65 0a |f templa|te-mode.|
|00000a80| 58 74 65 6d 70 6c 61 74 | 65 2e 74 65 78 69 6e 66 |Xtemplat|e.texinf|
|00000a90| 6f 20 20 20 31 20 20 20 | 20 20 20 20 20 20 20 20 |o 1 | |
|00000aa0| 20 55 73 65 72 20 6d 61 | 6e 75 61 6c 0a 58 74 65 | User ma|nual.Xte|
|00000ab0| 78 69 6e 66 6f 2e 74 70 | 6c 20 20 20 20 20 20 20 |xinfo.tp|l |
|00000ac0| 20 36 20 20 20 20 20 20 | 20 20 20 20 20 20 54 65 | 6 | Te|
|00000ad0| 6d 70 6c 61 74 65 73 20 | 66 6f 72 20 54 65 78 69 |mplates |for Texi|
|00000ae0| 6e 66 6f 0a 58 74 70 6c | 68 65 6c 70 65 72 2e 65 |nfo.Xtpl|helper.e|
|00000af0| 6c 20 20 20 20 20 20 20 | 33 20 20 20 20 20 20 20 |l |3 |
|00000b00| 20 20 20 20 20 54 65 6d | 70 6c 61 74 65 2d 6d 6f | Tem|plate-mo|
|00000b10| 64 65 20 2d 2d 20 6e 6f | 6e 2d 69 6e 74 65 72 61 |de -- no|n-intera|
|00000b20| 63 74 69 76 65 20 66 75 | 6e 63 74 69 6f 6e 73 0a |ctive fu|nctions.|
|00000b30| 58 74 70 6c 70 61 72 73 | 65 2e 65 6c 20 20 20 20 |Xtplpars|e.el |
|00000b40| 20 20 20 20 34 20 20 20 | 20 20 20 20 20 20 20 20 | 4 | |
|00000b50| 20 54 65 6d 70 6c 61 74 | 65 2d 6d 6f 64 65 20 2d | Templat|e-mode -|
|00000b60| 2d 20 70 61 72 73 65 72 | 0a 58 74 70 6c 72 65 70 |- parser|.Xtplrep|
|00000b70| 6c 61 63 65 2e 65 6c 20 | 20 20 20 20 20 35 20 20 |lace.el | 5 |
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 54 65 6d 70 6c 61 | | Templa|
|00000b90| 74 65 2d 6d 6f 64 65 20 | 2d 2d 20 72 65 70 6c 61 |te-mode |-- repla|
|00000ba0| 63 65 6d 65 6e 74 20 66 | 75 6e 63 74 69 6f 6e 73 |cement f|unctions|
|00000bb0| 0a 58 74 70 6c 73 63 61 | 6e 2e 65 6c 20 20 20 20 |.Xtplsca|n.el |
|00000bc0| 20 20 20 20 20 34 20 20 | 20 20 20 20 20 20 20 20 | 4 | |
|00000bd0| 20 20 54 65 6d 70 6c 61 | 74 65 2d 6d 6f 64 65 20 | Templa|te-mode |
|00000be0| 2d 2d 20 73 63 61 6e 6e | 65 72 20 61 6e 64 20 75 |-- scann|er and u|
|00000bf0| 6e 73 63 61 6e 6e 65 72 | 0a 58 74 70 6c 76 61 72 |nscanner|.Xtplvar|
|00000c00| 73 2e 65 6c 20 20 20 20 | 20 20 20 20 20 32 20 20 |s.el | 2 |
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 54 65 6d 70 6c 61 | | Templa|
|00000c20| 74 65 2d 6d 6f 64 65 20 | 2d 2d 20 67 6c 6f 62 61 |te-mode |-- globa|
|00000c30| 6c 20 76 61 72 69 61 62 | 6c 65 73 0a 53 48 41 52 |l variab|les.SHAR|
|00000c40| 5f 45 4f 46 0a 69 66 20 | 74 65 73 74 20 31 35 39 |_EOF.if |test 159|
|00000c50| 39 20 2d 6e 65 20 22 60 | 77 63 20 2d 63 20 3c 20 |9 -ne "`|wc -c < |
|00000c60| 27 4d 41 4e 49 46 45 53 | 54 27 60 22 0a 74 68 65 |'MANIFES|T'`".the|
|00000c70| 6e 0a 09 65 63 68 6f 20 | 73 68 61 72 3a 20 22 65 |n..echo |shar: "e|
|00000c80| 72 72 6f 72 20 74 72 61 | 6e 73 6d 69 74 74 69 6e |rror tra|nsmittin|
|00000c90| 67 20 27 4d 41 4e 49 46 | 45 53 54 27 22 20 27 28 |g 'MANIF|EST'" '(|
|00000ca0| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00000cb0| 20 31 35 39 39 20 63 68 | 61 72 61 63 74 65 72 73 | 1599 ch|aracters|
|00000cc0| 29 27 0a 66 69 0a 66 69 | 0a 65 63 68 6f 20 73 68 |)'.fi.fi|.echo sh|
|00000cd0| 61 72 3a 20 22 65 78 74 | 72 61 63 74 69 6e 67 20 |ar: "ext|racting |
|00000ce0| 27 52 45 41 44 4d 45 27 | 22 20 27 28 31 34 31 37 |'README'|" '(1417|
|00000cf0| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 69 66 | charact|ers)'.if|
|00000d00| 20 74 65 73 74 20 2d 66 | 20 27 52 45 41 44 4d 45 | test -f| 'README|
|00000d10| 27 0a 74 68 65 6e 0a 09 | 65 63 68 6f 20 73 68 61 |'.then..|echo sha|
|00000d20| 72 3a 20 22 77 69 6c 6c | 20 6e 6f 74 20 6f 76 65 |r: "will| not ove|
|00000d30| 72 2d 77 72 69 74 65 20 | 65 78 69 73 74 69 6e 67 |r-write |existing|
|00000d40| 20 66 69 6c 65 20 27 52 | 45 41 44 4d 45 27 22 0a | file 'R|EADME'".|
|00000d50| 65 6c 73 65 0a 73 65 64 | 20 27 73 2f 5e 58 2f 2f |else.sed| 's/^X//|
|00000d60| 27 20 3c 3c 20 5c 53 48 | 41 52 5f 45 4f 46 20 3e |' << \SH|AR_EOF >|
|00000d70| 20 27 52 45 41 44 4d 45 | 27 0a 58 54 68 69 73 20 | 'README|'.XThis |
|00000d80| 64 69 72 65 63 74 6f 72 | 79 20 63 6f 6e 74 61 69 |director|y contai|
|00000d90| 6e 73 20 74 68 65 20 63 | 6f 64 65 2c 20 64 61 74 |ns the c|ode, dat|
|00000da0| 61 20 66 69 6c 65 73 20 | 61 6e 64 20 64 6f 63 75 |a files |and docu|
|00000db0| 6d 65 6e 74 61 74 69 6f | 6e 20 66 6f 72 0a 58 74 |mentatio|n for.Xt|
|00000dc0| 65 6d 70 6c 61 74 65 2d | 6d 6f 64 65 2c 20 61 20 |emplate-|mode, a |
|00000dd0| 6d 69 6e 6f 72 20 6d 6f | 64 65 20 6f 66 20 47 4e |minor mo|de of GN|
|00000de0| 55 20 45 6d 61 63 73 2e | 20 20 54 68 65 20 66 69 |U Emacs.| The fi|
|00000df0| 6c 65 73 20 65 6e 64 69 | 6e 67 20 77 69 74 68 20 |les endi|ng with |
|00000e00| 22 2e 65 6c 22 0a 58 61 | 72 65 20 47 4e 55 20 45 |".el".Xa|re GNU E|
|00000e10| 6d 61 63 73 20 4c 69 73 | 70 20 66 69 6c 65 73 2e |macs Lis|p files.|
|00000e20| 20 20 46 69 6c 65 73 20 | 65 6e 64 69 6e 67 20 77 | Files |ending w|
|00000e30| 69 74 68 20 22 2e 74 65 | 78 69 6e 66 6f 22 20 61 |ith ".te|xinfo" a|
|00000e40| 72 65 20 54 65 58 20 73 | 6f 75 72 63 65 0a 58 66 |re TeX s|ource.Xf|
|00000e50| 69 6c 65 73 20 61 6e 64 | 20 47 6e 75 65 6d 61 63 |iles and| Gnuemac|
|00000e60| 73 20 69 6e 66 6f 20 73 | 6f 75 72 63 65 20 66 69 |s info s|ource fi|
|00000e70| 6c 65 73 2e 20 20 46 69 | 6c 65 73 20 65 6e 64 69 |les. Fi|les endi|
|00000e80| 6e 67 20 77 69 74 68 20 | 22 2e 74 70 6c 22 20 61 |ng with |".tpl" a|
|00000e90| 72 65 0a 58 73 6f 75 72 | 63 65 2d 66 6f 72 6d 20 |re.Xsour|ce-form |
|00000ea0| 74 65 6d 70 6c 61 74 65 | 20 66 69 6c 65 73 2e 0a |template| files..|
|00000eb0| 58 0a 58 61 77 6b 2e 65 | 6c 09 09 09 4d 61 6a 6f |X.Xawk.e|l...Majo|
|00000ec0| 72 20 6d 6f 64 65 20 66 | 6f 72 20 65 64 69 74 69 |r mode f|or editi|
|00000ed0| 6e 67 20 22 61 77 6b 22 | 20 70 72 6f 67 72 61 6d |ng "awk"| program|
|00000ee0| 73 0a 58 62 69 62 2e 65 | 6c 09 09 09 4d 61 6a 6f |s.Xbib.e|l...Majo|
|00000ef0| 72 20 6d 6f 64 65 20 66 | 6f 72 20 65 64 69 74 69 |r mode f|or editi|
|00000f00| 6e 67 20 62 69 62 6c 69 | 6f 67 72 61 70 68 79 20 |ng bibli|ography |
|00000f10| 66 69 6c 65 73 0a 58 6d | 65 6e 75 2e 65 6c 09 09 |files.Xm|enu.el..|
|00000f20| 09 54 65 6d 70 6c 61 74 | 65 2d 6d 6f 64 65 20 2d |.Templat|e-mode -|
|00000f30| 2d 20 6d 61 6a 6f 72 20 | 6d 6f 64 65 20 66 6f 72 |- major |mode for|
|00000f40| 20 73 65 6c 65 63 74 69 | 6f 6e 73 0a 58 70 61 73 | selecti|ons.Xpas|
|00000f50| 63 61 6c 2e 65 6c 09 09 | 4d 61 6a 6f 72 20 6d 6f |cal.el..|Major mo|
|00000f60| 64 65 20 66 6f 72 20 65 | 64 69 74 69 6e 67 20 50 |de for e|diting P|
|00000f70| 61 73 63 61 6c 20 70 72 | 6f 67 72 61 6d 73 0a 58 |ascal pr|ograms.X|
|00000f80| 73 79 6d 62 6f 6c 2e 65 | 6c 09 09 54 65 6d 70 6c |symbol.e|l..Templ|
|00000f90| 61 74 65 2d 6d 6f 64 65 | 20 2d 2d 20 6d 61 6a 6f |ate-mode| -- majo|
|00000fa0| 72 20 6d 6f 64 65 20 66 | 6f 72 20 65 6e 74 72 79 |r mode f|or entry|
|00000fb0| 2d 69 6e 2d 70 6c 61 63 | 65 0a 58 74 65 6d 70 6c |-in-plac|e.Xtempl|
|00000fc0| 61 74 65 2e 65 6c 09 09 | 52 6f 6f 74 20 6f 66 20 |ate.el..|Root of |
|00000fd0| 74 65 6d 70 6c 61 74 65 | 2d 6d 6f 64 65 0a 58 74 |template|-mode.Xt|
|00000fe0| 70 6c 68 65 6c 70 65 72 | 2e 65 6c 09 09 54 65 6d |plhelper|.el..Tem|
|00000ff0| 70 6c 61 74 65 2d 6d 6f | 64 65 20 2d 2d 20 6e 6f |plate-mo|de -- no|
|00001000| 6e 2d 69 6e 74 65 72 61 | 63 74 69 76 65 20 66 75 |n-intera|ctive fu|
|00001010| 6e 63 74 69 6f 6e 73 0a | 58 74 70 6c 70 61 72 73 |nctions.|Xtplpars|
|00001020| 65 2e 65 6c 09 09 54 65 | 6d 70 6c 61 74 65 2d 6d |e.el..Te|mplate-m|
|00001030| 6f 64 65 20 2d 2d 20 50 | 61 72 73 69 6e 67 20 61 |ode -- P|arsing a|
|00001040| 6e 64 20 75 6e 70 61 72 | 73 69 6e 67 20 66 75 6e |nd unpar|sing fun|
|00001050| 63 74 69 6f 6e 73 0a 58 | 74 70 6c 72 65 70 6c 61 |ctions.X|tplrepla|
|00001060| 63 65 2e 65 6c 09 09 54 | 65 6d 70 6c 61 74 65 2d |ce.el..T|emplate-|
|00001070| 6d 6f 64 65 20 2d 2d 20 | 72 65 70 6c 61 63 65 6d |mode -- |replacem|
|00001080| 65 6e 74 20 66 75 6e 63 | 74 69 6f 6e 73 0a 58 74 |ent func|tions.Xt|
|00001090| 70 6c 73 63 61 6e 2e 65 | 6c 09 09 54 65 6d 70 6c |plscan.e|l..Templ|
|000010a0| 61 74 65 2d 6d 6f 64 65 | 20 2d 2d 20 73 63 61 6e |ate-mode| -- scan|
|000010b0| 6e 65 72 20 61 6e 64 20 | 75 6e 73 63 61 6e 6e 65 |ner and |unscanne|
|000010c0| 72 20 66 75 6e 63 74 69 | 6f 6e 73 0a 58 74 70 6c |r functi|ons.Xtpl|
|000010d0| 76 61 72 73 2e 65 6c 09 | 09 54 65 6d 70 6c 61 74 |vars.el.|.Templat|
|000010e0| 65 2d 6d 6f 64 65 20 2d | 2d 20 67 6c 6f 62 61 6c |e-mode -|- global|
|000010f0| 20 76 61 72 69 61 62 6c | 65 73 20 61 6e 64 20 6f | variabl|es and o|
|00001100| 70 74 69 6f 6e 73 0a 58 | 64 69 72 09 09 09 4e 65 |ptions.X|dir...Ne|
|00001110| 77 20 70 61 72 74 20 6f | 66 20 72 6f 6f 74 20 64 |w part o|f root d|
|00001120| 69 72 65 63 74 6f 72 79 | 20 66 6f 72 20 49 6e 66 |irectory| for Inf|
|00001130| 6f 0a 58 6d 61 6e 75 61 | 6c 2e 74 65 78 69 6e 66 |o.Xmanua|l.texinf|
|00001140| 6f 09 09 55 73 65 72 20 | 6d 61 6e 75 61 6c 20 73 |o..User |manual s|
|00001150| 6f 75 72 63 65 20 2d 2d | 20 70 72 69 6e 74 65 64 |ource --| printed|
|00001160| 20 66 6f 72 6d 20 77 72 | 61 70 70 65 72 0a 58 74 | form wr|apper.Xt|
|00001170| 65 6d 70 6c 61 74 65 2e | 74 65 78 69 6e 66 6f 09 |emplate.|texinfo.|
|00001180| 55 73 65 72 20 6d 61 6e | 75 61 6c 20 73 6f 75 72 |User man|ual sour|
|00001190| 63 65 20 2d 2d 20 62 75 | 6c 6b 20 6f 66 20 64 6f |ce -- bu|lk of do|
|000011a0| 63 75 6d 65 6e 74 0a 58 | 61 77 6b 2e 74 70 6c 09 |cument.X|awk.tpl.|
|000011b0| 09 09 54 65 6d 70 6c 61 | 74 65 73 20 66 6f 72 20 |..Templa|tes for |
|000011c0| 61 77 6b 20 70 72 6f 67 | 72 61 6d 73 0a 58 62 69 |awk prog|rams.Xbi|
|000011d0| 62 2e 74 70 6c 09 09 09 | 54 65 6d 70 6c 61 74 65 |b.tpl...|Template|
|000011e0| 73 20 66 6f 72 20 62 69 | 62 6c 69 6f 67 72 61 70 |s for bi|bliograp|
|000011f0| 68 79 20 66 69 6c 65 73 | 0a 58 63 2e 74 70 6c 09 |hy files|.Xc.tpl.|
|00001200| 09 09 54 65 6d 70 6c 61 | 74 65 73 20 66 6f 72 20 |..Templa|tes for |
|00001210| 43 2d 6d 6f 64 65 0a 58 | 65 6c 69 73 70 2e 74 70 |C-mode.X|elisp.tp|
|00001220| 6c 09 09 54 65 6d 70 6c | 61 74 65 73 20 66 6f 72 |l..Templ|ates for|
|00001230| 20 45 6d 61 63 73 2d 6c | 69 73 70 2d 6d 6f 64 65 | Emacs-l|isp-mode|
|00001240| 0a 58 67 65 6e 65 72 69 | 63 2e 74 70 6c 09 09 54 |.Xgeneri|c.tpl..T|
|00001250| 65 6d 70 6c 61 74 65 73 | 20 66 6f 72 20 75 73 65 |emplates| for use|
|00001260| 20 69 6e 20 61 6e 79 20 | 6d 6f 64 65 2d 2d 2d 6d | in any |mode---m|
|00001270| 6f 73 74 6c 79 20 46 75 | 6e 63 74 69 6f 6e 20 74 |ostly Fu|nction t|
|00001280| 79 70 65 0a 58 6c 61 74 | 65 78 2e 74 70 6c 09 09 |ype.Xlat|ex.tpl..|
|00001290| 54 65 6d 70 6c 61 74 65 | 73 20 66 6f 72 20 4c 61 |Template|s for La|
|000012a0| 54 65 58 2d 6d 6f 64 65 | 0a 58 70 61 73 63 61 6c |TeX-mode|.Xpascal|
|000012b0| 2e 74 70 6c 09 09 54 65 | 6d 70 6c 61 74 65 73 20 |.tpl..Te|mplates |
|000012c0| 66 6f 72 20 50 61 73 63 | 61 6c 2d 6d 6f 64 65 0a |for Pasc|al-mode.|
|000012d0| 58 73 63 72 69 62 65 2e | 74 70 6c 09 09 54 65 6d |Xscribe.|tpl..Tem|
|000012e0| 70 6c 61 74 65 73 20 66 | 6f 72 20 53 63 72 69 62 |plates f|or Scrib|
|000012f0| 65 2d 6d 6f 64 65 0a 58 | 74 65 78 69 6e 66 6f 2e |e-mode.X|texinfo.|
|00001300| 74 70 6c 09 09 54 65 6d | 70 6c 61 74 65 73 20 66 |tpl..Tem|plates f|
|00001310| 6f 72 20 54 65 78 69 6e | 66 6f 2d 6d 6f 64 65 0a |or Texin|fo-mode.|
|00001320| 53 48 41 52 5f 45 4f 46 | 0a 69 66 20 74 65 73 74 |SHAR_EOF|.if test|
|00001330| 20 31 34 31 37 20 2d 6e | 65 20 22 60 77 63 20 2d | 1417 -n|e "`wc -|
|00001340| 63 20 3c 20 27 52 45 41 | 44 4d 45 27 60 22 0a 74 |c < 'REA|DME'`".t|
|00001350| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00001360| 22 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 |"error t|ransmitt|
|00001370| 69 6e 67 20 27 52 45 41 | 44 4d 45 27 22 20 27 28 |ing 'REA|DME'" '(|
|00001380| 73 68 6f 75 6c 64 20 68 | 61 76 65 20 62 65 65 6e |should h|ave been|
|00001390| 20 31 34 31 37 20 63 68 | 61 72 61 63 74 65 72 73 | 1417 ch|aracters|
|000013a0| 29 27 0a 66 69 0a 66 69 | 0a 65 63 68 6f 20 73 68 |)'.fi.fi|.echo sh|
|000013b0| 61 72 3a 20 22 65 78 74 | 72 61 63 74 69 6e 67 20 |ar: "ext|racting |
|000013c0| 27 49 4e 53 54 41 4c 4c | 27 22 20 27 28 31 39 35 |'INSTALL|'" '(195|
|000013d0| 38 20 63 68 61 72 61 63 | 74 65 72 73 29 27 0a 69 |8 charac|ters)'.i|
|000013e0| 66 20 74 65 73 74 20 2d | 66 20 27 49 4e 53 54 41 |f test -|f 'INSTA|
|000013f0| 4c 4c 27 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |LL'.then|..echo s|
|00001400| 68 61 72 3a 20 22 77 69 | 6c 6c 20 6e 6f 74 20 6f |har: "wi|ll not o|
|00001410| 76 65 72 2d 77 72 69 74 | 65 20 65 78 69 73 74 69 |ver-writ|e existi|
|00001420| 6e 67 20 66 69 6c 65 20 | 27 49 4e 53 54 41 4c 4c |ng file |'INSTALL|
|00001430| 27 22 0a 65 6c 73 65 0a | 73 65 64 20 27 73 2f 5e |'".else.|sed 's/^|
|00001440| 58 2f 2f 27 20 3c 3c 20 | 5c 53 48 41 52 5f 45 4f |X//' << |\SHAR_EO|
|00001450| 46 20 3e 20 27 49 4e 53 | 54 41 4c 4c 27 0a 58 54 |F > 'INS|TALL'.XT|
|00001460| 68 69 73 20 66 69 6c 65 | 20 64 65 73 63 72 69 62 |his file| describ|
|00001470| 65 73 20 68 6f 77 20 74 | 6f 20 69 6e 73 74 61 6c |es how t|o instal|
|00001480| 6c 20 74 65 6d 70 6c 61 | 74 65 2d 6d 6f 64 65 2c |l templa|te-mode,|
|00001490| 20 61 20 6d 69 6e 6f 72 | 20 6d 6f 64 65 20 6f 66 | a minor| mode of|
|000014a0| 20 47 4e 55 0a 58 45 6d | 61 63 73 2e 0a 58 0a 58 | GNU.XEm|acs..X.X|
|000014b0| 31 29 20 20 44 65 63 69 | 64 65 20 77 68 65 72 65 |1) Deci|de where|
|000014c0| 20 79 6f 75 20 77 61 6e | 74 20 74 6f 20 70 75 74 | you wan|t to put|
|000014d0| 20 74 68 65 20 74 65 6d | 70 6c 61 74 65 20 66 69 | the tem|plate fi|
|000014e0| 6c 65 73 2e 20 20 54 68 | 65 73 65 20 61 72 65 20 |les. Th|ese are |
|000014f0| 64 61 74 61 0a 58 66 69 | 6c 65 73 20 74 68 61 74 |data.Xfi|les that|
|00001500| 20 64 65 66 69 6e 65 20 | 74 68 65 20 66 6f 72 6d | define |the form|
|00001510| 20 61 6e 64 20 63 6f 6e | 74 65 6e 74 20 6f 66 20 | and con|tent of |
|00001520| 74 65 6d 70 6c 61 74 65 | 73 2e 20 20 55 73 65 72 |template|s. User|
|00001530| 73 20 77 69 6c 6c 0a 58 | 70 72 6f 62 61 62 6c 79 |s will.X|probably|
|00001540| 20 77 61 6e 74 20 74 6f | 20 6b 6e 6f 77 20 77 68 | want to| know wh|
|00001550| 65 72 65 20 74 68 65 79 | 20 61 72 65 2c 20 65 76 |ere they| are, ev|
|00001560| 65 6e 20 69 66 20 61 6c | 6c 20 6f 66 20 74 68 65 |en if al|l of the|
|00001570| 20 6c 6f 61 64 20 70 61 | 74 68 73 0a 58 61 72 65 | load pa|ths.Xare|
|00001580| 20 73 65 74 20 63 6f 72 | 72 65 63 74 6c 79 2e 20 | set cor|rectly. |
|00001590| 20 46 6f 72 20 74 68 65 | 20 70 75 72 70 6f 73 65 | For the| purpose|
|000015a0| 73 20 6f 66 20 74 68 69 | 73 20 64 65 73 63 72 69 |s of thi|s descri|
|000015b0| 70 74 69 6f 6e 2c 20 6c | 65 74 20 75 73 20 63 61 |ption, l|et us ca|
|000015c0| 6c 6c 0a 58 74 68 65 20 | 64 69 72 65 63 74 6f 72 |ll.Xthe |director|
|000015d0| 79 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |y contai|ning the|
|000015e0| 20 74 65 6d 70 6c 61 74 | 65 73 20 22 54 45 4d 50 | templat|es "TEMP|
|000015f0| 4c 41 54 45 53 22 2e 0a | 58 0a 58 32 29 20 20 46 |LATES"..|X.X2) F|
|00001600| 69 6e 64 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |ind the |variable|
|00001610| 20 22 74 70 6c 2d 6c 6f | 61 64 2d 70 61 74 68 22 | "tpl-lo|ad-path"|
|00001620| 20 69 6e 20 22 74 70 6c | 76 61 72 73 2e 65 6c 22 | in "tpl|vars.el"|
|00001630| 20 61 6e 64 20 63 68 61 | 6e 67 65 20 69 74 73 0a | and cha|nge its.|
|00001640| 58 64 65 66 61 75 6c 74 | 20 76 61 6c 75 65 20 74 |Xdefault| value t|
|00001650| 6f 3a 0a 58 0a 58 20 20 | 20 20 20 20 20 20 28 6c |o:.X.X | (l|
|00001660| 69 73 74 20 6e 69 6c 20 | 22 54 45 4d 50 4c 41 54 |ist nil |"TEMPLAT|
|00001670| 45 53 22 29 0a 58 0a 58 | 28 54 68 65 20 22 6e 69 |ES").X.X|(The "ni|
|00001680| 6c 22 20 73 74 61 6e 64 | 73 20 66 6f 72 20 22 64 |l" stand|s for "d|
|00001690| 65 66 61 75 6c 74 20 64 | 69 72 65 63 74 6f 72 79 |efault d|irectory|
|000016a0| 22 2c 20 73 69 6d 69 6c | 61 72 6c 79 20 74 6f 20 |", simil|arly to |
|000016b0| 22 6c 6f 61 64 2d 70 61 | 74 68 22 2e 29 0a 58 0a |"load-pa|th".).X.|
|000016c0| 58 33 29 20 20 50 75 74 | 20 74 68 65 20 74 65 6d |X3) Put| the tem|
|000016d0| 70 6c 61 74 65 2d 6d 6f | 64 65 20 63 6f 64 65 20 |plate-mo|de code |
|000016e0| 66 69 6c 65 73 20 28 22 | 2a 2e 65 6c 22 29 20 69 |files ("|*.el") i|
|000016f0| 6e 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 47 |n the st|andard G|
|00001700| 4e 55 0a 58 45 6d 61 63 | 73 20 4c 69 73 70 20 64 |NU.XEmac|s Lisp d|
|00001710| 69 72 65 63 74 6f 72 79 | 2e 20 20 28 54 68 65 20 |irectory|. (The |
|00001720| 6d 61 69 6e 20 70 72 6f | 62 6c 65 6d 20 79 6f 75 |main pro|blem you|
|00001730| 20 77 61 6e 74 20 74 6f | 20 61 76 6f 69 64 20 69 | want to| avoid i|
|00001740| 73 20 66 61 69 6c 75 72 | 65 0a 58 74 6f 20 22 61 |s failur|e.Xto "a|
|00001750| 75 74 6f 6c 6f 61 64 22 | 20 66 69 6c 65 73 2e 29 |utoload"| files.)|
|00001760| 0a 58 0a 58 34 29 20 20 | 47 6f 20 74 6f 20 61 20 |.X.X4) |Go to a |
|00001770| 62 75 66 66 65 72 20 69 | 6e 20 22 46 75 6e 64 61 |buffer i|n "Funda|
|00001780| 6d 65 6e 74 61 6c 22 20 | 6d 6f 64 65 2e 20 20 28 |mental" |mode. (|
|00001790| 41 63 74 75 61 6c 6c 79 | 2c 20 61 6e 79 20 62 75 |Actually|, any bu|
|000017a0| 66 66 65 72 20 77 69 6c | 6c 0a 58 64 6f 2c 20 62 |ffer wil|l.Xdo, b|
|000017b0| 75 74 20 74 68 69 73 20 | 61 76 6f 69 64 73 20 6c |ut this |avoids l|
|000017c0| 6f 61 64 69 6e 67 20 73 | 6f 6d 65 20 74 65 6d 70 |oading s|ome temp|
|000017d0| 6c 61 74 65 73 20 74 77 | 69 63 65 2e 29 0a 58 0a |lates tw|ice.).X.|
|000017e0| 58 35 29 20 20 28 6c 6f | 61 64 20 22 74 65 6d 70 |X5) (lo|ad "temp|
|000017f0| 6c 61 74 65 2e 65 6c 22 | 29 20 2d 2d 20 49 66 20 |late.el"|) -- If |
|00001800| 79 6f 75 20 73 65 65 20 | 61 6e 79 20 6d 65 73 73 |you see |any mess|
|00001810| 61 67 65 73 20 61 62 6f | 75 74 20 6d 69 73 73 69 |ages abo|ut missi|
|00001820| 6e 67 0a 58 70 72 6f 70 | 65 72 74 69 65 73 2c 20 |ng.Xprop|erties, |
|00001830| 74 68 65 6e 20 63 68 65 | 63 6b 20 74 6f 20 6d 61 |then che|ck to ma|
|00001840| 6b 65 20 73 75 72 65 20 | 74 68 61 74 20 61 6c 6c |ke sure |that all|
|00001850| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 73 20 77 65 | of the |files we|
|00001860| 72 65 20 6c 6f 61 64 65 | 64 2e 0a 58 28 54 68 65 |re loade|d..X(The|
|00001870| 20 62 65 67 69 6e 6e 69 | 6e 67 20 6f 66 20 22 74 | beginni|ng of "t|
|00001880| 65 6d 70 6c 61 74 65 2e | 65 6c 22 20 63 6f 6e 74 |emplate.|el" cont|
|00001890| 61 69 6e 73 20 61 20 6c | 69 73 74 20 6f 66 20 22 |ains a l|ist of "|
|000018a0| 72 65 71 75 69 72 65 73 | 22 2e 29 20 20 4f 6e 63 |requires|".) Onc|
|000018b0| 65 0a 58 79 6f 75 20 61 | 72 65 20 73 61 74 69 73 |e.Xyou a|re satis|
|000018c0| 66 69 65 64 20 74 68 61 | 74 20 65 76 65 72 79 74 |fied tha|t everyt|
|000018d0| 68 69 6e 67 20 63 61 6e | 20 62 65 20 22 61 75 74 |hing can| be "aut|
|000018e0| 6f 6c 6f 61 64 65 64 22 | 2c 20 79 6f 75 20 63 61 |oloaded"|, you ca|
|000018f0| 6e 0a 58 22 62 79 74 65 | 2d 63 6f 6d 70 69 6c 65 |n.X"byte|-compile|
|00001900| 22 20 61 6c 6c 20 6f 66 | 20 74 68 65 20 73 6f 75 |" all of| the sou|
|00001910| 72 63 65 20 63 6f 64 65 | 20 66 69 6c 65 73 2e 0a |rce code| files..|
|00001920| 58 0a 58 36 29 20 20 28 | 74 65 6d 70 6c 61 74 65 |X.X6) (|template|
|00001930| 2d 6d 6f 64 65 29 20 20 | 2d 2d 20 59 6f 75 20 73 |-mode) |-- You s|
|00001940| 68 6f 75 6c 64 20 73 65 | 65 20 61 20 6d 65 73 73 |hould se|e a mess|
|00001950| 61 67 65 20 74 6f 20 74 | 68 65 20 65 66 66 65 63 |age to t|he effec|
|00001960| 74 20 74 68 61 74 20 6e | 6f 0a 58 74 65 6d 70 6c |t that n|o.Xtempl|
|00001970| 61 74 65 73 20 77 65 72 | 65 20 66 6f 75 6e 64 20 |ates wer|e found |
|00001980| 66 6f 72 20 74 68 69 73 | 20 6d 6f 64 65 2c 20 61 |for this| mode, a|
|00001990| 6e 64 20 74 68 65 20 73 | 79 6d 62 6f 6c 20 22 54 |nd the s|ymbol "T|
|000019a0| 65 6d 70 6c 61 74 65 22 | 20 73 68 6f 75 6c 64 0a |emplate"| should.|
|000019b0| 58 61 70 70 65 61 72 20 | 69 6e 20 74 68 65 20 6d |Xappear |in the m|
|000019c0| 6f 64 65 20 6c 69 6e 65 | 2e 0a 58 0a 58 37 29 20 |ode line|..X.X7) |
|000019d0| 20 28 74 70 6c 2d 72 65 | 63 6f 6d 70 69 6c 65 2d | (tpl-re|compile-|
|000019e0| 74 65 6d 70 6c 61 74 65 | 73 29 20 2d 2d 20 54 68 |template|s) -- Th|
|000019f0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 63 6f 6d 70 |is funct|ion comp|
|00001a00| 69 6c 65 73 20 74 65 6d | 70 6c 61 74 65 73 20 66 |iles tem|plates f|
|00001a10| 6f 72 0a 58 73 65 76 65 | 72 61 6c 20 64 69 66 66 |or.Xseve|ral diff|
|00001a20| 65 72 65 6e 74 20 6d 6f | 64 65 73 2e 20 20 49 74 |erent mo|des. It|
|00001a30| 20 69 73 20 6e 6f 74 20 | 6e 65 63 65 73 73 61 72 | is not |necessar|
|00001a40| 79 2c 20 62 75 74 20 77 | 69 6c 6c 20 73 69 67 6e |y, but w|ill sign|
|00001a50| 69 66 69 63 61 6e 74 6c | 79 0a 58 73 70 65 65 64 |ificantl|y.Xspeed|
|00001a60| 2d 75 70 20 6c 6f 61 64 | 69 6e 67 20 6f 66 20 73 |-up load|ing of s|
|00001a70| 74 61 6e 64 61 72 64 20 | 74 65 6d 70 6c 61 74 65 |tandard |template|
|00001a80| 73 2e 0a 58 0a 58 38 29 | 20 20 28 66 69 6e 64 2d |s..X.X8)| (find-|
|00001a90| 66 69 6c 65 20 22 74 65 | 6d 70 6c 61 74 65 2e 74 |file "te|mplate.t|
|00001aa0| 65 78 69 6e 66 6f 22 29 | 0a 58 0a 58 39 29 20 20 |exinfo")|.X.X9) |
|00001ab0| 28 74 65 78 69 6e 66 6f | 2d 66 6f 72 6d 61 74 2d |(texinfo|-format-|
|00001ac0| 62 75 66 66 65 72 29 20 | 2d 2d 20 53 61 76 65 20 |buffer) |-- Save |
|00001ad0| 74 68 65 20 72 65 73 75 | 6c 74 73 20 69 6e 0a 58 |the resu|lts in.X|
|00001ae0| 22 49 4e 46 4f 52 4f 4f | 54 2f 74 65 6d 70 6c 61 |"INFOROO|T/templa|
|00001af0| 74 65 22 2c 20 77 68 65 | 72 65 20 22 49 4e 46 4f |te", whe|re "INFO|
|00001b00| 52 4f 4f 54 22 20 69 73 | 20 74 68 65 20 64 69 72 |ROOT" is| the dir|
|00001b10| 65 63 74 6f 72 79 20 63 | 6f 6e 74 61 69 6e 69 6e |ectory c|ontainin|
|00001b20| 67 20 74 68 65 0a 58 49 | 6e 66 6f 20 6e 6f 64 65 |g the.XI|nfo node|
|00001b30| 73 20 66 6f 72 20 47 4e | 55 20 45 6d 61 63 73 2e |s for GN|U Emacs.|
|00001b40| 0a 58 0a 58 31 30 29 20 | 20 41 64 64 20 74 68 65 |.X.X10) | Add the|
|00001b50| 20 6d 65 6e 75 20 65 6e | 74 72 79 20 66 6f 72 20 | menu en|try for |
|00001b60| 74 65 6d 70 6c 61 74 65 | 2d 6d 6f 64 65 20 66 6f |template|-mode fo|
|00001b70| 75 6e 64 20 69 6e 20 22 | 64 69 72 22 20 74 6f 20 |und in "|dir" to |
|00001b80| 74 68 65 0a 58 74 6f 70 | 2d 6c 65 76 65 6c 20 6d |the.Xtop|-level m|
|00001b90| 65 6e 75 20 6f 66 20 74 | 68 65 20 22 49 6e 66 6f |enu of t|he "Info|
|00001ba0| 22 20 74 72 65 65 2e 0a | 58 0a 58 59 6f 75 20 64 |" tree..|X.XYou d|
|00001bb0| 6f 6e 27 74 20 68 61 76 | 65 20 74 6f 20 63 6f 6d |on't hav|e to com|
|00001bc0| 70 69 6c 65 20 61 6e 79 | 74 68 69 6e 67 20 74 6f |pile any|thing to|
|00001bd0| 20 73 74 61 72 74 20 75 | 73 69 6e 67 20 74 68 65 | start u|sing the|
|00001be0| 20 70 61 63 6b 61 67 65 | 2e 20 20 28 49 6e 0a 58 | package|. (In.X|
|00001bf0| 66 61 63 74 2c 20 79 6f | 75 20 63 61 6e 20 73 74 |fact, yo|u can st|
|00001c00| 6f 70 20 61 74 20 73 74 | 65 70 20 36 2e 29 20 20 |op at st|ep 6.) |
|00001c10| 53 65 65 20 74 68 65 20 | 75 73 65 72 20 6d 61 6e |See the |user man|
|00001c20| 75 61 6c 20 66 6f 72 20 | 61 20 74 75 74 6f 72 69 |ual for |a tutori|
|00001c30| 61 6c 2e 0a 53 48 41 52 | 5f 45 4f 46 0a 69 66 20 |al..SHAR|_EOF.if |
|00001c40| 74 65 73 74 20 31 39 35 | 38 20 2d 6e 65 20 22 60 |test 195|8 -ne "`|
|00001c50| 77 63 20 2d 63 20 3c 20 | 27 49 4e 53 54 41 4c 4c |wc -c < |'INSTALL|
|00001c60| 27 60 22 0a 74 68 65 6e | 0a 09 65 63 68 6f 20 73 |'`".then|..echo s|
|00001c70| 68 61 72 3a 20 22 65 72 | 72 6f 72 20 74 72 61 6e |har: "er|ror tran|
|00001c80| 73 6d 69 74 74 69 6e 67 | 20 27 49 4e 53 54 41 4c |smitting| 'INSTAL|
|00001c90| 4c 27 22 20 27 28 73 68 | 6f 75 6c 64 20 68 61 76 |L'" '(sh|ould hav|
|00001ca0| 65 20 62 65 65 6e 20 31 | 39 35 38 20 63 68 61 72 |e been 1|958 char|
|00001cb0| 61 63 74 65 72 73 29 27 | 0a 66 69 0a 66 69 0a 65 |acters)'|.fi.fi.e|
|00001cc0| 63 68 6f 20 73 68 61 72 | 3a 20 22 65 78 74 72 61 |cho shar|: "extra|
|00001cd0| 63 74 69 6e 67 20 27 64 | 69 72 27 22 20 27 28 31 |cting 'd|ir'" '(1|
|00001ce0| 37 31 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |71 chara|cters)'.|
|00001cf0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 64 69 72 27 |if test |-f 'dir'|
|00001d00| 0a 74 68 65 6e 0a 09 65 | 63 68 6f 20 73 68 61 72 |.then..e|cho shar|
|00001d10| 3a 20 22 77 69 6c 6c 20 | 6e 6f 74 20 6f 76 65 72 |: "will |not over|
|00001d20| 2d 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 20 |-write e|xisting |
|00001d30| 66 69 6c 65 20 27 64 69 | 72 27 22 0a 65 6c 73 65 |file 'di|r'".else|
|00001d40| 0a 73 65 64 20 27 73 2f | 5e 58 2f 2f 27 20 3c 3c |.sed 's/|^X//' <<|
|00001d50| 20 5c 53 48 41 52 5f 45 | 4f 46 20 3e 20 27 64 69 | \SHAR_E|OF > 'di|
|00001d60| 72 27 0a 58 0a 58 2a 20 | 74 65 6d 70 6c 61 74 65 |r'.X.X* |template|
|00001d70| 3a 20 28 74 65 6d 70 6c | 61 74 65 29 2e 0a 58 09 |: (templ|ate)..X.|
|00001d80| 09 54 65 6d 70 6c 61 74 | 65 2d 6d 6f 64 65 20 70 |.Templat|e-mode p|
|00001d90| 72 6f 76 69 64 65 73 20 | 63 6f 6d 6d 61 6e 64 73 |rovides |commands|
|00001da0| 20 66 6f 72 20 63 72 65 | 61 74 69 6e 67 20 61 6e | for cre|ating an|
|00001db0| 64 0a 58 09 09 6d 61 6e | 69 70 75 6c 61 74 69 6e |d.X..man|ipulatin|
|00001dc0| 67 20 22 74 65 6d 70 6c | 61 74 65 73 22 2d 2d 2d |g "templ|ates"---|
|00001dd0| 72 65 63 74 61 6e 67 75 | 6c 61 72 20 72 65 67 69 |rectangu|lar regi|
|00001de0| 6f 6e 73 20 74 68 61 74 | 0a 58 09 09 63 6f 72 72 |ons that|.X..corr|
|00001df0| 65 73 70 6f 6e 64 20 74 | 6f 20 67 72 61 6d 6d 61 |espond t|o gramma|
|00001e00| 74 69 63 61 6c 20 70 72 | 6f 64 75 63 74 69 6f 6e |tical pr|oduction|
|00001e10| 73 2e 0a 53 48 41 52 5f | 45 4f 46 0a 69 66 20 74 |s..SHAR_|EOF.if t|
|00001e20| 65 73 74 20 31 37 31 20 | 2d 6e 65 20 22 60 77 63 |est 171 |-ne "`wc|
|00001e30| 20 2d 63 20 3c 20 27 64 | 69 72 27 60 22 0a 74 68 | -c < 'd|ir'`".th|
|00001e40| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 22 |en..echo| shar: "|
|00001e50| 65 72 72 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 69 |error tr|ansmitti|
|00001e60| 6e 67 20 27 64 69 72 27 | 22 20 27 28 73 68 6f 75 |ng 'dir'|" '(shou|
|00001e70| 6c 64 20 68 61 76 65 20 | 62 65 65 6e 20 31 37 31 |ld have |been 171|
|00001e80| 20 63 68 61 72 61 63 74 | 65 72 73 29 27 0a 66 69 | charact|ers)'.fi|
|00001e90| 0a 66 69 0a 65 63 68 6f | 20 73 68 61 72 3a 20 22 |.fi.echo| shar: "|
|00001ea0| 65 78 74 72 61 63 74 69 | 6e 67 20 27 6d 61 6e 75 |extracti|ng 'manu|
|00001eb0| 61 6c 2e 74 65 78 69 6e | 66 6f 27 22 20 27 28 36 |al.texin|fo'" '(6|
|00001ec0| 36 35 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |65 chara|cters)'.|
|00001ed0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 6d 61 6e 75 |if test |-f 'manu|
|00001ee0| 61 6c 2e 74 65 78 69 6e | 66 6f 27 0a 74 68 65 6e |al.texin|fo'.then|
|00001ef0| 0a 09 65 63 68 6f 20 73 | 68 61 72 3a 20 22 77 69 |..echo s|har: "wi|
|00001f00| 6c 6c 20 6e 6f 74 20 6f | 76 65 72 2d 77 72 69 74 |ll not o|ver-writ|
|00001f10| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file |
|00001f20| 27 6d 61 6e 75 61 6c 2e | 74 65 78 69 6e 66 6f 27 |'manual.|texinfo'|
|00001f30| 22 0a 65 6c 73 65 0a 73 | 65 64 20 27 73 2f 5e 58 |".else.s|ed 's/^X|
|00001f40| 2f 2f 27 20 3c 3c 20 5c | 53 48 41 52 5f 45 4f 46 |//' << \|SHAR_EOF|
|00001f50| 20 3e 20 27 6d 61 6e 75 | 61 6c 2e 74 65 78 69 6e | > 'manu|al.texin|
|00001f60| 66 6f 27 0a 58 5c 69 6e | 70 75 74 20 74 65 78 69 |fo'.X\in|put texi|
|00001f70| 6e 66 6f 20 40 63 20 2d | 2a 2d 74 65 78 69 6e 66 |nfo @c -|*-texinf|
|00001f80| 6f 2d 2a 2d 0a 58 40 73 | 65 74 74 69 74 6c 65 20 |o-*-.X@s|ettitle |
|00001f90| 54 65 6d 70 6c 61 74 65 | 2d 4d 6f 64 65 20 66 6f |Template|-Mode fo|
|00001fa0| 72 20 47 4e 55 20 45 6d | 61 63 73 0a 58 0a 58 40 |r GNU Em|acs.X.X@|
|00001fb0| 74 69 74 6c 65 70 61 67 | 65 0a 58 40 73 70 20 31 |titlepag|e.X@sp 1|
|00001fc0| 30 0a 58 40 63 65 6e 74 | 65 72 20 40 74 69 74 6c |0.X@cent|er @titl|
|00001fd0| 65 66 6f 6e 74 7b 54 65 | 6d 70 6c 61 74 65 2d 4d |efont{Te|mplate-M|
|00001fe0| 6f 64 65 20 66 6f 72 20 | 47 4e 55 20 45 6d 61 63 |ode for |GNU Emac|
|00001ff0| 73 7d 0a 58 40 73 70 20 | 33 0a 58 40 63 65 6e 74 |s}.X@sp |3.X@cent|
|00002000| 65 72 20 4d 61 72 6b 20 | 41 2e 20 41 72 64 69 73 |er Mark |A. Ardis|
|00002010| 0a 58 40 73 70 20 31 0a | 58 40 63 65 6e 74 65 72 |.X@sp 1.|X@center|
|00002020| 20 57 61 6e 67 20 49 6e | 73 74 69 74 75 74 65 20 | Wang In|stitute |
|00002030| 6f 66 20 47 72 61 64 75 | 61 74 65 20 53 74 75 64 |of Gradu|ate Stud|
|00002040| 69 65 73 0a 58 40 63 65 | 6e 74 65 72 20 54 79 6e |ies.X@ce|nter Tyn|
|00002050| 67 73 62 6f 72 6f 2c 20 | 4d 61 73 73 61 63 68 75 |gsboro, |Massachu|
|00002060| 73 65 74 74 73 20 30 31 | 38 37 39 0a 58 40 73 70 |setts 01|879.X@sp|
|00002070| 20 31 0a 58 40 63 65 6e | 74 65 72 20 4a 75 6c 79 | 1.X@cen|ter July|
|00002080| 20 33 31 2c 20 31 39 38 | 37 0a 58 40 73 70 20 33 | 31, 198|7.X@sp 3|
|00002090| 0a 58 40 63 65 6e 74 65 | 72 20 40 62 7b 41 62 73 |.X@cente|r @b{Abs|
|000020a0| 74 72 61 63 74 7d 0a 58 | 54 68 69 73 20 6d 61 6e |tract}.X|This man|
|000020b0| 75 61 6c 20 64 65 73 63 | 72 69 62 65 73 20 40 69 |ual desc|ribes @i|
|000020c0| 7b 74 65 6d 70 6c 61 74 | 65 2d 6d 6f 64 65 7d 3a |{templat|e-mode}:|
|000020d0| 20 61 20 73 65 74 20 6f | 66 20 66 75 6e 63 74 69 | a set o|f functi|
|000020e0| 6f 6e 73 20 66 6f 72 0a | 58 6d 61 6e 69 70 75 6c |ons for.|Xmanipul|
|000020f0| 61 74 69 6e 67 20 74 65 | 6d 70 6c 61 74 65 73 20 |ating te|mplates |
|00002100| 6f 66 20 74 65 78 74 20 | 77 69 74 68 69 6e 20 47 |of text |within G|
|00002110| 4e 55 20 45 6d 61 63 73 | 2e 20 20 53 6f 6d 65 20 |NU Emacs|. Some |
|00002120| 6f 66 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 73 0a |of the c|ommands.|
|00002130| 58 69 6e 73 65 72 74 20 | 61 6e 64 20 65 78 70 61 |Xinsert |and expa|
|00002140| 6e 64 20 74 65 6d 70 6c | 61 74 65 73 2c 20 77 68 |nd templ|ates, wh|
|00002150| 69 6c 65 20 6f 74 68 65 | 72 73 20 68 65 6c 70 20 |ile othe|rs help |
|00002160| 79 6f 75 20 63 72 65 61 | 74 65 20 74 65 6d 70 6c |you crea|te templ|
|00002170| 61 74 65 73 20 66 6f 72 | 0a 58 6c 61 74 65 72 20 |ates for|.Xlater |
|00002180| 28 6f 72 20 69 6d 6d 65 | 64 69 61 74 65 29 20 75 |(or imme|diate) u|
|00002190| 73 65 2e 0a 58 40 65 6e | 64 20 74 69 74 6c 65 70 |se..X@en|d titlep|
|000021a0| 61 67 65 0a 58 0a 58 40 | 63 20 49 6e 63 6c 75 64 |age.X.X@|c Includ|
|000021b0| 65 20 66 69 6c 65 73 20 | 77 69 74 68 20 61 63 74 |e files |with act|
|000021c0| 75 61 6c 20 74 65 78 74 | 0a 58 40 69 6e 63 6c 75 |ual text|.X@inclu|
|000021d0| 64 65 20 74 65 6d 70 6c | 61 74 65 2e 74 65 78 69 |de templ|ate.texi|
|000021e0| 6e 66 6f 0a 58 0a 58 40 | 63 20 50 72 69 6e 74 20 |nfo.X.X@|c Print |
|000021f0| 74 68 65 20 74 61 62 6c | 65 20 6f 66 20 63 6f 6e |the tabl|e of con|
|00002200| 74 65 6e 74 73 0a 58 40 | 63 6f 6e 74 65 6e 74 73 |tents.X@|contents|
|00002210| 0a 58 0a 58 40 62 79 65 | 0a 53 48 41 52 5f 45 4f |.X.X@bye|.SHAR_EO|
|00002220| 46 0a 69 66 20 74 65 73 | 74 20 36 36 35 20 2d 6e |F.if tes|t 665 -n|
|00002230| 65 20 22 60 77 63 20 2d | 63 20 3c 20 27 6d 61 6e |e "`wc -|c < 'man|
|00002240| 75 61 6c 2e 74 65 78 69 | 6e 66 6f 27 60 22 0a 74 |ual.texi|nfo'`".t|
|00002250| 68 65 6e 0a 09 65 63 68 | 6f 20 73 68 61 72 3a 20 |hen..ech|o shar: |
|00002260| 22 65 72 72 6f 72 20 74 | 72 61 6e 73 6d 69 74 74 |"error t|ransmitt|
|00002270| 69 6e 67 20 27 6d 61 6e | 75 61 6c 2e 74 65 78 69 |ing 'man|ual.texi|
|00002280| 6e 66 6f 27 22 20 27 28 | 73 68 6f 75 6c 64 20 68 |nfo'" '(|should h|
|00002290| 61 76 65 20 62 65 65 6e | 20 36 36 35 20 63 68 61 |ave been| 665 cha|
|000022a0| 72 61 63 74 65 72 73 29 | 27 0a 66 69 0a 66 69 0a |racters)|'.fi.fi.|
|000022b0| 65 63 68 6f 20 73 68 61 | 72 3a 20 22 65 78 74 72 |echo sha|r: "extr|
|000022c0| 61 63 74 69 6e 67 20 27 | 74 65 6d 70 6c 61 74 65 |acting '|template|
|000022d0| 2e 74 65 78 69 6e 66 6f | 27 22 20 27 28 34 31 33 |.texinfo|'" '(413|
|000022e0| 38 31 20 63 68 61 72 61 | 63 74 65 72 73 29 27 0a |81 chara|cters)'.|
|000022f0| 69 66 20 74 65 73 74 20 | 2d 66 20 27 74 65 6d 70 |if test |-f 'temp|
|00002300| 6c 61 74 65 2e 74 65 78 | 69 6e 66 6f 27 0a 74 68 |late.tex|info'.th|
|00002310| 65 6e 0a 09 65 63 68 6f | 20 73 68 61 72 3a 20 22 |en..echo| shar: "|
|00002320| 77 69 6c 6c 20 6e 6f 74 | 20 6f 76 65 72 2d 77 72 |will not| over-wr|
|00002330| 69 74 65 20 65 78 69 73 | 74 69 6e 67 20 66 69 6c |ite exis|ting fil|
|00002340| 65 20 27 74 65 6d 70 6c | 61 74 65 2e 74 65 78 69 |e 'templ|ate.texi|
|00002350| 6e 66 6f 27 22 0a 65 6c | 73 65 0a 73 65 64 20 27 |nfo'".el|se.sed '|
|00002360| 73 2f 5e 58 2f 2f 27 20 | 3c 3c 20 5c 53 48 41 52 |s/^X//' |<< \SHAR|
|00002370| 5f 45 4f 46 20 3e 20 27 | 74 65 6d 70 6c 61 74 65 |_EOF > '|template|
|00002380| 2e 74 65 78 69 6e 66 6f | 27 0a 58 40 73 65 74 66 |.texinfo|'.X@setf|
|00002390| 69 6c 65 6e 61 6d 65 20 | 74 65 6d 70 6c 61 74 65 |ilename |template|
|000023a0| 0a 58 0a 58 40 6e 6f 64 | 65 20 74 6f 70 2c 20 74 |.X.X@nod|e top, t|
|000023b0| 75 74 6f 72 69 61 6c 2c | 20 28 64 69 72 29 2c 20 |utorial,| (dir), |
|000023c0| 28 64 69 72 29 0a 58 40 | 63 68 61 70 74 65 72 20 |(dir).X@|chapter |
|000023d0| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 74 6f 20 |Introduc|tion to |
|000023e0| 54 65 6d 70 6c 61 74 65 | 2d 4d 6f 64 65 0a 58 0a |Template|-Mode.X.|
|000023f0| 58 40 64 66 6e 7b 54 65 | 6d 70 6c 61 74 65 2d 6d |X@dfn{Te|mplate-m|
|00002400| 6f 64 65 7d 20 70 72 6f | 76 69 64 65 73 20 63 6f |ode} pro|vides co|
|00002410| 6d 6d 61 6e 64 73 20 66 | 6f 72 20 69 6e 73 65 72 |mmands f|or inser|
|00002420| 74 69 6e 67 20 61 6e 64 | 20 6d 61 6e 69 70 75 6c |ting and| manipul|
|00002430| 61 74 69 6e 67 20 74 65 | 78 74 2e 0a 58 49 74 20 |ating te|xt..XIt |
|00002440| 69 73 20 70 61 72 74 69 | 63 75 6c 61 72 6c 79 20 |is parti|cularly |
|00002450| 75 73 65 66 75 6c 20 66 | 6f 72 20 69 6e 73 65 72 |useful f|or inser|
|00002460| 74 69 6e 67 20 73 74 61 | 6e 64 61 72 64 20 66 72 |ting sta|ndard fr|
|00002470| 61 67 6d 65 6e 74 73 2c | 20 73 75 63 68 20 61 73 |agments,| such as|
|00002480| 0a 58 62 6f 69 6c 65 72 | 70 6c 61 74 65 20 66 6f |.Xboiler|plate fo|
|00002490| 72 20 64 6f 63 75 6d 65 | 6e 74 73 20 6f 72 20 66 |r docume|nts or f|
|000024a0| 75 6e 63 74 69 6f 6e 20 | 68 65 61 64 65 72 73 20 |unction |headers |
|000024b0| 66 6f 72 20 70 72 6f 67 | 72 61 6d 73 2e 20 20 54 |for prog|rams. T|
|000024c0| 68 65 72 65 20 61 72 65 | 0a 58 74 65 6d 70 6c 61 |here are|.Xtempla|
|000024d0| 74 65 73 20 66 6f 72 20 | 6d 61 6a 6f 72 20 70 72 |tes for |major pr|
|000024e0| 6f 67 72 61 6d 20 66 72 | 61 67 6d 65 6e 74 73 20 |ogram fr|agments |
|000024f0| 6f 66 20 43 2c 20 45 6d | 61 63 73 2d 4c 69 73 70 |of C, Em|acs-Lisp|
|00002500| 2c 20 61 6e 64 20 50 61 | 73 63 61 6c 2c 20 61 73 |, and Pa|scal, as|
|00002510| 20 77 65 6c 6c 20 61 73 | 0a 58 73 74 61 6e 64 61 | well as|.Xstanda|
|00002520| 72 64 20 62 6f 69 6c 65 | 72 70 6c 61 74 65 20 66 |rd boile|rplate f|
|00002530| 6f 72 20 53 63 72 69 62 | 65 20 61 6e 64 20 40 54 |or Scrib|e and @T|
|00002540| 65 58 7b 7d 20 64 6f 63 | 75 6d 65 6e 74 73 2e 0a |eX{} doc|uments..|
|00002550| 58 0a 58 54 68 65 20 63 | 68 61 70 74 65 72 20 74 |X.XThe c|hapter t|
|00002560| 69 74 6c 65 64 20 60 60 | 54 75 74 6f 72 69 61 6c |itled ``|Tutorial|
|00002570| 27 27 20 65 78 70 6c 61 | 69 6e 73 20 68 6f 77 20 |'' expla|ins how |
|00002580| 74 6f 20 69 6e 76 6f 6b | 65 20 40 69 7b 74 65 6d |to invok|e @i{tem|
|00002590| 70 6c 61 74 65 2d 6d 6f | 64 65 7d 2c 0a 58 61 6e |plate-mo|de},.Xan|
|000025a0| 64 20 67 69 76 65 73 20 | 61 20 73 6d 61 6c 6c 20 |d gives |a small |
|000025b0| 65 78 61 6d 70 6c 65 2e | 20 20 54 68 65 20 60 60 |example.| The ``|
|000025c0| 43 6f 6d 6d 61 6e 64 73 | 27 27 20 63 68 61 70 74 |Commands|'' chapt|
|000025d0| 65 72 20 73 65 72 76 65 | 73 20 61 73 20 61 20 72 |er serve|s as a r|
|000025e0| 65 66 65 72 65 6e 63 65 | 0a 58 6d 61 6e 75 61 6c |eference|.Xmanual|
|000025f0| 20 66 6f 72 20 40 69 7b | 74 65 6d 70 6c 61 74 65 | for @i{|template|
|00002600| 2d 6d 6f 64 65 7d 20 63 | 6f 6d 6d 61 6e 64 73 2e |-mode} c|ommands.|
|00002610| 20 20 4f 70 74 69 6f 6e | 73 20 61 6e 64 20 68 6f | Option|s and ho|
|00002620| 6f 6b 73 20 66 6f 72 20 | 6d 6f 64 69 66 79 69 6e |oks for |modifyin|
|00002630| 67 20 74 68 65 0a 58 62 | 65 68 61 76 69 6f 72 20 |g the.Xb|ehavior |
|00002640| 61 6e 64 20 61 70 70 65 | 61 72 61 6e 63 65 20 6f |and appe|arance o|
|00002650| 66 20 74 65 6d 70 6c 61 | 74 65 73 20 61 72 65 20 |f templa|tes are |
|00002660| 64 69 73 63 75 73 73 65 | 64 20 69 6e 20 60 60 43 |discusse|d in ``C|
|00002670| 75 73 74 6f 6d 69 7a 61 | 74 69 6f 6e 27 27 2e 0a |ustomiza|tion''..|
|00002680| 58 54 68 65 20 60 60 44 | 65 74 61 69 6c 73 27 27 |XThe ``D|etails''|
|00002690| 20 63 68 61 70 74 65 72 | 20 64 65 73 63 72 69 62 | chapter| describ|
|000026a0| 65 73 20 74 68 65 20 70 | 72 65 63 69 73 65 20 73 |es the p|recise s|
|000026b0| 79 6e 74 61 78 20 6f 66 | 20 74 65 6d 70 6c 61 74 |yntax of| templat|
|000026c0| 65 73 20 61 6e 64 0a 58 | 70 6c 61 63 65 68 6f 6c |es and.X|placehol|
|000026d0| 64 65 72 73 2e 20 20 46 | 69 6e 61 6c 6c 79 2c 20 |ders. F|inally, |
|000026e0| 74 68 65 20 61 70 70 65 | 6e 64 69 63 65 73 20 63 |the appe|ndices c|
|000026f0| 6f 6e 74 61 69 6e 20 65 | 78 63 65 72 70 74 73 20 |ontain e|xcerpts |
|00002700| 66 72 6f 6d 20 74 68 65 | 20 74 65 6d 70 6c 61 74 |from the| templat|
|00002710| 65 0a 58 64 65 66 69 6e | 69 74 69 6f 6e 20 66 69 |e.Xdefin|ition fi|
|00002720| 6c 65 73 2e 0a 58 0a 58 | 54 68 65 20 73 69 6d 70 |les..X.X|The simp|
|00002730| 6c 65 73 74 20 66 6f 72 | 6d 20 6f 66 20 74 65 6d |lest for|m of tem|
|00002740| 70 6c 61 74 65 73 20 61 | 72 65 20 72 65 63 74 61 |plates a|re recta|
|00002750| 6e 67 75 6c 61 72 20 62 | 6c 6f 63 6b 73 20 6f 66 |ngular b|locks of|
|00002760| 20 74 65 78 74 2e 20 20 | 53 6f 6d 65 0a 58 74 65 | text. |Some.Xte|
|00002770| 6d 70 6c 61 74 65 73 20 | 68 61 76 65 20 40 64 66 |mplates |have @df|
|00002780| 6e 7b 70 6c 61 63 65 68 | 6f 6c 64 65 72 73 7d 20 |n{placeh|olders} |
|00002790| 77 69 74 68 69 6e 20 74 | 68 65 6d 2e 20 20 41 20 |within t|hem. A |
|000027a0| 70 6c 61 63 65 68 6f 6c | 64 65 72 20 6d 61 79 20 |placehol|der may |
|000027b0| 62 65 0a 58 72 65 70 6c | 61 63 65 64 20 62 79 20 |be.Xrepl|aced by |
|000027c0| 61 6e 79 20 6f 62 6a 65 | 63 74 20 6f 66 20 69 74 |any obje|ct of it|
|000027d0| 73 20 74 79 70 65 2e 20 | 20 46 6f 72 20 65 78 61 |s type. | For exa|
|000027e0| 6d 70 6c 65 2c 20 40 64 | 66 6e 7b 74 65 78 74 7d |mple, @d|fn{text}|
|000027f0| 20 74 79 70 65 0a 58 70 | 6c 61 63 65 68 6f 6c 64 | type.Xp|lacehold|
|00002800| 65 72 73 20 6d 61 79 20 | 62 65 20 72 65 70 6c 61 |ers may |be repla|
|00002810| 63 65 64 20 62 79 20 61 | 6e 79 20 74 65 78 74 20 |ced by a|ny text |
|00002820| 73 74 72 69 6e 67 20 74 | 68 61 74 20 64 6f 65 73 |string t|hat does|
|00002830| 20 6e 6f 74 20 63 6f 6e | 74 61 69 6e 20 61 0a 58 | not con|tain a.X|
|00002840| 6e 65 77 6c 69 6e 65 2e | 20 20 53 6f 6d 65 20 74 |newline.| Some t|
|00002850| 65 6d 70 6c 61 74 65 73 | 20 61 72 65 20 6d 65 6e |emplates| are men|
|00002860| 75 20 6c 69 73 74 73 20 | 6f 66 20 6f 74 68 65 72 |u lists |of other|
|00002870| 20 74 65 6d 70 6c 61 74 | 65 73 2d 2d 2d 79 6f 75 | templat|es---you|
|00002880| 20 6d 75 73 74 0a 58 73 | 65 6c 65 63 74 20 6f 6e | must.Xs|elect on|
|00002890| 65 20 6f 66 20 74 68 65 | 20 69 74 65 6d 73 20 6f |e of the| items o|
|000028a0| 66 20 74 68 65 20 6c 69 | 73 74 20 74 6f 20 69 6e |f the li|st to in|
|000028b0| 73 65 72 74 2e 20 20 41 | 6e 6f 74 68 65 72 20 66 |sert. A|nother f|
|000028c0| 6f 72 6d 20 6f 66 20 74 | 65 6d 70 6c 61 74 65 0a |orm of t|emplate.|
|000028d0| 58 67 65 6e 65 72 61 74 | 65 73 20 61 20 73 65 71 |Xgenerat|es a seq|
|000028e0| 75 65 6e 63 65 20 6f 66 | 20 73 6f 6d 65 20 6f 74 |uence of| some ot|
|000028f0| 68 65 72 20 74 65 6d 70 | 6c 61 74 65 2d 2d 2d 79 |her temp|late---y|
|00002900| 6f 75 20 61 72 65 20 61 | 73 6b 65 64 20 77 68 65 |ou are a|sked whe|
|00002910| 6e 20 74 6f 20 73 74 6f | 70 0a 58 67 65 6e 65 72 |n to sto|p.Xgener|
|00002920| 61 74 69 6e 67 2e 0a 58 | 0a 58 49 6e 20 66 61 63 |ating..X|.XIn fac|
|00002930| 74 2c 20 61 20 73 65 74 | 20 6f 66 20 74 65 6d 70 |t, a set| of temp|
|00002940| 6c 61 74 65 73 20 64 65 | 66 69 6e 65 73 20 61 20 |lates de|fines a |
|00002950| 63 6f 6e 74 65 78 74 2d | 66 72 65 65 20 67 72 61 |context-|free gra|
|00002960| 6d 6d 61 72 2e 20 20 45 | 61 63 68 0a 58 40 64 66 |mmar. E|ach.X@df|
|00002970| 6e 7b 53 65 71 75 65 6e | 63 65 7d 20 74 65 6d 70 |n{Sequen|ce} temp|
|00002980| 6c 61 74 65 20 69 73 20 | 61 20 70 72 6f 64 75 63 |late is |a produc|
|00002990| 74 69 6f 6e 2e 20 20 50 | 6c 61 63 65 68 6f 6c 64 |tion. P|lacehold|
|000029a0| 65 72 73 20 72 65 70 72 | 65 73 65 6e 74 0a 58 6e |ers repr|esent.Xn|
|000029b0| 6f 6e 74 65 72 6d 69 6e | 61 6c 73 2e 20 20 54 68 |ontermin|als. Th|
|000029c0| 65 20 61 63 74 20 6f 66 | 20 69 6e 73 65 72 74 69 |e act of| inserti|
|000029d0| 6e 67 20 61 6e 64 20 65 | 78 70 61 6e 64 69 6e 67 |ng and e|xpanding|
|000029e0| 20 61 20 74 65 6d 70 6c | 61 74 65 20 69 73 20 74 | a templ|ate is t|
|000029f0| 68 65 20 73 61 6d 65 20 | 61 73 0a 58 62 75 69 6c |he same |as.Xbuil|
|00002a00| 64 69 6e 67 20 74 68 65 | 20 64 65 72 69 76 61 74 |ding the| derivat|
|00002a10| 69 6f 6e 20 74 72 65 65 | 20 66 6f 72 20 74 68 65 |ion tree| for the|
|00002a20| 20 6e 6f 6e 74 65 72 6d | 69 6e 61 6c 20 6f 6e 20 | nonterm|inal on |
|00002a30| 74 68 65 20 6c 65 66 74 | 20 73 69 64 65 20 6f 66 |the left| side of|
|00002a40| 20 74 68 65 0a 58 70 72 | 6f 64 75 63 74 69 6f 6e | the.Xpr|oduction|
|00002a50| 2e 20 20 40 64 66 6e 7b | 53 65 6c 65 63 74 69 6f |. @dfn{|Selectio|
|00002a60| 6e 7d 20 74 65 6d 70 6c | 61 74 65 73 20 72 65 70 |n} templ|ates rep|
|00002a70| 72 65 73 65 6e 74 20 6e | 6f 6e 74 65 72 6d 69 6e |resent n|ontermin|
|00002a80| 61 6c 73 20 77 69 74 68 | 20 6d 6f 72 65 0a 58 74 |als with| more.Xt|
|00002a90| 68 61 6e 20 6f 6e 65 20 | 70 72 6f 64 75 63 74 69 |han one |producti|
|00002aa0| 6f 6e 2e 20 20 40 64 66 | 6e 7b 52 65 70 65 74 69 |on. @df|n{Repeti|
|00002ab0| 74 69 6f 6e 7d 20 74 65 | 6d 70 6c 61 74 65 73 20 |tion} te|mplates |
|00002ac0| 72 65 70 72 65 73 65 6e | 74 20 70 72 6f 64 75 63 |represen|t produc|
|00002ad0| 74 69 6f 6e 73 20 6f 66 | 0a 58 74 68 65 20 66 6f |tions of|.Xthe fo|
|00002ae0| 72 6d 20 40 73 61 6d 70 | 7b 42 28 41 42 29 2a 7d |rm @samp|{B(AB)*}|
|00002af0| 2c 20 77 68 65 72 65 20 | 40 73 61 6d 70 7b 41 7d |, where |@samp{A}|
|00002b00| 20 69 73 20 61 6e 79 20 | 74 65 72 6d 69 6e 61 6c | is any |terminal|
|00002b10| 20 73 74 72 69 6e 67 20 | 61 6e 64 20 40 73 61 6d | string |and @sam|
|00002b20| 70 7b 42 7d 0a 58 69 73 | 20 61 6e 79 20 6e 6f 6e |p{B}.Xis| any non|
|00002b30| 74 65 72 6d 69 6e 61 6c | 2e 20 20 54 68 65 72 65 |terminal|. There|
|00002b40| 20 61 72 65 20 74 68 72 | 65 65 20 6d 6f 72 65 20 | are thr|ee more |
|00002b50| 74 79 70 65 73 20 6f 66 | 20 74 65 6d 70 6c 61 74 |types of| templat|
|00002b60| 65 73 3a 0a 58 40 64 66 | 6e 7b 4c 65 78 69 63 61 |es:.X@df|n{Lexica|
|00002b70| 6c 7d 2c 20 40 64 66 6e | 7b 53 74 72 69 6e 67 7d |l}, @dfn|{String}|
|00002b80| 20 61 6e 64 20 40 64 66 | 6e 7b 46 75 6e 63 74 69 | and @df|n{Functi|
|00002b90| 6f 6e 7d 2e 20 20 4c 65 | 78 69 63 61 6c 20 74 65 |on}. Le|xical te|
|00002ba0| 6d 70 6c 61 74 65 73 20 | 61 72 65 20 75 73 65 64 |mplates |are used|
|00002bb0| 0a 58 74 6f 20 64 65 73 | 63 72 69 62 65 20 73 79 |.Xto des|cribe sy|
|00002bc0| 6d 62 6f 6c 73 20 62 79 | 20 72 65 67 75 6c 61 72 |mbols by| regular|
|00002bd0| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 2e 20 20 53 | express|ions. S|
|00002be0| 74 72 69 6e 67 20 74 65 | 6d 70 6c 61 74 65 73 20 |tring te|mplates |
|00002bf0| 61 72 65 20 61 20 73 70 | 65 63 69 61 6c 0a 58 63 |are a sp|ecial.Xc|
|00002c00| 61 73 65 20 6f 66 20 53 | 65 71 75 65 6e 63 65 20 |ase of S|equence |
|00002c10| 74 65 6d 70 6c 61 74 65 | 73 20 74 68 61 74 20 63 |template|s that c|
|00002c20| 6f 6e 74 61 69 6e 20 6e | 6f 20 70 6c 61 63 65 68 |ontain n|o placeh|
|00002c30| 6f 6c 64 65 72 73 20 28 | 61 6e 64 20 61 72 65 20 |olders (|and are |
|00002c40| 70 61 72 73 65 64 0a 58 | 66 61 73 74 65 72 29 2e |parsed.X|faster).|
|00002c50| 20 20 46 75 6e 63 74 69 | 6f 6e 20 74 65 6d 70 6c | Functi|on templ|
|00002c60| 61 74 65 73 20 70 72 6f | 76 69 64 65 20 61 20 6d |ates pro|vide a m|
|00002c70| 65 63 68 61 6e 69 73 6d | 20 66 6f 72 20 69 6e 76 |echanism| for inv|
|00002c80| 6f 6b 69 6e 67 20 61 6e | 79 0a 58 45 6d 61 63 73 |oking an|y.XEmacs|
|00002c90| 2d 4c 69 73 70 20 66 75 | 6e 63 74 69 6f 6e 20 64 |-Lisp fu|nction d|
|00002ca0| 75 72 69 6e 67 20 74 65 | 6d 70 6c 61 74 65 20 65 |uring te|mplate e|
|00002cb0| 78 70 61 6e 73 69 6f 6e | 2e 0a 58 0a 58 54 65 6d |xpansion|..X.XTem|
|00002cc0| 70 6c 61 74 65 73 20 61 | 72 65 20 64 65 66 69 6e |plates a|re defin|
|00002cd0| 65 64 20 62 79 20 61 20 | 73 69 6d 70 6c 65 20 73 |ed by a |simple s|
|00002ce0| 79 6e 74 61 78 20 61 6e | 64 20 73 74 6f 72 65 64 |yntax an|d stored|
|00002cf0| 20 69 6e 20 41 53 43 49 | 49 20 66 69 6c 65 73 2e | in ASCI|I files.|
|00002d00| 20 20 54 68 65 0a 58 73 | 74 61 6e 64 61 72 64 20 | The.Xs|tandard |
|00002d10| 74 65 6d 70 6c 61 74 65 | 73 20 66 6f 72 20 75 73 |template|s for us|
|00002d20| 65 20 62 79 20 40 69 7b | 74 65 6d 70 6c 61 74 65 |e by @i{|template|
|00002d30| 2d 6d 6f 64 65 7d 20 6d | 61 79 20 62 65 20 66 6f |-mode} m|ay be fo|
|00002d40| 75 6e 64 20 69 6e 20 61 | 20 64 69 72 65 63 74 6f |und in a| directo|
|00002d50| 72 79 0a 58 72 65 66 65 | 72 65 6e 63 65 64 20 62 |ry.Xrefe|renced b|
|00002d60| 79 20 40 66 69 6c 65 7b | 74 70 6c 2d 6c 6f 61 64 |y @file{|tpl-load|
|00002d70| 2d 70 61 74 68 7d 2e 20 | 20 46 69 6c 65 73 20 65 |-path}. | Files e|
|00002d80| 6e 64 69 6e 67 20 77 69 | 74 68 20 40 66 69 6c 65 |nding wi|th @file|
|00002d90| 7b 2e 74 70 6c 7d 20 61 | 72 65 0a 58 74 65 6d 70 |{.tpl} a|re.Xtemp|
|00002da0| 6c 61 74 65 20 73 6f 75 | 72 63 65 20 66 69 6c 65 |late sou|rce file|
|00002db0| 73 2e 20 20 43 6f 6d 70 | 69 6c 65 64 20 76 65 72 |s. Comp|iled ver|
|00002dc0| 73 69 6f 6e 73 20 61 72 | 65 20 66 6f 75 6e 64 20 |sions ar|e found |
|00002dd0| 69 6e 20 66 69 6c 65 73 | 20 65 6e 64 69 6e 67 20 |in files| ending |
|00002de0| 77 69 74 68 0a 58 40 66 | 69 6c 65 7b 74 70 6c 2e |with.X@f|ile{tpl.|
|00002df0| 65 6c 63 7d 2e 20 20 59 | 6f 75 20 6d 61 79 20 66 |elc}. Y|ou may f|
|00002e00| 69 6e 64 20 69 74 20 75 | 73 65 66 75 6c 20 74 6f |ind it u|seful to|
|00002e10| 20 70 72 69 6e 74 20 74 | 68 65 20 40 66 69 6c 65 | print t|he @file|
|00002e20| 7b 2e 74 70 6c 7d 20 66 | 69 6c 65 73 20 66 6f 72 |{.tpl} f|iles for|
|00002e30| 0a 58 74 68 65 20 6c 61 | 6e 67 75 61 67 65 73 20 |.Xthe la|nguages |
|00002e40| 79 6f 75 20 75 73 65 2e | 0a 58 0a 58 40 6d 65 6e |you use.|.X.X@men|
|00002e50| 75 0a 58 2a 20 74 75 74 | 6f 72 69 61 6c 3a 3a 20 |u.X* tut|orial:: |
|00002e60| 20 20 20 20 20 20 41 20 | 73 68 6f 72 74 20 65 78 | A |short ex|
|00002e70| 61 6d 70 6c 65 2e 0a 58 | 2a 20 63 6f 6d 6d 61 6e |ample..X|* comman|
|00002e80| 64 73 3a 3a 20 20 20 20 | 20 20 20 48 6f 77 20 74 |ds:: | How t|
|00002e90| 6f 20 75 73 65 20 74 65 | 6d 70 6c 61 74 65 73 20 |o use te|mplates |
|00002ea0| 77 68 69 6c 65 20 65 64 | 69 74 69 6e 67 2e 0a 58 |while ed|iting..X|
|00002eb0| 2a 20 63 75 73 74 6f 6d | 69 7a 61 74 69 6f 6e 3a |* custom|ization:|
|00002ec0| 3a 20 20 48 6f 77 20 74 | 6f 20 74 61 69 6c 6f 72 |: How t|o tailor|
|00002ed0| 20 74 65 6d 70 6c 61 74 | 65 73 20 61 6e 64 20 74 | templat|es and t|
|00002ee0| 68 65 69 72 20 63 6f 6d | 6d 61 6e 64 73 2e 0a 58 |heir com|mands..X|
|00002ef0| 2a 20 64 65 74 61 69 6c | 73 3a 3a 20 20 20 20 20 |* detail|s:: |
|00002f00| 20 20 20 44 65 74 61 69 | 6c 73 20 6f 66 20 74 65 | Detai|ls of te|
|00002f10| 6d 70 6c 61 74 65 20 61 | 6e 64 20 70 6c 61 63 65 |mplate a|nd place|
|00002f20| 68 6f 6c 64 65 72 20 73 | 79 6e 74 61 78 0a 58 40 |holder s|yntax.X@|
|00002f30| 65 6e 64 20 6d 65 6e 75 | 0a 58 0a 58 40 6e 6f 64 |end menu|.X.X@nod|
|00002f40| 65 20 74 75 74 6f 72 69 | 61 6c 2c 20 63 6f 6d 6d |e tutori|al, comm|
|00002f50| 61 6e 64 73 2c 20 74 6f | 70 2c 20 74 6f 70 0a 58 |ands, to|p, top.X|
|00002f60| 40 63 68 61 70 74 65 72 | 20 54 75 74 6f 72 69 61 |@chapter| Tutoria|
|00002f70| 6c 20 2d 2d 20 41 20 53 | 68 6f 72 74 20 45 78 61 |l -- A S|hort Exa|
|00002f80| 6d 70 6c 65 0a 58 0a 58 | 49 6e 20 74 68 65 20 65 |mple.X.X|In the e|
|00002f90| 78 61 6d 70 6c 65 20 62 | 65 6c 6f 77 2c 20 74 68 |xample b|elow, th|
|00002fa0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6e 76 |e follow|ing conv|
|00002fb0| 65 6e 74 69 6f 6e 73 20 | 68 61 76 65 20 62 65 65 |entions |have bee|
|00002fc0| 6e 20 75 73 65 64 3a 0a | 58 40 69 74 65 6d 69 7a |n used:.|X@itemiz|
|00002fd0| 65 20 40 62 75 6c 6c 65 | 74 0a 58 40 69 74 65 6d |e @bulle|t.X@item|
|00002fe0| 0a 58 54 68 65 20 66 69 | 72 73 74 20 6c 69 6e 65 |.XThe fi|rst line|
|00002ff0| 20 73 68 6f 77 73 20 61 | 20 70 72 6f 6d 70 74 2c | shows a| prompt,|
|00003000| 20 6f 72 20 63 6f 6e 74 | 61 69 6e 73 20 40 73 61 | or cont|ains @sa|
|00003010| 6d 70 7b 28 4e 6f 20 70 | 72 6f 6d 70 74 29 7d 20 |mp{(No p|rompt)} |
|00003020| 74 6f 20 73 68 6f 77 20 | 74 68 65 0a 58 61 62 73 |to show |the.Xabs|
|00003030| 65 6e 63 65 20 6f 66 20 | 70 72 6f 6d 70 74 69 6e |ence of |promptin|
|00003040| 67 2e 0a 58 0a 58 40 69 | 74 65 6d 0a 58 54 68 65 |g..X.X@i|tem.XThe|
|00003050| 20 73 65 63 6f 6e 64 2c | 20 69 6e 64 65 6e 74 65 | second,| indente|
|00003060| 64 20 6c 69 6e 65 20 73 | 68 6f 77 73 20 79 6f 75 |d line s|hows you|
|00003070| 72 20 72 65 73 70 6f 6e | 73 65 2e 20 20 49 66 20 |r respon|se. If |
|00003080| 61 20 63 61 72 72 69 61 | 67 65 20 72 65 74 75 72 |a carria|ge retur|
|00003090| 6e 0a 58 28 40 6b 65 79 | 7b 52 45 54 7d 29 20 69 |n.X(@key|{RET}) i|
|000030a0| 73 20 72 65 71 75 69 72 | 65 64 2c 20 69 74 20 77 |s requir|ed, it w|
|000030b0| 69 6c 6c 20 62 65 20 69 | 6e 63 6c 75 64 65 64 20 |ill be i|ncluded |
|000030c0| 69 6e 20 79 6f 75 72 20 | 72 65 73 70 6f 6e 73 65 |in your |response|
|000030d0| 2e 0a 58 40 65 6e 64 20 | 69 74 65 6d 69 7a 65 0a |..X@end |itemize.|
|000030e0| 58 54 68 65 20 41 70 70 | 65 6e 64 69 63 65 73 20 |XThe App|endices |
|000030f0| 63 6f 6e 74 61 69 6e 20 | 74 68 65 20 74 65 6d 70 |contain |the temp|
|00003100| 6c 61 74 65 73 20 64 65 | 73 63 72 69 62 65 64 20 |lates de|scribed |
|00003110| 69 6e 20 74 68 69 73 20 | 65 78 61 6d 70 6c 65 2e |in this |example.|
|00003120| 0a 58 0a 58 46 69 72 73 | 74 2c 20 76 69 73 69 74 |.X.XFirs|t, visit|
|00003130| 20 40 66 69 6c 65 7b 73 | 61 6d 70 6c 65 2e 65 6c | @file{s|ample.el|
|00003140| 7d 2c 20 61 6e 64 20 6d | 61 6b 65 20 73 75 72 65 |}, and m|ake sure|
|00003150| 20 74 68 61 74 20 40 69 | 7b 45 6d 61 63 73 2d 4c | that @i|{Emacs-L|
|00003160| 69 73 70 2d 4d 6f 64 65 | 7d 20 69 73 20 69 6e 0a |isp-Mode|} is in.|
|00003170| 58 65 66 66 65 63 74 2e | 0a 58 0a 58 40 74 61 62 |Xeffect.|.X.X@tab|
|00003180| 6c 65 20 40 63 6f 64 65 | 0a 58 40 69 74 65 6d 20 |le @code|.X@item |
|00003190| 28 4e 6f 20 70 72 6f 6d | 70 74 29 0a 58 40 6b 65 |(No prom|pt).X@ke|
|000031a0| 79 7b 45 53 43 7d 20 78 | 0a 58 0a 58 40 69 74 65 |y{ESC} x|.X.X@ite|
|000031b0| 6d 20 4d 2d 78 0a 58 40 | 2a 0a 58 6c 6f 61 64 2d |m M-x.X@|*.Xload-|
|000031c0| 66 69 6c 65 20 40 6b 65 | 79 7b 52 45 54 7d 0a 58 |file @ke|y{RET}.X|
|000031d0| 0a 58 40 69 74 65 6d 20 | 4c 6f 61 64 20 66 69 6c |.X@item |Load fil|
|000031e0| 65 3a 0a 58 40 2a 0a 58 | 74 65 6d 70 6c 61 74 65 |e:.X@*.X|template|
|000031f0| 20 40 6b 65 79 7b 52 45 | 54 7d 0a 58 0a 58 40 69 | @key{RE|T}.X.X@i|
|00003200| 74 65 6d 20 28 4e 6f 20 | 70 72 6f 6d 70 74 29 0a |tem (No |prompt).|
|00003210| 58 40 6b 65 79 7b 45 53 | 43 7d 20 78 0a 58 0a 58 |X@key{ES|C} x.X.X|
|00003220| 40 69 74 65 6d 20 4d 2d | 78 0a 58 40 2a 0a 58 74 |@item M-|x.X@*.Xt|
|00003230| 65 6d 70 6c 61 74 65 2d | 6d 6f 64 65 20 40 6b 65 |emplate-|mode @ke|
|00003240| 79 7b 52 45 54 7d 0a 58 | 40 65 6e 64 20 74 61 62 |y{RET}.X|@end tab|
|00003250| 6c 65 0a 58 0a 58 41 74 | 20 74 68 69 73 20 70 6f |le.X.XAt| this po|
|00003260| 69 6e 74 2c 20 40 69 7b | 74 65 6d 70 6c 61 74 65 |int, @i{|template|
|00003270| 2d 6d 6f 64 65 7d 20 77 | 69 6c 6c 20 62 65 20 69 |-mode} w|ill be i|
|00003280| 6e 69 74 69 61 6c 69 7a | 65 64 2e 20 20 43 6f 6d |nitializ|ed. Com|
|00003290| 70 6c 65 74 69 6f 6e 20 | 6f 66 0a 58 69 6e 69 74 |pletion |of.Xinit|
|000032a0| 69 61 6c 69 7a 61 74 69 | 6f 6e 20 69 73 20 73 69 |ializati|on is si|
|000032b0| 67 6e 61 6c 6c 65 64 20 | 62 79 20 74 68 65 20 70 |gnalled |by the p|
|000032c0| 72 65 73 65 6e 63 65 20 | 6f 66 20 74 68 65 20 73 |resence |of the s|
|000032d0| 79 6d 62 6f 6c 20 40 63 | 6f 64 65 7b 54 65 6d 70 |ymbol @c|ode{Temp|
|000032e0| 6c 61 74 65 7d 0a 58 69 | 6e 20 74 68 65 20 6d 6f |late}.Xi|n the mo|
|000032f0| 64 65 20 6c 69 6e 65 2e | 20 20 49 66 20 45 6d 61 |de line.| If Ema|
|00003300| 63 73 20 63 6f 6d 70 6c | 61 69 6e 73 20 61 62 6f |cs compl|ains abo|
|00003310| 75 74 20 6e 6f 74 20 66 | 69 6e 64 69 6e 67 20 40 |ut not f|inding @|
|00003320| 66 69 6c 65 7b 74 65 6d | 70 6c 61 74 65 7d 2c 0a |file{tem|plate},.|
|00003330| 58 74 68 65 6e 20 79 6f | 75 20 77 69 6c 6c 20 6e |Xthen yo|u will n|
|00003340| 65 65 64 20 74 6f 20 66 | 69 6e 64 20 74 68 65 20 |eed to f|ind the |
|00003350| 61 62 73 6f 6c 75 74 65 | 20 70 61 74 68 20 6e 61 |absolute| path na|
|00003360| 6d 65 20 66 6f 72 20 74 | 68 69 73 20 70 61 63 6b |me for t|his pack|
|00003370| 61 67 65 2e 20 20 28 53 | 65 65 0a 58 79 6f 75 72 |age. (S|ee.Xyour|
|00003380| 20 63 6f 6d 70 75 74 65 | 72 20 63 65 6e 74 65 72 | compute|r center|
|00003390| 20 6f 72 20 61 20 6b 6e | 6f 77 6c 65 64 67 65 61 | or a kn|owledgea|
|000033a0| 62 6c 65 20 45 6d 61 63 | 73 20 75 73 65 72 2e 29 |ble Emac|s user.)|
|000033b0| 0a 58 0a 58 59 6f 75 20 | 6d 61 79 20 77 61 6e 74 |.X.XYou |may want|
|000033c0| 20 74 6f 20 65 78 70 65 | 72 69 6d 65 6e 74 20 77 | to expe|riment w|
|000033d0| 69 74 68 20 74 68 65 20 | 74 65 6d 70 6c 61 74 65 |ith the |template|
|000033e0| 2d 67 65 6e 65 72 61 74 | 69 6f 6e 20 63 6f 6d 6d |-generat|ion comm|
|000033f0| 61 6e 64 73 20 61 74 20 | 74 68 69 73 0a 58 70 6f |ands at |this.Xpo|
|00003400| 69 6e 74 2c 20 6f 72 20 | 63 6f 6e 74 69 6e 75 65 |int, or |continue|
|00003410| 20 74 68 65 20 74 75 74 | 6f 72 69 61 6c 20 6f 6e | the tut|orial on|
|00003420| 20 74 68 65 20 6e 65 78 | 74 20 70 61 67 65 2e 0a | the nex|t page..|
|00003430| 58 0a 58 40 70 61 67 65 | 0a 58 0a 58 40 74 61 62 |X.X@page|.X.X@tab|
|00003440| 6c 65 20 40 63 6f 64 65 | 0a 58 40 69 74 65 6d 20 |le @code|.X@item |
|00003450| 28 4e 6f 20 70 72 6f 6d | 70 74 29 0a 58 40 63 74 |(No prom|pt).X@ct|
|00003460| 72 6c 7b 63 7d 20 40 63 | 74 72 6c 7b 74 7d 20 74 |rl{c} @c|trl{t} t|
|00003470| 0a 58 0a 58 40 69 74 65 | 6d 20 67 65 6e 65 72 61 |.X.X@ite|m genera|
|00003480| 74 65 2d 74 65 6d 70 6c | 61 74 65 3a 20 4e 61 6d |te-templ|ate: Nam|
|00003490| 65 20 6f 66 20 74 65 6d | 70 6c 61 74 65 3f 0a 58 |e of tem|plate?.X|
|000034a0| 70 61 63 6b 61 67 65 20 | 40 6b 65 79 7b 52 45 54 |package |@key{RET|
|000034b0| 7d 0a 58 0a 58 40 69 74 | 65 6d 20 45 78 70 61 6e |}.X.X@it|em Expan|
|000034c0| 64 3f 20 28 79 20 6f 72 | 20 6e 29 0a 58 79 0a 58 |d? (y or| n).Xy.X|
|000034d0| 0a 58 40 69 74 65 6d 20 | 45 78 70 61 6e 64 3f 20 |.X@item |Expand? |
|000034e0| 28 79 20 6f 72 20 6e 29 | 0a 58 79 0a 58 0a 58 40 |(y or n)|.Xy.X.X@|
|000034f0| 69 74 65 6d 20 52 65 70 | 6c 61 63 65 20 3c 74 65 |item Rep|lace <te|
|00003500| 78 74 3a 64 6f 63 75 6d | 65 6e 74 61 74 69 6f 6e |xt:docum|entation|
|00003510| 3e 20 77 69 74 68 20 77 | 68 61 74 3f 0a 58 53 61 |> with w|hat?.XSa|
|00003520| 6d 70 6c 65 20 70 61 63 | 6b 61 67 65 20 40 6b 65 |mple pac|kage @ke|
|00003530| 79 7b 52 45 54 7d 0a 58 | 0a 58 40 69 74 65 6d 20 |y{RET}.X|.X@item |
|00003540| 45 78 70 61 6e 64 3f 20 | 28 79 20 6f 72 20 6e 29 |Expand? |(y or n)|
|00003550| 0a 58 6e 0a 58 0a 58 40 | 69 74 65 6d 20 45 78 70 |.Xn.X.X@|item Exp|
|00003560| 61 6e 64 3f 20 28 79 20 | 6f 72 20 6e 29 0a 58 6e |and? (y |or n).Xn|
|00003570| 0a 58 0a 58 40 69 74 65 | 6d 20 4b 65 65 70 20 6f |.X.X@ite|m Keep o|
|00003580| 70 74 69 6f 6e 61 6c 20 | 70 6c 61 63 65 68 6f 6c |ptional |placehol|
|00003590| 64 65 72 3f 20 28 79 20 | 6f 72 20 6e 29 0a 58 79 |der? (y |or n).Xy|
|000035a0| 0a 58 0a 58 40 69 74 65 | 6d 20 45 78 70 61 6e 64 |.X.X@ite|m Expand|
|000035b0| 3f 20 28 79 20 6f 72 20 | 6e 29 0a 58 6e 0a 58 0a |? (y or |n).Xn.X.|
|000035c0| 58 40 69 74 65 6d 20 45 | 78 70 61 6e 64 3f 20 28 |X@item E|xpand? (|
|000035d0| 79 20 6f 72 20 6e 29 0a | 58 79 0a 58 0a 58 40 69 |y or n).|Xy.X.X@i|
|000035e0| 74 65 6d 20 45 78 70 61 | 6e 64 3f 20 28 79 20 6f |tem Expa|nd? (y o|
|000035f0| 72 20 6e 29 0a 58 79 0a | 58 0a 58 40 69 74 65 6d |r n).Xy.|X.X@item|
|00003600| 20 52 65 70 6c 61 63 65 | 20 3c 74 65 78 74 65 6e | Replace| <texten|
|00003610| 74 65 72 3a 66 75 6e 63 | 74 69 6f 6e 2d 6e 61 6d |ter:func|tion-nam|
|00003620| 65 3e 20 77 69 74 68 20 | 77 68 61 74 3f 0a 58 72 |e> with |what?.Xr|
|00003630| 65 76 65 72 73 65 20 40 | 6b 65 79 7b 52 45 54 7d |everse @|key{RET}|
|00003640| 0a 58 0a 58 40 69 74 65 | 6d 20 45 78 70 61 6e 64 |.X.X@ite|m Expand|
|00003650| 3f 20 28 79 20 6f 72 20 | 6e 29 0a 58 79 0a 58 0a |? (y or |n).Xy.X.|
|00003660| 58 40 69 74 65 6d 20 52 | 65 70 6c 61 63 65 20 3c |X@item R|eplace <|
|00003670| 74 65 78 74 3a 61 72 67 | 75 6d 65 6e 74 73 3e 20 |text:arg|uments> |
|00003680| 77 69 74 68 20 77 68 61 | 74 3f 0a 58 6c 69 73 74 |with wha|t?.Xlist|
|00003690| 20 40 6b 65 79 7b 52 45 | 54 7d 0a 58 0a 58 40 69 | @key{RE|T}.X.X@i|
|000036a0| 74 65 6d 20 45 78 70 61 | 6e 64 3f 20 28 79 20 6f |tem Expa|nd? (y o|
|000036b0| 72 20 6e 29 0a 58 79 0a | 58 0a 58 40 69 74 65 6d |r n).Xy.|X.X@item|
|000036c0| 20 54 79 70 65 20 72 65 | 70 6c 61 63 65 6d 65 6e | Type re|placemen|
|000036d0| 74 20 61 6e 64 20 65 78 | 69 74 20 77 69 74 68 20 |t and ex|it with |
|000036e0| 40 6b 65 79 7b 45 53 43 | 7d 2d 40 63 74 72 6c 7b |@key{ESC|}-@ctrl{|
|000036f0| 63 7d 2e 0a 58 52 65 76 | 65 72 73 65 20 74 68 65 |c}..XRev|erse the|
|00003700| 20 69 74 65 6d 73 20 69 | 6e 20 4c 49 53 54 2e 20 | items i|n LIST. |
|00003710| 40 6b 65 79 7b 45 53 43 | 7d 2d 40 63 74 72 6c 7b |@key{ESC|}-@ctrl{|
|00003720| 63 7d 0a 58 0a 58 40 69 | 74 65 6d 20 45 78 70 61 |c}.X.X@i|tem Expa|
|00003730| 6e 64 3f 20 28 79 20 6f | 72 20 6e 29 0a 58 79 0a |nd? (y o|r n).Xy.|
|00003740| 58 0a 58 40 69 74 65 6d | 20 50 6f 73 69 74 69 6f |X.X@item| Positio|
|00003750| 6e 20 6f 6e 20 73 65 6c | 65 63 74 69 6f 6e 20 61 |n on sel|ection a|
|00003760| 6e 64 20 65 78 69 74 20 | 77 69 74 68 20 52 65 74 |nd exit |with Ret|
|00003770| 75 72 6e 20 28 6f 72 20 | 40 6b 65 79 7b 45 53 43 |urn (or |@key{ESC|
|00003780| 7d 2d 40 63 74 72 6c 7b | 63 7d 29 2e 0a 58 78 20 |}-@ctrl{|c})..Xx |
|00003790| 40 6b 65 79 7b 52 45 54 | 7d 0a 58 0a 58 40 69 74 |@key{RET|}.X.X@it|
|000037a0| 65 6d 20 45 78 70 61 6e | 64 3f 20 28 79 20 6f 72 |em Expan|d? (y or|
|000037b0| 20 6e 29 0a 58 79 0a 58 | 0a 58 40 69 74 65 6d 20 | n).Xy.X|.X@item |
|000037c0| 52 65 70 6c 61 63 65 20 | 3c 74 65 78 74 3a 6c 6f |Replace |<text:lo|
|000037d0| 63 61 6c 2d 76 61 72 69 | 61 62 6c 65 73 3e 20 77 |cal-vari|ables> w|
|000037e0| 69 74 68 20 77 68 61 74 | 3f 0a 58 69 74 65 6d 20 |ith what|?.Xitem |
|000037f0| 40 6b 65 79 7b 52 45 54 | 7d 0a 58 0a 58 40 69 74 |@key{RET|}.X.X@it|
|00003800| 65 6d 20 45 78 70 61 6e | 64 3f 20 28 79 20 6f 72 |em Expan|d? (y or|
|00003810| 20 6e 29 0a 58 79 0a 58 | 0a 58 40 69 74 65 6d 20 | n).Xy.X|.X@item |
|00003820| 50 6f 73 69 74 69 6f 6e | 20 6f 6e 20 73 65 6c 65 |Position| on sele|
|00003830| 63 74 69 6f 6e 20 61 6e | 64 20 65 78 69 74 20 77 |ction an|d exit w|
|00003840| 69 74 68 20 52 65 74 75 | 72 6e 20 28 6f 72 20 40 |ith Retu|rn (or @|
|00003850| 6b 65 79 7b 45 53 43 7d | 2d 40 63 74 72 6c 7b 63 |key{ESC}|-@ctrl{c|
|00003860| 7d 29 2e 0a 58 77 20 40 | 6b 65 79 7b 53 50 43 7d |})..Xw @|key{SPC}|
|00003870| 20 40 6b 65 79 7b 52 45 | 54 7d 0a 58 0a 58 40 69 | @key{RE|T}.X.X@i|
|00003880| 74 65 6d 20 45 78 70 61 | 6e 64 3f 20 28 79 20 6f |tem Expa|nd? (y o|
|00003890| 72 20 6e 29 0a 58 79 0a | 58 0a 58 40 69 74 65 6d |r n).Xy.|X.X@item|
|000038a0| 20 52 65 70 6c 61 63 65 | 20 3c 74 65 78 74 3a 6c | Replace| <text:l|
|000038b0| 69 73 74 3e 20 77 69 74 | 68 20 77 68 61 74 3f 0a |ist> wit|h what?.|
|000038c0| 58 6c 69 73 74 20 40 6b | 65 79 7b 52 45 54 7d 0a |Xlist @k|ey{RET}.|
|000038d0| 58 0a 58 40 69 74 65 6d | 20 45 78 70 61 6e 64 3f |X.X@item| Expand?|
|000038e0| 20 28 79 20 6f 72 20 6e | 29 0a 58 79 0a 58 0a 58 | (y or n|).Xy.X.X|
|000038f0| 40 69 74 65 6d 20 52 65 | 70 6c 61 63 65 20 3c 74 |@item Re|place <t|
|00003900| 65 78 74 3a 69 74 65 6d | 3e 20 77 69 74 68 20 77 |ext:item|> with w|
|00003910| 68 61 74 3f 0a 58 69 74 | 65 6d 20 40 6b 65 79 7b |hat?.Xit|em @key{|
|00003920| 52 45 54 7d 0a 58 0a 58 | 40 69 74 65 6d 20 4d 6f |RET}.X.X|@item Mo|
|00003930| 72 65 20 69 6e 73 74 61 | 6e 63 65 73 20 6f 66 20 |re insta|nces of |
|00003940| 66 75 6e 63 74 69 6f 6e | 73 3f 20 28 79 20 6f 72 |function|s? (y or|
|00003950| 20 6e 29 0a 58 6e 0a 58 | 0a 58 40 69 74 65 6d 20 | n).Xn.X|.X@item |
|00003960| 44 6f 6e 65 2e 0a 58 2e | 2e 2e 28 59 6f 75 20 6d |Done..X.|..(You m|
|00003970| 61 79 20 66 69 6e 69 73 | 68 20 74 68 69 73 20 66 |ay finis|h this f|
|00003980| 75 6e 63 74 69 6f 6e 20 | 6e 6f 77 20 6f 72 20 63 |unction |now or c|
|00003990| 6f 6e 74 69 6e 75 65 29 | 2e 2e 2e 0a 58 0a 58 40 |ontinue)|....X.X@|
|000039a0| 69 74 65 6d 20 28 4e 6f | 20 70 72 6f 6d 70 74 29 |item (No| prompt)|
|000039b0| 0a 58 40 63 74 72 6c 7b | 63 7d 20 40 63 74 72 6c |.X@ctrl{|c} @ctrl|
|000039c0| 7b 74 7d 20 40 63 74 72 | 6c 7b 70 7d 0a 58 0a 58 |{t} @ctr|l{p}.X.X|
|000039d0| 40 69 74 65 6d 20 28 4e | 6f 20 70 72 6f 6d 70 74 |@item (N|o prompt|
|000039e0| 29 0a 58 40 63 74 72 6c | 7b 63 7d 20 40 63 74 72 |).X@ctrl|{c} @ctr|
|000039f0| 6c 7b 74 7d 20 40 63 74 | 72 6c 7b 6b 7d 0a 58 0a |l{t} @ct|rl{k}.X.|
|00003a00| 58 40 69 74 65 6d 20 28 | 4e 6f 20 70 72 6f 6d 70 |X@item (|No promp|
|00003a10| 74 29 0a 58 40 6b 65 79 | 7b 45 53 43 7d 20 3c 0a |t).X@key|{ESC} <.|
|00003a20| 58 0a 58 40 69 74 65 6d | 20 4d 61 72 6b 20 73 65 |X.X@item| Mark se|
|00003a30| 74 0a 58 40 2a 0a 58 40 | 63 74 72 6c 7b 63 7d 20 |t.X@*.X@|ctrl{c} |
|00003a40| 40 63 74 72 6c 7b 74 7d | 20 40 63 74 72 6c 7b 65 |@ctrl{t}| @ctrl{e|
|00003a50| 7d 0a 58 0a 58 40 69 74 | 65 6d 20 45 78 70 61 6e |}.X.X@it|em Expan|
|00003a60| 64 3f 20 28 79 20 6f 72 | 20 6e 29 0a 58 79 0a 58 |d? (y or| n).Xy.X|
|00003a70| 0a 58 40 69 74 65 6d 20 | 45 78 70 61 6e 64 3f 20 |.X@item |Expand? |
|00003a80| 28 79 20 6f 72 20 6e 29 | 0a 58 79 0a 58 40 65 6e |(y or n)|.Xy.X@en|
|00003a90| 64 20 74 61 62 6c 65 0a | 58 40 70 61 67 65 0a 58 |d table.|X@page.X|
|00003aa0| 0a 58 46 6f 72 20 61 20 | 73 68 6f 72 74 65 72 20 |.XFor a |shorter |
|00003ab0| 28 69 2e 65 2e 2c 20 66 | 65 77 65 72 20 6b 65 79 |(i.e., f|ewer key|
|00003ac0| 73 74 72 6f 6b 65 73 29 | 20 69 6e 63 61 6e 74 61 |strokes)| incanta|
|00003ad0| 74 69 6f 6e 20 6f 66 20 | 74 68 69 73 20 65 78 61 |tion of |this exa|
|00003ae0| 6d 70 6c 65 2c 20 74 72 | 79 0a 58 73 65 74 74 69 |mple, tr|y.Xsetti|
|00003af0| 6e 67 20 74 77 6f 20 6f | 70 74 69 6f 6e 73 3a 0a |ng two o|ptions:.|
|00003b00| 58 40 74 61 62 6c 65 20 | 40 63 6f 64 65 0a 58 40 |X@table |@code.X@|
|00003b10| 69 74 65 6d 20 74 70 6c | 2d 6b 65 65 70 2d 6f 70 |item tpl|-keep-op|
|00003b20| 74 69 6f 6e 61 6c 2d 70 | 6c 61 63 65 68 6f 6c 64 |tional-p|lacehold|
|00003b30| 65 72 73 0a 58 53 65 74 | 74 69 6e 67 20 74 68 69 |ers.XSet|ting thi|
|00003b40| 73 20 74 6f 20 40 63 6f | 64 65 7b 6e 69 6c 7d 20 |s to @co|de{nil} |
|00003b50| 77 69 6c 6c 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |will aut|omatical|
|00003b60| 6c 79 20 64 65 6c 65 74 | 65 20 6f 70 74 69 6f 6e |ly delet|e option|
|00003b70| 61 6c 20 70 6c 61 63 65 | 68 6f 6c 64 65 72 73 0a |al place|holders.|
|00003b80| 58 69 6e 20 74 65 6d 70 | 6c 61 74 65 73 2e 0a 58 |Xin temp|lates..X|
|00003b90| 0a 58 40 69 74 65 6d 20 | 74 70 6c 2d 61 73 6b 2d |.X@item |tpl-ask-|
|00003ba0| 65 78 70 61 6e 73 69 6f | 6e 2d 64 65 70 74 68 0a |expansio|n-depth.|
|00003bb0| 58 53 65 74 74 69 6e 67 | 20 74 68 69 73 20 74 6f |XSetting| this to|
|00003bc0| 20 40 63 6f 64 65 7b 34 | 7d 20 77 69 6c 6c 20 61 | @code{4|} will a|
|00003bd0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 62 65 67 |utomatic|ally beg|
|00003be0| 69 6e 20 65 78 70 61 6e | 73 69 6f 6e 20 6f 66 0a |in expan|sion of.|
|00003bf0| 58 70 6c 61 63 65 68 6f | 6c 64 65 72 73 2c 20 75 |Xplaceho|lders, u|
|00003c00| 6e 74 69 6c 20 74 68 65 | 20 64 65 70 74 68 20 6f |ntil the| depth o|
|00003c10| 66 20 72 65 63 75 72 73 | 69 76 65 20 65 78 70 61 |f recurs|ive expa|
|00003c20| 6e 73 69 6f 6e 73 20 72 | 65 61 63 68 65 73 20 34 |nsions r|eaches 4|
|00003c30| 2e 0a 58 40 65 6e 64 20 | 74 61 62 6c 65 0a 58 40 |..X@end |table.X@|
|00003c40| 6e 6f 69 6e 64 65 6e 74 | 0a 58 45 78 70 61 6e 64 |noindent|.XExpand|
|00003c50| 69 6e 67 20 74 68 65 20 | 40 63 6f 64 65 7b 70 61 |ing the |@code{pa|
|00003c60| 63 6b 61 67 65 7d 20 74 | 65 6d 70 6c 61 74 65 20 |ckage} t|emplate |
|00003c70| 73 68 6f 75 6c 64 20 74 | 61 6b 65 20 66 65 77 65 |should t|ake fewe|
|00003c80| 72 20 6b 65 79 73 74 72 | 6f 6b 65 73 20 61 66 74 |r keystr|okes aft|
|00003c90| 65 72 0a 58 74 68 65 73 | 65 20 63 68 61 6e 67 65 |er.Xthes|e change|
|00003ca0| 73 2e 0a 58 0a 58 40 6e | 6f 64 65 20 63 6f 6d 6d |s..X.X@n|ode comm|
|00003cb0| 61 6e 64 73 2c 20 63 75 | 73 74 6f 6d 69 7a 61 74 |ands, cu|stomizat|
|00003cc0| 69 6f 6e 2c 20 74 75 74 | 6f 72 69 61 6c 2c 20 74 |ion, tut|orial, t|
|00003cd0| 6f 70 0a 58 40 63 68 61 | 70 74 65 72 20 43 6f 6d |op.X@cha|pter Com|
|00003ce0| 6d 61 6e 64 73 20 2d 2d | 20 48 6f 77 20 74 6f 20 |mands --| How to |
|00003cf0| 55 73 65 20 54 65 6d 70 | 6c 61 74 65 73 20 57 68 |Use Temp|lates Wh|
|00003d00| 69 6c 65 20 45 64 69 74 | 69 6e 67 0a 58 0a 58 54 |ile Edit|ing.X.XT|
|00003d10| 68 69 73 20 63 68 61 70 | 74 65 72 20 73 65 72 76 |his chap|ter serv|
|00003d20| 65 73 20 61 73 20 61 20 | 72 65 66 65 72 65 6e 63 |es as a |referenc|
|00003d30| 65 20 74 6f 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |e to all| of the |
|00003d40| 40 69 7b 74 65 6d 70 6c | 61 74 65 2d 6d 6f 64 65 |@i{templ|ate-mode|
|00003d50| 7d 20 63 6f 6d 6d 61 6e | 64 73 2e 0a 58 54 68 65 |} comman|ds..XThe|
|00003d60| 20 66 69 72 73 74 20 73 | 65 63 74 69 6f 6e 20 62 | first s|ection b|
|00003d70| 72 69 65 66 6c 79 20 64 | 65 73 63 72 69 62 65 73 |riefly d|escribes|
|00003d80| 20 65 61 63 68 20 63 6f | 6d 6d 61 6e 64 2e 20 20 | each co|mmand. |
|00003d90| 46 6f 6c 6c 6f 77 69 6e | 67 20 73 65 63 74 69 6f |Followin|g sectio|
|00003da0| 6e 73 20 63 6f 76 65 72 | 0a 58 63 6f 6d 6d 61 6e |ns cover|.Xcomman|
|00003db0| 64 73 20 62 79 20 74 6f | 70 69 63 2c 20 73 75 63 |ds by to|pic, suc|
|00003dc0| 68 20 61 73 20 73 65 6c | 65 63 74 69 6e 67 20 6f |h as sel|ecting o|
|00003dd0| 72 20 65 78 70 61 6e 64 | 69 6e 67 20 74 65 6d 70 |r expand|ing temp|
|00003de0| 6c 61 74 65 73 2e 0a 58 | 0a 58 40 6d 65 6e 75 0a |lates..X|.X@menu.|
|00003df0| 58 2a 20 73 75 6d 6d 61 | 72 79 3a 3a 20 20 20 20 |X* summa|ry:: |
|00003e00| 20 20 20 20 53 68 6f 72 | 74 20 64 65 73 63 72 69 | Shor|t descri|
|00003e10| 70 74 69 6f 6e 20 6f 66 | 20 61 6c 6c 20 74 68 65 |ption of| all the|
|00003e20| 20 63 6f 6d 6d 61 6e 64 | 73 2e 0a 58 2a 20 6c 6f | command|s..X* lo|
|00003e30| 61 64 69 6e 67 3a 3a 20 | 20 20 20 20 20 20 20 49 |ading:: | I|
|00003e40| 6e 69 74 69 61 6c 69 7a | 61 74 69 6f 6e 20 6f 66 |nitializ|ation of|
|00003e50| 20 74 65 6d 70 6c 61 74 | 65 2d 6d 6f 64 65 2e 0a | templat|e-mode..|
|00003e60| 58 2a 20 73 65 6c 65 63 | 74 69 6e 67 3a 3a 20 20 |X* selec|ting:: |
|00003e70| 20 20 20 20 43 68 6f 6f | 73 69 6e 67 20 74 68 65 | Choo|sing the|
|00003e80| 20 72 69 67 68 74 20 74 | 65 6d 70 6c 61 74 65 2e | right t|emplate.|
|00003e90| 0a 58 2a 20 65 78 70 61 | 6e 64 69 6e 67 3a 3a 20 |.X* expa|nding:: |
|00003ea0| 20 20 20 20 20 52 65 70 | 6c 61 63 69 6e 67 20 70 | Rep|lacing p|
|00003eb0| 6c 61 63 65 68 6f 6c 64 | 65 72 73 20 62 79 20 74 |lacehold|ers by t|
|00003ec0| 65 6d 70 6c 61 74 65 73 | 20 6f 72 20 74 65 78 74 |emplates| or text|
|00003ed0| 2e 0a 58 2a 20 6d 65 6e | 75 73 3a 3a 20 20 20 20 |..X* men|us:: |
|00003ee0| 20 20 20 20 20 20 53 65 | 6c 65 63 74 69 6f 6e 20 | Se|lection |
|00003ef0| 6f 66 20 63 68 6f 69 63 | 65 73 20 2d 2d 20 4d 65 |of choic|es -- Me|
|00003f00| 6e 75 2d 4d 6f 64 65 2e | 0a 58 2a 20 73 79 6d 62 |nu-Mode.|.X* symb|
|00003f10| 6f 6c 73 3a 3a 20 20 20 | 20 20 20 20 20 53 68 6f |ols:: | Sho|
|00003f20| 72 74 20 65 78 70 72 65 | 73 73 69 6f 6e 73 20 61 |rt expre|ssions a|
|00003f30| 73 20 70 61 72 61 6d 65 | 74 65 72 73 20 74 6f 20 |s parame|ters to |
|00003f40| 74 65 6d 70 6c 61 74 65 | 73 2e 0a 58 2a 20 74 65 |template|s..X* te|
|00003f50| 78 74 6c 6f 6e 67 3a 3a | 20 20 20 20 20 20 20 4c |xtlong::| L|
|00003f60| 61 72 67 65 20 62 6c 6f | 63 6b 73 20 6f 66 20 74 |arge blo|cks of t|
|00003f70| 65 78 74 20 61 73 20 70 | 61 72 61 6d 65 74 65 72 |ext as p|arameter|
|00003f80| 73 20 74 6f 20 74 65 6d | 70 6c 61 74 65 73 2e 0a |s to tem|plates..|
|00003f90| 58 2a 20 77 72 61 70 70 | 69 6e 67 3a 3a 20 20 20 |X* wrapp|ing:: |
|00003fa0| 20 20 20 20 57 65 61 6b | 20 70 61 72 73 69 6e 67 | Weak| parsing|
|00003fb0| 20 74 6f 20 6d 61 6e 69 | 70 75 6c 61 74 65 20 65 | to mani|pulate e|
|00003fc0| 6e 63 6c 6f 73 69 6e 67 | 20 74 65 6d 70 6c 61 74 |nclosing| templat|
|00003fd0| 65 73 2e 0a 58 2a 20 73 | 65 61 72 63 68 69 6e 67 |es..X* s|earching|
|00003fe0| 3a 3a 20 20 20 20 20 20 | 46 69 6e 64 69 6e 67 20 |:: |Finding |
|00003ff0| 61 6e 64 20 72 65 70 6c | 61 63 69 6e 67 20 74 65 |and repl|acing te|
|00004000| 6d 70 6c 61 74 65 20 69 | 6e 73 74 61 6e 63 65 73 |mplate i|nstances|
|00004010| 2e 0a 58 2a 20 61 62 6f | 72 74 69 6e 67 3a 3a 20 |..X* abo|rting:: |
|00004020| 20 20 20 20 20 20 48 6f | 77 20 74 6f 20 73 74 6f | Ho|w to sto|
|00004030| 70 20 6f 72 20 71 75 69 | 74 2e 0a 58 2a 20 63 72 |p or qui|t..X* cr|
|00004040| 65 61 74 69 6e 67 3a 3a | 20 20 20 20 20 20 20 48 |eating::| H|
|00004050| 6f 77 20 74 6f 20 63 72 | 65 61 74 65 20 79 6f 75 |ow to cr|eate you|
|00004060| 72 20 6f 77 6e 20 74 65 | 6d 70 6c 61 74 65 73 2e |r own te|mplates.|
|00004070| 0a 58 40 65 6e 64 20 6d | 65 6e 75 0a 58 0a 58 40 |.X@end m|enu.X.X@|
|00004080| 6e 6f 64 65 20 73 75 6d | 6d 61 72 79 2c 20 6c 6f |node sum|mary, lo|
|00004090| 61 64 69 6e 67 2c 20 63 | 6f 6d 6d 61 6e 64 73 2c |ading, c|ommands,|
|000040a0| 20 63 6f 6d 6d 61 6e 64 | 73 0a 58 40 73 65 63 74 | command|s.X@sect|
|000040b0| 69 6f 6e 20 53 75 6d 6d | 61 72 79 20 2d 2d 20 53 |ion Summ|ary -- S|
|000040c0| 68 6f 72 74 20 64 65 73 | 63 72 69 70 74 69 6f 6e |hort des|cription|
|000040d0| 20 6f 66 20 61 6c 6c 20 | 74 68 65 20 63 6f 6d 6d | of all |the comm|
|000040e0| 61 6e 64 73 0a 58 0a 58 | 48 65 72 65 20 69 73 20 |ands.X.X|Here is |
|000040f0| 61 20 73 68 6f 72 74 20 | 64 65 73 63 72 69 70 74 |a short |descript|
|00004100| 69 6f 6e 20 6f 66 20 61 | 6c 6c 20 6f 66 20 74 68 |ion of a|ll of th|
|00004110| 65 20 40 69 7b 74 65 6d | 70 6c 61 74 65 2d 6d 6f |e @i{tem|plate-mo|
|00004120| 64 65 7d 20 63 6f 6d 6d | 61 6e 64 73 3a 0a 58 0a |de} comm|ands:.X.|
|00004130| 58 40 74 61 62 6c 65 20 | 40 63 6f 64 65 0a 58 40 |X@table |@code.X@|
|00004140| 69 74 65 6d 20 61 64 64 | 2d 73 79 6d 62 6f 6c 20 |item add|-symbol |
|00004150| 28 40 63 74 72 6c 7b 63 | 7d 20 40 63 74 72 6c 7b |(@ctrl{c|} @ctrl{|
|00004160| 74 7d 20 61 29 0a 58 41 | 64 64 20 74 68 65 20 73 |t} a).XA|dd the s|
|00004170| 79 6d 62 6f 6c 20 62 65 | 66 6f 72 65 20 70 6f 69 |ymbol be|fore poi|
|00004180| 6e 74 20 74 6f 20 74 68 | 65 20 6c 69 73 74 20 6f |nt to th|e list o|
|00004190| 66 20 73 79 6d 62 6f 6c | 73 20 63 72 65 61 74 65 |f symbol|s create|
|000041a0| 64 20 62 79 0a 58 40 69 | 7b 74 65 78 74 65 6e 74 |d by.X@i|{textent|
|000041b0| 65 72 7d 20 70 6c 61 63 | 65 68 6f 6c 64 65 72 73 |er} plac|eholders|
|000041c0| 2e 0a 58 0a 58 40 69 74 | 65 6d 20 63 6f 6d 70 69 |..X.X@it|em compi|
|000041d0| 6c 65 2d 74 65 6d 70 6c | 61 74 65 73 20 28 75 6e |le-templ|ates (un|
|000041e0| 62 6f 75 6e 64 29 0a 58 | 53 74 6f 72 65 20 74 68 |bound).X|Store th|
|000041f0| 65 20 74 65 6d 70 6c 61 | 74 65 73 20 69 6e 20 61 |e templa|tes in a|
|00004200| 20 66 6f 72 6d 20 74 68 | 61 74 20 61 6c 6c 6f 77 | form th|at allow|
|00004210| 73 20 66 61 73 74 65 72 | 20 6c 6f 61 64 69 6e 67 |s faster| loading|
|00004220| 2e 0a 58 0a 58 40 69 74 | 65 6d 20 64 65 6c 65 74 |..X.X@it|em delet|
|00004230| 65 2d 70 6c 61 63 65 68 | 6f 6c 64 65 72 20 28 40 |e-placeh|older (@|
|00004240| 63 74 72 6c 7b 63 7d 20 | 40 63 74 72 6c 7b 74 7d |ctrl{c} |@ctrl{t}|
|00004250| 20 40 63 74 72 6c 7b 6b | 7d 29 0a 58 44 65 6c 65 | @ctrl{k|}).XDele|
|00004260| 74 65 20 74 68 65 20 70 | 6c 61 63 65 68 6f 6c 64 |te the p|lacehold|
|00004270| 65 72 20 61 74 20 70 6f | 69 6e 74 2e 0a 58 0a 58 |er at po|int..X.X|
|00004280| 40 69 74 65 6d 20 64 65 | 73 63 72 69 62 65 2d 74 |@item de|scribe-t|
|00004290| 65 6d 70 6c 61 74 65 2d | 6d 6f 64 65 20 28 40 63 |emplate-|mode (@c|
|000042a0| 74 72 6c 7b 63 7d 20 40 | 63 74 72 6c 7b 74 7d 20 |trl{c} @|ctrl{t} |
|000042b0| 40 63 74 72 6c 7b 68 7d | 29 0a 58 47 69 76 65 20 |@ctrl{h}|).XGive |
|000042c0| 61 20 62 72 69 65 66 20 | 64 65 73 63 72 69 70 74 |a brief |descript|
|000042d0| 69 6f 6e 20 6f 66 20 74 | 65 6d 70 6c 61 74 65 2d |ion of t|emplate-|
|000042e0| 6d 6f 64 65 2e 0a 58 0a | 58 40 69 74 65 6d 20 65 |mode..X.|X@item e|
|000042f0| 78 70 61 6e 64 2d 70 6c | 61 63 65 68 6f 6c 64 65 |xpand-pl|aceholde|
|00004300| 72 20 28 40 63 74 72 6c | 7b 63 7d 20 40 63 74 72 |r (@ctrl|{c} @ctr|
|00004310| 6c 7b 74 7d 20 65 29 0a | 58 45 78 70 61 6e 64 73 |l{t} e).|XExpands|
|00004320| 20 74 68 65 20 70 6c 61 | 63 65 68 6f 6c 64 65 72 | the pla|ceholder|
|00004330| 20 61 74 20 70 6f 69 6e | 74 20 77 69 74 68 20 69 | at poin|t with i|
|00004340| 74 73 20 74 65 6d 70 6c | 61 74 65 20 64 65 73 63 |ts templ|ate desc|
|00004350| 72 69 70 74 69 6f 6e 2e | 0a 58 0a 58 40 69 74 65 |ription.|.X.X@ite|
|00004360| 6d 20 65 78 70 61 6e 64 | 2d 70 6c 61 63 65 68 6f |m expand|-placeho|
|00004370| 6c 64 65 72 73 2d 69 6e | 2d 72 65 67 69 6f 6e 20 |lders-in|-region |
|00004380| 28 40 63 74 72 6c 7b 63 | 7d 20 40 63 74 72 6c 7b |(@ctrl{c|} @ctrl{|
|00004390| 74 7d 20 40 63 74 72 6c | 7b 65 7d 29 0a 58 45 78 |t} @ctrl|{e}).XEx|
|000043a0| 70 61 6e 64 73 20 61 6c | 6c 20 70 6c 61 63 65 68 |pands al|l placeh|
|000043b0| 6f 6c 64 65 72 73 20 69 | 6e 20 74 68 65 20 72 65 |olders i|n the re|
|000043c0| 67 69 6f 6e 20 77 69 74 | 68 20 74 68 65 69 72 20 |gion wit|h their |
|000043d0| 74 65 6d 70 6c 61 74 65 | 20 64 65 73 63 72 69 70 |template| descrip|
|000043e0| 74 69 6f 6e 73 2e 0a 58 | 0a 58 40 69 74 65 6d 20 |tions..X|.X@item |
|000043f0| 65 78 70 61 6e 64 2d 73 | 79 6d 62 6f 6c 20 28 40 |expand-s|ymbol (@|
|00004400| 63 74 72 6c 7b 63 7d 20 | 40 63 74 72 6c 7b 74 7d |ctrl{c} |@ctrl{t}|
|00004410| 20 40 6b 65 79 7b 54 41 | 42 7d 29 0a 58 45 78 70 | @key{TA|B}).XExp|
|00004420| 61 6e 64 20 74 68 65 20 | 73 79 6d 62 6f 6c 20 62 |and the |symbol b|
|00004430| 65 66 6f 72 65 20 70 6f | 69 6e 74 20 75 73 69 6e |efore po|int usin|
|00004440| 67 20 74 68 65 20 6c 69 | 73 74 20 6f 66 20 73 79 |g the li|st of sy|
|00004450| 6d 62 6f 6c 73 20 63 72 | 65 61 74 65 64 20 62 79 |mbols cr|eated by|
|00004460| 0a 58 40 69 7b 74 65 78 | 74 65 6e 74 65 72 7d 20 |.X@i{tex|tenter} |
|00004470| 70 6c 61 63 65 68 6f 6c | 64 65 72 73 2e 0a 58 0a |placehol|ders..X.|
|00004480| 58 40 69 74 65 6d 20 67 | 65 6e 65 72 61 74 65 2d |X@item g|enerate-|
|00004490| 61 6e 79 2d 74 65 6d 70 | 6c 61 74 65 20 28 40 63 |any-temp|late (@c|
|000044a0| 74 72 6c 7b 63 7d 20 40 | 63 74 72 6c 7b 74 7d 20 |trl{c} @|ctrl{t} |
|000044b0| 3f 29 0a 58 42 75 69 6c | 64 73 20 61 20 6c 69 73 |?).XBuil|ds a lis|
|000044c0| 74 20 6f 66 20 61 6c 6c | 20 74 68 65 20 74 65 6d |t of all| the tem|
|000044d0| 70 6c 61 74 65 73 20 61 | 76 61 69 6c 61 62 6c 65 |plates a|vailable|
|000044e0| 2c 20 61 6e 64 20 77 61 | 69 74 73 20 66 6f 72 20 |, and wa|its for |
|000044f0| 73 65 6c 65 63 74 69 6f | 6e 2e 0a 58 0a 58 40 69 |selectio|n..X.X@i|
|00004500| 74 65 6d 20 67 65 6e 65 | 72 61 74 65 2d 74 65 6d |tem gene|rate-tem|
|00004510| 70 6c 61 74 65 20 28 40 | 63 74 72 6c 7b 63 7d 20 |plate (@|ctrl{c} |
|00004520| 40 63 74 72 6c 7b 74 7d | 20 74 29 0a 58 50 72 6f |@ctrl{t}| t).XPro|
|00004530| 6d 70 74 73 20 66 6f 72 | 20 74 68 65 20 6e 61 6d |mpts for| the nam|
|00004540| 65 20 6f 66 20 61 20 74 | 65 6d 70 6c 61 74 65 20 |e of a t|emplate |
|00004550| 61 6e 64 20 74 68 65 6e | 20 69 6e 73 65 72 74 73 |and then| inserts|
|00004560| 20 69 74 20 61 74 20 70 | 6f 69 6e 74 2e 0a 58 50 | it at p|oint..XP|
|00004570| 6c 61 63 65 68 6f 6c 64 | 65 72 73 20 77 69 74 68 |lacehold|ers with|
|00004580| 69 6e 20 74 68 65 20 74 | 65 6d 70 6c 61 74 65 20 |in the t|emplate |
|00004590| 61 72 65 20 65 78 70 61 | 6e 64 65 64 20 69 6e 74 |are expa|nded int|
|000045a0| 65 72 61 63 74 69 76 65 | 6c 79 2e 0a 58 0a 58 40 |eractive|ly..X.X@|
|000045b0| 69 74 65 6d 20 6c 6f 61 | 64 2d 74 70 6c 2d 62 75 |item loa|d-tpl-bu|
|000045c0| 66 66 65 72 20 28 75 6e | 62 6f 75 6e 64 29 0a 58 |ffer (un|bound).X|
|000045d0| 41 64 64 20 61 20 6e 65 | 77 20 62 75 66 66 65 72 |Add a ne|w buffer|
|000045e0| 20 6f 66 20 74 65 6d 70 | 6c 61 74 65 73 20 74 6f | of temp|lates to|
|000045f0| 20 74 68 65 20 77 6f 72 | 6b 69 6e 67 20 73 65 74 | the wor|king set|
|00004600| 2e 20 20 28 4f 6e 6c 79 | 20 75 6e 64 65 72 73 74 |. (Only| underst|
|00004610| 61 6e 64 73 20 74 65 78 | 74 0a 58 66 6f 72 6d 20 |ands tex|t.Xform |
|00004620| 6f 66 20 74 65 6d 70 6c | 61 74 65 73 2e 20 20 55 |of templ|ates. U|
|00004630| 73 65 73 20 73 74 61 6e | 64 61 72 64 20 62 75 66 |ses stan|dard buf|
|00004640| 66 65 72 20 6e 61 6d 65 | 20 63 6f 6d 70 6c 65 74 |fer name| complet|
|00004650| 69 6f 6e 2c 20 77 69 74 | 68 20 64 65 66 61 75 6c |ion, wit|h defaul|
|00004660| 74 0a 58 40 66 69 6c 65 | 7b 6e 65 77 2e 74 70 6c |t.X@file|{new.tpl|
|00004670| 7d 2e 29 0a 58 0a 58 40 | 69 74 65 6d 20 6c 6f 61 |}.).X.X@|item loa|
|00004680| 64 2d 74 70 6c 2d 66 69 | 6c 65 20 28 75 6e 62 6f |d-tpl-fi|le (unbo|
|00004690| 75 6e 64 29 0a 58 41 64 | 64 20 61 20 6e 65 77 20 |und).XAd|d a new |
|000046a0| 66 69 6c 65 20 6f 66 20 | 74 65 6d 70 6c 61 74 65 |file of |template|
|000046b0| 73 20 74 6f 20 74 68 65 | 20 77 6f 72 6b 69 6e 67 |s to the| working|
|000046c0| 20 73 65 74 2e 20 20 28 | 4f 6e 6c 79 20 75 6e 64 | set. (|Only und|
|000046d0| 65 72 73 74 61 6e 64 73 | 20 74 65 78 74 0a 58 66 |erstands| text.Xf|
|000046e0| 6f 72 6d 20 6f 66 20 74 | 65 6d 70 6c 61 74 65 73 |orm of t|emplates|
|000046f0| 2c 20 61 6e 64 20 75 73 | 65 73 20 73 74 61 6e 64 |, and us|es stand|
|00004700| 61 72 64 20 66 69 6c 65 | 20 6e 61 6d 65 20 63 6f |ard file| name co|
|00004710| 6d 70 6c 65 74 69 6f 6e | 2e 29 0a 58 0a 58 40 69 |mpletion|.).X.X@i|
|00004720| 74 65 6d 20 6c 6f 61 64 | 2d 74 70 6c 2d 6c 69 62 |tem load|-tpl-lib|
|00004730| 72 61 72 79 20 28 75 6e | 62 6f 75 6e 64 29 0a 58 |rary (un|bound).X|
|00004740| 41 64 64 20 61 20 6e 65 | 77 20 66 69 6c 65 20 6f |Add a ne|w file o|
|00004750| 66 20 74 65 6d 70 6c 61 | 74 65 73 20 74 6f 20 74 |f templa|tes to t|
|00004760| 68 65 20 77 6f 72 6b 69 | 6e 67 20 73 65 74 2e 20 |he worki|ng set. |
|00004770| 20 28 55 6e 64 65 72 73 | 74 61 6e 64 73 20 62 6f | (Unders|tands bo|
|00004780| 74 68 20 74 65 78 74 20 | 61 6e 64 0a 58 63 6f 6d |th text |and.Xcom|
|00004790| 70 69 6c 65 64 20 66 6f | 72 6d 73 20 6f 66 20 74 |piled fo|rms of t|
|000047a0| 65 6d 70 6c 61 74 65 73 | 2c 20 61 6e 64 20 75 73 |emplates|, and us|
|000047b0| 65 73 20 74 68 65 20 40 | 69 7b 74 70 6c 2d 6c 6f |es the @|i{tpl-lo|
|000047c0| 61 64 2d 70 61 74 68 7d | 20 76 61 72 69 61 62 6c |ad-path}| variabl|
|000047d0| 65 20 74 6f 0a 58 66 69 | 6e 64 20 74 68 65 20 66 |e to.Xfi|nd the f|
|000047e0| 69 6c 65 2e 29 0a 58 0a | 58 40 69 74 65 6d 20 6c |ile.).X.|X@item l|
|000047f0| 6f 6f 6b 69 6e 67 2d 61 | 74 2d 74 70 6c 20 28 75 |ooking-a|t-tpl (u|
|00004800| 6e 62 6f 75 6e 64 29 0a | 58 52 65 74 75 72 6e 73 |nbound).|XReturns|
|00004810| 20 40 69 7b 74 72 75 65 | 7d 20 69 66 20 74 68 65 | @i{true|} if the|
|00004820| 20 6e 61 6d 65 64 20 74 | 65 6d 70 6c 61 74 65 20 | named t|emplate |
|00004830| 66 6f 6c 6c 6f 77 73 20 | 70 6f 69 6e 74 2e 0a 58 |follows |point..X|
|00004840| 0a 58 40 69 74 65 6d 20 | 6e 65 78 74 2d 70 6c 61 |.X@item |next-pla|
|00004850| 63 65 68 6f 6c 64 65 72 | 20 28 40 63 74 72 6c 7b |ceholder| (@ctrl{|
|00004860| 63 7d 20 40 63 74 72 6c | 7b 74 7d 20 40 63 74 72 |c} @ctrl|{t} @ctr|
|00004870| 6c 7b 6e 7d 29 0a 58 4d | 6f 76 65 20 74 6f 20 74 |l{n}).XM|ove to t|
|00004880| 68 65 20 62 65 67 69 6e | 6e 69 6e 67 20 6f 66 20 |he begin|ning of |
|00004890| 74 68 65 20 6e 65 78 74 | 20 70 6c 61 63 65 68 6f |the next| placeho|
|000048a0| 6c 64 65 72 2e 0a 58 0a | 58 40 69 74 65 6d 20 70 |lder..X.|X@item p|
|000048b0| 72 65 76 69 6f 75 73 2d | 70 6c 61 63 65 68 6f 6c |revious-|placehol|
|000048c0| 64 65 72 20 28 40 63 74 | 72 6c 7b 63 7d 20 40 63 |der (@ct|rl{c} @c|
|000048d0| 74 72 6c 7b 74 7d 20 40 | 63 74 72 6c 7b 70 7d 29 |trl{t} @|ctrl{p})|
|000048e0| 0a 58 4d 6f 76 65 20 74 | 6f 20 74 68 65 20 62 65 |.XMove t|o the be|
|000048f0| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 74 68 65 20 70 |ginning |of the p|
|00004900| 72 65 76 69 6f 75 73 20 | 70 6c 61 63 65 68 6f 6c |revious |placehol|
|00004910| 64 65 72 2e 0a 58 0a 58 | 40 69 74 65 6d 20 71 75 |der..X.X|@item qu|
|00004920| 65 72 79 2d 72 65 70 6c | 61 63 65 2d 67 72 6f 75 |ery-repl|ace-grou|
|00004930| 70 73 20 20 28 40 63 74 | 72 6c 7b 63 7d 20 40 63 |ps (@ct|rl{c} @c|
|00004940| 74 72 6c 7b 74 7d 20 67 | 29 0a 58 52 65 70 6c 61 |trl{t} g|).XRepla|
|00004950| 63 65 20 69 6e 73 74 61 | 6e 63 65 73 20 6f 66 20 |ce insta|nces of |
|00004960| 67 72 6f 75 70 73 20 6f | 66 20 6c 69 6e 65 73 20 |groups o|f lines |
|00004970| 28 6d 61 74 63 68 65 64 | 20 62 79 20 72 65 67 75 |(matched| by regu|
|00004980| 6c 61 72 20 65 78 70 72 | 65 73 73 69 6f 6e 73 29 |lar expr|essions)|
|00004990| 20 77 69 74 68 0a 58 70 | 6c 61 63 65 68 6f 6c 64 | with.Xp|lacehold|
|000049a0| 65 72 73 2e 0a 58 0a 58 | 40 69 74 65 6d 20 71 75 |ers..X.X|@item qu|
|000049b0| 65 72 79 2d 72 65 70 6c | 61 63 65 2d 6c 69 6e 65 |ery-repl|ace-line|
|000049c0| 73 20 20 28 40 63 74 72 | 6c 7b 63 7d 20 40 63 74 |s (@ctr|l{c} @ct|
|000049d0| 72 6c 7b 74 7d 20 6c 29 | 0a 58 52 65 70 6c 61 63 |rl{t} l)|.XReplac|
|000049e0| 65 20 6c 69 6e 65 73 20 | 77 69 74 68 20 70 6c 61 |e lines |with pla|
|000049f0| 63 65 68 6f 6c 64 65 72 | 73 2e 0a 58 0a 58 40 69 |ceholder|s..X.X@i|
|00004a00| 74 65 6d 20 71 75 65 72 | 79 2d 72 65 70 6c 61 63 |tem quer|y-replac|
|00004a10| 65 2d 74 70 6c 20 28 75 | 6e 62 6f 75 6e 64 29 0a |e-tpl (u|nbound).|
|00004a20| 58 52 65 70 6c 61 63 65 | 20 69 6e 73 74 61 6e 63 |XReplace| instanc|
|00004a30| 65 73 20 6f 66 20 6f 6e | 65 20 74 65 6d 70 6c 61 |es of on|e templa|
|00004a40| 74 65 20 77 69 74 68 20 | 63 6f 72 72 65 73 70 6f |te with |correspo|
|00004a50| 6e 64 69 6e 67 20 69 6e | 73 74 61 6e 63 65 73 20 |nding in|stances |
|00004a60| 6f 66 20 61 6e 6f 74 68 | 65 72 2e 0a 58 0a 58 40 |of anoth|er..X.X@|
|00004a70| 69 74 65 6d 20 72 65 67 | 69 6f 6e 2d 74 6f 2d 74 |item reg|ion-to-t|
|00004a80| 70 6c 20 28 75 6e 62 6f | 75 6e 64 29 0a 58 44 65 |pl (unbo|und).XDe|
|00004a90| 66 69 6e 65 20 61 20 74 | 65 6d 70 6c 61 74 65 2c |fine a t|emplate,|
|00004aa0| 20 75 73 69 6e 67 20 74 | 68 65 20 63 75 72 72 65 | using t|he curre|
|00004ab0| 6e 74 20 72 65 67 69 6f | 6e 20 6f 66 20 74 65 78 |nt regio|n of tex|
|00004ac0| 74 2e 0a 58 0a 58 40 69 | 74 65 6d 20 72 65 70 6c |t..X.X@i|tem repl|
|00004ad0| 61 63 65 2d 6c 69 6e 65 | 2d 77 69 74 68 2d 70 6c |ace-line|-with-pl|
|00004ae0| 61 63 65 68 6f 6c 64 65 | 72 20 28 40 63 74 72 6c |aceholde|r (@ctrl|
|00004af0| 7b 63 7d 20 40 63 74 72 | 6c 7b 74 7d 20 72 29 0a |{c} @ctr|l{t} r).|
|00004b00| 58 52 65 70 6c 61 63 65 | 20 74 68 65 20 63 75 72 |XReplace| the cur|
|00004b10| 72 65 6e 74 20 6c 69 6e | 65 20 77 69 74 68 20 61 |rent lin|e with a|
|00004b20| 20 70 6c 61 63 65 68 6f | 6c 64 65 72 2e 0a 58 0a | placeho|lder..X.|
|00004b30| 58 40 69 74 65 6d 20 72 | 65 70 6c 61 63 65 2d 72 |X@item r|eplace-r|
|00004b40| 65 67 69 6f 6e 2d 77 69 | 74 68 2d 70 6c 61 63 65 |egion-wi|th-place|
|00004b50| 68 6f 6c 64 65 72 20 28 | 40 63 74 72 6c 7b 63 7d |holder (|@ctrl{c}|
|00004b60| 20 40 63 74 72 6c 7b 74 | 7d 20 40 63 74 72 6c 7b | @ctrl{t|} @ctrl{|
|00004b70| 72 7d 29 0a 58 52 65 70 | 6c 61 63 65 20 74 68 65 |r}).XRep|lace the|
|00004b80| 20 63 75 72 72 65 6e 74 | 20 72 65 67 69 6f 6e 20 | current| region |
|00004b90| 77 69 74 68 20 61 20 70 | 6c 61 63 65 68 6f 6c 64 |with a p|lacehold|
|00004ba0| 65 72 2e 0a 58 0a 58 40 | 69 74 65 6d 20 72 65 70 |er..X.X@|item rep|
|00004bb0| 6c 61 63 65 2d 74 70 6c | 20 28 75 6e 62 6f 75 6e |lace-tpl| (unboun|
|00004bc0| 64 29 0a 58 52 65 70 6c | 61 63 65 20 6f 6e 65 20 |d).XRepl|ace one |
|00004bd0| 69 6e 73 74 61 6e 63 65 | 20 6f 66 20 61 20 74 65 |instance| of a te|
|00004be0| 6d 70 6c 61 74 65 20 77 | 69 74 68 20 61 20 63 6f |mplate w|ith a co|
|00004bf0| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 69 6e 73 74 |rrespond|ing inst|
|00004c00| 61 6e 63 65 20 6f 66 20 | 61 6e 6f 74 68 65 72 2e |ance of |another.|
|00004c10| 0a 58 0a 58 40 69 74 65 | 6d 20 72 65 77 72 61 70 |.X.X@ite|m rewrap|
|00004c20| 2d 74 65 6d 70 6c 61 74 | 65 2d 61 72 6f 75 6e 64 |-templat|e-around|
|00004c30| 2d 70 6f 69 6e 74 20 28 | 40 63 74 72 6c 7b 63 7d |-point (|@ctrl{c}|
|00004c40| 20 40 63 74 72 6c 7b 74 | 7d 20 40 63 74 72 6c 7b | @ctrl{t|} @ctrl{|
|00004c50| 75 7d 29 0a 58 55 6e 77 | 72 61 70 20 61 6e 64 20 |u}).XUnw|rap and |
|00004c60| 74 68 65 6e 20 77 72 61 | 70 2e 20 20 28 53 65 65 |then wra|p. (See|
|00004c70| 20 74 68 6f 73 65 20 74 | 77 6f 20 63 6f 6d 6d 61 | those t|wo comma|
|00004c80| 6e 64 73 2e 29 0a 58 0a | 58 40 69 74 65 6d 20 73 |nds.).X.|X@item s|
|00004c90| 65 61 72 63 68 2d 66 6f | 72 77 61 72 64 2d 74 70 |earch-fo|rward-tp|
|00004ca0| 6c 20 28 75 6e 62 6f 75 | 6e 64 29 0a 58 53 65 61 |l (unbou|nd).XSea|
|00004cb0| 72 63 68 20 66 6f 72 20 | 61 6e 20 69 6e 73 74 61 |rch for |an insta|
|00004cc0| 6e 63 65 20 6f 66 20 61 | 20 74 65 6d 70 6c 61 74 |nce of a| templat|
|00004cd0| 65 2e 0a 58 0a 58 40 69 | 74 65 6d 20 74 65 6d 70 |e..X.X@i|tem temp|
|00004ce0| 6c 61 74 65 2d 6d 6f 64 | 65 20 28 75 6e 62 6f 75 |late-mod|e (unbou|
|00004cf0| 6e 64 29 0a 58 54 75 72 | 6e 73 20 40 69 7b 74 65 |nd).XTur|ns @i{te|
|00004d00| 6d 70 6c 61 74 65 2d 6d | 6f 64 65 7d 20 6f 6e 20 |mplate-m|ode} on |
|00004d10| 61 6e 64 20 6f 66 66 2e | 0a 58 0a 58 40 69 74 65 |and off.|.X.X@ite|
|00004d20| 6d 20 75 6e 77 72 61 70 | 2d 74 65 6d 70 6c 61 74 |m unwrap|-templat|
|00004d30| 65 2d 61 72 6f 75 6e 64 | 2d 70 6f 69 6e 74 20 28 |e-around|-point (|
|00004d40| 40 63 74 72 6c 7b 63 7d | 20 40 63 74 72 6c 7b 74 |@ctrl{c}| @ctrl{t|
|00004d50| 7d 20 75 29 0a 58 46 69 | 6e 64 20 74 68 65 20 6e |} u).XFi|nd the n|
|00004d60| 65 61 72 65 73 74 20 65 | 6e 63 6c 6f 73 69 6e 67 |earest e|nclosing|
|00004d70| 20 69 6e 73 74 61 6e 63 | 65 20 6f 66 20 74 68 65 | instanc|e of the|
|00004d80| 20 6e 61 6d 65 64 20 74 | 65 6d 70 6c 61 74 65 20 | named t|emplate |
|00004d90| 61 6e 64 20 72 65 6d 6f | 76 65 20 69 74 2c 0a 58 |and remo|ve it,.X|
|00004da0| 6b 65 65 70 69 6e 67 20 | 74 68 65 20 74 65 78 74 |keeping |the text|
|00004db0| 20 74 68 61 74 20 6d 61 | 74 63 68 65 73 20 69 74 | that ma|tches it|
|00004dc0| 73 20 64 65 73 74 69 6e | 61 74 69 6f 6e 20 70 6c |s destin|ation pl|
|00004dd0| 61 63 65 68 6f 6c 64 65 | 72 2e 0a 58 0a 58 40 69 |aceholde|r..X.X@i|
|00004de0| 74 65 6d 20 77 72 61 70 | 2d 74 65 6d 70 6c 61 74 |tem wrap|-templat|
|00004df0| 65 2d 61 72 6f 75 6e 64 | 2d 6c 69 6e 65 20 28 40 |e-around|-line (@|
|00004e00| 63 74 72 6c 7b 63 7d 20 | 40 63 74 72 6c 7b 74 7d |ctrl{c} |@ctrl{t}|
|00004e10| 20 57 29 0a 58 55 73 65 | 20 74 68 65 20 63 75 72 | W).XUse| the cur|
|00004e20| 72 65 6e 74 20 6c 69 6e | 65 20 74 6f 20 72 65 70 |rent lin|e to rep|
|00004e30| 6c 61 63 65 20 74 68 65 | 20 64 65 73 74 69 6e 61 |lace the| destina|
|00004e40| 74 69 6f 6e 20 70 6c 61 | 63 65 68 6f 6c 64 65 72 |tion pla|ceholder|
|00004e50| 20 6f 66 20 61 0a 58 70 | 6c 61 63 65 68 6f 6c 64 | of a.Xp|lacehold|
|00004e60| 65 72 2e 0a 58 0a 58 40 | 69 74 65 6d 20 77 72 61 |er..X.X@|item wra|
|00004e70| 70 2d 74 65 6d 70 6c 61 | 74 65 2d 61 72 6f 75 6e |p-templa|te-aroun|
|00004e80| 64 2d 72 65 67 69 6f 6e | 20 28 40 63 74 72 6c 7b |d-region| (@ctrl{|
|00004e90| 63 7d 20 40 63 74 72 6c | 7b 74 7d 20 40 63 74 72 |c} @ctrl|{t} @ctr|
|00004ea0| 6c 7b 77 7d 29 0a 58 55 | 73 65 20 74 68 65 20 63 |l{w}).XU|se the c|
|00004eb0| 75 72 72 65 6e 74 20 72 | 65 67 69 6f 6e 20 74 6f |urrent r|egion to|
|00004ec0| 20 72 65 70 6c 61 63 65 | 20 74 68 65 20 64 65 73 | replace| the des|
|00004ed0| 74 69 6e 61 74 69 6f 6e | 20 70 6c 61 63 65 68 6f |tination| placeho|
|00004ee0| 6c 64 65 72 20 6f 66 20 | 61 0a 58 70 6c 61 63 65 |lder of |a.Xplace|
|00004ef0| 68 6f 6c 64 65 72 2e 0a | 58 0a 58 40 69 74 65 6d |holder..|X.X@item|
|00004f00| 20 77 72 61 70 2d 74 65 | 6d 70 6c 61 74 65 2d 61 | wrap-te|mplate-a|
|00004f10| 72 6f 75 6e 64 2d 77 6f | 72 64 20 28 40 63 74 72 |round-wo|rd (@ctr|
|00004f20| 6c 7b 63 7d 20 40 63 74 | 72 6c 7b 74 7d 20 77 29 |l{c} @ct|rl{t} w)|
|00004f30| 0a 58 55 73 65 20 74 68 | 65 20 63 75 72 72 65 6e |.XUse th|e curren|
|00004f40| 74 20 77 6f 72 64 20 74 | 6f 20 72 65 70 6c 61 63 |t word t|o replac|
|00004f50| 65 20 74 68 65 20 64 65 | 73 74 69 6e 61 74 69 6f |e the de|stinatio|
|00004f60| 6e 20 70 6c 61 63 65 68 | 6f 6c 64 65 72 20 6f 66 |n placeh|older of|
|00004f70| 20 61 0a 58 70 6c 61 63 | 65 68 6f 6c 64 65 72 2e | a.Xplac|eholder.|
|00004f80| 0a 58 40 65 6e 64 20 74 | 61 62 6c 65 0a 58 0a 58 |.X@end t|able.X.X|
|00004f90| 40 6e 6f 64 65 20 6c 6f | 61 64 69 6e 67 2c 20 73 |@node lo|ading, s|
|00004fa0| 65 6c 65 63 74 69 6e 67 | 2c 20 73 75 6d 6d 61 72 |electing|, summar|
|00004fb0| 79 2c 20 63 6f 6d 6d 61 | 6e 64 73 0a 58 40 73 65 |y, comma|nds.X@se|
|00004fc0| 63 74 69 6f 6e 20 4c 6f | 61 64 69 6e 67 20 74 65 |ction Lo|ading te|
|00004fd0| 6d 70 6c 61 74 65 73 20 | 2d 2d 20 69 6e 69 74 69 |mplates |-- initi|
|00004fe0| 61 6c 69 7a 61 74 69 6f | 6e 20 6f 66 20 74 65 6d |alizatio|n of tem|
|00004ff0| 70 6c 61 74 65 2d 6d 6f | 64 65 0a 58 0a 58 40 74 |plate-mo|de.X.X@t|
|00005000| 61 62 6c 65 20 40 63 6f | 64 65 0a 58 40 69 74 65 |able @co|de.X@ite|
|00005010| 6d 20 6c 6f 61 64 2d 74 | 70 6c 2d 62 75 66 66 65 |m load-t|pl-buffe|
|00005020| 72 20 28 75 6e 62 6f 75 | 6e 64 29 0a 58 41 64 64 |r (unbou|nd).XAdd|
|00005030| 20 61 20 6e 65 77 20 62 | 75 66 66 65 72 20 6f 66 | a new b|uffer of|
|00005040| 20 74 65 6d 70 6c 61 74 | 65 73 20 74 6f 20 74 68 | templat|es to th|
|00005050| 65 20 77 6f 72 6b 69 6e | 67 20 73 65 74 2e 20 20 |e workin|g set. |
|00005060| 28 4f 6e 6c 79 20 75 6e | 64 65 72 73 74 61 6e 64 |(Only un|derstand|
|00005070| 73 20 74 65 78 74 0a 58 | 66 6f 72 6d 20 6f 66 20 |s text.X|form of |
|00005080| 74 65 6d 70 6c 61 74 65 | 73 2e 20 20 55 73 65 73 |template|s. Uses|
|00005090| 20 73 74 61 6e 64 61 72 | 64 20 62 75 66 66 65 72 | standar|d buffer|
|000050a0| 20 6e 61 6d 65 20 63 6f | 6d 70 6c 65 74 69 6f 6e | name co|mpletion|
|000050b0| 2c 20 77 69 74 68 20 64 | 65 66 61 75 6c 74 0a 58 |, with d|efault.X|
|000050c0| 40 66 69 6c 65 7b 6e 65 | 77 2e 74 70 6c 7d 2e 29 |@file{ne|w.tpl}.)|
|000050d0| 0a 58 0a 58 40 69 74 65 | 6d 20 6c 6f 61 64 2d 74 |.X.X@ite|m load-t|
|000050e0| 70 6c 2d 66 69 6c 65 20 | 28 75 6e 62 6f 75 6e 64 |pl-file |(unbound|
|000050f0| 29 0a 58 41 64 64 20 61 | 20 6e 65 77 20 66 69 6c |).XAdd a| new fil|
|00005100| 65 20 6f 66 20 74 65 6d | 70 6c 61 74 65 73 20 74 |e of tem|plates t|
|00005110| 6f 20 74 68 65 20 77 6f | 72 6b 69 6e 67 20 73 65 |o the wo|rking se|
|00005120| 74 2e 20 20 28 4f 6e 6c | 79 20 75 6e 64 65 72 73 |t. (Onl|y unders|
|00005130| 74 61 6e 64 73 20 74 65 | 78 74 0a 58 66 6f 72 6d |tands te|xt.Xform|
|00005140| 20 6f 66 20 74 65 6d 70 | 6c 61 74 65 73 2c 20 61 | of temp|lates, a|
|00005150| 6e 64 20 75 73 65 73 20 | 73 74 61 6e 64 61 72 64 |nd uses |standard|
|00005160| 20 66 69 6c 65 20 6e 61 | 6d 65 20 63 6f 6d 70 6c | file na|me compl|
|00005170| 65 74 69 6f 6e 2e 29 0a | 58 0a 58 40 69 74 65 6d |etion.).|X.X@item|
|00005180| 20 6c 6f 61 64 2d 74 70 | 6c 2d 6c 69 62 72 61 72 | load-tp|l-librar|
|00005190| 79 20 28 75 6e 62 6f 75 | 6e 64 29 0a 58 41 64 64 |y (unbou|nd).XAdd|
|000051a0| 20 61 20 6e 65 77 20 66 | 69 6c 65 20 6f 66 20 74 | a new f|ile of t|
|000051b0| 65 6d 70 6c 61 74 65 73 | 20 74 6f 20 74 68 65 20 |emplates| to the |
|000051c0| 77 6f 72 6b 69 6e 67 20 | 73 65 74 2e 20 20 28 55 |working |set. (U|
|000051d0| 6e 64 65 72 73 74 61 6e | 64 73 20 62 6f 74 68 20 |nderstan|ds both |
|000051e0| 74 65 78 74 20 61 6e 64 | 0a 58 63 6f 6d 70 69 6c |text and|.Xcompil|
|000051f0| 65 64 20 66 6f 72 6d 73 | 20 6f 66 20 74 65 6d 70 |ed forms| of temp|
|00005200| 6c 61 74 65 73 2c 20 61 | 6e 64 20 75 73 65 73 20 |lates, a|nd uses |
|00005210| 74 68 65 20 40 69 7b 74 | 70 6c 2d 6c 6f 61 64 2d |the @i{t|pl-load-|
|00005220| 70 61 74 68 7d 20 76 61 | 72 69 61 62 6c 65 20 74 |path} va|riable t|
|00005230| 6f 0a 58 66 69 6e 64 20 | 74 68 65 20 66 69 6c 65 |o.Xfind |the file|
|00005240| 2e 29 0a 58 40 65 6e 64 | 20 74 61 62 6c 65 0a 58 |.).X@end| table.X|
|00005250| 0a 58 42 65 66 6f 72 65 | 20 61 20 74 65 6d 70 6c |.XBefore| a templ|
|00005260| 61 74 65 20 6d 61 79 20 | 62 65 20 75 73 65 64 2c |ate may |be used,|
|00005270| 20 69 74 20 6d 75 73 74 | 20 62 65 20 6c 6f 61 64 | it must| be load|
|00005280| 65 64 2e 20 20 53 74 61 | 6e 64 61 72 64 20 74 65 |ed. Sta|ndard te|
|00005290| 6d 70 6c 61 74 65 73 20 | 61 72 65 0a 58 6c 6f 61 |mplates |are.Xloa|
|000052a0| 64 65 64 20 62 79 20 63 | 68 65 63 6b 69 6e 67 20 |ded by c|hecking |
|000052b0| 74 68 65 20 6d 61 6a 6f | 72 20 6d 6f 64 65 20 6f |the majo|r mode o|
|000052c0| 66 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 62 75 |f the cu|rrent bu|
|000052d0| 66 66 65 72 2e 20 20 28 | 45 2e 67 2e 2c 20 74 68 |ffer. (|E.g., th|
|000052e0| 65 0a 58 40 66 69 6c 65 | 7b 63 74 70 6c 2e 65 6c |e.X@file|{ctpl.el|
|000052f0| 63 7d 20 66 69 6c 65 20 | 69 73 20 6c 6f 61 64 65 |c} file |is loade|
|00005300| 64 20 69 66 20 74 68 65 | 20 6d 61 6a 6f 72 20 6d |d if the| major m|
|00005310| 6f 64 65 20 69 73 20 60 | 60 43 27 27 2e 29 20 20 |ode is `|`C''.) |
|00005320| 59 6f 75 20 6d 61 79 20 | 6c 6f 61 64 20 61 73 0a |You may |load as.|
|00005330| 58 6d 61 6e 79 20 74 65 | 6d 70 6c 61 74 65 20 66 |Xmany te|mplate f|
|00005340| 69 6c 65 73 20 61 73 20 | 79 6f 75 20 77 69 73 68 |iles as |you wish|
|00005350| 2c 20 69 6e 20 61 73 20 | 6d 61 6e 79 20 62 75 66 |, in as |many buf|
|00005360| 66 65 72 73 20 61 73 20 | 79 6f 75 20 77 69 73 68 |fers as |you wish|
|00005370| 2e 20 20 45 61 63 68 0a | 58 40 69 7b 74 65 6d 70 |. Each.|X@i{temp|
|00005380| 6c 61 74 65 2d 6d 6f 64 | 65 7d 20 62 75 66 66 65 |late-mod|e} buffe|
|00005390| 72 20 68 61 73 20 69 74 | 73 20 6f 77 6e 20 73 65 |r has it|s own se|
|000053a0| 74 20 6f 66 20 74 65 6d | 70 6c 61 74 65 20 66 69 |t of tem|plate fi|
|000053b0| 6c 65 73 2e 20 20 53 69 | 6e 63 65 20 6d 61 6e 79 |les. Si|nce many|
|000053c0| 0a 58 74 65 6d 70 6c 61 | 74 65 20 66 69 6c 65 73 |.Xtempla|te files|
|000053d0| 20 75 73 65 20 73 69 6d | 69 6c 61 72 20 6e 61 6d | use sim|ilar nam|
|000053e0| 65 73 20 66 6f 72 20 74 | 65 6d 70 6c 61 74 65 73 |es for t|emplates|
|000053f0| 20 28 65 2e 67 2e 2c 20 | 40 73 61 6d 70 7b 73 74 | (e.g., |@samp{st|
|00005400| 6d 74 7d 20 6f 63 63 75 | 72 73 20 69 6e 0a 58 6d |mt} occu|rs in.Xm|
|00005410| 6f 73 74 29 2c 20 69 74 | 20 69 73 20 70 72 6f 62 |ost), it| is prob|
|00005420| 61 62 6c 79 20 61 20 67 | 6f 6f 64 20 69 64 65 61 |ably a g|ood idea|
|00005430| 20 74 6f 20 73 74 61 72 | 74 20 77 69 74 68 20 6f | to star|t with o|
|00005440| 6e 6c 79 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 |nly the |standard|
|00005450| 20 74 65 6d 70 6c 61 74 | 65 0a 58 66 69 6c 65 73 | templat|e.Xfiles|
|00005460| 20 61 74 20 66 69 72 73 | 74 2e 0a 58 0a 58 41 6c | at firs|t..X.XAl|
|00005470| 74 68 6f 75 67 68 20 74 | 65 6d 70 6c 61 74 65 73 |though t|emplates|
|00005480| 20 61 72 65 20 63 72 65 | 61 74 65 64 20 61 73 20 | are cre|ated as |
|00005490| 74 65 78 74 2c 20 74 68 | 65 79 20 61 72 65 20 63 |text, th|ey are c|
|000054a0| 6f 6e 76 65 72 74 65 64 | 20 69 6e 74 6f 20 61 6e |onverted| into an|
|000054b0| 20 69 6e 74 65 72 6e 61 | 6c 0a 58 4c 69 73 70 20 | interna|l.XLisp |
|000054c0| 73 74 72 75 63 74 75 72 | 65 20 77 68 65 6e 20 74 |structur|e when t|
|000054d0| 68 65 79 20 61 72 65 20 | 6c 6f 61 64 65 64 2e 20 |hey are |loaded. |
|000054e0| 20 54 68 69 73 20 63 6f | 6e 76 65 72 73 69 6f 6e | This co|nversion|
|000054f0| 20 70 72 6f 63 65 73 73 | 20 6d 61 79 20 62 65 20 | process| may be |
|00005500| 73 61 76 65 64 0a 58 62 | 79 20 63 6f 6d 70 69 6c |saved.Xb|y compil|
|00005510| 69 6e 67 20 74 68 65 20 | 74 65 6d 70 6c 61 74 65 |ing the |template|
|00005520| 73 20 61 6e 64 20 73 74 | 6f 72 69 6e 67 20 74 68 |s and st|oring th|
|00005530| 65 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 6d 2e |e compil|ed form.|
|00005540| 20 20 54 68 65 0a 58 40 | 62 7b 6c 6f 61 64 2d 74 | The.X@|b{load-t|
|00005550| 70 6c 2d 6c 69 62 72 61 | 72 79 7d 20 63 6f 6d 6d |pl-libra|ry} comm|
|00005560| 61 6e 64 20 69 73 20 63 | 61 70 61 62 6c 65 20 6f |and is c|apable o|
|00005570| 66 20 72 65 61 64 69 6e | 67 20 74 68 65 73 65 20 |f readin|g these |
|00005580| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 6d 73 2c 0a |compiled| forms,.|
|00005590| 58 77 68 69 63 68 20 69 | 73 20 61 20 66 61 73 74 |Xwhich i|s a fast|
|000055a0| 65 72 20 6d 65 74 68 6f | 64 20 74 68 61 6e 20 72 |er metho|d than r|
|000055b0| 65 61 64 69 6e 67 20 74 | 68 65 20 41 53 43 49 49 |eading t|he ASCII|
|000055c0| 20 74 65 78 74 20 66 6f | 72 6d 73 2e 20 20 54 68 | text fo|rms. Th|
|000055d0| 65 0a 58 40 62 7b 6c 6f | 61 64 2d 74 70 6c 2d 66 |e.X@b{lo|ad-tpl-f|
|000055e0| 69 6c 65 7d 20 61 6e 64 | 20 40 62 7b 6c 6f 61 64 |ile} and| @b{load|
|000055f0| 2d 74 70 6c 2d 62 75 66 | 66 65 72 7d 20 63 6f 6d |-tpl-buf|fer} com|
|00005600| 6d 61 6e 64 73 20 6f 6e | 6c 79 20 75 6e 64 65 72 |mands on|ly under|
|00005610| 73 74 61 6e 64 20 41 53 | 43 49 49 0a 58 74 65 78 |stand AS|CII.Xtex|
|00005620| 74 20 66 6f 72 6d 73 2e | 20 20 41 6c 73 6f 2c 20 |t forms.| Also, |
|00005630| 40 62 7b 6c 6f 61 64 2d | 74 70 6c 2d 6c 69 62 72 |@b{load-|tpl-libr|
|00005640| 61 72 79 7d 20 75 73 65 | 73 20 74 68 65 20 76 61 |ary} use|s the va|
|00005650| 6c 75 65 20 6f 66 20 40 | 62 7b 74 70 6c 2d 6c 6f |lue of @|b{tpl-lo|
|00005660| 61 64 2d 70 61 74 68 7d | 0a 58 74 6f 20 66 69 6e |ad-path}|.Xto fin|
|00005670| 64 20 74 68 65 20 66 69 | 6c 65 2c 20 77 68 65 72 |d the fi|le, wher|
|00005680| 65 61 73 20 40 62 7b 6c | 6f 61 64 2d 74 70 6c 2d |eas @b{l|oad-tpl-|
|00005690| 66 69 6c 65 7d 20 61 6e | 64 20 40 62 7b 6c 6f 61 |file} an|d @b{loa|
|000056a0| 64 2d 74 70 6c 2d 62 75 | 66 66 65 72 7d 20 75 73 |d-tpl-bu|ffer} us|
|000056b0| 65 0a 58 73 74 61 6e 64 | 61 72 64 20 6e 61 6d 65 |e.Xstand|ard name|
|000056c0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 2e 0a 58 0a 58 | complet|ion..X.X|
|000056d0| 40 6e 6f 64 65 20 73 65 | 6c 65 63 74 69 6e 67 2c |@node se|lecting,|
|000056e0| 20 65 78 70 61 6e 64 69 | 6e 67 2c 20 6c 6f 61 64 | expandi|ng, load|
|000056f0| 69 6e 67 2c 20 63 6f 6d | 6d 61 6e 64 73 0a 58 40 |ing, com|mands.X@|
|00005700| 73 65 63 74 69 6f 6e 20 | 53 65 6c 65 63 74 69 6e |section |Selectin|
|00005710| 67 20 74 65 6d 70 6c 61 | 74 65 73 20 2d 2d 20 63 |g templa|tes -- c|
|00005720| 68 6f 6f 73 69 6e 67 20 | 74 68 65 20 72 69 67 68 |hoosing |the righ|
|00005730| 74 20 74 65 6d 70 6c 61 | 74 65 0a 58 0a 58 40 74 |t templa|te.X.X@t|
|00005740| 61 62 6c 65 20 40 63 6f | 64 65 0a 58 40 69 74 65 |able @co|de.X@ite|
|00005750| 6d 20 67 65 6e 65 72 61 | 74 65 2d 61 6e 79 2d 74 |m genera|te-any-t|
|00005760| 65 6d 70 6c 61 74 65 20 | 28 40 63 74 72 6c 7b 63 |emplate |(@ctrl{c|
|00005770| 7d 20 40 63 74 72 6c 7b | 74 7d 20 3f 29 0a 58 42 |} @ctrl{|t} ?).XB|
|00005780| 75 69 6c 64 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |uilds a |list of |
|00005790| 61 6c 6c 20 74 68 65 20 | 74 65 6d 70 6c 61 74 65 |all the |template|
|000057a0| 73 20 61 76 61 69 6c 61 | 62 6c 65 2c 20 61 6e 64 |s availa|ble, and|
|000057b0| 20 77 61 69 74 73 20 66 | 6f 72 20 73 65 6c 65 63 | waits f|or selec|
|000057c0| 74 69 6f 6e 2e 0a 58 0a | 58 40 69 74 65 6d 20 67 |tion..X.|X@item g|
|000057d0| 65 6e 65 72 61 74 65 2d | 74 65 6d 70 6c 61 74 65 |enerate-|template|
|000057e0| 20 28 40 63 74 72 6c 7b | 63 7d 20 40 63 74 72 6c | (@ctrl{|c} @ctrl|
|000057f0| 7b 74 7d 20 74 29 0a 58 | 50 72 6f 6d 70 74 73 20 |{t} t).X|Prompts |
|00005800| 66 6f 72 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |for the |name of |
|00005810| 61 20 74 65 6d 70 6c 61 | 74 65 20 61 6e 64 20 74 |a templa|te and t|
|00005820| 68 65 6e 20 69 6e 73 65 | 72 74 73 20 69 74 20 61 |hen inse|rts it a|
|00005830| 74 20 70 6f 69 6e 74 2e | 0a 58 50 6c 61 63 65 68 |t point.|.XPlaceh|
|00005840| 6f 6c 64 65 72 73 20 77 | 69 74 68 69 6e 20 74 68 |olders w|ithin th|
|00005850| 65 20 74 65 6d 70 6c 61 | 74 65 20 61 72 65 20 65 |e templa|te are e|
|00005860| 78 70 61 6e 64 65 64 20 | 69 6e 74 65 72 61 63 74 |xpanded |interact|
|00005870| 69 76 65 6c 79 2e 0a 58 | 40 65 6e 64 20 74 61 62 |ively..X|@end tab|
|00005880| 6c 65 0a 58 0a 58 54 68 | 65 20 40 62 7b 67 65 6e |le.X.XTh|e @b{gen|
|00005890| 65 72 61 74 65 2d 61 6e | 79 2d 74 65 6d 70 6c 61 |erate-an|y-templa|
|000058a0| 74 65 7d 20 28 40 63 74 | 72 6c 7b 63 7d 20 40 63 |te} (@ct|rl{c} @c|
|000058b0| 74 72 6c 7b 74 7d 20 3f | 29 20 63 6f 6d 6d 61 6e |trl{t} ?|) comman|
|000058c0| 64 20 62 75 69 6c 64 73 | 20 61 20 6c 69 73 74 0a |d builds| a list.|
|000058d0| 58 6f 66 20 61 6c 6c 20 | 74 68 65 20 61 76 61 69 |Xof all |the avai|
|000058e0| 6c 61 62 6c 65 20 74 65 | 6d 70 6c 61 74 65 73 20 |lable te|mplates |
|000058f0| 61 6e 64 20 77 61 69 74 | 73 20 66 6f 72 20 61 20 |and wait|s for a |
|00005900| 73 65 6c 65 63 74 69 6f | 6e 2e 20 20 53 69 6e 63 |selectio|n. Sinc|
|00005910| 65 20 74 68 65 20 6c 69 | 73 74 0a 58 6d 61 79 20 |e the li|st.Xmay |
|00005920| 62 65 20 71 75 69 74 65 | 20 6c 6f 6e 67 2c 20 69 |be quite| long, i|
|00005930| 74 20 69 73 20 70 72 6f | 62 61 62 6c 79 20 62 65 |t is pro|bably be|
|00005940| 73 74 20 74 6f 20 73 65 | 6c 65 63 74 20 76 69 61 |st to se|lect via|
|00005950| 20 74 68 65 20 75 6e 69 | 71 75 65 2d 70 72 65 66 | the uni|que-pref|
|00005960| 69 78 0a 58 6d 65 74 68 | 6f 64 3a 20 54 79 70 65 |ix.Xmeth|od: Type|
|00005970| 20 65 6e 6f 75 67 68 20 | 6f 66 20 74 68 65 20 62 | enough |of the b|
|00005980| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 61 20 74 65 |eginning| of a te|
|00005990| 6d 70 6c 61 74 65 20 6e | 61 6d 65 20 74 6f 20 75 |mplate n|ame to u|
|000059a0| 6e 69 71 75 65 6c 79 0a | 58 69 64 65 6e 74 69 66 |niquely.|Xidentif|
|000059b0| 79 20 69 74 2e 20 20 50 | 6f 69 6e 74 20 77 69 6c |y it. P|oint wil|
|000059c0| 6c 20 62 65 20 70 6f 73 | 69 74 69 6f 6e 65 64 20 |l be pos|itioned |
|000059d0| 61 73 20 69 66 20 61 6e | 20 69 6e 63 72 65 6d 65 |as if an| increme|
|000059e0| 6e 74 61 6c 20 73 65 61 | 72 63 68 20 77 65 72 65 |ntal sea|rch were|
|000059f0| 0a 58 62 65 69 6e 67 20 | 70 65 72 66 6f 72 6d 65 |.Xbeing |performe|
|00005a00| 64 2e 20 20 54 79 70 69 | 6e 67 20 61 20 40 6b 65 |d. Typi|ng a @ke|
|00005a10| 79 7b 52 45 54 7d 20 77 | 69 6c 6c 20 73 65 6c 65 |y{RET} w|ill sele|
|00005a20| 63 74 20 61 6e 20 65 6e | 74 72 79 2e 20 20 4f 6e |ct an en|try. On|
|00005a30| 63 65 20 74 68 65 0a 58 | 73 65 6c 65 63 74 69 6f |ce the.X|selectio|
|00005a40| 6e 20 68 61 73 20 62 65 | 65 6e 20 6d 61 64 65 2c |n has be|en made,|
|00005a50| 20 67 65 6e 65 72 61 74 | 69 6f 6e 20 70 72 6f 63 | generat|ion proc|
|00005a60| 65 65 64 73 20 62 79 20 | 69 6e 73 65 72 74 69 6e |eeds by |insertin|
|00005a70| 67 20 61 20 70 6c 61 63 | 65 68 6f 6c 64 65 72 20 |g a plac|eholder |
|00005a80| 61 6e 64 0a 58 65 78 70 | 61 6e 64 69 6e 67 20 69 |and.Xexp|anding i|
|00005a90| 74 2e 0a 58 0a 58 54 68 | 65 20 40 62 7b 67 65 6e |t..X.XTh|e @b{gen|
|00005aa0| 65 72 61 74 65 2d 74 65 | 6d 70 6c 61 74 65 7d 20 |erate-te|mplate} |
|00005ab0| 28 40 63 74 72 6c 7b 63 | 7d 20 40 63 74 72 6c 7b |(@ctrl{c|} @ctrl{|
|00005ac0| 74 7d 20 74 29 20 63 6f | 6d 6d 61 6e 64 20 72 65 |t} t) co|mmand re|
|00005ad0| 71 75 65 73 74 73 20 74 | 68 65 20 6e 61 6d 65 0a |quests t|he name.|
|00005ae0| 58 6f 66 20 61 20 74 65 | 6d 70 6c 61 74 65 20 74 |Xof a te|mplate t|
|00005af0| 6f 20 69 6e 73 65 72 74 | 20 61 6e 64 20 65 78 70 |o insert| and exp|
|00005b00| 61 6e 64 2e 20 20 55 6e | 61 6d 62 69 67 75 6f 75 |and. Un|ambiguou|
|00005b10| 73 20 70 72 65 66 69 78 | 65 73 20 6d 61 79 20 62 |s prefix|es may b|
|00005b20| 65 20 63 6f 6d 70 6c 65 | 74 65 64 0a 58 77 69 74 |e comple|ted.Xwit|
|00005b30| 68 20 74 68 65 20 40 6b | 65 79 7b 54 41 42 7d 20 |h the @k|ey{TAB} |
|00005b40| 6b 65 79 2e 20 20 49 66 | 20 6e 6f 20 73 75 63 68 |key. If| no such|
|00005b50| 20 74 65 6d 70 6c 61 74 | 65 20 65 78 69 73 74 73 | templat|e exists|
|00005b60| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 67 65 74 20 61 |, you wi|ll get a|
|00005b70| 6e 20 65 72 72 6f 72 0a | 58 6d 65 73 73 61 67 65 |n error.|Xmessage|
|00005b80| 2c 20 61 6e 64 20 61 6e | 20 65 72 72 6f 72 20 72 |, and an| error r|
|00005b90| 65 73 75 6c 74 2e 20 20 | 4f 74 68 65 72 77 69 73 |esult. |Otherwis|
|00005ba0| 65 2c 20 61 20 70 6c 61 | 63 65 68 6f 6c 64 65 72 |e, a pla|ceholder|
|00005bb0| 20 66 6f 72 20 74 68 65 | 20 72 65 71 75 65 73 74 | for the| request|
|00005bc0| 65 64 0a 58 74 65 6d 70 | 6c 61 74 65 20 77 69 6c |ed.Xtemp|late wil|
|00005bd0| 6c 20 62 65 20 69 6e 73 | 65 72 74 65 64 20 61 6e |l be ins|erted an|
|00005be0| 64 20 65 78 70 61 6e 73 | 69 6f 6e 20 77 69 6c 6c |d expans|ion will|
|00005bf0| 20 62 65 67 69 6e 2e 0a | 58 0a 58 40 6e 6f 64 65 | begin..|X.X@node|
|00005c00| 20 65 78 70 61 6e 64 69 | 6e 67 2c 20 6d 65 6e 75 | expandi|ng, menu|
|00005c10| 73 2c 20 73 65 6c 65 63 | 74 69 6e 67 2c 20 63 6f |s, selec|ting, co|
|00005c20| 6d 6d 61 6e 64 73 0a 58 | 40 73 65 63 74 69 6f 6e |mmands.X|@section|
|00005c30| 20 45 78 70 61 6e 64 69 | 6e 67 20 74 65 6d 70 6c | Expandi|ng templ|
|00005c40| 61 74 65 73 20 2d 2d 20 | 72 65 70 6c 61 63 69 6e |ates -- |replacin|
|00005c50| 67 20 70 6c 61 63 65 68 | 6f 6c 64 65 72 73 20 62 |g placeh|olders b|
|00005c60| 79 20 74 65 6d 70 6c 61 | 74 65 73 0a 58 0a 58 40 |y templa|tes.X.X@|
|00005c70| 74 61 62 6c 65 20 40 63 | 6f 64 65 0a 58 40 69 74 |table @c|ode.X@it|
|00005c80| 65 6d 20 64 65 6c 65 74 | 65 2d 70 6c 61 63 65 68 |em delet|e-placeh|
|00005c90| 6f 6c 64 65 72 20 28 40 | 63 74 72 6c 7b 63 7d 20 |older (@|ctrl{c} |
|00005ca0| 40 63 74 72 6c 7b 74 7d | 20 40 63 74 72 6c 7b 6b |@ctrl{t}| @ctrl{k|
|00005cb0| 7d 29 0a 58 44 65 6c 65 | 74 65 20 74 68 65 20 70 |}).XDele|te the p|
|00005cc0| 6c 61 63 65 68 6f 6c 64 | 65 72 20 61 74 20 70 6f |lacehold|er at po|
|00005cd0| 69 6e 74 2e 0a 58 0a 58 | 40 69 74 65 6d 20 65 78 |int..X.X|@item ex|
|00005ce0| 70 61 6e 64 2d 70 6c 61 | 63 65 68 6f 6c 64 65 72 |pand-pla|ceholder|
|00005cf0| 20 28 40 63 74 72 6c 7b | 63 7d 20 40 63 74 72 6c | (@ctrl{|c} @ctrl|
|00005d00| 7b 74 7d 20 65 29 0a 58 | 45 78 70 61 6e 64 73 20 |{t} e).X|Expands |
|00005d10| 74 68 65 20 70 6c 61 63 | 65 68 6f 6c 64 65 72 20 |the plac|eholder |
|00005d20| 61 74 20 70 6f 69 6e 74 | 20 77 69 74 68 20 69 74 |at point| with it|
|00005d30| 73 20 74 65 6d 70 6c 61 | 74 65 20 64 65 73 63 72 |s templa|te descr|
|00005d40| 69 70 74 69 6f 6e 2e 0a | 58 0a 58 40 69 74 65 6d |iption..|X.X@item|
|00005d50| 20 65 78 70 61 6e 64 2d | 70 6c 61 63 65 68 6f 6c | expand-|placehol|
|00005d60| 64 65 72 73 2d 69 6e 2d | 72 65 67 69 6f 6e 20 28 |ders-in-|region (|
|00005d70| 40 63 74 72 6c 7b 63 7d | 20 40 63 74 72 6c 7b 74 |@ctrl{c}| @ctrl{t|
|00005d80| 7d 20 40 63 74 72 6c 7b | 65 7d 29 0a 58 45 78 70 |} @ctrl{|e}).XExp|
|00005d90| 61 6e 64 73 20 61 6c 6c | 20 70 6c 61 63 65 68 6f |ands all| placeho|
|00005da0| 6c 64 65 72 73 20 69 6e | 20 74 68 65 20 72 65 67 |lders in| the reg|
|00005db0| 69 6f 6e 20 77 69 74 68 | 20 74 68 65 69 72 20 74 |ion with| their t|
|00005dc0| 65 6d 70 6c 61 74 65 20 | 64 65 73 63 72 69 70 74 |emplate |descript|
|00005dd0| 69 6f 6e 73 2e 0a 58 0a | 58 40 69 74 65 6d 20 6e |ions..X.|X@item n|
|00005de0| 65 78 74 2d 70 6c 61 63 | 65 68 6f 6c 64 65 72 20 |ext-plac|eholder |
|00005df0| 28 40 63 74 72 6c 7b 63 | 7d 20 40 63 74 72 6c 7b |(@ctrl{c|} @ctrl{|
|00005e00| 74 7d 20 40 63 74 72 6c | 7b 6e 7d 29 0a 58 4d 6f |t} @ctrl|{n}).XMo|
|00005e10| 76 65 20 74 6f 20 74 68 | 65 20 62 65 67 69 6e 6e |ve to th|e beginn|
|00005e20| 69 6e 67 20 6f 66 20 74 | 68 65 20 6e 65 78 74 20 |ing of t|he next |
|00005e30| 70 6c 61 63 65 68 6f 6c | 64 65 72 2e 0a 58 0a 58 |placehol|der..X.X|
|00005e40| 40 69 74 65 6d 20 70 72 | 65 76 69 6f 75 73 2d 70 |@item pr|evious-p|
|00005e50| 6c 61 63 65 68 6f 6c 64 | 65 72 20 28 40 63 74 72 |lacehold|er (@ctr|
|00005e60| 6c 7b 63 7d 20 40 63 74 | 72 6c 7b 74 7d 20 40 63 |l{c} @ct|rl{t} @c|
|00005e70| 74 72 6c 7b 70 7d 29 0a | 58 4d 6f 76 65 20 74 6f |trl{p}).|XMove to|
|00005e80| 20 74 68 65 20 62 65 67 | 69 6e 6e 69 6e 67 20 6f | the beg|inning o|
|00005e90| 66 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 70 |f the pr|evious p|
|00005ea0| 6c 61 63 65 68 6f 6c 64 | 65 72 2e 0a 58 40 65 6e |lacehold|er..X@en|
|00005eb0| 64 20 74 61 62 6c 65 0a | 58 0a 58 45 78 70 61 6e |d table.|X.XExpan|
|00005ec0| 73 69 6f 6e 20 6f 66 20 | 61 20 70 6c 61 63 65 68 |sion of |a placeh|
|00005ed0| 6f 6c 64 65 72 20 63 6f | 6e 73 69 73 74 73 20 6f |older co|nsists o|
|00005ee0| 66 3a 0a 58 40 65 6e 75 | 6d 65 72 61 74 65 0a 58 |f:.X@enu|merate.X|
|00005ef0| 40 69 74 65 6d 0a 58 46 | 69 6e 64 69 6e 67 20 74 |@item.XF|inding t|
|00005f00| 68 65 20 61 70 70 72 6f | 70 72 69 61 74 65 20 74 |he appro|priate t|
|00005f10| 65 6d 70 6c 61 74 65 2e | 0a 58 40 69 74 65 6d 0a |emplate.|.X@item.|
|00005f20| 58 49 6e 73 65 72 74 69 | 6e 67 20 74 68 65 20 74 |XInserti|ng the t|
|00005f30| 65 6d 70 6c 61 74 65 20 | 69 6e 20 70 6c 61 63 65 |emplate |in place|
|00005f40| 20 6f 66 20 74 68 65 20 | 70 6c 61 63 65 68 6f 6c | of the |placehol|
|00005f50| 64 65 72 2e 0a 58 40 69 | 74 65 6d 0a 58 44 65 74 |der..X@i|tem.XDet|
|00005f60| 65 72 6d 69 6e 69 6e 67 | 20 74 68 65 20 61 70 70 |ermining| the app|
|00005f70| 72 6f 70 72 69 61 74 65 | 20 66 69 6e 61 6c 20 64 |ropriate| final d|
|00005f80| 65 73 74 69 6e 61 74 69 | 6f 6e 20 6f 66 20 40 69 |estinati|on of @i|
|00005f90| 7b 70 6f 69 6e 74 7d 0a | 58 28 69 6e 63 6c 75 64 |{point}.|X(includ|
|00005fa0| 69 6e 67 20 72 65 6d 6f | 76 69 6e 67 20 61 6c 6c |ing remo|ving all|
|00005fb0| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 20 70 6c 61 | destina|tion pla|
|00005fc0| 63 65 68 6f 6c 64 65 72 | 73 29 2e 0a 58 40 69 74 |ceholder|s)..X@it|
|00005fd0| 65 6d 0a 58 52 65 63 75 | 72 73 69 76 65 6c 79 20 |em.XRecu|rsively |
|00005fe0| 65 78 70 61 6e 64 69 6e | 67 20 65 61 63 68 20 70 |expandin|g each p|
|00005ff0| 6c 61 63 65 68 6f 6c 64 | 65 72 20 77 69 74 68 69 |lacehold|er withi|
|00006000| 6e 20 74 68 65 20 6e 65 | 77 20 74 65 78 74 2e 0a |n the ne|w text..|
|00006010| 58 40 69 74 65 6d 0a 58 | 4c 65 61 76 69 6e 67 20 |X@item.X|Leaving |
|00006020| 40 69 7b 70 6f 69 6e 74 | 7d 20 61 74 20 74 68 65 |@i{point|} at the|
|00006030| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 66 69 6e | appropr|iate fin|
|00006040| 61 6c 20 64 65 73 74 69 | 6e 61 74 69 6f 6e 2e 0a |al desti|nation..|
|00006050| 58 40 65 6e 64 20 65 6e | 75 6d 65 72 61 74 65 0a |X@end en|umerate.|
|00006060| 58 59 6f 75 20 6d 61 79 | 20 63 68 6f 6f 73 65 20 |XYou may| choose |
|00006070| 6e 6f 74 20 74 6f 20 65 | 78 70 61 6e 64 20 61 6e |not to e|xpand an|
|00006080| 79 20 70 6c 61 63 65 68 | 6f 6c 64 65 72 2c 20 69 |y placeh|older, i|
|00006090| 6e 20 77 68 69 63 68 20 | 63 61 73 65 20 69 74 20 |n which |case it |
|000060a0| 69 73 20 6c 65 66 74 0a | 58 61 73 2d 69 73 20 69 |is left.|Xas-is i|
|000060b0| 6e 20 74 68 65 20 62 75 | 66 66 65 72 2e 20 20 54 |n the bu|ffer. T|
|000060c0| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 40 62 7b 65 78 |he comma|nd @b{ex|
|000060d0| 70 61 6e 64 2d 70 6c 61 | 63 65 68 6f 6c 64 65 72 |pand-pla|ceholder|
|000060e0| 7d 20 28 40 63 74 72 6c | 7b 63 7d 20 40 63 74 72 |} (@ctrl|{c} @ctr|
|000060f0| 6c 7b 74 7d 0a 58 65 29 | 20 6d 61 79 20 62 65 20 |l{t}.Xe)| may be |
|00006100| 75 73 65 64 20 74 6f 20 | 65 78 70 61 6e 64 20 74 |used to |expand t|
|00006110| 68 65 20 70 6c 61 63 65 | 68 6f 6c 64 65 72 20 61 |he place|holder a|
|00006120| 74 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 6c 6f |t the cu|rrent lo|
|00006130| 63 61 74 69 6f 6e 20 6f | 66 20 70 6f 69 6e 74 2e |cation o|f point.|
|00006140| 0a 58 54 68 65 20 63 6f | 6d 6d 61 6e 64 73 20 40 |.XThe co|mmands @|
|00006150| 62 7b 6e 65 78 74 2d 70 | 6c 61 63 65 68 6f 6c 64 |b{next-p|lacehold|
|00006160| 65 72 7d 20 28 40 63 74 | 72 6c 7b 63 7d 20 40 63 |er} (@ct|rl{c} @c|
|00006170| 74 72 6c 7b 74 7d 20 40 | 63 74 72 6c 7b 6e 7d 29 |trl{t} @|ctrl{n})|
|00006180| 2c 0a 58 40 62 7b 70 72 | 65 76 69 6f 75 73 2d 70 |,.X@b{pr|evious-p|
|00006190| 6c 61 63 65 68 6f 6c 64 | 65 72 7d 20 28 40 63 74 |lacehold|er} (@ct|
|000061a0| 72 6c 7b 63 7d 20 40 63 | 74 72 6c 7b 74 7d 20 40 |rl{c} @c|trl{t} @|
|000061b0| 63 74 72 6c 7b 70 7d 29 | 2c 20 61 6e 64 0a 58 40 |ctrl{p})|, and.X@|
|000061c0| 62 7b 64 65 6c 65 74 65 | 2d 70 6c 61 63 65 68 6f |b{delete|-placeho|
|000061d0| 6c 64 65 72 7d 20 28 40 | 63 74 72 6c 7b 63 7d 20 |lder} (@|ctrl{c} |
|000061e0| 40 63 74 72 6c 7b 74 7d | 20 40 63 74 72 6c 7b 6b |@ctrl{t}| @ctrl{k|
|000061f0| 7d 29 20 61 72 65 20 61 | 6c 73 6f 20 75 73 65 66 |}) are a|lso usef|
|00006200| 75 6c 20 77 68 65 6e 0a | 58 63 6c 65 61 6e 69 6e |ul when.|Xcleanin|
|00006210| 67 20 75 70 20 75 6e 65 | 78 70 61 6e 64 65 64 20 |g up une|xpanded |
|00006220| 70 6c 61 63 65 68 6f 6c | 64 65 72 73 2e 20 20 40 |placehol|ders. @|
|00006230| 62 7b 45 78 70 61 6e 64 | 2d 70 6c 61 63 65 68 6f |b{Expand|-placeho|
|00006240| 6c 64 65 72 73 2d 69 6e | 2d 72 65 67 69 6f 6e 7d |lders-in|-region}|
|00006250| 0a 58 28 40 63 74 72 6c | 7b 63 7d 20 40 63 74 72 |.X(@ctrl|{c} @ctr|
|00006260| 6c 7b 74 7d 20 40 63 74 | 72 6c 7b 65 7d 29 20 77 |l{t} @ct|rl{e}) w|
|00006270| 69 6c 6c 20 65 78 70 61 | 6e 64 20 61 6c 6c 20 6f |ill expa|nd all o|
|00006280| 66 20 74 68 65 20 70 6c | 61 63 65 68 6f 6c 64 65 |f the pl|aceholde|
|00006290| 72 73 20 69 6e 20 61 0a | 58 72 65 67 69 6f 6e 2c |rs in a.|Xregion,|
|000062a0| 20 72 65 63 75 72 73 69 | 76 65 6c 79 2e 0a 58 0a | recursi|vely..X.|
|000062b0| 58 50 6c 61 63 65 68 6f | 6c 64 65 72 73 20 6d 61 |XPlaceho|lders ma|
|000062c0| 79 20 62 65 20 6f 70 74 | 69 6f 6e 61 6c 20 6f 72 |y be opt|ional or|
|000062d0| 20 72 65 71 75 69 72 65 | 64 2e 20 20 41 6e 20 6f | require|d. An o|
|000062e0| 70 74 69 6f 6e 61 6c 20 | 70 6c 61 63 65 68 6f 6c |ptional |placehol|
|000062f0| 64 65 72 20 68 61 73 20 | 61 6e 0a 58 65 78 74 72 |der has |an.Xextr|
|00006300| 61 20 40 73 61 6d 70 7b | 23 7d 20 63 68 61 72 61 |a @samp{|#} chara|
|00006310| 63 74 65 72 20 61 74 20 | 74 68 65 20 62 65 67 69 |cter at |the begi|
|00006320| 6e 6e 69 6e 67 20 6f 66 | 20 69 74 73 20 74 79 70 |nning of| its typ|
|00006330| 65 20 6e 61 6d 65 2e 20 | 20 57 68 65 6e 20 65 78 |e name. | When ex|
|00006340| 70 61 6e 64 69 6e 67 0a | 58 61 20 74 65 6d 70 6c |panding.|Xa templ|
|00006350| 61 74 65 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 61 |ate cont|aining a|
|00006360| 6e 20 6f 70 74 69 6f 6e | 61 6c 20 70 6c 61 63 65 |n option|al place|
|00006370| 68 6f 6c 64 65 72 20 79 | 6f 75 20 61 72 65 20 61 |holder y|ou are a|
|00006380| 73 6b 65 64 20 77 68 65 | 74 68 65 72 20 79 6f 75 |sked whe|ther you|
|00006390| 0a 58 77 69 73 68 20 74 | 6f 20 6b 65 65 70 20 74 |.Xwish t|o keep t|
|000063a0| 68 65 20 70 6c 61 63 65 | 68 6f 6c 64 65 72 2e 20 |he place|holder. |
|000063b0| 20 49 66 20 79 6f 75 20 | 72 65 73 70 6f 6e 64 20 | If you |respond |
|000063c0| 6e 65 67 61 74 69 76 65 | 6c 79 2c 20 74 68 65 20 |negative|ly, the |
|000063d0| 70 6c 61 63 65 68 6f 6c | 64 65 72 0a 58 69 73 20 |placehol|der.Xis |
|000063e0| 64 65 6c 65 74 65 64 2e | 20 20 49 66 20 79 6f 75 |deleted.| If you|
|000063f0| 20 72 65 73 70 6f 6e 64 | 20 70 6f 73 69 74 69 76 | respond| positiv|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.