home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / lemacs-19.6 / lisp / prim / tabify.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 32 37 3a 32 35 20 |Feb 1 1|9:27:25 |
|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 72 69 | 6d 2f 74 61 62 69 66 79 |lisp/pri|m/tabify|
|00000080| 2e 65 6c 0a 3b 3b 3b 20 | 65 6d 61 63 73 20 76 65 |.el.;;; |emacs ve|
|00000090| 72 73 69 6f 6e 20 31 39 | 2e 34 2e 31 33 20 4c 75 |rsion 19|.4.13 Lu|
|000000a0| 63 69 64 2e 0a 3b 3b 3b | 20 62 79 74 65 63 6f 6d |cid..;;;| bytecom|
|000000b0| 70 20 76 65 72 73 69 6f | 6e 20 32 2e 31 30 3b 20 |p versio|n 2.10; |
|000000c0| 20 31 2d 66 65 62 2d 39 | 33 2e 0a 3b 3b 3b 20 6f | 1-feb-9|3..;;; o|
|000000d0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000e0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000f0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|00000100| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000110| 20 69 6e 20 45 6d 61 63 | 73 31 38 2e 0a 0a 28 69 | in Emac|s18...(i|
|00000120| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000130| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000140| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000150| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|00000160| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|00000170| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|00000180| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|00000190| 73 69 6f 6e 20 22 31 39 | 22 29 29 29 0a 20 20 20 |sion "19|"))). |
|000001a0| 20 28 65 72 72 6f 72 20 | 22 54 68 69 73 20 66 69 | (error |"This fi|
|000001b0| 6c 65 20 77 61 73 20 63 | 6f 6d 70 69 6c 65 64 20 |le was c|ompiled |
|000001c0| 66 6f 72 20 45 6d 61 63 | 73 31 39 2e 22 29 29 0a |for Emac|s19.")).|
|000001d0| 0a 28 66 73 65 74 20 27 | 75 6e 74 61 62 69 66 79 |.(fset '|untabify|
|000001e0| 20 23 5b 28 73 74 61 72 | 74 20 65 6e 64 29 20 22 | #[(star|t end) "|
|000001f0| 8a 8c 08 09 7d 88 08 62 | 88 c2 c3 c4 c5 23 ad 97 |....}..b|.....#..|
|00000200| 60 69 c4 1e 06 1e 07 18 | c3 c4 78 88 08 60 7c 88 |`i......|..x..`|.|
|00000210| 0e 07 6a 88 2b aa 62 2a | 87 22 20 5b 73 74 61 72 |..j.+.b*|." [star|
|00000220| 74 20 65 6e 64 20 73 65 | 61 72 63 68 2d 66 6f 72 |t end se|arch-for|
|00000230| 77 61 72 64 20 22 09 22 | 20 6e 69 6c 20 74 20 69 |ward "."| nil t i|
|00000240| 6e 64 65 6e 74 2d 74 61 | 62 73 2d 6d 6f 64 65 20 |ndent-ta|bs-mode |
|00000250| 63 6f 6c 75 6d 6e 5d 20 | 34 20 22 5c 0a 43 6f 6e |column] |4 "\.Con|
|00000260| 76 65 72 74 20 61 6c 6c | 20 74 61 62 73 20 69 6e |vert all| tabs in|
|00000270| 20 72 65 67 69 6f 6e 20 | 74 6f 20 6d 75 6c 74 69 | region |to multi|
|00000280| 70 6c 65 20 73 70 61 63 | 65 73 2c 20 70 72 65 73 |ple spac|es, pres|
|00000290| 65 72 76 69 6e 67 20 63 | 6f 6c 75 6d 6e 73 2e 0a |erving c|olumns..|
|000002a0| 54 68 65 20 76 61 72 69 | 61 62 6c 65 20 74 61 62 |The vari|able tab|
|000002b0| 2d 77 69 64 74 68 20 63 | 6f 6e 74 72 6f 6c 73 20 |-width c|ontrols |
|000002c0| 74 68 65 20 61 63 74 69 | 6f 6e 2e 22 20 22 72 22 |the acti|on." "r"|
|000002d0| 5d 29 0a 28 66 73 65 74 | 20 27 74 61 62 69 66 79 |]).(fset| 'tabify|
|000002e0| 20 23 5b 28 73 74 61 72 | 74 20 65 6e 64 29 20 22 | #[(star|t end) "|
|000002f0| 8a 8c 08 09 7d 88 08 62 | 88 c2 c3 c4 c5 23 ad 92 |....}..b|.....#..|
|00000300| 69 c5 1e 06 1e 07 c8 94 | 60 7c 88 0e 07 6a 88 2a |i.......|`|...j.*|
|00000310| aa 67 2a 87 22 20 5b 73 | 74 61 72 74 20 65 6e 64 |.g*." [s|tart end|
|00000320| 20 72 65 2d 73 65 61 72 | 63 68 2d 66 6f 72 77 61 | re-sear|ch-forwa|
|00000330| 72 64 20 22 5b 20 09 5d | 5b 20 09 5d 5b 20 09 5d |rd "[ .]|[ .][ .]|
|00000340| 2a 22 20 6e 69 6c 20 74 | 20 69 6e 64 65 6e 74 2d |*" nil t| indent-|
|00000350| 74 61 62 73 2d 6d 6f 64 | 65 20 63 6f 6c 75 6d 6e |tabs-mod|e column|
|00000360| 20 30 5d 20 34 20 22 5c | 0a 43 6f 6e 76 65 72 74 | 0] 4 "\|.Convert|
|00000370| 20 6d 75 6c 74 69 70 6c | 65 20 73 70 61 63 65 73 | multipl|e spaces|
|00000380| 20 69 6e 20 72 65 67 69 | 6f 6e 20 74 6f 20 74 61 | in regi|on to ta|
|00000390| 62 73 20 77 68 65 6e 20 | 70 6f 73 73 69 62 6c 65 |bs when |possible|
|000003a0| 2e 0a 41 20 67 72 6f 75 | 70 20 6f 66 20 73 70 61 |..A grou|p of spa|
|000003b0| 63 65 73 20 69 73 20 70 | 61 72 74 69 61 6c 6c 79 |ces is p|artially|
|000003c0| 20 72 65 70 6c 61 63 65 | 64 20 62 79 20 74 61 62 | replace|d by tab|
|000003d0| 73 0a 77 68 65 6e 20 74 | 68 69 73 20 63 61 6e 20 |s.when t|his can |
|000003e0| 62 65 20 64 6f 6e 65 20 | 77 69 74 68 6f 75 74 20 |be done |without |
|000003f0| 63 68 61 6e 67 69 6e 67 | 20 74 68 65 20 63 6f 6c |changing| the col|
|00000400| 75 6d 6e 20 74 68 65 79 | 20 65 6e 64 20 61 74 2e |umn they| end at.|
|00000410| 0a 54 68 65 20 76 61 72 | 69 61 62 6c 65 20 74 61 |.The var|iable ta|
|00000420| 62 2d 77 69 64 74 68 20 | 63 6f 6e 74 72 6f 6c 73 |b-width |controls|
|00000430| 20 74 68 65 20 61 63 74 | 69 6f 6e 2e 22 20 22 72 | the act|ion." "r|
|00000440| 22 5d 29 0a | |"]). | |
+--------+-------------------------+-------------------------+--------+--------+