home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / a2.0bemacs-src.lha / Emacs-19.25 / lisp / page.elc < prev    next >
Emacs Compiled Lisp  |  1993-11-15  |  2.4 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
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



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 72 6d 73 40 6d 6f 6c |piled by| rms@mol|
|00000020| 65 2e 67 6e 75 2e 61 69 | 2e 6d 69 74 2e 65 64 75 |e.gnu.ai|.mit.edu|
|00000030| 20 6f 6e 20 4d 6f 6e 20 | 4e 6f 76 20 31 35 20 30 | on Mon |Nov 15 0|
|00000040| 33 3a 31 32 3a 33 30 20 | 31 39 39 33 0a 3b 3b 3b |3:12:30 |1993.;;;|
|00000050| 20 66 72 6f 6d 20 66 69 | 6c 65 20 2f 68 6f 6d 65 | from fi|le /home|
|00000060| 2f 66 73 66 2f 72 6d 73 | 2f 65 31 39 2f 6c 69 73 |/fsf/rms|/e19/lis|
|00000070| 70 2f 70 61 67 65 2e 65 | 6c 0a 3b 3b 3b 20 65 6d |p/page.e|l.;;; em|
|00000080| 61 63 73 20 76 65 72 73 | 69 6f 6e 20 31 39 2e 32 |acs vers|ion 19.2|
|00000090| 30 2e 39 2e 32 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |0.9.2..;|;; bytec|
|000000a0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 46 53 46 20 |omp vers|ion FSF |
|000000b0| 32 2e 31 30 0a 3b 3b 3b | 20 6f 70 74 69 6d 69 7a |2.10.;;;| optimiz|
|000000c0| 61 74 69 6f 6e 20 69 73 | 20 6f 6e 2e 0a 3b 3b 3b |ation is| on..;;;|
|000000d0| 20 74 68 69 73 20 66 69 | 6c 65 20 75 73 65 73 20 | this fi|le uses |
|000000e0| 6f 70 63 6f 64 65 73 20 | 77 68 69 63 68 20 64 6f |opcodes |which do|
|000000f0| 20 6e 6f 74 20 65 78 69 | 73 74 20 69 6e 20 45 6d | not exi|st in Em|
|00000100| 61 63 73 20 31 38 2e 0a | 0a 28 69 66 20 28 61 6e |acs 18..|.(if (an|
|00000110| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 6d 61 63 73 |d (bound|p 'emacs|
|00000120| 2d 76 65 72 73 69 6f 6e | 29 0a 09 20 28 6f 72 20 |-version|).. (or |
|00000130| 28 61 6e 64 20 28 62 6f | 75 6e 64 70 20 27 65 70 |(and (bo|undp 'ep|
|00000140| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 20 65 70 |och::ver|sion) ep|
|00000150| 6f 63 68 3a 3a 76 65 72 | 73 69 6f 6e 29 0a 09 20 |och::ver|sion).. |
|00000160| 20 20 20 20 28 73 74 72 | 69 6e 67 2d 6c 65 73 73 | (str|ing-less|
|00000170| 70 20 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 20 |p emacs-|version |
|00000180| 22 31 39 22 29 29 29 0a | 20 20 20 20 28 65 72 72 |"19"))).| (err|
|00000190| 6f 72 20 22 54 68 69 73 | 20 66 69 6c 65 20 77 61 |or "This| file wa|
|000001a0| 73 20 63 6f 6d 70 69 6c | 65 64 20 66 6f 72 20 45 |s compil|ed for E|
|000001b0| 6d 61 63 73 20 31 39 22 | 29 29 0a 0a 28 64 65 66 |macs 19"|))..(def|
|000001c0| 61 6c 69 61 73 20 27 66 | 6f 72 77 61 72 64 2d 70 |alias 'f|orward-p|
|000001d0| 61 67 65 20 23 5b 28 26 | 6f 70 74 69 6f 6e 61 6c |age #[(&|optional|
|000001e0| 20 63 6f 75 6e 74 29 20 | 22 08 84 06 00 c1 10 08 | count) |".......|
|000001f0| c2 56 83 29 00 6d 84 29 | 00 6e 83 17 00 c1 75 88 |.V.).m.)|.n....u.|
|00000200| c3 0c c5 c6 23 84 5c 22 | 00 64 62 88 08 53 89 10 |....#.\"|.db..S..|
|00000210| 82 07 00 08 c2 57 85 50 | 00 6f 3f 85 50 00 c7 75 |.....W.P|.o?.P..u|
|00000220| 88 c8 0c c5 c6 23 83 46 | 00 c2 95 62 88 82 49 00 |.....#.F|...b..I.|
|00000230| 65 62 88 08 54 89 10 82 | 2a 00 87 22 20 5b 63 6f |eb..T...|*.." [co|
|00000240| 75 6e 74 20 31 20 30 20 | 72 65 2d 73 65 61 72 63 |unt 1 0 |re-searc|
|00000250| 68 2d 66 6f 72 77 61 72 | 64 20 70 61 67 65 2d 64 |h-forwar|d page-d|
|00000260| 65 6c 69 6d 69 74 65 72 | 20 6e 69 6c 20 74 20 2d |elimiter| nil t -|
|00000270| 31 20 72 65 2d 73 65 61 | 72 63 68 2d 62 61 63 6b |1 re-sea|rch-back|
|00000280| 77 61 72 64 5d 20 35 20 | 22 5c 0a 4d 6f 76 65 20 |ward] 5 |"\.Move |
|00000290| 66 6f 72 77 61 72 64 20 | 74 6f 20 70 61 67 65 20 |forward |to page |
|000002a0| 62 6f 75 6e 64 61 72 79 | 2e 20 20 57 69 74 68 20 |boundary|. With |
|000002b0| 61 72 67 2c 20 72 65 70 | 65 61 74 2c 20 6f 72 20 |arg, rep|eat, or |
|000002c0| 67 6f 20 62 61 63 6b 20 | 69 66 20 6e 65 67 61 74 |go back |if negat|
|000002d0| 69 76 65 2e 0a 41 20 70 | 61 67 65 20 62 6f 75 6e |ive..A p|age boun|
|000002e0| 64 61 72 79 20 69 73 20 | 61 6e 79 20 6c 69 6e 65 |dary is |any line|
|000002f0| 20 77 68 6f 73 65 20 62 | 65 67 69 6e 6e 69 6e 67 | whose b|eginning|
|00000300| 20 6d 61 74 63 68 65 73 | 20 74 68 65 20 72 65 67 | matches| the reg|
|00000310| 65 78 70 0a 60 70 61 67 | 65 2d 64 65 6c 69 6d 69 |exp.`pag|e-delimi|
|00000320| 74 65 72 27 2e 22 20 22 | 70 22 5d 29 0a 28 64 65 |ter'." "|p"]).(de|
|00000330| 66 61 6c 69 61 73 20 27 | 62 61 63 6b 77 61 72 64 |falias '|backward|
|00000340| 2d 70 61 67 65 20 23 5b | 28 26 6f 70 74 69 6f 6e |-page #[|(&option|
|00000350| 61 6c 20 63 6f 75 6e 74 | 29 20 22 08 84 06 00 c1 |al count|) ".....|
|00000360| 10 c2 08 5b 21 87 22 20 | 5b 63 6f 75 6e 74 20 31 |...[!." |[count 1|
|00000370| 20 66 6f 72 77 61 72 64 | 2d 70 61 67 65 5d 20 32 | forward|-page] 2|
|00000380| 20 22 5c 0a 4d 6f 76 65 | 20 62 61 63 6b 77 61 72 | "\.Move| backwar|
|00000390| 64 20 74 6f 20 70 61 67 | 65 20 62 6f 75 6e 64 61 |d to pag|e bounda|
|000003a0| 72 79 2e 20 20 57 69 74 | 68 20 61 72 67 2c 20 72 |ry. Wit|h arg, r|
|000003b0| 65 70 65 61 74 2c 20 6f | 72 20 67 6f 20 66 77 64 |epeat, o|r go fwd|
|000003c0| 20 69 66 20 6e 65 67 61 | 74 69 76 65 2e 0a 41 20 | if nega|tive..A |
|000003d0| 70 61 67 65 20 62 6f 75 | 6e 64 61 72 79 20 69 73 |page bou|ndary is|
|000003e0| 20 61 6e 79 20 6c 69 6e | 65 20 77 68 6f 73 65 20 | any lin|e whose |
|000003f0| 62 65 67 69 6e 6e 69 6e | 67 20 6d 61 74 63 68 65 |beginnin|g matche|
|00000400| 73 20 74 68 65 20 72 65 | 67 65 78 70 0a 60 70 61 |s the re|gexp.`pa|
|00000410| 67 65 2d 64 65 6c 69 6d | 69 74 65 72 27 2e 22 20 |ge-delim|iter'." |
|00000420| 22 70 22 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |"p"]).(d|efalias |
|00000430| 27 6d 61 72 6b 2d 70 61 | 67 65 20 23 5b 28 26 6f |'mark-pa|ge #[(&o|
|00000440| 70 74 69 6f 6e 61 6c 20 | 61 72 67 29 20 22 08 83 |ptional |arg) "..|
|00000450| 5c 6e 00 c1 08 21 82 0b | 00 c2 89 10 c2 56 83 19 |\n...!..|.....V..|
|00000460| 00 c3 08 21 88 82 24 00 | 08 c2 57 83 24 00 c3 08 |...!..$.|..W.$...|
|00000470| 53 21 88 c3 20 88 c4 c5 | c6 89 23 88 c3 c7 21 87 |S!.. ...|..#...!.|
|00000480| 22 20 5b 61 72 67 20 70 | 72 65 66 69 78 2d 6e 75 |" [arg p|refix-nu|
|00000490| 6d 65 72 69 63 2d 76 61 | 6c 75 65 20 30 20 66 6f |meric-va|lue 0 fo|
|000004a0| 72 77 61 72 64 2d 70 61 | 67 65 20 70 75 73 68 2d |rward-pa|ge push-|
|000004b0| 6d 61 72 6b 20 6e 69 6c | 20 74 20 2d 31 5d 20 35 |mark nil| t -1] 5|
|000004c0| 20 22 5c 0a 50 75 74 20 | 6d 61 72 6b 20 61 74 20 | "\.Put |mark at |
|000004d0| 65 6e 64 20 6f 66 20 70 | 61 67 65 2c 20 70 6f 69 |end of p|age, poi|
|000004e0| 6e 74 20 61 74 20 62 65 | 67 69 6e 6e 69 6e 67 2e |nt at be|ginning.|
|000004f0| 0a 41 20 6e 75 6d 65 72 | 69 63 20 61 72 67 20 73 |.A numer|ic arg s|
|00000500| 70 65 63 69 66 69 65 73 | 20 74 6f 20 6d 6f 76 65 |pecifies| to move|
|00000510| 20 66 6f 72 77 61 72 64 | 20 6f 72 20 62 61 63 6b | forward| or back|
|00000520| 77 61 72 64 20 62 79 20 | 74 68 61 74 20 6d 61 6e |ward by |that man|
|00000530| 79 20 70 61 67 65 73 2c | 0a 74 68 75 73 20 6d 61 |y pages,|.thus ma|
|00000540| 72 6b 69 6e 67 20 61 20 | 70 61 67 65 20 6f 74 68 |rking a |page oth|
|00000550| 65 72 20 74 68 61 6e 20 | 74 68 65 20 6f 6e 65 20 |er than |the one |
|00000560| 70 6f 69 6e 74 20 77 61 | 73 20 6f 72 69 67 69 6e |point wa|s origin|
|00000570| 61 6c 6c 79 20 69 6e 2e | 22 20 22 50 22 5d 29 0a |ally in.|" "P"]).|
|00000580| 28 64 65 66 61 6c 69 61 | 73 20 27 6e 61 72 72 6f |(defalia|s 'narro|
|00000590| 77 2d 74 6f 2d 70 61 67 | 65 20 23 5b 28 26 6f 70 |w-to-pag|e #[(&op|
|000005a0| 74 69 6f 6e 61 6c 20 61 | 72 67 29 20 22 08 83 5c |tional a|rg) "..\|
|000005b0| 6e 00 c1 08 21 82 0b 00 | c2 10 8a 7e 88 08 c2 56 |n...!...|...~...V|
|000005c0| 83 1c 00 c3 08 21 88 82 | 27 00 08 c2 57 83 27 00 |.....!..|'...W.'.|
|000005d0| c3 08 53 21 88 c3 20 88 | 8a c2 94 62 88 c4 0d 21 |..S!.. .|...b...!|
|000005e0| 29 83 39 00 c2 79 88 60 | c3 c6 21 88 6c 83 49 00 |).9..y.`|..!.l.I.|
|000005f0| 6f 84 49 00 c7 79 88 60 | 7d 29 87 22 20 5b 61 72 |o.I..y.`|})." [ar|
|00000600| 67 20 70 72 65 66 69 78 | 2d 6e 75 6d 65 72 69 63 |g prefix|-numeric|
|00000610| 2d 76 61 6c 75 65 20 30 | 20 66 6f 72 77 61 72 64 |-value 0| forward|
|00000620| 2d 70 61 67 65 20 6c 6f | 6f 6b 69 6e 67 2d 61 74 |-page lo|oking-at|
|00000630| 20 70 61 67 65 2d 64 65 | 6c 69 6d 69 74 65 72 20 | page-de|limiter |
|00000640| 2d 31 20 31 5d 20 33 20 | 22 5c 0a 4d 61 6b 65 20 |-1 1] 3 |"\.Make |
|00000650| 74 65 78 74 20 6f 75 74 | 73 69 64 65 20 63 75 72 |text out|side cur|
|00000660| 72 65 6e 74 20 70 61 67 | 65 20 69 6e 76 69 73 69 |rent pag|e invisi|
|00000670| 62 6c 65 2e 0a 41 20 6e | 75 6d 65 72 69 63 20 61 |ble..A n|umeric a|
|00000680| 72 67 20 73 70 65 63 69 | 66 69 65 73 20 74 6f 20 |rg speci|fies to |
|00000690| 6d 6f 76 65 20 66 6f 72 | 77 61 72 64 20 6f 72 20 |move for|ward or |
|000006a0| 62 61 63 6b 77 61 72 64 | 20 62 79 20 74 68 61 74 |backward| by that|
|000006b0| 20 6d 61 6e 79 20 70 61 | 67 65 73 2c 0a 74 68 75 | many pa|ges,.thu|
|000006c0| 73 20 73 68 6f 77 69 6e | 67 20 61 20 70 61 67 65 |s showin|g a page|
|000006d0| 20 6f 74 68 65 72 20 74 | 68 61 6e 20 74 68 65 20 | other t|han the |
|000006e0| 6f 6e 65 20 70 6f 69 6e | 74 20 77 61 73 20 6f 72 |one poin|t was or|
|000006f0| 69 67 69 6e 61 6c 6c 79 | 20 69 6e 2e 22 20 22 50 |iginally| in." "P|
|00000700| 22 5d 29 0a 28 70 75 74 | 20 28 71 75 6f 74 65 20 |"]).(put| (quote |
|00000710| 6e 61 72 72 6f 77 2d 74 | 6f 2d 70 61 67 65 29 20 |narrow-t|o-page) |
|00000720| 28 71 75 6f 74 65 20 64 | 69 73 61 62 6c 65 64 29 |(quote d|isabled)|
|00000730| 20 74 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 63 | t).(def|alias 'c|
|00000740| 6f 75 6e 74 2d 6c 69 6e | 65 73 2d 70 61 67 65 20 |ount-lin|es-page |
|00000750| 23 5b 6e 69 6c 20 22 8a | 60 c0 89 89 89 89 19 1a |#[nil ".|`.......|
|00000760| 1b 1c 1d 1e 06 c7 20 88 | c8 79 88 c9 0e 5c 6e 21 |...... .|.y...\n!|
|00000770| 84 1e 00 c0 7f 88 60 14 | cb 20 88 60 15 cc 0d 0c |......`.|. .`....|
|00000780| 5c 22 13 cc 0d 0e 06 5c | 22 12 cc 0e 06 0c 5c 22 |\".....\|".....\"|
|00000790| 11 cd ce 0b 5c 6e 09 24 | 2e 07 87 22 20 5b 6e 69 |....\n.$|..." [ni|
|000007a0| 6c 20 61 66 74 65 72 20 | 62 65 66 6f 72 65 20 74 |l after |before t|
|000007b0| 6f 74 61 6c 20 65 6e 64 | 20 62 65 67 20 6f 70 6f |otal end| beg opo|
|000007c0| 69 6e 74 20 66 6f 72 77 | 61 72 64 2d 70 61 67 65 |int forw|ard-page|
|000007d0| 20 30 20 6c 6f 6f 6b 69 | 6e 67 2d 61 74 20 70 61 | 0 looki|ng-at pa|
|000007e0| 67 65 2d 64 65 6c 69 6d | 69 74 65 72 20 62 61 63 |ge-delim|iter bac|
|000007f0| 6b 77 61 72 64 2d 70 61 | 67 65 20 63 6f 75 6e 74 |kward-pa|ge count|
|00000800| 2d 6c 69 6e 65 73 20 6d | 65 73 73 61 67 65 20 22 |-lines m|essage "|
|00000810| 50 61 67 65 20 68 61 73 | 20 25 64 20 6c 69 6e 65 |Page has| %d line|
|00000820| 73 20 28 25 64 20 2b 20 | 25 64 29 22 5d 20 36 20 |s (%d + |%d)"] 6 |
|00000830| 22 5c 0a 52 65 70 6f 72 | 74 20 6e 75 6d 62 65 72 |"\.Repor|t number|
|00000840| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 6e 20 63 75 72 | of line|s on cur|
|00000850| 72 65 6e 74 20 70 61 67 | 65 2c 20 61 6e 64 20 68 |rent pag|e, and h|
|00000860| 6f 77 20 6d 61 6e 79 20 | 61 72 65 20 62 65 66 6f |ow many |are befo|
|00000870| 72 65 20 6f 72 20 61 66 | 74 65 72 20 70 6f 69 6e |re or af|ter poin|
|00000880| 74 2e 22 20 6e 69 6c 5d | 29 0a 28 64 65 66 61 6c |t." nil]|).(defal|
|00000890| 69 61 73 20 27 77 68 61 | 74 2d 70 61 67 65 20 23 |ias 'wha|t-page #|
|000008a0| 5b 6e 69 6c 20 22 8c 7e | 88 8a c0 79 88 c1 60 1a |[nil ".~|...y..`.|
|000008b0| 1b c1 62 88 c4 0d 5c 6e | c6 23 83 1c 00 0b 54 13 |..b...\n|.#....T.|
|000008c0| 82 0e 00 c7 c8 0b c9 60 | 5c 6e 5c 22 54 23 2c 87 |.......`|\n\"T#,.|
|000008d0| 22 20 5b 30 20 31 20 6f | 70 6f 69 6e 74 20 63 6f |" [0 1 o|point co|
|000008e0| 75 6e 74 20 72 65 2d 73 | 65 61 72 63 68 2d 66 6f |unt re-s|earch-fo|
|000008f0| 72 77 61 72 64 20 70 61 | 67 65 2d 64 65 6c 69 6d |rward pa|ge-delim|
|00000900| 69 74 65 72 20 74 20 6d | 65 73 73 61 67 65 20 22 |iter t m|essage "|
|00000910| 50 61 67 65 20 25 64 2c | 20 6c 69 6e 65 20 25 64 |Page %d,| line %d|
|00000920| 22 20 63 6f 75 6e 74 2d | 6c 69 6e 65 73 5d 20 36 |" count-|lines] 6|
|00000930| 20 22 5c 0a 50 72 69 6e | 74 20 70 61 67 65 20 61 | "\.Prin|t page a|
|00000940| 6e 64 20 6c 69 6e 65 20 | 6e 75 6d 62 65 72 20 6f |nd line |number o|
|00000950| 66 20 70 6f 69 6e 74 2e | 22 20 6e 69 6c 5d 29 0a |f point.|" nil]).|
|00000960| 28 70 72 6f 76 69 64 65 | 20 28 71 75 6f 74 65 20 |(provide| (quote |
|00000970| 70 61 67 65 29 29 0a | |page)). | |
+--------+-------------------------+-------------------------+--------+--------+