home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / modes / outline.elc < prev    next >
Emacs Compiled Lisp  |  1993-04-01  |  10.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 77 7a 40 74 68 61 |piled by| jwz@tha|
|00000020| 6c 69 64 6f 6d 69 64 65 | 20 6f 6e 20 4d 6f 6e 20 |lidomide| on Mon |
|00000030| 46 65 62 20 20 31 20 31 | 39 3a 30 30 3a 35 33 20 |Feb 1 1|9:00:53 |
|00000040| 31 39 39 33 0a 3b 3b 3b | 20 66 72 6f 6d 20 66 69 |1993.;;;| from fi|
|00000050| 6c 65 20 2f 63 61 64 69 | 6c 6c 61 63 31 2f 63 6f |le /cadi|llac1/co|
|00000060| 64 65 2f 62 75 69 6c 64 | 2f 6c 65 6d 61 63 73 2f |de/build|/lemacs/|
|00000070| 6c 69 73 70 2f 6d 6f 64 | 65 73 2f 6f 75 74 6c 69 |lisp/mod|es/outli|
|00000080| 6e 65 2e 65 6c 0a 3b 3b | 3b 20 65 6d 61 63 73 20 |ne.el.;;|; emacs |
|00000090| 76 65 72 73 69 6f 6e 20 | 31 39 2e 34 2e 31 33 20 |version |19.4.13 |
|000000a0| 4c 75 63 69 64 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |Lucid..;|;; bytec|
|000000b0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 32 2e 31 30 |omp vers|ion 2.10|
|000000c0| 3b 20 20 31 2d 66 65 62 | 2d 39 33 2e 0a 3b 3b 3b |; 1-feb|-93..;;;|
|000000d0| 20 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 20 69 73 | optimiz|ation is|
|000000e0| 20 6f 6e 2e 0a 3b 3b 3b | 20 74 68 69 73 20 66 69 | on..;;;| this fi|
|000000f0| 6c 65 20 75 73 65 73 20 | 6f 70 63 6f 64 65 73 20 |le uses |opcodes |
|00000100| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 65 78 69 |which do| not exi|
|00000110| 73 74 20 69 6e 20 45 6d | 61 63 73 31 38 2e 0a 0a |st in Em|acs18...|
|00000120| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000130| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000140| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000150| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|00000160| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|00000170| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|00000180| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|00000190| 65 72 73 69 6f 6e 20 22 | 31 39 22 29 29 29 0a 20 |ersion "|19"))). |
|000001a0| 20 20 20 28 65 72 72 6f | 72 20 22 54 68 69 73 20 | (erro|r "This |
|000001b0| 66 69 6c 65 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |file was| compile|
|000001c0| 64 20 66 6f 72 20 45 6d | 61 63 73 31 39 2e 22 29 |d for Em|acs19.")|
|000001d0| 29 0a 0a 28 64 65 66 76 | 61 72 20 6f 75 74 6c 69 |)..(defv|ar outli|
|000001e0| 6e 65 2d 72 65 67 65 78 | 70 20 22 5b 2a 0c 5d 2b |ne-regex|p "[*.]+|
|000001f0| 22 20 22 5c 0a 2a 52 65 | 67 75 6c 61 72 20 65 78 |" "\.*Re|gular ex|
|00000200| 70 72 65 73 73 69 6f 6e | 20 74 6f 20 6d 61 74 63 |pression| to matc|
|00000210| 68 20 74 68 65 20 62 65 | 67 69 6e 6e 69 6e 67 20 |h the be|ginning |
|00000220| 6f 66 20 61 20 68 65 61 | 64 69 6e 67 2e 0a 41 6e |of a hea|ding..An|
|00000230| 79 20 6c 69 6e 65 20 77 | 68 6f 73 65 20 62 65 67 |y line w|hose beg|
|00000240| 69 6e 6e 69 6e 67 20 6d | 61 74 63 68 65 73 20 74 |inning m|atches t|
|00000250| 68 69 73 20 72 65 67 65 | 78 70 20 69 73 20 63 6f |his rege|xp is co|
|00000260| 6e 73 69 64 65 72 65 64 | 20 74 6f 20 73 74 61 72 |nsidered| to star|
|00000270| 74 20 61 20 68 65 61 64 | 69 6e 67 2e 0a 54 68 65 |t a head|ing..The|
|00000280| 20 72 65 63 6f 6d 6d 65 | 6e 64 65 64 20 77 61 79 | recomme|nded way|
|00000290| 20 74 6f 20 73 65 74 20 | 74 68 69 73 20 69 73 20 | to set |this is |
|000002a0| 77 69 74 68 20 61 20 4c | 6f 63 61 6c 20 56 61 72 |with a L|ocal Var|
|000002b0| 69 61 62 6c 65 73 3a 20 | 6c 69 73 74 0a 69 6e 20 |iables: |list.in |
|000002c0| 74 68 65 20 66 69 6c 65 | 20 69 74 20 61 70 70 6c |the file| it appl|
|000002d0| 69 65 73 20 74 6f 2e 20 | 20 53 65 65 20 61 6c 73 |ies to. | See als|
|000002e0| 6f 20 6f 75 74 6c 69 6e | 65 2d 68 65 61 64 69 6e |o outlin|e-headin|
|000002f0| 67 2d 65 6e 64 2d 72 65 | 67 65 78 70 2e 22 29 0a |g-end-re|gexp.").|
|00000300| 28 64 65 66 76 61 72 20 | 6f 75 74 6c 69 6e 65 2d |(defvar |outline-|
|00000310| 68 65 61 64 69 6e 67 2d | 65 6e 64 2d 72 65 67 65 |heading-|end-rege|
|00000320| 78 70 20 22 5b 5c 6e 5e | 4d 5d 22 20 22 5c 0a 2a |xp "[\n^|M]" "\.*|
|00000330| 52 65 67 75 6c 61 72 20 | 65 78 70 72 65 73 73 69 |Regular |expressi|
|00000340| 6f 6e 20 74 6f 20 6d 61 | 74 63 68 20 74 68 65 20 |on to ma|tch the |
|00000350| 65 6e 64 20 6f 66 20 61 | 20 68 65 61 64 69 6e 67 |end of a| heading|
|00000360| 20 6c 69 6e 65 2e 0a 59 | 6f 75 20 63 61 6e 20 61 | line..Y|ou can a|
|00000370| 73 73 75 6d 65 20 74 68 | 61 74 20 70 6f 69 6e 74 |ssume th|at point|
|00000380| 20 69 73 20 61 74 20 74 | 68 65 20 62 65 67 69 6e | is at t|he begin|
|00000390| 6e 69 6e 67 20 6f 66 20 | 61 20 68 65 61 64 69 6e |ning of |a headin|
|000003a0| 67 0a 77 68 65 6e 20 74 | 68 69 73 20 72 65 67 65 |g.when t|his rege|
|000003b0| 78 70 20 69 73 20 73 65 | 61 72 63 68 65 64 20 66 |xp is se|arched f|
|000003c0| 6f 72 2e 20 20 54 68 65 | 20 68 65 61 64 69 6e 67 |or. The| heading|
|000003d0| 20 65 6e 64 73 20 61 74 | 20 74 68 65 20 65 6e 64 | ends at| the end|
|000003e0| 20 6f 66 20 74 68 65 20 | 6d 61 74 63 68 2e 0a 54 | of the |match..T|
|000003f0| 68 65 20 72 65 63 6f 6d | 6d 65 6e 64 65 64 20 77 |he recom|mended w|
|00000400| 61 79 20 74 6f 20 73 65 | 74 20 74 68 69 73 20 69 |ay to se|t this i|
|00000410| 73 20 77 69 74 68 20 61 | 20 4c 6f 63 61 6c 20 56 |s with a| Local V|
|00000420| 61 72 69 61 62 6c 65 73 | 3a 20 6c 69 73 74 0a 69 |ariables|: list.i|
|00000430| 6e 20 74 68 65 20 66 69 | 6c 65 20 69 74 20 61 70 |n the fi|le it ap|
|00000440| 70 6c 69 65 73 20 74 6f | 2e 22 29 0a 28 64 65 66 |plies to|.").(def|
|00000450| 76 61 72 20 6f 75 74 6c | 69 6e 65 2d 6d 6f 64 65 |var outl|ine-mode|
|00000460| 2d 6d 61 70 20 6e 69 6c | 20 22 5c 0a 22 29 0a 28 |-map nil| "\.").(|
|00000470| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 ac b8 c1 20 |byte-cod|e ".... |
|00000480| 10 c2 08 0b 5c 22 88 c4 | 08 c5 c6 23 88 c4 08 c7 |....\"..|...#....|
|00000490| c8 23 88 c4 08 c9 ca 23 | 88 c4 08 cb cc 23 88 c4 |.#.....#|.....#..|
|000004a0| 08 cd ce 23 88 c4 08 cf | d0 23 88 c4 08 d1 d2 23 |...#....|.#.....#|
|000004b0| 88 c4 08 d3 d4 23 88 c1 | 87 22 20 5b 6f 75 74 6c |.....#..|." [outl|
|000004c0| 69 6e 65 2d 6d 6f 64 65 | 2d 6d 61 70 20 6d 61 6b |ine-mode|-map mak|
|000004d0| 65 2d 73 70 61 72 73 65 | 2d 6b 65 79 6d 61 70 20 |e-sparse|-keymap |
|000004e0| 73 65 74 2d 6b 65 79 6d | 61 70 2d 70 61 72 65 6e |set-keym|ap-paren|
|000004f0| 74 20 74 65 78 74 2d 6d | 6f 64 65 2d 6d 61 70 20 |t text-m|ode-map |
|00000500| 64 65 66 69 6e 65 2d 6b | 65 79 20 22 03 0e 22 20 |define-k|ey ".." |
|00000510| 6f 75 74 6c 69 6e 65 2d | 6e 65 78 74 2d 76 69 73 |outline-|next-vis|
|00000520| 69 62 6c 65 2d 68 65 61 | 64 69 6e 67 20 22 03 10 |ible-hea|ding "..|
|00000530| 22 20 6f 75 74 6c 69 6e | 65 2d 70 72 65 76 69 6f |" outlin|e-previo|
|00000540| 75 73 2d 76 69 73 69 62 | 6c 65 2d 68 65 61 64 69 |us-visib|le-headi|
|00000550| 6e 67 20 22 03 09 22 20 | 73 68 6f 77 2d 63 68 69 |ng ".." |show-chi|
|00000560| 6c 64 72 65 6e 20 22 03 | 13 22 20 73 68 6f 77 2d |ldren ".|." show-|
|00000570| 73 75 62 74 72 65 65 20 | 22 03 08 22 20 68 69 64 |subtree |".." hid|
|00000580| 65 2d 73 75 62 74 72 65 | 65 20 22 03 15 22 20 6f |e-subtre|e ".." o|
|00000590| 75 74 6c 69 6e 65 2d 75 | 70 2d 68 65 61 64 69 6e |utline-u|p-headin|
|000005a0| 67 20 22 03 06 22 20 6f | 75 74 6c 69 6e 65 2d 66 |g ".." o|utline-f|
|000005b0| 6f 72 77 61 72 64 2d 73 | 61 6d 65 2d 6c 65 76 65 |orward-s|ame-leve|
|000005c0| 6c 20 22 03 02 22 20 6f | 75 74 6c 69 6e 65 2d 62 |l ".." o|utline-b|
|000005d0| 61 63 6b 77 61 72 64 2d | 73 61 6d 65 2d 6c 65 76 |ackward-|same-lev|
|000005e0| 65 6c 5d 20 34 29 0a 28 | 64 65 66 76 61 72 20 6f |el] 4).(|defvar o|
|000005f0| 75 74 6c 69 6e 65 2d 6d | 69 6e 6f 72 2d 6d 6f 64 |utline-m|inor-mod|
|00000600| 65 20 6e 69 6c 20 22 5c | 0a 4e 6f 6e 2d 6e 69 6c |e nil "\|.Non-nil|
|00000610| 20 69 66 20 75 73 69 6e | 67 20 4f 75 74 6c 69 6e | if usin|g Outlin|
|00000620| 65 20 6d 6f 64 65 20 61 | 73 20 61 20 6d 69 6e 6f |e mode a|s a mino|
|00000630| 72 20 6d 6f 64 65 20 6f | 66 20 73 6f 6d 65 20 6f |r mode o|f some o|
|00000640| 74 68 65 72 20 6d 6f 64 | 65 2e 22 29 0a 28 62 79 |ther mod|e.").(by|
|00000650| 74 65 2d 63 6f 64 65 20 | 22 c0 09 c2 43 5c 22 11 |te-code |"...C\".|
|00000660| c0 87 22 20 5b 61 70 70 | 65 6e 64 20 6d 69 6e 6f |.." [app|end mino|
|00000670| 72 2d 6d 6f 64 65 2d 61 | 6c 69 73 74 20 28 6f 75 |r-mode-a|list (ou|
|00000680| 74 6c 69 6e 65 2d 6d 69 | 6e 6f 72 2d 6d 6f 64 65 |tline-mi|nor-mode|
|00000690| 20 22 20 4f 75 74 6c 22 | 29 5d 20 33 29 0a 28 66 | " Outl"|)] 3).(f|
|000006a0| 73 65 74 20 27 6f 75 74 | 6c 69 6e 65 2d 6d 6f 64 |set 'out|line-mod|
|000006b0| 65 20 23 5b 6e 69 6c 20 | 22 c0 20 88 c1 12 c3 0c |e #[nil |". .....|
|000006c0| 21 88 c5 16 06 c7 16 08 | c9 ca cb 5c 22 88 0e 5c |!.......|...\"..\|
|000006d0| 6e 16 0c cd 0e 0e 21 88 | cf d0 21 88 0e 10 d1 0e |n.....!.|..!.....|
|000006e0| 12 d3 52 16 10 cf d4 21 | 88 0e 12 16 14 cf d5 21 |..R....!|.......!|
|000006f0| 88 0e 15 d1 0e 12 d3 52 | 16 15 d6 d7 d8 5c 22 87 |.......R|.....\".|
|00000700| 22 20 5b 6b 69 6c 6c 2d | 61 6c 6c 2d 6c 6f 63 61 |" [kill-|all-loca|
|00000710| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 74 20 73 65 |l-variab|les t se|
|00000720| 6c 65 63 74 69 76 65 2d | 64 69 73 70 6c 61 79 20 |lective-|display |
|00000730| 75 73 65 2d 6c 6f 63 61 | 6c 2d 6d 61 70 20 6f 75 |use-loca|l-map ou|
|00000740| 74 6c 69 6e 65 2d 6d 6f | 64 65 2d 6d 61 70 20 22 |tline-mo|de-map "|
|00000750| 4f 75 74 6c 69 6e 65 22 | 20 6d 6f 64 65 2d 6e 61 |Outline"| mode-na|
|00000760| 6d 65 20 6f 75 74 6c 69 | 6e 65 2d 6d 6f 64 65 20 |me outli|ne-mode |
|00000770| 6d 61 6a 6f 72 2d 6d 6f | 64 65 20 64 65 66 69 6e |major-mo|de defin|
|00000780| 65 2d 61 62 62 72 65 76 | 2d 74 61 62 6c 65 20 74 |e-abbrev|-table t|
|00000790| 65 78 74 2d 6d 6f 64 65 | 2d 61 62 62 72 65 76 2d |ext-mode|-abbrev-|
|000007a0| 74 61 62 6c 65 20 6e 69 | 6c 20 6c 6f 63 61 6c 2d |table ni|l local-|
|000007b0| 61 62 62 72 65 76 2d 74 | 61 62 6c 65 20 73 65 74 |abbrev-t|able set|
|000007c0| 2d 73 79 6e 74 61 78 2d | 74 61 62 6c 65 20 74 65 |-syntax-|table te|
|000007d0| 78 74 2d 6d 6f 64 65 2d | 73 79 6e 74 61 78 2d 74 |xt-mode-|syntax-t|
|000007e0| 61 62 6c 65 20 6d 61 6b | 65 2d 6c 6f 63 61 6c 2d |able mak|e-local-|
|000007f0| 76 61 72 69 61 62 6c 65 | 20 70 61 72 61 67 72 61 |variable| paragra|
|00000800| 70 68 2d 73 74 61 72 74 | 20 22 5c 5c 7c 5e 5c 5c |ph-start| "\\|^\\|
|00000810| 28 22 20 6f 75 74 6c 69 | 6e 65 2d 72 65 67 65 78 |(" outli|ne-regex|
|00000820| 70 20 22 5c 5c 29 22 20 | 61 75 74 6f 2d 66 69 6c |p "\\)" |auto-fil|
|00000830| 6c 2d 69 6e 68 69 62 69 | 74 2d 72 65 67 65 78 70 |l-inhibi|t-regexp|
|00000840| 20 70 61 72 61 67 72 61 | 70 68 2d 73 65 70 61 72 | paragra|ph-separ|
|00000850| 61 74 65 20 72 75 6e 2d | 68 6f 6f 6b 73 20 74 65 |ate run-|hooks te|
|00000860| 78 74 2d 6d 6f 64 65 2d | 68 6f 6f 6b 20 6f 75 74 |xt-mode-|hook out|
|00000870| 6c 69 6e 65 2d 6d 6f 64 | 65 2d 68 6f 6f 6b 5d 20 |line-mod|e-hook] |
|00000880| 34 20 22 5c 0a 53 65 74 | 20 6d 61 6a 6f 72 20 6d |4 "\.Set| major m|
|00000890| 6f 64 65 20 66 6f 72 20 | 65 64 69 74 69 6e 67 20 |ode for |editing |
|000008a0| 6f 75 74 6c 69 6e 65 73 | 20 77 69 74 68 20 73 65 |outlines| with se|
|000008b0| 6c 65 63 74 69 76 65 20 | 64 69 73 70 6c 61 79 2e |lective |display.|
|000008c0| 0a 48 65 61 64 69 6e 67 | 73 20 61 72 65 20 6c 69 |.Heading|s are li|
|000008d0| 6e 65 73 20 77 68 69 63 | 68 20 73 74 61 72 74 20 |nes whic|h start |
|000008e0| 77 69 74 68 20 61 73 74 | 65 72 69 73 6b 73 3a 20 |with ast|erisks: |
|000008f0| 6f 6e 65 20 66 6f 72 20 | 6d 61 6a 6f 72 20 68 65 |one for |major he|
|00000900| 61 64 69 6e 67 73 2c 0a | 74 77 6f 20 66 6f 72 20 |adings,.|two for |
|00000910| 73 75 62 68 65 61 64 69 | 6e 67 73 2c 20 65 74 63 |subheadi|ngs, etc|
|00000920| 2e 20 20 4c 69 6e 65 73 | 20 6e 6f 74 20 73 74 61 |. Lines| not sta|
|00000930| 72 74 69 6e 67 20 77 69 | 74 68 20 61 73 74 65 72 |rting wi|th aster|
|00000940| 69 73 6b 73 20 61 72 65 | 20 62 6f 64 79 20 6c 69 |isks are| body li|
|00000950| 6e 65 73 2e 20 0a 0a 42 | 6f 64 79 20 74 65 78 74 |nes. ..B|ody text|
|00000960| 20 6f 72 20 73 75 62 68 | 65 61 64 69 6e 67 73 20 | or subh|eadings |
|00000970| 75 6e 64 65 72 20 61 20 | 68 65 61 64 69 6e 67 20 |under a |heading |
|00000980| 63 61 6e 20 62 65 20 6d | 61 64 65 20 74 65 6d 70 |can be m|ade temp|
|00000990| 6f 72 61 72 69 6c 79 0a | 69 6e 76 69 73 69 62 6c |orarily.|invisibl|
|000009a0| 65 2c 20 6f 72 20 76 69 | 73 69 62 6c 65 20 61 67 |e, or vi|sible ag|
|000009b0| 61 69 6e 2e 20 20 49 6e | 76 69 73 69 62 6c 65 20 |ain. In|visible |
|000009c0| 6c 69 6e 65 73 20 61 72 | 65 20 61 74 74 61 63 68 |lines ar|e attach|
|000009d0| 65 64 20 74 6f 20 74 68 | 65 20 65 6e 64 20 0a 6f |ed to th|e end .o|
|000009e0| 66 20 74 68 65 20 68 65 | 61 64 69 6e 67 2c 20 73 |f the he|ading, s|
|000009f0| 6f 20 74 68 65 79 20 6d | 6f 76 65 20 77 69 74 68 |o they m|ove with|
|00000a00| 20 69 74 2c 20 69 66 20 | 74 68 65 20 6c 69 6e 65 | it, if |the line|
|00000a10| 20 69 73 20 6b 69 6c 6c | 65 64 20 61 6e 64 20 79 | is kill|ed and y|
|00000a20| 61 6e 6b 65 64 0a 62 61 | 63 6b 2e 20 20 41 20 68 |anked.ba|ck. A h|
|00000a30| 65 61 64 69 6e 67 20 77 | 69 74 68 20 74 65 78 74 |eading w|ith text|
|00000a40| 20 68 69 64 64 65 6e 20 | 75 6e 64 65 72 20 69 74 | hidden |under it|
|00000a50| 20 69 73 20 6d 61 72 6b | 65 64 20 77 69 74 68 20 | is mark|ed with |
|00000a60| 61 6e 20 65 6c 6c 69 70 | 73 69 73 20 28 2e 2e 2e |an ellip|sis (...|
|00000a70| 29 2e 0a 0a 43 6f 6d 6d | 61 6e 64 73 3a 0a 43 2d |)...Comm|ands:.C-|
|00000a80| 63 20 43 2d 6e 20 20 20 | 6f 75 74 6c 69 6e 65 2d |c C-n |outline-|
|00000a90| 6e 65 78 74 2d 76 69 73 | 69 62 6c 65 2d 68 65 61 |next-vis|ible-hea|
|00000aa0| 64 69 6e 67 20 20 20 20 | 20 20 6d 6f 76 65 20 62 |ding | move b|
|00000ab0| 79 20 76 69 73 69 62 6c | 65 20 68 65 61 64 69 6e |y visibl|e headin|
|00000ac0| 67 73 0a 43 2d 63 20 43 | 2d 70 20 20 20 6f 75 74 |gs.C-c C|-p out|
|00000ad0| 6c 69 6e 65 2d 70 72 65 | 76 69 6f 75 73 2d 76 69 |line-pre|vious-vi|
|00000ae0| 73 69 62 6c 65 2d 68 65 | 61 64 69 6e 67 0a 43 2d |sible-he|ading.C-|
|00000af0| 63 20 43 2d 66 20 20 20 | 6f 75 74 6c 69 6e 65 2d |c C-f |outline-|
|00000b00| 66 6f 72 77 61 72 64 2d | 73 61 6d 65 2d 6c 65 76 |forward-|same-lev|
|00000b10| 65 6c 20 20 20 20 20 20 | 20 20 73 69 6d 69 6c 61 |el | simila|
|00000b20| 72 20 62 75 74 20 73 6b | 69 70 20 73 75 62 68 65 |r but sk|ip subhe|
|00000b30| 61 64 69 6e 67 73 0a 43 | 2d 63 20 43 2d 62 20 20 |adings.C|-c C-b |
|00000b40| 20 6f 75 74 6c 69 6e 65 | 2d 62 61 63 6b 77 61 72 | outline|-backwar|
|00000b50| 64 2d 73 61 6d 65 2d 6c | 65 76 65 6c 0a 43 2d 63 |d-same-l|evel.C-c|
|00000b60| 20 43 2d 75 20 20 20 6f | 75 74 6c 69 6e 65 2d 75 | C-u o|utline-u|
|00000b70| 70 2d 68 65 61 64 69 6e | 67 09 09 20 20 20 20 6d |p-headin|g.. m|
|00000b80| 6f 76 65 20 66 72 6f 6d | 20 73 75 62 68 65 61 64 |ove from| subhead|
|00000b90| 69 6e 67 20 74 6f 20 68 | 65 61 64 69 6e 67 0a 0a |ing to h|eading..|
|00000ba0| 4d 65 74 61 2d 78 20 68 | 69 64 65 2d 62 6f 64 79 |Meta-x h|ide-body|
|00000bb0| 09 6d 61 6b 65 20 61 6c | 6c 20 74 65 78 74 20 69 |.make al|l text i|
|00000bc0| 6e 76 69 73 69 62 6c 65 | 20 28 6e 6f 74 20 68 65 |nvisible| (not he|
|00000bd0| 61 64 69 6e 67 73 29 2e | 0a 4d 65 74 61 2d 78 20 |adings).|.Meta-x |
|00000be0| 73 68 6f 77 2d 61 6c 6c | 09 09 6d 61 6b 65 20 65 |show-all|..make e|
|00000bf0| 76 65 72 79 74 68 69 6e | 67 20 69 6e 20 62 75 66 |verythin|g in buf|
|00000c00| 66 65 72 20 76 69 73 69 | 62 6c 65 2e 0a 0a 54 68 |fer visi|ble...Th|
|00000c10| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 63 6f 6d 6d |e remain|ing comm|
|00000c20| 61 6e 64 73 20 61 72 65 | 20 75 73 65 64 20 77 68 |ands are| used wh|
|00000c30| 65 6e 20 70 6f 69 6e 74 | 20 69 73 20 6f 6e 20 61 |en point| is on a|
|00000c40| 20 68 65 61 64 69 6e 67 | 20 6c 69 6e 65 2e 0a 54 | heading| line..T|
|00000c50| 68 65 79 20 61 70 70 6c | 79 20 74 6f 20 73 6f 6d |hey appl|y to som|
|00000c60| 65 20 6f 66 20 74 68 65 | 20 62 6f 64 79 20 6f 72 |e of the| body or|
|00000c70| 20 73 75 62 68 65 61 64 | 69 6e 67 73 20 6f 66 20 | subhead|ings of |
|00000c80| 74 68 61 74 20 68 65 61 | 64 69 6e 67 2e 0a 43 2d |that hea|ding..C-|
|00000c90| 63 20 43 2d 68 20 20 20 | 68 69 64 65 2d 73 75 62 |c C-h |hide-sub|
|00000ca0| 74 72 65 65 09 6d 61 6b | 65 20 62 6f 64 79 20 61 |tree.mak|e body a|
|00000cb0| 6e 64 20 73 75 62 68 65 | 61 64 69 6e 67 73 20 69 |nd subhe|adings i|
|00000cc0| 6e 76 69 73 69 62 6c 65 | 2e 0a 43 2d 63 20 43 2d |nvisible|..C-c C-|
|00000cd0| 73 20 20 20 73 68 6f 77 | 2d 73 75 62 74 72 65 65 |s show|-subtree|
|00000ce0| 09 6d 61 6b 65 20 62 6f | 64 79 20 61 6e 64 20 73 |.make bo|dy and s|
|00000cf0| 75 62 68 65 61 64 69 6e | 67 73 20 76 69 73 69 62 |ubheadin|gs visib|
|00000d00| 6c 65 2e 0a 43 2d 63 20 | 43 2d 69 20 20 20 73 68 |le..C-c |C-i sh|
|00000d10| 6f 77 2d 63 68 69 6c 64 | 72 65 6e 09 6d 61 6b 65 |ow-child|ren.make|
|00000d20| 20 64 69 72 65 63 74 20 | 73 75 62 68 65 61 64 69 | direct |subheadi|
|00000d30| 6e 67 73 20 76 69 73 69 | 62 6c 65 2e 0a 09 09 20 |ngs visi|ble.... |
|00000d40| 4e 6f 20 65 66 66 65 63 | 74 20 6f 6e 20 62 6f 64 |No effec|t on bod|
|00000d50| 79 2c 20 6f 72 20 73 75 | 62 68 65 61 64 69 6e 67 |y, or su|bheading|
|00000d60| 73 20 32 20 6f 72 20 6d | 6f 72 65 20 6c 65 76 65 |s 2 or m|ore leve|
|00000d70| 6c 73 20 64 6f 77 6e 2e | 0a 09 09 20 57 69 74 68 |ls down.|... With|
|00000d80| 20 61 72 67 20 4e 2c 20 | 61 66 66 65 63 74 73 20 | arg N, |affects |
|00000d90| 73 75 62 68 65 61 64 69 | 6e 67 73 20 4e 20 6c 65 |subheadi|ngs N le|
|00000da0| 76 65 6c 73 20 64 6f 77 | 6e 2e 0a 4d 2d 78 20 68 |vels dow|n..M-x h|
|00000db0| 69 64 65 2d 65 6e 74 72 | 79 09 20 20 20 6d 61 6b |ide-entr|y. mak|
|00000dc0| 65 20 69 6d 6d 65 64 69 | 61 74 65 6c 79 20 66 6f |e immedi|ately fo|
|00000dd0| 6c 6c 6f 77 69 6e 67 20 | 62 6f 64 79 20 69 6e 76 |llowing |body inv|
|00000de0| 69 73 69 62 6c 65 2e 0a | 4d 2d 78 20 73 68 6f 77 |isible..|M-x show|
|00000df0| 2d 65 6e 74 72 79 09 20 | 20 20 6d 61 6b 65 20 69 |-entry. | make i|
|00000e00| 74 20 76 69 73 69 62 6c | 65 2e 0a 4d 2d 78 20 68 |t visibl|e..M-x h|
|00000e10| 69 64 65 2d 6c 65 61 76 | 65 73 09 20 20 20 6d 61 |ide-leav|es. ma|
|00000e20| 6b 65 20 62 6f 64 79 20 | 75 6e 64 65 72 20 68 65 |ke body |under he|
|00000e30| 61 64 69 6e 67 20 61 6e | 64 20 75 6e 64 65 72 20 |ading an|d under |
|00000e40| 69 74 73 20 73 75 62 68 | 65 61 64 69 6e 67 73 20 |its subh|eadings |
|00000e50| 69 6e 76 69 73 69 62 6c | 65 2e 0a 09 09 20 20 20 |invisibl|e.... |
|00000e60| 20 20 54 68 65 20 73 75 | 62 68 65 61 64 69 6e 67 | The su|bheading|
|00000e70| 73 20 72 65 6d 61 69 6e | 20 76 69 73 69 62 6c 65 |s remain| visible|
|00000e80| 2e 0a 4d 2d 78 20 73 68 | 6f 77 2d 62 72 61 6e 63 |..M-x sh|ow-branc|
|00000e90| 68 65 73 20 20 6d 61 6b | 65 20 61 6c 6c 20 73 75 |hes mak|e all su|
|00000ea0| 62 68 65 61 64 69 6e 67 | 73 20 61 74 20 61 6c 6c |bheading|s at all|
|00000eb0| 20 6c 65 76 65 6c 73 20 | 76 69 73 69 62 6c 65 2e | levels |visible.|
|00000ec0| 0a 0a 54 68 65 20 76 61 | 72 69 61 62 6c 65 20 6f |..The va|riable o|
|00000ed0| 75 74 6c 69 6e 65 2d 72 | 65 67 65 78 70 20 63 61 |utline-r|egexp ca|
|00000ee0| 6e 20 62 65 20 63 68 61 | 6e 67 65 64 20 74 6f 20 |n be cha|nged to |
|00000ef0| 63 6f 6e 74 72 6f 6c 20 | 77 68 61 74 20 69 73 20 |control |what is |
|00000f00| 61 20 68 65 61 64 69 6e | 67 2e 0a 41 20 6c 69 6e |a headin|g..A lin|
|00000f10| 65 20 69 73 20 61 20 68 | 65 61 64 69 6e 67 20 69 |e is a h|eading i|
|00000f20| 66 20 6f 75 74 6c 69 6e | 65 2d 72 65 67 65 78 70 |f outlin|e-regexp|
|00000f30| 20 6d 61 74 63 68 65 73 | 20 73 6f 6d 65 74 68 69 | matches| somethi|
|00000f40| 6e 67 20 61 74 20 74 68 | 65 0a 62 65 67 69 6e 6e |ng at th|e.beginn|
|00000f50| 69 6e 67 20 6f 66 20 74 | 68 65 20 6c 69 6e 65 2e |ing of t|he line.|
|00000f60| 20 20 54 68 65 20 6c 6f | 6e 67 65 72 20 74 68 65 | The lo|nger the|
|00000f70| 20 6d 61 74 63 68 2c 20 | 74 68 65 20 64 65 65 70 | match, |the deep|
|00000f80| 65 72 20 74 68 65 20 6c | 65 76 65 6c 2e 0a 0a 54 |er the l|evel...T|
|00000f90| 75 72 6e 69 6e 67 20 6f | 6e 20 6f 75 74 6c 69 6e |urning o|n outlin|
|00000fa0| 65 20 6d 6f 64 65 20 63 | 61 6c 6c 73 20 74 68 65 |e mode c|alls the|
|00000fb0| 20 76 61 6c 75 65 20 6f | 66 20 74 65 78 74 2d 6d | value o|f text-m|
|00000fc0| 6f 64 65 2d 68 6f 6f 6b | 20 61 6e 64 20 74 68 65 |ode-hook| and the|
|00000fd0| 6e 20 6f 66 0a 6f 75 74 | 6c 69 6e 65 2d 6d 6f 64 |n of.out|line-mod|
|00000fe0| 65 2d 68 6f 6f 6b 2c 20 | 69 66 20 74 68 65 79 20 |e-hook, |if they |
|00000ff0| 61 72 65 20 6e 6f 6e 2d | 6e 69 6c 2e 22 20 6e 69 |are non-|nil." ni|
|00001000| 6c 5d 29 0a 28 66 73 65 | 74 20 27 6f 75 74 6c 69 |l]).(fse|t 'outli|
|00001010| 6e 65 2d 6d 69 6e 6f 72 | 2d 6d 6f 64 65 20 23 5b |ne-minor|-mode #[|
|00001020| 28 61 72 67 29 20 22 08 | ac 84 09 3f aa 85 c2 08 |(arg) ".|...?....|
|00001030| 21 c3 56 89 11 ab b3 c4 | 15 c6 c7 21 88 c8 20 16 |!.V.....|...!.. .|
|00001040| 07 c9 0e 07 21 1e 5c 6e | cb 0e 5c 6e cc cd 0e 0e |....!.\n|..\n....|
|00001050| cc 5c 22 23 88 cf 0e 5c | 6e 21 88 29 c6 d0 21 88 |.\"#...\|n!.)..!.|
|00001060| d1 16 10 c6 d2 21 88 d3 | 16 12 d4 d5 21 87 d6 15 |.....!..|....!...|
|00001070| cf 0e 07 21 87 22 20 5b | 61 72 67 20 6f 75 74 6c |...!." [|arg outl|
|00001080| 69 6e 65 2d 6d 69 6e 6f | 72 2d 6d 6f 64 65 20 70 |ine-mino|r-mode p|
|00001090| 72 65 66 69 78 2d 6e 75 | 6d 65 72 69 63 2d 76 61 |refix-nu|meric-va|
|000010a0| 6c 75 65 20 30 20 74 20 | 73 65 6c 65 63 74 69 76 |lue 0 t |selectiv|
|000010b0| 65 2d 64 69 73 70 6c 61 | 79 20 6d 61 6b 65 2d 6c |e-displa|y make-l|
|000010c0| 6f 63 61 6c 2d 76 61 72 | 69 61 62 6c 65 20 6f 75 |ocal-var|iable ou|
|000010d0| 74 6c 69 6e 65 2d 6f 6c | 64 2d 6d 61 70 20 63 75 |tline-ol|d-map cu|
|000010e0| 72 72 65 6e 74 2d 6c 6f | 63 61 6c 2d 6d 61 70 20 |rrent-lo|cal-map |
|000010f0| 63 6f 70 79 2d 6b 65 79 | 6d 61 70 20 6e 65 77 2d |copy-key|map new-|
|00001100| 6d 61 70 20 64 65 66 69 | 6e 65 2d 6b 65 79 20 22 |map defi|ne-key "|
|00001110| 03 22 20 6c 6f 6f 6b 75 | 70 2d 6b 65 79 20 6f 75 |." looku|p-key ou|
|00001120| 74 6c 69 6e 65 2d 6d 6f | 64 65 2d 6d 61 70 20 75 |tline-mo|de-map u|
|00001130| 73 65 2d 6c 6f 63 61 6c | 2d 6d 61 70 20 6f 75 74 |se-local|-map out|
|00001140| 6c 69 6e 65 2d 72 65 67 | 65 78 70 20 22 5b 20 09 |line-reg|exp "[ .|
|00001150| 5d 2a 2f 5c 5c 2a 22 20 | 6f 75 74 6c 69 6e 65 2d |]*/\\*" |outline-|
|00001160| 68 65 61 64 69 6e 67 2d | 65 6e 64 2d 72 65 67 65 |heading-|end-rege|
|00001170| 78 70 20 22 5c 5c 2a 2f | 5b 5e 5c 6e 0d 5d 2a 5b |xp "\\*/|[^\n.]*[|
|00001180| 5c 6e 0d 5d 22 20 72 75 | 6e 2d 68 6f 6f 6b 73 20 |\n.]" ru|n-hooks |
|00001190| 6f 75 74 6c 69 6e 65 2d | 6d 69 6e 6f 72 2d 6d 6f |outline-|minor-mo|
|000011a0| 64 65 2d 68 6f 6f 6b 20 | 6e 69 6c 5d 20 37 20 6e |de-hook |nil] 7 n|
|000011b0| 69 6c 20 22 50 22 5d 29 | 0a 28 66 73 65 74 20 27 |il "P"])|.(fset '|
|000011c0| 6f 75 74 6c 69 6e 65 2d | 6c 65 76 65 6c 20 23 5b |outline-|level #[|
|000011d0| 6e 69 6c 20 22 8a c0 09 | 21 88 8a c2 95 62 88 69 |nil "...|!....b.i|
|000011e0| 2a 87 22 20 5b 6c 6f 6f | 6b 69 6e 67 2d 61 74 20 |*." [loo|king-at |
|000011f0| 6f 75 74 6c 69 6e 65 2d | 72 65 67 65 78 70 20 30 |outline-|regexp 0|
|00001200| 5d 20 32 20 22 5c 0a 52 | 65 74 75 72 6e 20 74 68 |] 2 "\.R|eturn th|
|00001210| 65 20 64 65 70 74 68 20 | 74 6f 20 77 68 69 63 68 |e depth |to which|
|00001220| 20 61 20 73 74 61 74 65 | 6d 65 6e 74 20 69 73 20 | a state|ment is |
|00001230| 6e 65 73 74 65 64 20 69 | 6e 20 74 68 65 20 6f 75 |nested i|n the ou|
|00001240| 74 6c 69 6e 65 2e 0a 50 | 6f 69 6e 74 20 6d 75 73 |tline..P|oint mus|
|00001250| 74 20 62 65 20 61 74 20 | 74 68 65 20 62 65 67 69 |t be at |the begi|
|00001260| 6e 6e 69 6e 67 20 6f 66 | 20 61 20 68 65 61 64 65 |nning of| a heade|
|00001270| 72 20 6c 69 6e 65 2e 0a | 54 68 69 73 20 69 73 20 |r line..|This is |
|00001280| 61 63 74 75 61 6c 6c 79 | 20 74 68 65 20 63 6f 6c |actually| the col|
|00001290| 75 6d 6e 2d 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |umn-numb|er of th|
|000012a0| 65 20 65 6e 64 20 6f 66 | 20 77 68 61 74 20 6f 75 |e end of| what ou|
|000012b0| 74 6c 69 6e 65 2d 72 65 | 67 65 78 70 20 6d 61 74 |tline-re|gexp mat|
|000012c0| 63 68 65 73 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |ches."])|.(fset '|
|000012d0| 6f 75 74 6c 69 6e 65 2d | 6e 65 78 74 2d 70 72 65 |outline-|next-pre|
|000012e0| 66 61 63 65 20 23 5b 6e | 69 6c 20 22 c0 c1 5c 6e |face #[n|il "..\n|
|000012f0| c3 51 c4 c5 23 ab 84 c6 | 94 62 88 68 c7 3e ad 82 |.Q..#...|.b.h.>..|
|00001300| c8 75 87 22 20 5b 72 65 | 2d 73 65 61 72 63 68 2d |.u." [re|-search-|
|00001310| 66 6f 72 77 61 72 64 20 | 22 5b 5c 6e 0d 5d 5c 5c |forward |"[\n.]\\|
|00001320| 28 22 20 6f 75 74 6c 69 | 6e 65 2d 72 65 67 65 78 |(" outli|ne-regex|
|00001330| 70 20 22 5c 5c 29 22 20 | 6e 69 6c 20 6d 6f 76 65 |p "\\)" |nil move|
|00001340| 20 30 20 28 31 30 20 31 | 33 29 20 2d 31 5d 20 34 | 0 (10 1|3) -1] 4|
|00001350| 20 22 5c 0a 53 6b 69 70 | 20 66 6f 72 77 61 72 64 | "\.Skip| forward|
|00001360| 20 74 6f 20 6a 75 73 74 | 20 62 65 66 6f 72 65 20 | to just| before |
|00001370| 74 68 65 20 6e 65 78 74 | 20 68 65 61 64 69 6e 67 |the next| heading|
|00001380| 20 6c 69 6e 65 2e 22 5d | 29 0a 28 66 73 65 74 20 | line."]|).(fset |
|00001390| 27 6f 75 74 6c 69 6e 65 | 2d 6e 65 78 74 2d 68 65 |'outline|-next-he|
|000013a0| 61 64 69 6e 67 20 23 5b | 6e 69 6c 20 22 c0 c1 5c |ading #[|nil "..\|
|000013b0| 6e c3 51 c4 c5 23 ad 84 | c6 94 54 62 87 22 20 5b |n.Q..#..|..Tb." [|
|000013c0| 72 65 2d 73 65 61 72 63 | 68 2d 66 6f 72 77 61 72 |re-searc|h-forwar|
|000013d0| 64 20 22 5b 5c 6e 0d 5d | 5c 5c 28 22 20 6f 75 74 |d "[\n.]|\\(" out|
|000013e0| 6c 69 6e 65 2d 72 65 67 | 65 78 70 20 22 5c 5c 29 |line-reg|exp "\\)|
|000013f0| 22 20 6e 69 6c 20 6d 6f | 76 65 20 30 5d 20 34 20 |" nil mo|ve 0] 4 |
|00001400| 22 5c 0a 4d 6f 76 65 20 | 74 6f 20 74 68 65 20 6e |"\.Move |to the n|
|00001410| 65 78 74 20 28 70 6f 73 | 73 69 62 6c 79 20 69 6e |ext (pos|sibly in|
|00001420| 76 69 73 69 62 6c 65 29 | 20 68 65 61 64 69 6e 67 |visible)| heading|
|00001430| 20 6c 69 6e 65 2e 22 20 | 6e 69 6c 5d 29 0a 28 66 | line." |nil]).(f|
|00001440| 73 65 74 20 27 6f 75 74 | 6c 69 6e 65 2d 62 61 63 |set 'out|line-bac|
|00001450| 6b 2d 74 6f 2d 68 65 61 | 64 69 6e 67 20 23 5b 6e |k-to-hea|ding #[n|
|00001460| 69 6c 20 22 c0 79 88 c1 | 20 ae 88 c2 c3 0c c5 51 |il ".y..| ......Q|
|00001470| c6 c7 23 87 22 20 5b 30 | 20 6f 75 74 6c 69 6e 65 |..#." [0| outline|
|00001480| 2d 6f 6e 2d 68 65 61 64 | 69 6e 67 2d 70 20 72 65 |-on-head|ing-p re|
|00001490| 2d 73 65 61 72 63 68 2d | 62 61 63 6b 77 61 72 64 |-search-|backward|
|000014a0| 20 22 5e 5c 5c 28 22 20 | 6f 75 74 6c 69 6e 65 2d | "^\\(" |outline-|
|000014b0| 72 65 67 65 78 70 20 22 | 5c 5c 29 22 20 6e 69 6c |regexp "|\\)" nil|
|000014c0| 20 6d 6f 76 65 5d 20 34 | 20 22 5c 0a 4d 6f 76 65 | move] 4| "\.Move|
|000014d0| 20 74 6f 20 70 72 65 76 | 69 6f 75 73 20 28 70 6f | to prev|ious (po|
|000014e0| 73 73 69 62 6c 79 20 69 | 6e 76 69 73 69 62 6c 65 |ssibly i|nvisible|
|000014f0| 29 20 68 65 61 64 69 6e | 67 20 6c 69 6e 65 2c 0a |) headin|g line,.|
|00001500| 6f 72 20 74 6f 20 62 65 | 67 69 6e 6e 69 6e 67 20 |or to be|ginning |
|00001510| 6f 66 20 74 68 69 73 20 | 6c 69 6e 65 20 69 66 20 |of this |line if |
|00001520| 69 74 20 69 73 20 61 20 | 68 65 61 64 69 6e 67 20 |it is a |heading |
|00001530| 6c 69 6e 65 2e 22 5d 29 | 0a 28 66 73 65 74 20 27 |line."])|.(fset '|
|00001540| 6f 75 74 6c 69 6e 65 2d | 6f 6e 2d 68 65 61 64 69 |outline-|on-headi|
|00001550| 6e 67 2d 70 20 23 5b 6e | 69 6c 20 22 8a c0 79 88 |ng-p #[n|il "..y.|
|00001560| 68 c1 3d ad 83 c2 0b 21 | 29 87 22 20 5b 30 20 31 |h.=....!|)." [0 1|
|00001570| 30 20 6c 6f 6f 6b 69 6e | 67 2d 61 74 20 6f 75 74 |0 lookin|g-at out|
|00001580| 6c 69 6e 65 2d 72 65 67 | 65 78 70 5d 20 32 20 22 |line-reg|exp] 2 "|
|00001590| 5c 0a 52 65 74 75 72 6e | 20 54 20 69 66 20 70 6f |\.Return| T if po|
|000015a0| 69 6e 74 20 69 73 20 6f | 6e 20 61 20 68 65 61 64 |int is o|n a head|
|000015b0| 65 72 20 6c 69 6e 65 2e | 22 5d 29 0a 28 66 73 65 |er line.|"]).(fse|
|000015c0| 74 20 27 6f 75 74 6c 69 | 6e 65 2d 65 6e 64 2d 6f |t 'outli|ne-end-o|
|000015d0| 66 2d 68 65 61 64 69 6e | 67 20 23 5b 6e 69 6c 20 |f-headin|g #[nil |
|000015e0| 22 c0 09 c2 c3 23 ad 82 | c4 75 87 22 20 5b 72 65 |"....#..|.u." [re|
|000015f0| 2d 73 65 61 72 63 68 2d | 66 6f 72 77 61 72 64 20 |-search-|forward |
|00001600| 6f 75 74 6c 69 6e 65 2d | 68 65 61 64 69 6e 67 2d |outline-|heading-|
|00001610| 65 6e 64 2d 72 65 67 65 | 78 70 20 6e 69 6c 20 6d |end-rege|xp nil m|
|00001620| 6f 76 65 20 2d 31 5d 20 | 34 5d 29 0a 28 66 73 65 |ove -1] |4]).(fse|
|00001630| 74 20 27 6f 75 74 6c 69 | 6e 65 2d 6e 65 78 74 2d |t 'outli|ne-next-|
|00001640| 76 69 73 69 62 6c 65 2d | 68 65 61 64 69 6e 67 20 |visible-|heading |
|00001650| 23 5b 28 61 72 67 29 20 | 22 08 c1 57 ab 85 c1 79 |#[(arg) |"..W...y|
|00001660| 88 aa 83 c2 7f 88 c3 c4 | 0d c6 51 c2 89 08 24 88 |........|..Q...$.|
|00001670| c1 79 88 c2 87 22 20 5b | 61 72 67 20 30 20 6e 69 |.y..." [|arg 0 ni|
|00001680| 6c 20 72 65 2d 73 65 61 | 72 63 68 2d 66 6f 72 77 |l re-sea|rch-forw|
|00001690| 61 72 64 20 22 5e 5c 5c | 28 22 20 6f 75 74 6c 69 |ard "^\\|(" outli|
|000016a0| 6e 65 2d 72 65 67 65 78 | 70 20 22 5c 5c 29 22 5d |ne-regex|p "\\)"]|
|000016b0| 20 35 20 22 5c 0a 4d 6f | 76 65 20 74 6f 20 74 68 | 5 "\.Mo|ve to th|
|000016c0| 65 20 6e 65 78 74 20 76 | 69 73 69 62 6c 65 20 68 |e next v|isible h|
|000016d0| 65 61 64 69 6e 67 20 6c | 69 6e 65 2e 0a 57 69 74 |eading l|ine..Wit|
|000016e0| 68 20 61 72 67 75 6d 65 | 6e 74 2c 20 72 65 70 65 |h argume|nt, repe|
|000016f0| 61 74 73 20 6f 72 20 63 | 61 6e 20 6d 6f 76 65 20 |ats or c|an move |
|00001700| 62 61 63 6b 77 61 72 64 | 20 69 66 20 6e 65 67 61 |backward| if nega|
|00001710| 74 69 76 65 2e 0a 41 20 | 68 65 61 64 69 6e 67 20 |tive..A |heading |
|00001720| 6c 69 6e 65 20 69 73 20 | 6f 6e 65 20 74 68 61 74 |line is |one that|
|00001730| 20 73 74 61 72 74 73 20 | 77 69 74 68 20 61 20 60 | starts |with a `|
|00001740| 2a 27 20 28 6f 72 20 74 | 68 61 74 20 6f 75 74 6c |*' (or t|hat outl|
|00001750| 69 6e 65 2d 72 65 67 65 | 78 70 20 6d 61 74 63 68 |ine-rege|xp match|
|00001760| 65 73 29 2e 22 20 22 70 | 22 5d 29 0a 28 66 73 65 |es)." "p|"]).(fse|
|00001770| 74 20 27 6f 75 74 6c 69 | 6e 65 2d 70 72 65 76 69 |t 'outli|ne-previ|
|00001780| 6f 75 73 2d 76 69 73 69 | 62 6c 65 2d 68 65 61 64 |ous-visi|ble-head|
|00001790| 69 6e 67 20 23 5b 28 61 | 72 67 29 20 22 c0 09 5b |ing #[(a|rg) "..[|
|000017a0| 21 87 22 20 5b 6f 75 74 | 6c 69 6e 65 2d 6e 65 78 |!." [out|line-nex|
|000017b0| 74 2d 76 69 73 69 62 6c | 65 2d 68 65 61 64 69 6e |t-visibl|e-headin|
|000017c0| 67 20 61 72 67 5d 20 32 | 20 22 5c 0a 4d 6f 76 65 |g arg] 2| "\.Move|
|000017d0| 20 74 6f 20 74 68 65 20 | 70 72 65 76 69 6f 75 73 | to the |previous|
|000017e0| 20 68 65 61 64 69 6e 67 | 20 6c 69 6e 65 2e 0a 57 | heading| line..W|
|000017f0| 69 74 68 20 61 72 67 75 | 6d 65 6e 74 2c 20 72 65 |ith argu|ment, re|
|00001800| 70 65 61 74 73 20 6f 72 | 20 63 61 6e 20 6d 6f 76 |peats or| can mov|
|00001810| 65 20 66 6f 72 77 61 72 | 64 20 69 66 20 6e 65 67 |e forwar|d if neg|
|00001820| 61 74 69 76 65 2e 0a 41 | 20 68 65 61 64 69 6e 67 |ative..A| heading|
|00001830| 20 6c 69 6e 65 20 69 73 | 20 6f 6e 65 20 74 68 61 | line is| one tha|
|00001840| 74 20 73 74 61 72 74 73 | 20 77 69 74 68 20 61 20 |t starts| with a |
|00001850| 60 2a 27 20 28 6f 72 20 | 74 68 61 74 20 6f 75 74 |`*' (or |that out|
|00001860| 6c 69 6e 65 2d 72 65 67 | 65 78 70 20 6d 61 74 63 |line-reg|exp matc|
|00001870| 68 65 73 29 2e 22 20 22 | 70 22 5d 29 0a 28 66 73 |hes)." "|p"]).(fs|
|00001880| 65 74 20 27 6f 75 74 6c | 69 6e 65 2d 66 6c 61 67 |et 'outl|ine-flag|
|00001890| 2d 72 65 67 69 6f 6e 20 | 23 5b 28 66 72 6f 6d 20 |-region |#[(from |
|000018a0| 74 6f 20 66 6c 61 67 29 | 20 22 c0 20 19 c2 8e c3 |to flag)| ". ....|
|000018b0| 0c 0d 0e 06 c7 55 ab 83 | c8 aa 81 c7 0e 06 24 2a |.....U..|......$*|
|000018c0| 87 22 20 5b 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |." [buff|er-modif|
|000018d0| 69 65 64 2d 70 20 6d 6f | 64 70 20 28 28 73 65 74 |ied-p mo|dp ((set|
|000018e0| 2d 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 |-buffer-|modified|
|000018f0| 2d 70 20 6d 6f 64 70 29 | 29 20 73 75 62 73 74 2d |-p modp)|) subst-|
|00001900| 63 68 61 72 2d 69 6e 2d | 72 65 67 69 6f 6e 20 66 |char-in-|region f|
|00001910| 72 6f 6d 20 74 6f 20 66 | 6c 61 67 20 31 30 20 31 |rom to f|lag 10 1|
|00001920| 33 5d 20 35 20 22 5c 0a | 48 69 64 65 73 20 6f 72 |3] 5 "\.|Hides or|
|00001930| 20 73 68 6f 77 73 20 6c | 69 6e 65 73 20 66 72 6f | shows l|ines fro|
|00001940| 6d 20 46 52 4f 4d 20 74 | 6f 20 54 4f 2c 20 61 63 |m FROM t|o TO, ac|
|00001950| 63 6f 72 64 69 6e 67 20 | 74 6f 20 46 4c 41 47 2e |cording |to FLAG.|
|00001960| 0a 49 66 20 46 4c 41 47 | 20 69 73 20 60 5c 5c 6e |.If FLAG| is `\\n|
|00001970| 27 20 28 6e 65 77 6c 69 | 6e 65 20 63 68 61 72 61 |' (newli|ne chara|
|00001980| 63 74 65 72 29 20 74 68 | 65 6e 20 74 65 78 74 20 |cter) th|en text |
|00001990| 69 73 20 73 68 6f 77 6e | 2c 0a 77 68 69 6c 65 20 |is shown|,.while |
|000019a0| 69 66 20 46 4c 41 47 20 | 69 73 20 60 5c 5c 5e 4d |if FLAG |is `\\^M|
|000019b0| 27 20 28 63 6f 6e 74 72 | 6f 6c 2d 4d 29 20 74 68 |' (contr|ol-M) th|
|000019c0| 65 20 74 65 78 74 20 69 | 73 20 68 69 64 64 65 6e |e text i|s hidden|
|000019d0| 2e 22 5d 29 0a 28 66 73 | 65 74 20 27 68 69 64 65 |."]).(fs|et 'hide|
|000019e0| 2d 65 6e 74 72 79 20 23 | 5b 6e 69 6c 20 22 c0 20 |-entry #|[nil ". |
|000019f0| 88 c1 20 88 8a c2 60 c3 | 20 88 60 c4 23 29 87 22 |.. ...`.| .`.#)."|
|00001a00| 20 5b 6f 75 74 6c 69 6e | 65 2d 62 61 63 6b 2d 74 | [outlin|e-back-t|
|00001a10| 6f 2d 68 65 61 64 69 6e | 67 20 6f 75 74 6c 69 6e |o-headin|g outlin|
|00001a20| 65 2d 65 6e 64 2d 6f 66 | 2d 68 65 61 64 69 6e 67 |e-end-of|-heading|
|00001a30| 20 6f 75 74 6c 69 6e 65 | 2d 66 6c 61 67 2d 72 65 | outline|-flag-re|
|00001a40| 67 69 6f 6e 20 6f 75 74 | 6c 69 6e 65 2d 6e 65 78 |gion out|line-nex|
|00001a50| 74 2d 70 72 65 66 61 63 | 65 20 31 33 5d 20 34 20 |t-prefac|e 13] 4 |
|00001a60| 22 5c 0a 48 69 64 65 20 | 74 68 65 20 62 6f 64 79 |"\.Hide |the body|
|00001a70| 20 64 69 72 65 63 74 6c | 79 20 66 6f 6c 6c 6f 77 | directl|y follow|
|00001a80| 69 6e 67 20 74 68 69 73 | 20 68 65 61 64 69 6e 67 |ing this| heading|
|00001a90| 2e 22 20 6e 69 6c 5d 29 | 0a 28 66 73 65 74 20 27 |." nil])|.(fset '|
|00001aa0| 73 68 6f 77 2d 65 6e 74 | 72 79 20 23 5b 6e 69 6c |show-ent|ry #[nil|
|00001ab0| 20 22 8a c0 60 c1 20 88 | 60 c2 23 29 87 22 20 5b | "..`. .|`.#)." [|
|00001ac0| 6f 75 74 6c 69 6e 65 2d | 66 6c 61 67 2d 72 65 67 |outline-|flag-reg|
|00001ad0| 69 6f 6e 20 6f 75 74 6c | 69 6e 65 2d 6e 65 78 74 |ion outl|ine-next|
|00001ae0| 2d 70 72 65 66 61 63 65 | 20 31 30 5d 20 34 20 22 |-preface| 10] 4 "|
|00001af0| 5c 0a 53 68 6f 77 20 74 | 68 65 20 62 6f 64 79 20 |\.Show t|he body |
|00001b00| 64 69 72 65 63 74 6c 79 | 20 66 6f 6c 6c 6f 77 69 |directly| followi|
|00001b10| 6e 67 20 74 68 69 73 20 | 68 65 61 64 69 6e 67 2e |ng this |heading.|
|00001b20| 22 20 6e 69 6c 5d 29 0a | 28 66 73 65 74 20 27 68 |" nil]).|(fset 'h|
|00001b30| 69 64 65 2d 62 6f 64 79 | 20 23 5b 6e 69 6c 20 22 |ide-body| #[nil "|
|00001b40| c0 65 64 5c 22 87 22 20 | 5b 68 69 64 65 2d 72 65 |.ed\"." |[hide-re|
|00001b50| 67 69 6f 6e 2d 62 6f 64 | 79 5d 20 33 20 22 5c 0a |gion-bod|y] 3 "\.|
|00001b60| 48 69 64 65 20 61 6c 6c | 20 6f 66 20 62 75 66 66 |Hide all| of buff|
|00001b70| 65 72 20 65 78 63 65 70 | 74 20 68 65 61 64 69 6e |er excep|t headin|
|00001b80| 67 73 2e 22 20 6e 69 6c | 5d 29 0a 28 66 73 65 74 |gs." nil|]).(fset|
|00001b90| 20 27 68 69 64 65 2d 72 | 65 67 69 6f 6e 2d 62 6f | 'hide-r|egion-bo|
|00001ba0| 64 79 20 23 5b 28 73 74 | 61 72 74 20 65 6e 64 29 |dy #[(st|art end)|
|00001bb0| 20 22 8a 8c 08 09 7d 88 | 65 62 88 c2 20 ab 83 c3 | "....}.|eb.. ...|
|00001bc0| 20 88 6d 3f ad 9c c4 60 | c5 20 88 60 c6 23 88 6d | .m?...`|. .`.#.m|
|00001bd0| ac 70 c7 c8 21 ab 83 c9 | aa 81 ca 75 88 c3 20 88 |.p..!...|...u.. .|
|00001be0| aa 60 2a 87 22 20 5b 73 | 74 61 72 74 20 65 6e 64 |.`*." [s|tart end|
|00001bf0| 20 6f 75 74 6c 69 6e 65 | 2d 6f 6e 2d 68 65 61 64 | outline|-on-head|
|00001c00| 69 6e 67 2d 70 20 6f 75 | 74 6c 69 6e 65 2d 65 6e |ing-p ou|tline-en|
|00001c10| 64 2d 6f 66 2d 68 65 61 | 64 69 6e 67 20 6f 75 74 |d-of-hea|ding out|
|00001c20| 6c 69 6e 65 2d 66 6c 61 | 67 2d 72 65 67 69 6f 6e |line-fla|g-region|
|00001c30| 20 6f 75 74 6c 69 6e 65 | 2d 6e 65 78 74 2d 70 72 | outline|-next-pr|
|00001c40| 65 66 61 63 65 20 31 33 | 20 6c 6f 6f 6b 69 6e 67 |eface 13| looking|
|00001c50| 2d 61 74 20 22 5b 5c 6e | 0d 5d 5b 5c 6e 0d 5d 22 |-at "[\n|.][\n.]"|
|00001c60| 20 32 20 31 5d 20 34 20 | 22 5c 0a 48 69 64 65 20 | 2 1] 4 |"\.Hide |
|00001c70| 61 6c 6c 20 62 6f 64 79 | 20 6c 69 6e 65 73 20 69 |all body| lines i|
|00001c80| 6e 20 74 68 65 20 72 65 | 67 69 6f 6e 2c 20 62 75 |n the re|gion, bu|
|00001c90| 74 20 6e 6f 74 20 68 65 | 61 64 69 6e 67 73 2e 22 |t not he|adings."|
|00001ca0| 5d 29 0a 28 66 73 65 74 | 20 27 73 68 6f 77 2d 61 |]).(fset| 'show-a|
|00001cb0| 6c 6c 20 23 5b 6e 69 6c | 20 22 c0 65 64 c1 23 87 |ll #[nil| ".ed.#.|
|00001cc0| 22 20 5b 6f 75 74 6c 69 | 6e 65 2d 66 6c 61 67 2d |" [outli|ne-flag-|
|00001cd0| 72 65 67 69 6f 6e 20 31 | 30 5d 20 34 20 22 5c 0a |region 1|0] 4 "\.|
|00001ce0| 53 68 6f 77 20 61 6c 6c | 20 6f 66 20 74 68 65 20 |Show all| of the |
|00001cf0| 74 65 78 74 20 69 6e 20 | 74 68 65 20 62 75 66 66 |text in |the buff|
|00001d00| 65 72 2e 22 20 6e 69 6c | 5d 29 0a 28 66 73 65 74 |er." nil|]).(fset|
|00001d10| 20 27 68 69 64 65 2d 73 | 75 62 74 72 65 65 20 23 | 'hide-s|ubtree #|
|00001d20| 5b 6e 69 6c 20 22 c0 c1 | 21 87 22 20 5b 6f 75 74 |[nil "..|!." [out|
|00001d30| 6c 69 6e 65 2d 66 6c 61 | 67 2d 73 75 62 74 72 65 |line-fla|g-subtre|
|00001d40| 65 20 31 33 5d 20 32 20 | 22 5c 0a 48 69 64 65 20 |e 13] 2 |"\.Hide |
|00001d50| 65 76 65 72 79 74 68 69 | 6e 67 20 61 66 74 65 72 |everythi|ng after|
|00001d60| 20 74 68 69 73 20 68 65 | 61 64 69 6e 67 20 61 74 | this he|ading at|
|00001d70| 20 64 65 65 70 65 72 20 | 6c 65 76 65 6c 73 2e 22 | deeper |levels."|
|00001d80| 20 6e 69 6c 5d 29 0a 28 | 66 73 65 74 20 27 68 69 | nil]).(|fset 'hi|
|00001d90| 64 65 2d 6c 65 61 76 65 | 73 20 23 5b 6e 69 6c 20 |de-leave|s #[nil |
|00001da0| 22 c0 20 88 c1 20 88 c2 | 60 c3 20 88 60 5c 22 87 |". .. ..|`. .`\".|
|00001db0| 22 20 5b 6f 75 74 6c 69 | 6e 65 2d 62 61 63 6b 2d |" [outli|ne-back-|
|00001dc0| 74 6f 2d 68 65 61 64 69 | 6e 67 20 6f 75 74 6c 69 |to-headi|ng outli|
|00001dd0| 6e 65 2d 65 6e 64 2d 6f | 66 2d 68 65 61 64 69 6e |ne-end-o|f-headin|
|00001de0| 67 20 68 69 64 65 2d 72 | 65 67 69 6f 6e 2d 62 6f |g hide-r|egion-bo|
|00001df0| 64 79 20 6f 75 74 6c 69 | 6e 65 2d 65 6e 64 2d 6f |dy outli|ne-end-o|
|00001e00| 66 2d 73 75 62 74 72 65 | 65 5d 20 33 20 22 5c 0a |f-subtre|e] 3 "\.|
|00001e10| 48 69 64 65 20 61 6c 6c | 20 62 6f 64 79 20 61 66 |Hide all| body af|
|00001e20| 74 65 72 20 74 68 69 73 | 20 68 65 61 64 69 6e 67 |ter this| heading|
|00001e30| 20 61 74 20 64 65 65 70 | 65 72 20 6c 65 76 65 6c | at deep|er level|
|00001e40| 73 2e 22 20 6e 69 6c 5d | 29 0a 28 66 73 65 74 20 |s." nil]|).(fset |
|00001e50| 27 73 68 6f 77 2d 73 75 | 62 74 72 65 65 20 23 5b |'show-su|btree #[|
|00001e60| 6e 69 6c 20 22 c0 c1 21 | 87 22 20 5b 6f 75 74 6c |nil "..!|." [outl|
|00001e70| 69 6e 65 2d 66 6c 61 67 | 2d 73 75 62 74 72 65 65 |ine-flag|-subtree|
|00001e80| 20 31 30 5d 20 32 20 22 | 5c 0a 53 68 6f 77 20 65 | 10] 2 "|\.Show e|
|00001e90| 76 65 72 79 74 68 69 6e | 67 20 61 66 74 65 72 20 |verythin|g after |
|00001ea0| 74 68 69 73 20 68 65 61 | 64 69 6e 67 20 61 74 20 |this hea|ding at |
|00001eb0| 64 65 65 70 65 72 20 6c | 65 76 65 6c 73 2e 22 20 |deeper l|evels." |
|00001ec0| 6e 69 6c 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |nil]).(b|yte-code|
|00001ed0| 20 22 c0 c1 4d 88 c2 c3 | 4d 87 22 20 5b 6f 75 74 | "..M...|M." [out|
|00001ee0| 6c 69 6e 65 2d 66 6c 61 | 67 2d 73 75 62 74 72 65 |line-fla|g-subtre|
|00001ef0| 65 20 23 5b 28 66 6c 61 | 67 29 20 22 8a c0 20 88 |e #[(fla|g) ".. .|
|00001f00| c1 20 88 c2 60 c3 20 88 | 60 0c 23 29 87 22 20 5b |. ..`. .|`.#)." [|
|00001f10| 6f 75 74 6c 69 6e 65 2d | 62 61 63 6b 2d 74 6f 2d |outline-|back-to-|
|00001f20| 68 65 61 64 69 6e 67 20 | 6f 75 74 6c 69 6e 65 2d |heading |outline-|
|00001f30| 65 6e 64 2d 6f 66 2d 68 | 65 61 64 69 6e 67 20 6f |end-of-h|eading o|
|00001f40| 75 74 6c 69 6e 65 2d 66 | 6c 61 67 2d 72 65 67 69 |utline-f|lag-regi|
|00001f50| 6f 6e 20 6f 75 74 6c 69 | 6e 65 2d 65 6e 64 2d 6f |on outli|ne-end-o|
|00001f60| 66 2d 73 75 62 74 72 65 | 65 20 66 6c 61 67 5d 20 |f-subtre|e flag] |
|00001f70| 34 5d 20 6f 75 74 6c 69 | 6e 65 2d 65 6e 64 2d 6f |4] outli|ne-end-o|
|00001f80| 66 2d 73 75 62 74 72 65 | 65 20 23 5b 6e 69 6c 20 |f-subtre|e #[nil |
|00001f90| 22 c0 20 88 60 c1 c2 20 | 1b 1c 1d 6d ac 90 0c ac |". .`.. |...m....|
|00001fa0| 86 c2 20 0b 56 ab 87 c6 | 14 c7 20 88 aa 6d c8 75 |.. .V...|.. ..m.u|
|00001fb0| 88 68 c9 3e ad 82 c8 75 | 2b 87 22 20 5b 6f 75 74 |.h.>...u|+." [out|
|00001fc0| 6c 69 6e 65 2d 62 61 63 | 6b 2d 74 6f 2d 68 65 61 |line-bac|k-to-hea|
|00001fd0| 64 69 6e 67 20 74 20 6f | 75 74 6c 69 6e 65 2d 6c |ding t o|utline-l|
|00001fe0| 65 76 65 6c 20 6c 65 76 | 65 6c 20 66 69 72 73 74 |evel lev|el first|
|00001ff0| 20 6f 70 6f 69 6e 74 20 | 6e 69 6c 20 6f 75 74 6c | opoint |nil outl|
|00002000| 69 6e 65 2d 6e 65 78 74 | 2d 68 65 61 64 69 6e 67 |ine-next|-heading|
|00002010| 20 2d 31 20 28 31 30 20 | 31 33 29 5d 20 33 5d 5d | -1 (10 |13)] 3]]|
|00002020| 20 32 29 0a 28 66 73 65 | 74 20 27 73 68 6f 77 2d | 2).(fse|t 'show-|
|00002030| 62 72 61 6e 63 68 65 73 | 20 23 5b 6e 69 6c 20 22 |branches| #[nil "|
|00002040| c0 c1 21 87 22 20 5b 73 | 68 6f 77 2d 63 68 69 6c |..!." [s|how-chil|
|00002050| 64 72 65 6e 20 31 30 30 | 30 5d 20 32 20 22 5c 0a |dren 100|0] 2 "\.|
|00002060| 53 68 6f 77 20 61 6c 6c | 20 73 75 62 68 65 61 64 |Show all| subhead|
|00002070| 69 6e 67 73 20 6f 66 20 | 74 68 69 73 20 68 65 61 |ings of |this hea|
|00002080| 64 69 6e 67 2c 20 62 75 | 74 20 6e 6f 74 20 74 68 |ding, bu|t not th|
|00002090| 65 69 72 20 62 6f 64 69 | 65 73 2e 22 20 6e 69 6c |eir bodi|es." nil|
|000020a0| 5d 29 0a 28 66 73 65 74 | 20 27 73 68 6f 77 2d 63 |]).(fset| 'show-c|
|000020b0| 68 69 6c 64 72 65 6e 20 | 23 5b 28 26 6f 70 74 69 |hildren |#[(&opti|
|000020c0| 6f 6e 61 6c 20 6c 65 76 | 65 6c 29 20 22 08 ab 85 |onal lev|el) "...|
|000020d0| c1 08 21 aa 91 8a c2 79 | 88 c3 20 1c c5 20 88 c6 |..!....y|.. .. ..|
|000020e0| c3 20 0c 5a 5d 2a 10 8a | 8c c2 79 88 08 c3 20 5c |. .Z]*..|..y... \|
|000020f0| 5c 10 60 c7 20 88 60 54 | 7d 88 65 62 88 6d 3f ad |\.`. .`T|}.eb.m?.|
|00002100| a7 c5 20 88 6d 3f ad a0 | c3 20 08 58 ab 6f 8a c8 |.. .m?..|. .X.o..|
|00002110| 8a c9 75 88 68 ca 3e ab | 83 c9 75 88 60 29 cb 20 |..u.h.>.|..u.`). |
|00002120| 88 60 cc 23 88 29 aa 55 | 2a 87 22 20 5b 6c 65 76 |.`.#.).U|*." [lev|
|00002130| 65 6c 20 70 72 65 66 69 | 78 2d 6e 75 6d 65 72 69 |el prefi|x-numeri|
|00002140| 63 2d 76 61 6c 75 65 20 | 30 20 6f 75 74 6c 69 6e |c-value |0 outlin|
|00002150| 65 2d 6c 65 76 65 6c 20 | 73 74 61 72 74 2d 6c 65 |e-level |start-le|
|00002160| 76 65 6c 20 6f 75 74 6c | 69 6e 65 2d 6e 65 78 74 |vel outl|ine-next|
|00002170| 2d 68 65 61 64 69 6e 67 | 20 31 20 6f 75 74 6c 69 |-heading| 1 outli|
|00002180| 6e 65 2d 65 6e 64 2d 6f | 66 2d 73 75 62 74 72 65 |ne-end-o|f-subtre|
|00002190| 65 20 6f 75 74 6c 69 6e | 65 2d 66 6c 61 67 2d 72 |e outlin|e-flag-r|
|000021a0| 65 67 69 6f 6e 20 2d 31 | 20 28 31 30 20 31 33 29 |egion -1| (10 13)|
|000021b0| 20 6f 75 74 6c 69 6e 65 | 2d 65 6e 64 2d 6f 66 2d | outline|-end-of-|
|000021c0| 68 65 61 64 69 6e 67 20 | 31 30 5d 20 34 20 22 5c |heading |10] 4 "\|
|000021d0| 0a 53 68 6f 77 20 61 6c | 6c 20 64 69 72 65 63 74 |.Show al|l direct|
|000021e0| 20 73 75 62 68 65 61 64 | 69 6e 67 73 20 6f 66 20 | subhead|ings of |
|000021f0| 74 68 69 73 20 68 65 61 | 64 69 6e 67 2e 0a 50 72 |this hea|ding..Pr|
|00002200| 65 66 69 78 20 61 72 67 | 20 4c 45 56 45 4c 20 69 |efix arg| LEVEL i|
|00002210| 73 20 68 6f 77 20 6d 61 | 6e 79 20 6c 65 76 65 6c |s how ma|ny level|
|00002220| 73 20 62 65 6c 6f 77 20 | 74 68 65 20 63 75 72 72 |s below |the curr|
|00002230| 65 6e 74 20 6c 65 76 65 | 6c 20 73 68 6f 75 6c 64 |ent leve|l should|
|00002240| 20 62 65 20 73 68 6f 77 | 6e 2e 0a 44 65 66 61 75 | be show|n..Defau|
|00002250| 6c 74 20 69 73 20 65 6e | 6f 75 67 68 20 74 6f 20 |lt is en|ough to |
|00002260| 63 61 75 73 65 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |cause th|e follow|
|00002270| 69 6e 67 20 68 65 61 64 | 69 6e 67 20 74 6f 20 61 |ing head|ing to a|
|00002280| 70 70 65 61 72 2e 22 20 | 22 50 22 5d 29 0a 28 66 |ppear." |"P"]).(f|
|00002290| 73 65 74 20 27 6f 75 74 | 6c 69 6e 65 2d 75 70 2d |set 'out|line-up-|
|000022a0| 68 65 61 64 69 6e 67 20 | 23 5b 28 61 72 67 29 20 |heading |#[(arg) |
|000022b0| 22 c0 20 88 c1 20 c2 3d | ab 84 c3 c4 21 88 c1 20 |". .. .=|....!.. |
|000022c0| c2 56 ad a1 0d c6 56 ad | 9c 6f 3f ad 98 c1 20 1e |.V....V.|.o?... .|
|000022d0| 07 c1 20 0e 07 57 ac 86 | c8 c2 21 88 aa 73 0d c2 |.. ..W..|..!..s..|
|000022e0| 5a 15 29 aa 59 87 22 20 | 5b 6f 75 74 6c 69 6e 65 |Z.).Y." |[outline|
|000022f0| 2d 62 61 63 6b 2d 74 6f | 2d 68 65 61 64 69 6e 67 |-back-to|-heading|
|00002300| 20 6f 75 74 6c 69 6e 65 | 2d 6c 65 76 65 6c 20 31 | outline|-level 1|
|00002310| 20 65 72 72 6f 72 20 22 | 22 20 61 72 67 20 30 20 | error "|" arg 0 |
|00002320| 70 72 65 73 65 6e 74 2d | 6c 65 76 65 6c 20 6f 75 |present-|level ou|
|00002330| 74 6c 69 6e 65 2d 70 72 | 65 76 69 6f 75 73 2d 76 |tline-pr|evious-v|
|00002340| 69 73 69 62 6c 65 2d 68 | 65 61 64 69 6e 67 5d 20 |isible-h|eading] |
|00002350| 32 20 22 5c 0a 4d 6f 76 | 65 20 74 6f 20 74 68 65 |2 "\.Mov|e to the|
|00002360| 20 68 65 61 64 69 6e 67 | 20 6c 69 6e 65 20 6f 66 | heading| line of|
|00002370| 20 77 68 69 63 68 20 74 | 68 65 20 70 72 65 73 65 | which t|he prese|
|00002380| 6e 74 20 6c 69 6e 65 20 | 69 73 20 61 20 73 75 62 |nt line |is a sub|
|00002390| 68 65 61 64 69 6e 67 2e | 0a 57 69 74 68 20 61 72 |heading.|.With ar|
|000023a0| 67 75 6d 65 6e 74 2c 20 | 6d 6f 76 65 20 75 70 20 |gument, |move up |
|000023b0| 41 52 47 20 6c 65 76 65 | 6c 73 2e 22 20 22 70 22 |ARG leve|ls." "p"|
|000023c0| 5d 29 0a 28 66 73 65 74 | 20 27 6f 75 74 6c 69 6e |]).(fset| 'outlin|
|000023d0| 65 2d 66 6f 72 77 61 72 | 64 2d 73 61 6d 65 2d 6c |e-forwar|d-same-l|
|000023e0| 65 76 65 6c 20 23 5b 28 | 61 72 67 29 20 22 c0 20 |evel #[(|arg) ". |
|000023f0| 88 09 c2 56 ad 99 8a c3 | 20 29 89 1c ab 88 0c 62 |...V....| ).....b|
|00002400| 88 09 53 11 aa 86 c2 11 | c5 c6 21 88 29 aa 62 87 |..S.....|..!.).b.|
|00002410| 22 20 5b 6f 75 74 6c 69 | 6e 65 2d 62 61 63 6b 2d |" [outli|ne-back-|
|00002420| 74 6f 2d 68 65 61 64 69 | 6e 67 20 61 72 67 20 30 |to-headi|ng arg 0|
|00002430| 20 6f 75 74 6c 69 6e 65 | 2d 67 65 74 2d 6e 65 78 | outline|-get-nex|
|00002440| 74 2d 73 69 62 6c 69 6e | 67 20 70 6f 69 6e 74 2d |t-siblin|g point-|
|00002450| 74 6f 2d 6d 6f 76 65 2d | 74 6f 20 65 72 72 6f 72 |to-move-|to error|
|00002460| 20 22 22 5d 20 33 20 22 | 5c 0a 4d 6f 76 65 20 66 | ""] 3 "|\.Move f|
|00002470| 6f 72 77 61 72 64 20 74 | 6f 20 74 68 65 20 41 52 |orward t|o the AR|
|00002480| 47 27 74 68 20 73 75 62 | 68 65 61 64 69 6e 67 20 |G'th sub|heading |
|00002490| 66 72 6f 6d 20 68 65 72 | 65 20 6f 66 20 74 68 65 |from her|e of the|
|000024a0| 20 73 61 6d 65 20 6c 65 | 76 65 6c 20 61 73 20 74 | same le|vel as t|
|000024b0| 68 65 0a 70 72 65 73 65 | 6e 74 20 6f 6e 65 2e 20 |he.prese|nt one. |
|000024c0| 49 74 20 73 74 6f 70 73 | 20 61 74 20 74 68 65 20 |It stops| at the |
|000024d0| 66 69 72 73 74 20 61 6e | 64 20 6c 61 73 74 20 73 |first an|d last s|
|000024e0| 75 62 68 65 61 64 69 6e | 67 73 20 6f 66 20 61 20 |ubheadin|gs of a |
|000024f0| 73 75 70 65 72 69 6f 72 | 20 68 65 61 64 69 6e 67 |superior| heading|
|00002500| 2e 22 20 22 70 22 5d 29 | 0a 28 66 73 65 74 20 27 |." "p"])|.(fset '|
|00002510| 6f 75 74 6c 69 6e 65 2d | 67 65 74 2d 6e 65 78 74 |outline-|get-next|
|00002520| 2d 73 69 62 6c 69 6e 67 | 20 23 5b 6e 69 6c 20 22 |-sibling| #[nil "|
|00002530| c0 20 19 c2 c3 21 88 c0 | 20 09 56 ab 89 6d ac 86 |. ...!..| .V..m..|
|00002540| c2 c3 21 88 aa 71 c0 20 | 09 57 3f ad 81 60 29 87 |..!..q. |.W?..`).|
|00002550| 22 20 5b 6f 75 74 6c 69 | 6e 65 2d 6c 65 76 65 6c |" [outli|ne-level|
|00002560| 20 6c 65 76 65 6c 20 6f | 75 74 6c 69 6e 65 2d 6e | level o|utline-n|
|00002570| 65 78 74 2d 76 69 73 69 | 62 6c 65 2d 68 65 61 64 |ext-visi|ble-head|
|00002580| 69 6e 67 20 31 5d 20 32 | 20 22 5c 0a 50 6f 73 69 |ing 1] 2| "\.Posi|
|00002590| 74 69 6f 6e 20 74 68 65 | 20 70 6f 69 6e 74 20 61 |tion the| point a|
|000025a0| 74 20 74 68 65 20 6e 65 | 78 74 20 68 65 61 64 69 |t the ne|xt headi|
|000025b0| 6e 67 20 6f 66 20 74 68 | 65 20 73 61 6d 65 20 6c |ng of th|e same l|
|000025c0| 65 76 65 6c 2c 20 0a 61 | 6e 64 20 72 65 74 75 72 |evel, .a|nd retur|
|000025d0| 6e 20 74 68 61 74 20 70 | 6f 73 69 74 69 6f 6e 20 |n that p|osition |
|000025e0| 6f 72 20 6e 69 6c 20 69 | 66 20 69 74 20 63 61 6e |or nil i|f it can|
|000025f0| 6e 6f 74 20 62 65 20 66 | 6f 75 6e 64 2e 22 5d 29 |not be f|ound."])|
|00002600| 0a 28 66 73 65 74 20 27 | 6f 75 74 6c 69 6e 65 2d |.(fset '|outline-|
|00002610| 62 61 63 6b 77 61 72 64 | 2d 73 61 6d 65 2d 6c 65 |backward|-same-le|
|00002620| 76 65 6c 20 23 5b 28 61 | 72 67 29 20 22 c0 20 88 |vel #[(a|rg) ". .|
|00002630| 09 c2 56 ad 99 8a c3 20 | 29 89 1c ab 88 0c 62 88 |..V.... |).....b.|
|00002640| 09 53 11 aa 86 c2 11 c5 | c6 21 88 29 aa 62 87 22 |.S......|.!.).b."|
|00002650| 20 5b 6f 75 74 6c 69 6e | 65 2d 62 61 63 6b 2d 74 | [outlin|e-back-t|
|00002660| 6f 2d 68 65 61 64 69 6e | 67 20 61 72 67 20 30 20 |o-headin|g arg 0 |
|00002670| 6f 75 74 6c 69 6e 65 2d | 67 65 74 2d 6c 61 73 74 |outline-|get-last|
|00002680| 2d 73 69 62 6c 69 6e 67 | 20 70 6f 69 6e 74 2d 74 |-sibling| point-t|
|00002690| 6f 2d 6d 6f 76 65 2d 74 | 6f 20 65 72 72 6f 72 20 |o-move-t|o error |
|000026a0| 22 22 5d 20 33 20 22 5c | 0a 4d 6f 76 65 20 62 61 |""] 3 "\|.Move ba|
|000026b0| 63 6b 77 61 72 64 20 74 | 6f 20 74 68 65 20 41 52 |ckward t|o the AR|
|000026c0| 47 27 74 68 20 73 75 62 | 68 65 61 64 69 6e 67 20 |G'th sub|heading |
|000026d0| 66 72 6f 6d 20 68 65 72 | 65 20 6f 66 20 74 68 65 |from her|e of the|
|000026e0| 20 73 61 6d 65 20 6c 65 | 76 65 6c 20 61 73 20 74 | same le|vel as t|
|000026f0| 68 65 0a 70 72 65 73 65 | 6e 74 20 6f 6e 65 2e 20 |he.prese|nt one. |
|00002700| 49 74 20 73 74 6f 70 73 | 20 61 74 20 74 68 65 20 |It stops| at the |
|00002710| 66 69 72 73 74 20 61 6e | 64 20 6c 61 73 74 20 73 |first an|d last s|
|00002720| 75 62 68 65 61 64 69 6e | 67 73 20 6f 66 20 61 20 |ubheadin|gs of a |
|00002730| 73 75 70 65 72 69 6f 72 | 20 68 65 61 64 69 6e 67 |superior| heading|
|00002740| 2e 22 20 22 70 22 5d 29 | 0a 28 66 73 65 74 20 27 |." "p"])|.(fset '|
|00002750| 6f 75 74 6c 69 6e 65 2d | 67 65 74 2d 6c 61 73 74 |outline-|get-last|
|00002760| 2d 73 69 62 6c 69 6e 67 | 20 23 5b 6e 69 6c 20 22 |-sibling| #[nil "|
|00002770| c0 20 19 c2 c3 21 88 c0 | 20 09 56 ab 89 6f ac 86 |. ...!..| .V..o..|
|00002780| c2 c3 21 88 aa 71 c0 20 | 09 57 3f ad 81 60 29 87 |..!..q. |.W?..`).|
|00002790| 22 20 5b 6f 75 74 6c 69 | 6e 65 2d 6c 65 76 65 6c |" [outli|ne-level|
|000027a0| 20 6c 65 76 65 6c 20 6f | 75 74 6c 69 6e 65 2d 70 | level o|utline-p|
|000027b0| 72 65 76 69 6f 75 73 2d | 76 69 73 69 62 6c 65 2d |revious-|visible-|
|000027c0| 68 65 61 64 69 6e 67 20 | 31 5d 20 32 20 22 5c 0a |heading |1] 2 "\.|
|000027d0| 50 6f 73 69 74 69 6f 6e | 20 74 68 65 20 70 6f 69 |Position| the poi|
|000027e0| 6e 74 20 61 74 20 74 68 | 65 20 70 72 65 76 69 6f |nt at th|e previo|
|000027f0| 75 73 20 68 65 61 64 69 | 6e 67 20 6f 66 20 74 68 |us headi|ng of th|
|00002800| 65 20 73 61 6d 65 20 6c | 65 76 65 6c 2c 20 0a 61 |e same l|evel, .a|
|00002810| 6e 64 20 72 65 74 75 72 | 6e 20 74 68 61 74 20 70 |nd retur|n that p|
|00002820| 6f 73 69 74 69 6f 6e 20 | 6f 72 20 6e 69 6c 20 69 |osition |or nil i|
|00002830| 66 20 69 74 20 63 61 6e | 6e 6f 74 20 62 65 20 66 |f it can|not be f|
|00002840| 6f 75 6e 64 2e 22 5d 29 | 0a |ound."])|. |
+--------+-------------------------+-------------------------+--------+--------+