home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / emacs-19.16 / lisp / case-table.elc < prev    next >
Emacs Compiled Lisp  |  1993-07-05  |  2.3 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 69 6d 62 40 67 65 |piled by| jimb@ge|
|00000020| 65 63 68 2e 67 6e 75 2e | 61 69 2e 6d 69 74 2e 65 |ech.gnu.|ai.mit.e|
|00000030| 64 75 20 6f 6e 20 4d 6f | 6e 20 4a 75 6c 20 20 35 |du on Mo|n Jul 5|
|00000040| 20 32 32 3a 33 31 3a 30 | 38 20 31 39 39 33 0a 3b | 22:31:0|8 1993.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 67 64 |;; from |file /gd|
|00000060| 2f 67 6e 75 2f 65 6d 61 | 63 73 2f 31 39 2e 30 2f |/gnu/ema|cs/19.0/|
|00000070| 6c 69 73 70 2f 63 61 73 | 65 2d 74 61 62 6c 65 2e |lisp/cas|e-table.|
|00000080| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|00000090| 73 69 6f 6e 20 31 39 2e | 31 35 2e 31 36 2e 0a 3b |sion 19.|15.16..;|
|000000a0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000b0| 69 6f 6e 20 46 53 46 20 | 32 2e 31 30 0a 3b 3b 3b |ion FSF |2.10.;;;|
|000000c0| 20 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 20 69 73 | optimiz|ation is|
|000000d0| 20 6f 6e 2e 0a 3b 3b 3b | 20 74 68 69 73 20 66 69 | on..;;;| this fi|
|000000e0| 6c 65 20 75 73 65 73 20 | 6f 70 63 6f 64 65 73 20 |le uses |opcodes |
|000000f0| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 65 78 69 |which do| not exi|
|00000100| 73 74 20 69 6e 20 45 6d | 61 63 73 20 31 38 2e 0a |st in Em|acs 18..|
|00000110| 0a 28 69 66 20 28 61 6e | 64 20 28 62 6f 75 6e 64 |.(if (an|d (bound|
|00000120| 70 20 27 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |p 'emacs|-version|
|00000130| 29 0a 09 20 28 6f 72 20 | 28 61 6e 64 20 28 62 6f |).. (or |(and (bo|
|00000140| 75 6e 64 70 20 27 65 70 | 6f 63 68 3a 3a 76 65 72 |undp 'ep|och::ver|
|00000150| 73 69 6f 6e 29 20 65 70 | 6f 63 68 3a 3a 76 65 72 |sion) ep|och::ver|
|00000160| 73 69 6f 6e 29 0a 09 20 | 20 20 20 20 28 73 74 72 |sion).. | (str|
|00000170| 69 6e 67 2d 6c 65 73 73 | 70 20 65 6d 61 63 73 2d |ing-less|p emacs-|
|00000180| 76 65 72 73 69 6f 6e 20 | 22 31 39 22 29 29 29 0a |version |"19"))).|
|00000190| 20 20 20 20 28 65 72 72 | 6f 72 20 22 54 68 69 73 | (err|or "This|
|000001a0| 20 66 69 6c 65 20 77 61 | 73 20 63 6f 6d 70 69 6c | file wa|s compil|
|000001b0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 31 39 22 |ed for E|macs 19"|
|000001c0| 29 29 0a 0a 28 64 65 66 | 61 6c 69 61 73 20 27 64 |))..(def|alias 'd|
|000001d0| 65 73 63 72 69 62 65 2d | 62 75 66 66 65 72 2d 63 |escribe-|buffer-c|
|000001e0| 61 73 65 2d 74 61 62 6c | 65 20 23 5b 6e 69 6c 20 |ase-tabl|e #[nil |
|000001f0| 22 c0 c1 c2 5c 22 c3 20 | c4 1d 1e 06 1e 07 0d c1 |"...\". |........|
|00000200| 57 83 3f 00 0e 07 0d 89 | 89 97 55 84 25 00 c8 c9 |W.?.....|..U.%...|
|00000210| 0d 97 21 50 82 36 00 0d | 89 96 55 84 35 00 ca c9 |..!P.6..|..U.5...|
|00000220| 0d 96 21 50 82 36 00 cb | 49 88 0d 54 89 15 82 0d |..!P.6..|I..T....|
|00000230| 00 8a cc 90 0e 0d 71 88 | ce 0e 07 21 91 2c 87 22 |......q.|...!.,."|
|00000240| 20 5b 6d 61 6b 65 2d 76 | 65 63 74 6f 72 20 32 35 | [make-v|ector 25|
|00000250| 36 20 6e 69 6c 20 63 75 | 72 72 65 6e 74 2d 63 61 |6 nil cu|rrent-ca|
|00000260| 73 65 2d 74 61 62 6c 65 | 20 30 20 63 68 20 63 61 |se-table| 0 ch ca|
|00000270| 73 65 2d 74 61 62 6c 65 | 20 76 65 63 74 6f 72 20 |se-table| vector |
|00000280| 22 75 70 70 65 72 63 61 | 73 65 2c 20 6d 61 74 63 |"upperca|se, matc|
|00000290| 68 65 73 20 22 20 74 65 | 78 74 2d 63 68 61 72 2d |hes " te|xt-char-|
|000002a0| 64 65 73 63 72 69 70 74 | 69 6f 6e 20 22 6c 6f 77 |descript|ion "low|
|000002b0| 65 72 63 61 73 65 2c 20 | 6d 61 74 63 68 65 73 20 |ercase, |matches |
|000002c0| 22 20 22 63 61 73 65 2d | 69 6e 76 61 72 69 61 6e |" "case-|invarian|
|000002d0| 74 22 20 22 2a 48 65 6c | 70 2a 22 20 73 74 61 6e |t" "*Hel|p*" stan|
|000002e0| 64 61 72 64 2d 6f 75 74 | 70 75 74 20 64 65 73 63 |dard-out|put desc|
|000002f0| 72 69 62 65 2d 76 65 63 | 74 6f 72 5d 20 36 20 22 |ribe-vec|tor] 6 "|
|00000300| 5c 0a 44 65 73 63 72 69 | 62 65 20 74 68 65 20 63 |\.Descri|be the c|
|00000310| 61 73 65 20 74 61 62 6c | 65 20 6f 66 20 74 68 65 |ase tabl|e of the|
|00000320| 20 63 75 72 72 65 6e 74 | 20 62 75 66 66 65 72 2e | current| buffer.|
|00000330| 22 20 6e 69 6c 5d 29 0a | 28 64 65 66 61 6c 69 61 |" nil]).|(defalia|
|00000340| 73 20 27 73 65 74 2d 63 | 61 73 65 2d 73 79 6e 74 |s 'set-c|ase-synt|
|00000350| 61 78 2d 64 65 6c 69 6d | 73 20 23 5b 28 6c 20 72 |ax-delim|s #[(l r|
|00000360| 20 74 61 62 6c 65 29 20 | 22 08 09 89 49 88 08 5c | table) |"...I..\|
|00000370| 6e 89 49 88 c3 09 c4 c5 | 5c 6e 21 c6 51 c7 20 23 |n.I.....|\n!.Q. #|
|00000380| 88 c3 09 c4 c5 5c 6e 21 | c6 51 0e 08 23 88 c3 5c |.....\n!|.Q..#..\|
|00000390| 6e c9 c5 09 21 c6 51 c7 | 20 23 88 c3 5c 6e c9 c5 |n...!.Q.| #..\n..|
|000003a0| 09 21 c6 51 0e 08 23 87 | 22 20 5b 74 61 62 6c 65 |.!.Q..#.|" [table|
|000003b0| 20 6c 20 72 20 6d 6f 64 | 69 66 79 2d 73 79 6e 74 | l r mod|ify-synt|
|000003c0| 61 78 2d 65 6e 74 72 79 | 20 22 28 22 20 63 68 61 |ax-entry| "(" cha|
|000003d0| 72 2d 74 6f 2d 73 74 72 | 69 6e 67 20 22 20 20 22 |r-to-str|ing " "|
|000003e0| 20 73 74 61 6e 64 61 72 | 64 2d 73 79 6e 74 61 78 | standar|d-syntax|
|000003f0| 2d 74 61 62 6c 65 20 74 | 65 78 74 2d 6d 6f 64 65 |-table t|ext-mode|
|00000400| 2d 73 79 6e 74 61 78 2d | 74 61 62 6c 65 20 22 29 |-syntax-|table ")|
|00000410| 22 5d 20 35 20 22 5c 0a | 4d 61 6b 65 20 63 68 61 |"] 5 "\.|Make cha|
|00000420| 72 61 63 74 65 72 73 20 | 4c 20 61 6e 64 20 52 20 |racters |L and R |
|00000430| 61 20 6d 61 74 63 68 69 | 6e 67 20 70 61 69 72 20 |a matchi|ng pair |
|00000440| 6f 66 20 6e 6f 6e 2d 63 | 61 73 65 2d 63 6f 6e 76 |of non-c|ase-conv|
|00000450| 65 72 74 69 6e 67 20 64 | 65 6c 69 6d 69 74 65 72 |erting d|elimiter|
|00000460| 73 2e 0a 54 68 69 73 20 | 73 65 74 73 20 74 68 65 |s..This |sets the|
|00000470| 20 65 6e 74 72 69 65 73 | 20 66 6f 72 20 4c 20 61 | entries| for L a|
|00000480| 6e 64 20 52 20 69 6e 20 | 54 41 42 4c 45 2c 20 77 |nd R in |TABLE, w|
|00000490| 68 69 63 68 20 69 73 20 | 61 20 73 74 72 69 6e 67 |hich is |a string|
|000004a0| 0a 74 68 61 74 20 77 69 | 6c 6c 20 62 65 20 75 73 |.that wi|ll be us|
|000004b0| 65 64 20 61 73 20 74 68 | 65 20 64 6f 77 6e 63 61 |ed as th|e downca|
|000004c0| 73 65 20 70 61 72 74 20 | 6f 66 20 61 20 63 61 73 |se part |of a cas|
|000004d0| 65 20 74 61 62 6c 65 2e | 0a 49 74 20 61 6c 73 6f |e table.|.It also|
|000004e0| 20 6d 6f 64 69 66 69 65 | 73 20 60 73 74 61 6e 64 | modifie|s `stand|
|000004f0| 61 72 64 2d 73 79 6e 74 | 61 78 2d 74 61 62 6c 65 |ard-synt|ax-table|
|00000500| 27 2c 20 61 6e 64 20 60 | 74 65 78 74 2d 6d 6f 64 |', and `|text-mod|
|00000510| 65 2d 73 79 6e 74 61 78 | 2d 74 61 62 6c 65 27 20 |e-syntax|-table' |
|00000520| 74 6f 0a 69 6e 64 69 63 | 61 74 65 20 6c 65 66 74 |to.indic|ate left|
|00000530| 20 61 6e 64 20 72 69 67 | 68 74 20 64 65 6c 69 6d | and rig|ht delim|
|00000540| 69 74 65 72 73 2e 22 5d | 29 0a 28 64 65 66 61 6c |iters."]|).(defal|
|00000550| 69 61 73 20 27 73 65 74 | 2d 63 61 73 65 2d 73 79 |ias 'set|-case-sy|
|00000560| 6e 74 61 78 2d 70 61 69 | 72 20 23 5b 28 75 63 20 |ntax-pai|r #[(uc |
|00000570| 6c 63 20 74 61 62 6c 65 | 29 20 22 08 09 5c 6e 49 |lc table|) "..\nI|
|00000580| 88 08 5c 6e 89 49 88 c3 | 5c 6e c4 c5 20 23 88 c3 |..\n.I..|\n.. #..|
|00000590| 5c 6e c4 0e 06 23 88 c3 | 09 c4 c5 20 23 88 c3 09 |\n...#..|... #...|
|000005a0| c4 0e 06 23 87 22 20 5b | 74 61 62 6c 65 20 75 63 |...#." [|table uc|
|000005b0| 20 6c 63 20 6d 6f 64 69 | 66 79 2d 73 79 6e 74 61 | lc modi|fy-synta|
|000005c0| 78 2d 65 6e 74 72 79 20 | 22 77 20 20 20 22 20 73 |x-entry |"w " s|
|000005d0| 74 61 6e 64 61 72 64 2d | 73 79 6e 74 61 78 2d 74 |tandard-|syntax-t|
|000005e0| 61 62 6c 65 20 74 65 78 | 74 2d 6d 6f 64 65 2d 73 |able tex|t-mode-s|
|000005f0| 79 6e 74 61 78 2d 74 61 | 62 6c 65 5d 20 34 20 22 |yntax-ta|ble] 4 "|
|00000600| 5c 0a 4d 61 6b 65 20 63 | 68 61 72 61 63 74 65 72 |\.Make c|haracter|
|00000610| 73 20 55 43 20 61 6e 64 | 20 4c 43 20 61 20 70 61 |s UC and| LC a pa|
|00000620| 69 72 20 6f 66 20 69 6e | 74 65 72 2d 63 61 73 65 |ir of in|ter-case|
|00000630| 2d 63 6f 6e 76 65 72 74 | 69 6e 67 20 6c 65 74 74 |-convert|ing lett|
|00000640| 65 72 73 2e 0a 54 68 69 | 73 20 73 65 74 73 20 74 |ers..Thi|s sets t|
|00000650| 68 65 20 65 6e 74 72 69 | 65 73 20 66 6f 72 20 63 |he entri|es for c|
|00000660| 68 61 72 61 63 74 65 72 | 73 20 55 43 20 61 6e 64 |haracter|s UC and|
|00000670| 20 4c 43 20 69 6e 20 54 | 41 42 4c 45 2c 20 77 68 | LC in T|ABLE, wh|
|00000680| 69 63 68 20 69 73 20 61 | 20 73 74 72 69 6e 67 0a |ich is a| string.|
|00000690| 74 68 61 74 20 77 69 6c | 6c 20 62 65 20 75 73 65 |that wil|l be use|
|000006a0| 64 20 61 73 20 74 68 65 | 20 64 6f 77 6e 63 61 73 |d as the| downcas|
|000006b0| 65 20 70 61 72 74 20 6f | 66 20 61 20 63 61 73 65 |e part o|f a case|
|000006c0| 20 74 61 62 6c 65 2e 0a | 49 74 20 61 6c 73 6f 20 | table..|It also |
|000006d0| 6d 6f 64 69 66 69 65 73 | 20 60 73 74 61 6e 64 61 |modifies| `standa|
|000006e0| 72 64 2d 73 79 6e 74 61 | 78 2d 74 61 62 6c 65 27 |rd-synta|x-table'|
|000006f0| 20 61 6e 64 20 60 74 65 | 78 74 2d 6d 6f 64 65 2d | and `te|xt-mode-|
|00000700| 73 79 6e 74 61 78 2d 74 | 61 62 6c 65 27 0a 74 6f |syntax-t|able'.to|
|00000710| 20 69 6e 64 69 63 61 74 | 65 20 61 6e 20 28 75 70 | indicat|e an (up|
|00000720| 70 65 72 63 61 73 65 2c | 20 6c 6f 77 65 72 63 61 |percase,| lowerca|
|00000730| 73 65 29 20 70 61 69 72 | 20 6f 66 20 6c 65 74 74 |se) pair| of lett|
|00000740| 65 72 73 2e 22 5d 29 0a | 28 64 65 66 61 6c 69 61 |ers."]).|(defalia|
|00000750| 73 20 27 73 65 74 2d 63 | 61 73 65 2d 73 79 6e 74 |s 'set-c|ase-synt|
|00000760| 61 78 20 23 5b 28 63 20 | 73 79 6e 74 61 78 20 74 |ax #[(c |syntax t|
|00000770| 61 62 6c 65 29 20 22 08 | 09 89 49 88 c2 09 0b c4 |able) ".|..I.....|
|00000780| 20 23 88 c2 09 0b 0d 23 | 87 22 20 5b 74 61 62 6c | #.....#|." [tabl|
|00000790| 65 20 63 20 6d 6f 64 69 | 66 79 2d 73 79 6e 74 61 |e c modi|fy-synta|
|000007a0| 78 2d 65 6e 74 72 79 20 | 73 79 6e 74 61 78 20 73 |x-entry |syntax s|
|000007b0| 74 61 6e 64 61 72 64 2d | 73 79 6e 74 61 78 2d 74 |tandard-|syntax-t|
|000007c0| 61 62 6c 65 20 74 65 78 | 74 2d 6d 6f 64 65 2d 73 |able tex|t-mode-s|
|000007d0| 79 6e 74 61 78 2d 74 61 | 62 6c 65 5d 20 34 20 22 |yntax-ta|ble] 4 "|
|000007e0| 5c 0a 4d 61 6b 65 20 63 | 68 61 72 61 63 74 65 72 |\.Make c|haracter|
|000007f0| 73 20 43 20 63 61 73 65 | 2d 69 6e 76 61 72 69 61 |s C case|-invaria|
|00000800| 6e 74 20 77 69 74 68 20 | 73 79 6e 74 61 78 20 53 |nt with |syntax S|
|00000810| 59 4e 54 41 58 2e 0a 54 | 68 69 73 20 73 65 74 73 |YNTAX..T|his sets|
|00000820| 20 74 68 65 20 65 6e 74 | 72 69 65 73 20 66 6f 72 | the ent|ries for|
|00000830| 20 63 68 61 72 61 63 74 | 65 72 20 43 20 69 6e 20 | charact|er C in |
|00000840| 54 41 42 4c 45 2c 20 77 | 68 69 63 68 20 69 73 20 |TABLE, w|hich is |
|00000850| 61 20 73 74 72 69 6e 67 | 0a 74 68 61 74 20 77 69 |a string|.that wi|
|00000860| 6c 6c 20 62 65 20 75 73 | 65 64 20 61 73 20 74 68 |ll be us|ed as th|
|00000870| 65 20 64 6f 77 6e 63 61 | 73 65 20 70 61 72 74 20 |e downca|se part |
|00000880| 6f 66 20 61 20 63 61 73 | 65 20 74 61 62 6c 65 2e |of a cas|e table.|
|00000890| 0a 49 74 20 61 6c 73 6f | 20 6d 6f 64 69 66 69 65 |.It also| modifie|
|000008a0| 73 20 60 73 74 61 6e 64 | 61 72 64 2d 73 79 6e 74 |s `stand|ard-synt|
|000008b0| 61 78 2d 74 61 62 6c 65 | 27 20 61 6e 64 20 60 74 |ax-table|' and `t|
|000008c0| 65 78 74 2d 6d 6f 64 65 | 2d 73 79 6e 74 61 78 2d |ext-mode|-syntax-|
|000008d0| 74 61 62 6c 65 27 2e 0a | 53 59 4e 54 41 58 20 73 |table'..|SYNTAX s|
|000008e0| 68 6f 75 6c 64 20 62 65 | 20 5c 22 20 5c 22 2c 20 |hould be| \" \", |
|000008f0| 5c 22 77 5c 22 2c 20 5c | 22 2e 5c 22 20 6f 72 20 |\"w\", \|".\" or |
|00000900| 5c 22 5f 5c 22 2e 22 5d | 29 0a 28 70 72 6f 76 69 |\"_\"."]|).(provi|
|00000910| 64 65 20 28 71 75 6f 74 | 65 20 63 61 73 65 2d 74 |de (quot|e case-t|
|00000920| 61 62 6c 65 29 29 0a | |able)). | |
+--------+-------------------------+-------------------------+--------+--------+