home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / packages / underline.elc < prev    next >
Emacs Compiled Lisp  |  1993-04-01  |  1.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 31 38 3a 30 39 20 |Feb 1 1|9:18:09 |
|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 70 61 63 | 6b 61 67 65 73 2f 75 6e |lisp/pac|kages/un|
|00000080| 64 65 72 6c 69 6e 65 2e | 65 6c 0a 3b 3b 3b 20 65 |derline.|el.;;; e|
|00000090| 6d 61 63 73 20 76 65 72 | 73 69 6f 6e 20 31 39 2e |macs ver|sion 19.|
|000000a0| 34 2e 31 33 20 4c 75 63 | 69 64 2e 0a 3b 3b 3b 20 |4.13 Luc|id..;;; |
|000000b0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000c0| 20 32 2e 31 30 3b 20 20 | 31 2d 66 65 62 2d 39 33 | 2.10; |1-feb-93|
|000000d0| 2e 0a 3b 3b 3b 20 6f 70 | 74 69 6d 69 7a 61 74 69 |..;;; op|timizati|
|000000e0| 6f 6e 20 69 73 20 6f 6e | 2e 0a 3b 3b 3b 20 74 68 |on is on|..;;; th|
|000000f0| 69 73 20 66 69 6c 65 20 | 75 73 65 73 20 6f 70 63 |is file |uses opc|
|00000100| 6f 64 65 73 20 77 68 69 | 63 68 20 64 6f 20 6e 6f |odes whi|ch do no|
|00000110| 74 20 65 78 69 73 74 20 | 69 6e 20 45 6d 61 63 73 |t exist |in Emacs|
|00000120| 31 38 2e 0a 0a 28 69 66 | 20 28 61 6e 64 20 28 62 |18...(if| (and (b|
|00000130| 6f 75 6e 64 70 20 27 65 | 6d 61 63 73 2d 76 65 72 |oundp 'e|macs-ver|
|00000140| 73 69 6f 6e 29 0a 09 20 | 28 6f 72 20 28 61 6e 64 |sion).. |(or (and|
|00000150| 20 28 62 6f 75 6e 64 70 | 20 27 65 70 6f 63 68 3a | (boundp| 'epoch:|
|00000160| 3a 76 65 72 73 69 6f 6e | 29 20 65 70 6f 63 68 3a |:version|) epoch:|
|00000170| 3a 76 65 72 73 69 6f 6e | 29 0a 09 20 20 20 20 20 |:version|).. |
|00000180| 28 73 74 72 69 6e 67 2d | 6c 65 73 73 70 20 65 6d |(string-|lessp em|
|00000190| 61 63 73 2d 76 65 72 73 | 69 6f 6e 20 22 31 39 22 |acs-vers|ion "19"|
|000001a0| 29 29 29 0a 20 20 20 20 | 28 65 72 72 6f 72 20 22 |))). |(error "|
|000001b0| 54 68 69 73 20 66 69 6c | 65 20 77 61 73 20 63 6f |This fil|e was co|
|000001c0| 6d 70 69 6c 65 64 20 66 | 6f 72 20 45 6d 61 63 73 |mpiled f|or Emacs|
|000001d0| 31 39 2e 22 29 29 0a 0a | 28 66 73 65 74 20 27 75 |19."))..|(fset 'u|
|000001e0| 6e 64 65 72 6c 69 6e 65 | 2d 72 65 67 69 6f 6e 20 |nderline|-region |
|000001f0| 23 5b 28 73 74 61 72 74 | 20 65 6e 64 29 20 22 8a |#[(start| end) ".|
|00000200| c0 20 89 19 5c 6e 0b 5d | c4 93 88 5c 6e 0b 5e 62 |. ..\n.]|...\n.^b|
|00000210| 88 60 09 57 ad 8d c5 c6 | 21 ac 83 c7 63 88 c8 75 |.`.W....|!...c..u|
|00000220| 88 aa 6e 2a 87 22 20 5b | 6d 61 6b 65 2d 6d 61 72 |..n*." [|make-mar|
|00000230| 6b 65 72 20 65 6e 64 31 | 20 73 74 61 72 74 20 65 |ker end1| start e|
|00000240| 6e 64 20 6e 69 6c 20 6c | 6f 6f 6b 69 6e 67 2d 61 |nd nil l|ooking-a|
|00000250| 74 20 22 5b 5f 00 2d 20 | 5d 22 20 22 5f 08 22 20 |t "[_.- |]" "_." |
|00000260| 31 5d 20 34 20 22 5c 0a | 55 6e 64 65 72 6c 69 6e |1] 4 "\.|Underlin|
|00000270| 65 20 61 6c 6c 20 6e 6f | 6e 62 6c 61 6e 6b 20 63 |e all no|nblank c|
|00000280| 68 61 72 61 63 74 65 72 | 73 20 69 6e 20 74 68 65 |haracter|s in the|
|00000290| 20 72 65 67 69 6f 6e 2e | 0a 57 6f 72 6b 73 20 62 | region.|.Works b|
|000002a0| 79 20 6f 76 65 72 73 74 | 72 69 6b 69 6e 67 20 75 |y overst|riking u|
|000002b0| 6e 64 65 72 73 63 6f 72 | 65 73 2e 0a 43 61 6c 6c |nderscor|es..Call|
|000002c0| 65 64 20 66 72 6f 6d 20 | 70 72 6f 67 72 61 6d 2c |ed from |program,|
|000002d0| 20 74 61 6b 65 73 20 74 | 77 6f 20 61 72 67 75 6d | takes t|wo argum|
|000002e0| 65 6e 74 73 20 53 54 41 | 52 54 20 61 6e 64 20 45 |ents STA|RT and E|
|000002f0| 4e 44 0a 77 68 69 63 68 | 20 73 70 65 63 69 66 79 |ND.which| specify|
|00000300| 20 74 68 65 20 72 61 6e | 67 65 20 74 6f 20 6f 70 | the ran|ge to op|
|00000310| 65 72 61 74 65 20 6f 6e | 2e 22 20 22 72 22 5d 29 |erate on|." "r"])|
|00000320| 0a 28 66 73 65 74 20 27 | 75 6e 75 6e 64 65 72 6c |.(fset '|ununderl|
|00000330| 69 6e 65 2d 72 65 67 69 | 6f 6e 20 23 5b 28 73 74 |ine-regi|on #[(st|
|00000340| 61 72 74 20 65 6e 64 29 | 20 22 8a c0 20 89 19 5c |art end)| ".. ..\|
|00000350| 6e 0b 5d c4 93 88 5c 6e | 0b 5e 62 88 c5 c6 09 c7 |n.]...\n|.^b.....|
|00000360| 23 ad 86 c8 c9 21 88 aa | 73 2a 87 22 20 5b 6d 61 |#....!..|s*." [ma|
|00000370| 6b 65 2d 6d 61 72 6b 65 | 72 20 65 6e 64 31 20 73 |ke-marke|r end1 s|
|00000380| 74 61 72 74 20 65 6e 64 | 20 6e 69 6c 20 72 65 2d |tart end| nil re-|
|00000390| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "|
|000003a0| 5f 08 5c 5c 7c 08 5f 22 | 20 74 20 64 65 6c 65 74 |_.\\|._"| t delet|
|000003b0| 65 2d 63 68 61 72 20 2d | 32 5d 20 35 20 22 5c 0a |e-char -|2] 5 "\.|
|000003c0| 52 65 6d 6f 76 65 20 61 | 6c 6c 20 75 6e 64 65 72 |Remove a|ll under|
|000003d0| 6c 69 6e 69 6e 67 20 28 | 6f 76 65 72 73 74 72 75 |lining (|overstru|
|000003e0| 63 6b 20 75 6e 64 65 72 | 73 63 6f 72 65 73 29 20 |ck under|scores) |
|000003f0| 69 6e 20 74 68 65 20 72 | 65 67 69 6f 6e 2e 0a 43 |in the r|egion..C|
|00000400| 61 6c 6c 65 64 20 66 72 | 6f 6d 20 70 72 6f 67 72 |alled fr|om progr|
|00000410| 61 6d 2c 20 74 61 6b 65 | 73 20 74 77 6f 20 61 72 |am, take|s two ar|
|00000420| 67 75 6d 65 6e 74 73 20 | 53 54 41 52 54 20 61 6e |guments |START an|
|00000430| 64 20 45 4e 44 0a 77 68 | 69 63 68 20 73 70 65 63 |d END.wh|ich spec|
|00000440| 69 66 79 20 74 68 65 20 | 72 61 6e 67 65 20 74 6f |ify the |range to|
|00000450| 20 6f 70 65 72 61 74 65 | 20 6f 6e 2e 22 20 22 72 | operate| on." "r|
|00000460| 22 5d 29 0a | |"]). | |
+--------+-------------------------+-------------------------+--------+--------+