home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / hyperbole / hhist.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  1.5 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 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 34 3a 35 31 3a 35 | 32 20 31 39 39 35 0a 3b | 14:51:5|2 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 65 78 |;; from |file /ex|
|00000060| 70 6f 72 74 2f 77 69 6c | 6c 6f 77 33 2f 78 65 6d |port/wil|low3/xem|
|00000070| 61 63 73 2d 31 39 2e 31 | 33 2d 72 65 6c 65 61 73 |acs-19.1|3-releas|
|00000080| 65 2f 65 64 69 74 6f 72 | 2f 6c 69 73 70 2f 68 79 |e/editor|/lisp/hy|
|00000090| 70 65 72 62 6f 6c 65 2f | 68 68 69 73 74 2e 65 6c |perbole/|hhist.el|
|000000a0| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|000000b0| 6f 6e 20 31 39 2e 31 33 | 20 58 45 6d 61 63 73 20 |on 19.13| XEmacs |
|000000c0| 4c 75 63 69 64 2e 0a 3b | 3b 3b 20 62 79 74 65 63 |Lucid..;|;; bytec|
|000000d0| 6f 6d 70 20 76 65 72 73 | 69 6f 6e 20 32 2e 32 35 |omp vers|ion 2.25|
|000000e0| 3b 20 31 2d 53 65 70 2d | 39 34 2e 0a 3b 3b 3b 20 |; 1-Sep-|94..;;; |
|000000f0| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|00000100| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|00000110| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|00000120| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000130| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 38 2e 0a 0a |t in Ema|cs 18...|
|00000140| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000150| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000160| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000170| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|00000180| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|00000190| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|000001a0| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|000001b0| 65 72 73 69 6f 6e 20 22 | 31 39 22 29 29 29 0a 20 |ersion "|19"))). |
|000001c0| 20 20 20 28 65 72 72 6f | 72 20 22 54 68 69 73 20 | (erro|r "This |
|000001d0| 66 69 6c 65 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |file was| compile|
|000001e0| 64 20 66 6f 72 20 45 6d | 61 63 73 20 31 39 2e 22 |d for Em|acs 19."|
|000001f0| 29 29 0a 0a 28 66 73 65 | 74 20 27 68 68 69 73 74 |))..(fse|t 'hhist|
|00000200| 3a 61 64 64 20 23 5b 28 | 65 6c 74 29 20 22 c0 c1 |:add #[(|elt) "..|
|00000210| 20 21 71 88 5c 6e 40 89 | 1b c4 20 9a ae 85 0b 0d | !q.\n@.|.. .....|
|00000220| 40 40 9a 3f ad 85 5c 6e | 0d 42 89 15 29 87 22 20 |@@.?..\n|.B..)." |
|00000230| 5b 77 69 6e 64 6f 77 2d | 62 75 66 66 65 72 20 73 |[window-|buffer s|
|00000240| 65 6c 65 63 74 65 64 2d | 77 69 6e 64 6f 77 20 65 |elected-|window e|
|00000250| 6c 74 20 70 72 65 76 2d | 62 75 66 20 62 75 66 66 |lt prev-|buf buff|
|00000260| 65 72 2d 6e 61 6d 65 20 | 2a 68 68 69 73 74 2a 5d |er-name |*hhist*]|
|00000270| 20 33 20 22 5c 0a 41 64 | 64 73 20 45 4c 54 20 74 | 3 "\.Ad|ds ELT t|
|00000280| 6f 20 68 79 70 65 72 2d | 68 69 73 74 6f 72 79 20 |o hyper-|history |
|00000290| 6c 69 73 74 20 69 66 20 | 6e 6f 74 20 74 68 65 20 |list if |not the |
|000002a0| 73 61 6d 65 20 61 73 20 | 63 75 72 72 65 6e 74 20 |same as |current |
|000002b0| 6f 72 20 70 72 65 76 69 | 6f 75 73 20 6c 6f 63 2e |or previ|ous loc.|
|000002c0| 0a 45 4c 54 20 6d 75 73 | 74 20 68 61 76 65 20 62 |.ELT mus|t have b|
|000002d0| 65 65 6e 20 63 72 65 61 | 74 65 64 20 76 69 61 20 |een crea|ted via |
|000002e0| 61 20 63 61 6c 6c 20 74 | 6f 20 27 68 68 69 73 74 |a call t|o 'hhist|
|000002f0| 3a 65 6c 65 6d 65 6e 74 | 27 2e 22 5d 29 0a 28 66 |:element|'."]).(f|
|00000300| 73 65 74 20 27 68 68 69 | 73 74 3a 65 6c 65 6d 65 |set 'hhi|st:eleme|
|00000310| 6e 74 20 23 5b 6e 69 6c | 20 22 70 60 44 87 22 20 |nt #[nil| "p`D." |
|00000320| 5b 5d 20 32 20 22 5c 0a | 52 65 74 75 72 6e 73 20 |[] 2 "\.|Returns |
|00000330| 61 20 68 69 73 74 6f 72 | 79 20 65 6c 65 6d 65 6e |a histor|y elemen|
|00000340| 74 20 66 6f 72 20 63 75 | 72 72 65 6e 74 20 70 6f |t for cu|rrent po|
|00000350| 69 6e 74 20 6c 6f 63 61 | 74 69 6f 6e 2e 22 5d 29 |int loca|tion."])|
|00000360| 0a 28 66 73 65 74 20 27 | 68 68 69 73 74 3a 72 65 |.(fset '|hhist:re|
|00000370| 6d 6f 76 65 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |move #[(|&optiona|
|00000380| 6c 20 61 72 67 29 20 22 | 08 ae 81 c1 10 c2 1b 0c |l arg) "|........|
|00000390| ac 8e 08 c5 56 ad a6 c6 | c7 21 ad a1 c8 20 aa 9d |....V...|.!... ..|
|000003a0| 08 c5 56 ab 8f 0c ab 8c | 0c 40 13 0c 41 14 08 53 |..V.....|.@..A..S|
|000003b0| 89 10 aa 6d c9 0b 40 21 | 88 0b 41 40 62 29 87 22 |...m..@!|..A@b)."|
|000003c0| 20 5b 61 72 67 20 31 20 | 6e 69 6c 20 70 72 65 76 | [arg 1 |nil prev|
|000003d0| 2d 62 75 66 2d 6c 69 6e | 65 20 2a 68 68 69 73 74 |-buf-lin|e *hhist|
|000003e0| 2a 20 30 20 6d 65 73 73 | 61 67 65 20 22 28 68 68 |* 0 mess|age "(hh|
|000003f0| 69 73 74 3a 72 65 6d 6f | 76 65 29 3a 20 4e 6f 20 |ist:remo|ve): No |
|00000400| 70 72 65 76 69 6f 75 73 | 20 73 6f 75 72 63 65 20 |previous| source |
|00000410| 74 6f 20 77 68 69 63 68 | 20 74 6f 20 72 65 74 75 |to which| to retu|
|00000420| 72 6e 2e 22 20 62 65 65 | 70 20 73 77 69 74 63 68 |rn." bee|p switch|
|00000430| 2d 74 6f 2d 62 75 66 66 | 65 72 5d 20 33 20 22 5c |-to-buff|er] 3 "\|
|00000440| 0a 52 65 6d 6f 76 65 73 | 20 6f 70 74 69 6f 6e 61 |.Removes| optiona|
|00000450| 6c 20 70 72 65 66 69 78 | 20 41 52 47 20 65 6e 74 |l prefix| ARG ent|
|00000460| 72 69 65 73 20 66 72 6f | 6d 20 68 69 73 74 6f 72 |ries fro|m histor|
|00000470| 79 2c 20 72 65 74 75 72 | 6e 73 20 74 6f 20 41 52 |y, retur|ns to AR|
|00000480| 47 74 68 20 6c 6f 63 61 | 74 69 6f 6e 2e 0a 54 68 |Gth loca|tion..Th|
|00000490| 65 20 63 6f 6d 6d 61 6e | 64 20 69 73 20 69 67 6e |e comman|d is ign|
|000004a0| 6f 72 65 64 20 77 69 74 | 68 20 41 52 47 20 3c 20 |ored wit|h ARG < |
|000004b0| 31 2e 22 20 22 70 22 5d | 29 0a 28 66 73 65 74 20 |1." "p"]|).(fset |
|000004c0| 27 68 68 69 73 74 3a 69 | 6e 69 74 20 23 5b 6e 69 |'hhist:i|nit #[ni|
|000004d0| 6c 20 22 c0 89 11 87 22 | 20 5b 6e 69 6c 20 2a 68 |l "...."| [nil *h|
|000004e0| 68 69 73 74 2a 5d 20 32 | 20 22 5c 0a 52 65 73 65 |hist*] 2| "\.Rese|
|000004f0| 74 73 20 68 69 73 74 6f | 72 79 20 6c 69 73 74 2e |ts histo|ry list.|
|00000500| 22 20 6e 69 6c 5d 29 0a | 28 66 73 65 74 20 27 68 |" nil]).|(fset 'h|
|00000510| 68 69 73 74 3a 77 69 6e | 64 2d 6c 69 6e 65 20 23 |hist:win|d-line #|
|00000520| 5b 6e 69 6c 20 22 c0 c1 | c2 60 54 5c 22 c1 c2 c3 |[nil "..|.`T\"...|
|00000530| 20 5c 22 5a 53 5d 87 22 | 20 5b 30 20 63 6f 75 6e | \"ZS]."| [0 coun|
|00000540| 74 2d 6c 69 6e 65 73 20 | 31 20 77 69 6e 64 6f 77 |t-lines |1 window|
|00000550| 2d 73 74 61 72 74 5d 20 | 35 20 22 5c 0a 52 65 74 |-start] |5 "\.Ret|
|00000560| 75 72 6e 73 20 77 69 6e | 64 6f 77 20 72 65 6c 61 |urns win|dow rela|
|00000570| 74 69 76 65 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 |tive lin|e number|
|00000580| 20 74 68 61 74 20 70 6f | 69 6e 74 20 69 73 20 6f | that po|int is o|
|00000590| 6e 2e 22 5d 29 0a 28 64 | 65 66 63 6f 6e 73 74 20 |n."]).(d|efconst |
|000005a0| 2a 68 68 69 73 74 2a 20 | 6e 69 6c 20 22 5c 0a 4c |*hhist* |nil "\.L|
|000005b0| 69 73 74 20 6f 66 20 70 | 72 65 76 69 6f 75 73 6c |ist of p|reviousl|
|000005c0| 79 20 76 69 73 69 74 65 | 64 20 48 79 70 65 72 62 |y visite|d Hyperb|
|000005d0| 6f 6c 65 20 62 75 74 74 | 6f 6e 20 73 6f 75 72 63 |ole butt|on sourc|
|000005e0| 65 20 6c 6f 63 61 74 69 | 6f 6e 73 2e 0a 43 61 72 |e locati|ons..Car|
|000005f0| 20 6f 66 20 6c 69 73 74 | 20 69 73 20 6d 6f 73 74 | of list| is most|
|00000600| 20 72 65 63 65 6e 74 2e | 22 29 0a 28 70 72 6f 76 | recent.|").(prov|
|00000610| 69 64 65 20 27 68 68 69 | 73 74 29 0a |ide 'hhi|st). |
+--------+-------------------------+-------------------------+--------+--------+