home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
1
/
1129
< prev
next >
Wrap
Internet Message Format
|
1990-12-28
|
46KB
From: howard@hasse.ericsson.se (Howard Gayle)
Newsgroups: alt.sources
Subject: GNU Emacs 8-bit mods part 02 of 12
Message-ID: <1990Apr5.133248.8636@ericsson.se>
Date: 5 Apr 90 13:32:48 GMT
#! /bin/sh
# This is a shell archive. Remove anything before this line, then feed it
# into a shell via "sh file" or similar. To overwrite existing files,
# type "sh file -c".
# The tool that generated this appeared in the comp.sources.unix newsgroup;
# send mail to comp-sources-unix@uunet.uu.net if you want that tool.
# If this archive is complete, you will see the following message at the end:
# "End of archive 2 (of 4)."
# Contents: lisp/el.abe lisp/iso8859-1-insert.el
# lisp/iso8859-1-swedish.el src/transtab.c
# Wrapped by howard@hasse on Thu Apr 5 15:28:03 1990
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'lisp/el.abe' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'lisp/el.abe'\"
else
echo shar: Extracting \"'lisp/el.abe'\" \(12955 characters\)
sed "s/^X//" >'lisp/el.abe' <<'END_OF_FILE'
X;ABE ASCII-Binary-Encoding (by Brad Templeton)
X;Use 'sort' and/or 'dabe' to decode
XT./.$$filecount=2
XT.0O##S1000,1000,1000,ABE2
XT.1N$$blocking=false
XT.2V$$uname=iso8859-1.el
XT.3f$$os=unix
XT.4G$$fname=iso8859-1.el
XT.5p$$owner=howard
XT.6v$$date=632217388
XT.7.$$perm=33188
XT.8E$$size=5560
XT.9l"".zDDEFDGHDIJDKzA/L1MNDOPDQYCRSDTUDVWDXYDZXCijDklD
XT.Aw""/.W0mnDpqDrjAMK.stDZJ.X//01.23.45.67.89.uVAvwDxQA
XT.B5""0UA6BC.DE.FG.HI.JK3LM/NO.PQ/RS.TU.VW2XY2Zg5edDcbD
XT.C9""1aaAbc.de.fg.hi.jk2lm.no.pq.rs.tu.vw.xy.zC5A9D87D
XT.DQ""2yZC65D43D21D0/D.9CAB8CD8EF8GH8IJ8KL8MN8OP8QR8ST8
XT.Ej""30V4ohDfBDab8cd8ef8gh8ij8kl8mn8op8qr8st8uv8wx8yz8
XT.Fw""48786584382180y7xw3vu3/t7sr3qp3on3ml3ki3hg3fd3cb3
XT.GB""5aY3WU3TS3RP3ON3LI3eG3HF3ED3BA39C3873653433213..4
XT.HuVV.Set.up.caseZ.sortZ.transZ.and.syntax.tables.for.ISO.8859+/1.ch
XT.Iiaracter.setX/VV.Copyright.MCK.1987.Free.Software.FoundationZ.IncX
XT.Jf//VV.This.file.is.part.of.GNU.EmacsX//VV.GNU.Emacs.is.distributed
XT.Kt.in.the.hope.that.it.will.be.usefulZ/VV.but.WITHOUT.ANY.WARRANTYX
XT.Ls..No.author.or.distributor/VV.accepts.responsibility.to.anyone.fo
XT.M5r.the.consequences.of.using.it/VV.or.for.whether.it.serves.any.pa
XT.Ngrticular.purpose.or.works.at.allZ/VV.unless.he.says.so.in.writing
XT.OyX..Refer.to.the.GNU.Emacs.General.Public/VV.License.for.full.deta
XT.PdilsX//VV.Everyone.is.granted.permission.to.copyZ.modify.and.redis
XT.Qptribute/VV.GNU.EmacsZ.but.only.under.the.conditions.described.in.
XT.Rvthe/VV.GNU.Emacs.General.Public.LicenseX...A.copy.of.this.license
XT.Sw.is/VV.supposed.to.have.been.given.to.you.along.with.GNU.Emacs.so
XT.TL.you/VV.can.know.your.rights.and.responsibilitiesX..It.should.be.
XT.UJin.a/VV.file.named.COPYINGX..Among.other.thingsZ.the.copyright.no
XT.Vptice/VV.and.this.notice.must.be.preserved.on.all.copiesX///VV.Wri
XT.Witten.by.Howard.GayleX..See.caseJtableXel.for.detailsX//Mrequire.j
XT.XucaseJtableK/Mrequire.jsortJtableK//MstandardJcaseJsyntaxJwhite..1
XT.YF60K.....V.NBSP.MnoJbreak.spaceK/MstandardJcaseJsyntaxJpunct..161K
XT.Zo.....V.inverted.exclamation.mark/MstandardJcaseJsyntaxJword...162
XT.a6K.....V.cent.sign/MstandardJcaseJsyntaxJword...163K.....V.pound.s
XT.bMign/MstandardJcaseJsyntaxJword...164K.....V.general.currency.sign
XT.ch/MstandardJcaseJsyntaxJword...165K.....V.yen.sign/MstandardJcaseJ
XT.dmsyntaxJsymb...166K.....V.broken.vertical.line/MstandardJcaseJsynt
XT.efaxJword...167K.....V.section.sign/MstandardJcaseJsyntaxJword...16
XT.f28K.....V.diaeresis/MstandardJcaseJsyntaxJsymb...169K.....V.copyri
XT.g3ght.sign/MstandardJcaseJsyntaxJword...170K.....V.ordinal.indicato
XT.hzrZ.feminine/MstandardJcaseJsyntaxJdelims.171.187K.V.angle.quotati
XT.iGon.marks/MstandardJcaseJsyntaxJsymb...172K.....V.not.sign/Mstanda
XT.jirdJcaseJsyntaxJsymb...173K.....V.soft.hyphen/MstandardJcaseJsynta
XT.kNxJsymb...174K.....V.registered.sign/MstandardJcaseJsyntaxJword...
XT.lm175K.....V.macron/MstandardJcaseJsyntaxJsymb...176K.....V.degree.
XT.m.sign/MstandardJcaseJsyntaxJsymb...177K.....V.plus.or.minus.sign/M
XT.nkstandardJcaseJsyntaxJword...178K.....V.superscript.two/MstandardJ
XT.oacaseJsyntaxJword...179K.....V.superscript.three/MstandardJcaseJsy
XT.puntaxJword...180K.....V.acute.accent/MstandardJcaseJsyntaxJsymb...
XT.qF181K.....V.micro.sign/MstandardJcaseJsyntaxJword...182K.....V.pil
XT.rkcrow/MstandardJcaseJsyntaxJsymb...183K.....V.middle.dot/Mstandard
XT.slJcaseJsyntaxJword...184K.....V.cedilla/MstandardJcaseJsyntaxJword
XT.t9...185K.....V.superscript.one/MstandardJcaseJsyntaxJword...186K..
XT.uq...V.ordinal.indicatorZ.masculine/VV....z.......z.....z.....187..
XT.vM....V.See.171.aboveX/MstandardJcaseJsyntaxJsymb...188K.....V.frac
XT.wMtion.oneJquarter/MstandardJcaseJsyntaxJsymb...189K.....V.fraction
XT.xx.oneJhalf/MstandardJcaseJsyntaxJsymb...190K.....V.fraction.threeJ
XT.yIquarters/MstandardJcaseJsyntaxJpunct..191K.....V.inverted.questio
XT.zUn.mark/MstandardJcaseJsyntaxJpair...192.224K.V.A.with.grave.accen
XT/.Xt/MstandardJcaseJsyntaxJpair...193.225K.V.A.with.acute.accent/Mst
XT//iandardJcaseJsyntaxJpair...194.226K.V.A.with.circumflex.accent/Mst
XT/0CandardJcaseJsyntaxJpair...195.227K.V.A.with.tilde/MstandardJcaseJ
XT/1rsyntaxJpair...196.228K.V.A.with.diaeresis.or.umlaut.mark/Mstandar
XT/2FdJcaseJsyntaxJpair...197.229K.V.A.with.ring/MstandardJcaseJsyntax
XT/3EJpair...198.230K.V.AE.diphthong/MstandardJcaseJsyntaxJpair...199.
XT/4S231K.V.C.with.cedilla/MstandardJcaseJsyntaxJpair...200.232K.V.E.w
XT/5Qith.grave.accent/MstandardJcaseJsyntaxJpair...201.233K.V.E.with.a
XT/6dcute.accent/MstandardJcaseJsyntaxJpair...202.234K.V.E.with.circum
XT/7Eflex.accent/MstandardJcaseJsyntaxJpair...203.235K.V.E.with.diaere
XT/8ksis.or.umlaut.mark/MstandardJcaseJsyntaxJpair...204.236K.V.I.with
XT/9j.grave.accent/MstandardJcaseJsyntaxJpair...205.237K.V.I.with.acut
XT/AUe.accent/MstandardJcaseJsyntaxJpair...206.238K.V.I.with.circumfle
XT/Box.accent/MstandardJcaseJsyntaxJpair...207.239K.V.I.with.diaeresis
XT/Ck.or.umlaut.mark/MstandardJcaseJsyntaxJpair...208.240K.V.D.with.st
XT/DprokeZ.Icelandic.eth/MstandardJcaseJsyntaxJpair...209.241K.V.N.wit
XT/EMh.tilde/MstandardJcaseJsyntaxJpair...210.242K.V.O.with.grave.acce
XT/FWnt/MstandardJcaseJsyntaxJpair...211.243K.V.O.with.acute.accent/Ms
XT/GntandardJcaseJsyntaxJpair...212.244K.V.O.with.circumflex.accent/Ms
XT/HxtandardJcaseJsyntaxJpair...213.245K.V.O.with.tilde/MstandardJcase
XT/IIJsyntaxJpair...214.246K.V.O.with.diaeresis.or.umlaut.mark/Mstanda
XT/JlrdJcaseJsyntaxJsymb...215K.....V.multiplication.sign/MstandardJca
XT/KgseJsyntaxJpair...216.248K.V.O.with.slash/MstandardJcaseJsyntaxJpa
XT/L9ir...217.249K.V.U.with.grave.accent/MstandardJcaseJsyntaxJpair...
XT/MM218.250K.V.U.with.acute.accent/MstandardJcaseJsyntaxJpair...219.2
XT/Nq51K.V.U.with.circumflex.accent/MstandardJcaseJsyntaxJpair...220.2
XT/O.52K.V.U.with.diaeresis.or.umlaut.mark/MstandardJcaseJsyntaxJpair.
XT/PD..221.253K.V.Y.with.acute.accent/MstandardJcaseJsyntaxJpair...222
XT/Qp.254K.V.thornZ.Icelandic/MstandardJcaseJsyntaxJword...223K.....V.
XT/Rksmall.sharp.sZ.German/MstandardJcaseJsyntaxJsymb...247K.....V.div
XT/S0ision.sign/MstandardJcaseJsyntaxJword...255K.....V.small.y.with.d
XT/TRiaeresis.or.umlaut.mark//MsetJstandardJcaseJfoldJtable.MnewJsortJ
XT/Uutable.jM/M0.X.31K/M32.Q+0K/M33.X.64K/MQA.QaK/MQ,8.Q+aK/MQ,7.Q+YK/
XT/VMMQ,6.Q+WK/MQ,5.Q+UK/MQ,4.Q+TK/MQ,3.Q+SK/MQ,2.Q+RK/MQB.QbK/MQC.QcK
XT/WX/MQ,1.Q+PK/MQD.QdK/MQE.QeK/MQ,0.Q+OK/MQ+y.Q+NK/MQ+x.Q+LK/MQ+w.Q+I
XT/XpK/MQF.QfK/MQG.QgK/MQH.QhK/MQI.QiK/MQ+v.Q+eK/MQ+u.Q+GK/MQ,/.Q+HK/M
XT/YIQ+t.Q+FK/MQ+s.Q+EK/MQ+J.Q+jK/MQ+K.QkK/MQL.QlK/MQ+M.QmK/MQN.QnK/MQ
XT/Zi+r.Q+DK/MQO.QoK/MQ+q.Q+BK/MQ+p.Q+AK/MQ+o.Q+9K/MQ+n.Q+CK/MQ+m.Q+8K
XT/ak/MQ+k.Q+6K/MQP.QpK/MQ+Q.QqK/MQR.QrK/MQS.QsK/MQT.QtK/MQU.QuK/MQ+i.
XT/beQ+5K/MQ+h.Q+4K/MQ+g.Q+3K/MQ+f.Q+2K/MQ+V.QvK/MQW.QwK/MQ+X.QxK/MQY.
XT/cxQyK/MQ+d.Q+1K/MQ+c.Q+.K/Q+b/Q,./MQ+Z.Q+zK/M91.X.96K/M123.X.159K/M
XT/dJ161.X.191K/Q+l/Q+7/KKK//Mprovide.jiso8859J1K/
XT/e/$$end_file=iso8859-1.el
XT/fD$$filecrc32=3836774007
XT/gM##E31898
X;End of ABE encoding
XT/hO##S1000,1000,1000,ABE2
XT/iN$$blocking=false
XT/jF$$uname=swedish.el
XT/kf$$os=unix
XT/l0$$fname=swedish.el
XT/mp$$owner=howard
XT/nn$$date=632218460
XT/o.$$perm=33188
XT/pM$$size=4794
XT/qQ"".zKDLMDNODPQDRSD/T1UVDWXDYZDabDcdDefDghDijDkmDnoD
XT/ru""/.p1Vq1Jr9sXAJD.Ct9ZB.K//01.23.45.67/89.GQ6uvDw7A
XT/sa""0KA6BC2DE2FG.HI.JK3LM.NO.PQ0RS.TU.VW2XY2ZI4zB0El9
XT/tD""1Da6bc.de.fg.hi.jk.lm.no.pq.rs.tu.vw.xy.z.3H07FJ9
XT/up""2yIDHGDFEDDCDBAD98D76D54D32D10D/.DWU8LM8NO8PR8ST8
XT/vY""3nV4xXCYZ8ab8cd8ef8gh8ij8kl8mn8op8qr8st8uv8wx8yz8
XT/wk""4ov3wx3568798A483881u7ts3m24l04/y7iQ3Or3qp3MF3C93
XT/x2""5kj36h3gf3ed3cb3aY3WU3TS3RP3NL3IH3GE3A835433231.4
XT/yIQQ.Miscellaneous.functions.for.dealing.with.SwedishK/QQ.Copyright
XT/zn.JCD.198+7Z.1990.Free.Software.FoundationZ.IncK//QQ.This.file.is.
XT0.Npart.of.GNU.EmacsK//QQ.GNU.Emacs.is.distributed.in.the.hope.that.
XT0/Sit.will.be.usefulZ/QQ.but.WITHOUT.ANY.WARRANTYK..No.author.or.dis
XT00mtributor/QQ.accepts.responsibility.to.anyone.for.the.consequences
XT01V.of.using.it/QQ.or.for.whether.it.serves.any.particular.purpose.o
XT02/r.works.at.allZ/QQ.unless.he.says.so.in.writingK..Refer.to.the.GN
XT033U.Emacs.General.Public/QQ.License.for.full.detailsK//QQ.Everyone.
XT04zis.granted.permission.to.copyZ.modify.and.redistribute/QQ.GNU.Ema
XT05scsZ.but.only.under.the.conditions.described.in.the/QQ.GNU.Emacs.G
XT06veneral.Public.LicenseK...A.copy.of.this.license.is/QQ.supposed.to
XT07p.have.been.given.to.you.along.with.GNU.Emacs.so.you/QQ.can.know.y
XT08cour.rights.and.responsibilitiesK..It.should.be.in.a/QQ.file.named
XT09T.COPYINGK..Among.other.thingsZ.the.copyright.notice/QQ.and.this.n
XT0AVotice.must.be.preserved.on.all.copiesK///QQ.Written.by.Howard.Gay
XT0BlleK..See.caseBtableKel.for.detailsK//QQ.See.iso8859B1BswedishKel.
XT0CJfor.a.description.of.the.character.setK//Jrequire.Xiso8859B1D/Jre
XT0Dqquire.XsortBtableD/Jrequire.XtextBmodeD//Jdefvar.8859BtoBswasciiB
XT0Eptrans.nil.V8859.to.SWASCII.trans.tableKVD/Jif.8859BtoBswasciiBtra
XT0F1ns.nil/...Jsetq.8859BtoBswasciiBtrans.JmakeBtransBtableDD/...Jset
XT0GlBtransBtableBto.164.7,J..8859BtoBswasciiBtransD/...JsetBtransBtab
XT0H0leBto.196.7,I..8859BtoBswasciiBtransD/...JsetBtransBtableBto.19+7
XT0II.7,B..8859BtoBswasciiBtransD/...JsetBtransBtableBto.201.7,K..8859
XT0JoBtoBswasciiBtransD/...JsetBtransBtableBto.214.7zz.8859BtoBswascii
XT0KvBtransD/...JsetBtransBtableBto.220.7,E..8859BtoBswasciiBtransD/..
XT0Lh.JsetBtransBtableBto.228.7+...8859BtoBswasciiBtransD/...JsetBtran
XT0MLsBtableBto.229.7+0..8859BtoBswasciiBtransD/...JsetBtransBtableBto
XT0N2.233.7,D..8859BtoBswasciiBtransD/...JsetBtransBtableBto.246.7,H..
XT0Or8859BtoBswasciiBtransD/...JsetBtransBtableBto.252.7,F..8859BtoBsw
XT0PyasciiBtransD/D//Jdefun.8859BtoBswasciiBbuffer.JD/...VConvert.char
XT0Qaacters.in.buffer.from.ISO.8859+/1.to/Swedish+/Finnish.version.of.
XT0RtISO.646KV/...Jinteractive.V,CVD/...JtranslateBregion.JpointBminD.
XT0SiJpointBmaxD.8859BtoBswasciiBtransD/D//Jsetq.mailBsendBhook..X8859
XT0TyBtoBswasciiBbufferD//Jsetq.swedishBcaseBdistinctBtable.JnewBsortB
XT0U7table.XJ/J0.K.31D/J32.7+nD/J33.K.64D/J7A.7+o.7+v.7+w.7+xD/7,7/7+B
XT0V0/7+D/7+m/J7E..7,A..7,4..7,3..7,8D/J7F.K.7HD/J7I.7,1.7+u.7+t.7+sD/
XT0W37+J/J7C.7,9.7+KD/7L/7M/J7N.7,2D/J7O.7+l.7,0.7,/.7+yD/J7P.K.7TD/7+C
XT0X5/J7U.7+r.7+q.7+p.7+MD/J7+V.7WD/7+X/J7Y.7+FD/7+Z/7,6/7,5/J7+i.7+OD
XT0Y2/J91.K.96D/J7a.7+k.7+j.7+6.7+hD/7+e/7b/7d/7+R/J7e.7+c.7+b.7+a.7+Y
XT0ZKD/J7f.K.7hD/J7i.7+W.7+U.7+T.7+SD/7j/J7c.7+d.7kD/7l/7m/J7n.7+PD/J7
XT0a8o.7+N.7+L.7+I.7+HD/J7p.K.7sD/7+9/7t/7+1/J7u.7+8.7+5.7+4.7+3D/J7v.
XT0bT7wD/7x/J7y.7+2.7,.D/7+z/7+f/7+g/J7+G.7+AD/J123.K.159D/J161.K.191D
XT0cP/7+Q/7+E/DDD//Jsetq.swedishBcaseBfoldBtable.JnewBsortBtable.XJ/J0
XT0dZ.K.31D/J32.7+nD/J33.K.64D/J7A.7+o.7+v.7+w.7+x.7a.7+k.7+j.7+6.7+hD
XT0eY/J7,7.7+eD/J7+B.7bD/J7+D.7dD/J7+m.7+RD/J7E.7,A.7,4.7,3.7,8.7e.7+c
XT0fD.7+b.7+a.7+YD/J7F.7fD/J7G.7gD/J7H.7hD/J7I.7,1.7+u.7+t.7+s.7i.7+W.
XT0gm7+U.7+T.7+SD/J7+J.7jD/J7C.7,9.7c.7+d.7+K.7kD/J7L.7lD/J7M.7mD/J7N.
XT0h67,2.7n.7+PD/J7O.7+l.7,0.7,/.7+y.7o.7+N.7+L.7+I.7+HD/J7P.7pD/J7,Q.
XT0iX7qD/J7R.7rD/J7S.7sD/7+9/J7T.7tD/J7+C.7+1D/J7U.7+r.7+q.7+p.7+M.7u.
XT0jR7+8.7+5.7+4.7+3D/J7+V.7v.7W.7wD/J7+X.7xD/J7Y.7+F.7y.7+2.7,.D/J7+Z
XT0k9.7+zD/J7,6.7+fD/J7,5.7+gD/J7+i.7+O.7+G.7+AD/J91.K.96D/J123.K.159D
XT0l0/J161.K.191D/7+Q/7+E/DDD//Jdefvar.swedishBmodeBabbrevBtable.nil/.
XT0mz..VAbbrev.table.used.while.in.swedish.modeKVD/JdefineBabbrevBtabl
XT0nTe.XswedishBmodeBabbrevBtable.JDD//Jdefun.swedishBmode.JD/...VMajo
XT0oLr.mode.for.editing.Swedish.text.intended.for.humans.to/readK..Spe
XT0pscial.commands,Gzz+.textBmodeBmap+0/Turning.on.swedishBmode.calls.
XT0qRthe.value.of.the.variable/textBmodeBhookZ.if.that.value.is.nonBni
XT0r5lKV/...JinteractiveD/...JkillBallBlocalBvariablesD/...JuseBlocalB
XT0sxmap.textBmodeBmapD/...Jsetq.modeBname.VSwedishVD/...Jsetq.majorBm
XT0tVode.XswedishBmodeD/...Jsetq.localBabbrevBtable.swedishBmodeBabbre
XT0uTvBtableD/...JsetBsyntaxBtable.textBmodeBsyntaxBtableD/...JsetBcas
XT0vGeBdistinctBtable.swedishBcaseBdistinctBtableD/...JsetBcaseBfoldBt
XT0wCable.swedishBcaseBfoldBtableD/...JrunBhooks.XtextBmodeBhookD/D//J
XT0xSdefun.indentedBswedishBmode.JD/...VMajor.mode.for.editing.indente
XT0yld.Swedish.text.intended.for/humans.to.readKzz+.indentedBtextBmode
XT0z2Bmap+0/Turning.on.indentedBswedishBmode.calls.the.value.of.the/va
XT1.5riable.textBmodeBhookZ.if.that.value.is.nonBnilKV/...Jinteractive
XT1/YD/...JkillBallBlocalBvariablesD/...JuseBlocalBmap.textBmodeBmapD/
XT10t...JdefineBabbrevBtable.XswedishBmodeBabbrevBtable.JDD/...Jsetq.l
XT11hocalBabbrevBtable.swedishBmodeBabbrevBtableD/...JsetBsyntaxBtable
XT122.textBmodeBsyntaxBtableD/...JmakeBlocalBvariable.XindentBlineBfun
XT13UctionD/...Jsetq.indentBlineBfunction.XindentBrelativeBmaybeD/...J
XT144useBlocalBmap.indentedBtextBmodeBmapD/...Jsetq.modeBname.VIndente
XT15Od.SwedishVD/...Jsetq.majorBmode.XindentedBswedishBmodeD/...JsetBc
XT16kaseBdistinctBtable.swedishBcaseBdistinctBtableD/...JsetBcaseBfold
XT179Btable.swedishBcaseBfoldBtableD/...JrunBhooks.XtextBmodeBhookD/D/
XT18W/Jprovide.XswedishD/
XT19l$$end_file=swedish.el
XT1Ax$$filecrc32=1026311166
XT1B5##E25311
X;End of ABE encoding
END_OF_FILE
if test 12955 -ne `wc -c <'lisp/el.abe'`; then
echo shar: \"'lisp/el.abe'\" unpacked with wrong size!
fi
# end of 'lisp/el.abe'
fi
if test -f 'lisp/iso8859-1-insert.el' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'lisp/iso8859-1-insert.el'\"
else
echo shar: Extracting \"'lisp/iso8859-1-insert.el'\" \(13707 characters\)
sed "s/^X//" >'lisp/iso8859-1-insert.el' <<'END_OF_FILE'
X;; Insert functions for ISO 8859/1.
X;; Copyright (C) 1987 Free Software Foundation, Inc.
X
X;; This file is part of GNU Emacs.
X
X;; GNU Emacs is distributed in the hope that it will be useful,
X;; but WITHOUT ANY WARRANTY. No author or distributor
X;; accepts responsibility to anyone for the consequences of using it
X;; or for whether it serves any particular purpose or works at all,
X;; unless he says so in writing. Refer to the GNU Emacs General Public
X;; License for full details.
X
X;; Everyone is granted permission to copy, modify and redistribute
X;; GNU Emacs, but only under the conditions described in the
X;; GNU Emacs General Public License. A copy of this license is
X;; supposed to have been given to you along with GNU Emacs so you
X;; can know your rights and responsibilities. It should be in a
X;; file named COPYING. Among other things, the copyright notice
X;; and this notice must be preserved on all copies.
X
X
X;; Written by Howard Gayle. See case-table.el for details.
X
X(defun insert-no-break-space ()
X (interactive "*")
X (insert 160)
X)
X
X(defun insert-inverted-exclamation-mark ()
X (interactive "*")
X (insert 161)
X)
X
X(defun insert-cent-sign ()
X (interactive "*")
X (insert 162)
X)
X
X(defun insert-pound-sign ()
X (interactive "*")
X (insert 163)
X)
X
X(defun insert-general-currency-sign ()
X (interactive "*")
X (insert 164)
X)
X
X(defun insert-yen-sign ()
X (interactive "*")
X (insert 165)
X)
X
X(defun insert-broken-vertical-line ()
X (interactive "*")
X (insert 166)
X)
X
X(defun insert-section-sign ()
X (interactive "*")
X (insert 167)
X)
X
X(defun insert-diaeresis ()
X (interactive "*")
X (insert 168)
X)
X
X(defun insert-copyright-sign ()
X (interactive "*")
X (insert 169)
X)
X
X(defun insert-ordinal-indicator-feminine ()
X (interactive "*")
X (insert 170)
X)
X
X(defun insert-angle-quotation-mark-left ()
X (interactive "*")
X (insert 171)
X)
X
X(defun insert-not-sign ()
X (interactive "*")
X (insert 172)
X)
X
X(defun insert-soft-hyphen ()
X (interactive "*")
X (insert 173)
X)
X
X(defun insert-registered-sign ()
X (interactive "*")
X (insert 174)
X)
X
X(defun insert-macron ()
X (interactive "*")
X (insert 175)
X)
X
X(defun insert-degree-sign ()
X (interactive "*")
X (insert 176)
X)
X
X(defun insert-plus-or-minus-sign ()
X (interactive "*")
X (insert 177)
X)
X
X(defun insert-superscript-two ()
X (interactive "*")
X (insert 178)
X)
X
X(defun insert-superscript-three ()
X (interactive "*")
X (insert 179)
X)
X
X(defun insert-acute-accent ()
X (interactive "*")
X (insert 180)
X)
X
X(defun insert-micro-sign ()
X (interactive "*")
X (insert 181)
X)
X
X(defun insert-pilcrow ()
X (interactive "*")
X (insert 182)
X)
X
X(defun insert-middle-dot ()
X (interactive "*")
X (insert 183)
X)
X
X(defun insert-cedilla ()
X (interactive "*")
X (insert 184)
X)
X
X(defun insert-superscript-one ()
X (interactive "*")
X (insert 185)
X)
X
X(defun insert-ordinal-indicator-masculine ()
X (interactive "*")
X (insert 186)
X)
X
X(defun insert-angle-quotation-mark-right ()
X (interactive "*")
X (insert 187)
X)
X
X(defun insert-fraction-one-quarter ()
X (interactive "*")
X (insert 188)
X)
X
X(defun insert-fraction-one-half ()
X (interactive "*")
X (insert 189)
X)
X
X(defun insert-fraction-three-quarters ()
X (interactive "*")
X (insert 190)
X)
X
X(defun insert-inverted-question-mark ()
X (interactive "*")
X (insert 191)
X)
X
X(defun insert-A-grave ()
X (interactive "*")
X (insert 192)
X)
X
X(defun insert-A-acute ()
X (interactive "*")
X (insert 193)
X)
X
X(defun insert-A-circumflex ()
X (interactive "*")
X (insert 194)
X)
X
X(defun insert-A-tilde ()
X (interactive "*")
X (insert 195)
X)
X
X(defun insert-A-umlaut ()
X (interactive "*")
X (insert 196)
X)
X
X(defun insert-A-ring ()
X (interactive "*")
X (insert 197)
X)
X
X(defun insert-AE ()
X (interactive "*")
X (insert 198)
X)
X
X(defun insert-C-cedilla ()
X (interactive "*")
X (insert 199)
X)
X
X(defun insert-E-grave ()
X (interactive "*")
X (insert 200)
X)
X
X(defun insert-E-acute ()
X (interactive "*")
X (insert 201)
X)
X
X(defun insert-E-circumflex ()
X (interactive "*")
X (insert 202)
X)
X
X(defun insert-E-umlaut ()
X (interactive "*")
X (insert 203)
X)
X
X(defun insert-I-grave ()
X (interactive "*")
X (insert 204)
X)
X
X(defun insert-I-acute ()
X (interactive "*")
X (insert 205)
X)
X
X(defun insert-I-circumflex ()
X (interactive "*")
X (insert 206)
X)
X
X(defun insert-I-umlaut ()
X (interactive "*")
X (insert 207)
X)
X
X(defun insert-D-stroke ()
X (interactive "*")
X (insert 208)
X)
X
X(defun insert-N-tilde ()
X (interactive "*")
X (insert 209)
X)
X
X(defun insert-O-grave ()
X (interactive "*")
X (insert 210)
X)
X
X(defun insert-O-acute ()
X (interactive "*")
X (insert 211)
X)
X
X(defun insert-O-circumflex ()
X (interactive "*")
X (insert 212)
X)
X
X(defun insert-O-tilde ()
X (interactive "*")
X (insert 213)
X)
X
X(defun insert-O-umlaut ()
X (interactive "*")
X (insert 214)
X)
X
X(defun insert-multiplication-sign ()
X (interactive "*")
X (insert 215)
X)
X
X(defun insert-O-slash ()
X (interactive "*")
X (insert 216)
X)
X
X(defun insert-U-grave ()
X (interactive "*")
X (insert 217)
X)
X
X(defun insert-U-acute ()
X (interactive "*")
X (insert 218)
X)
X
X(defun insert-U-circumflex ()
X (interactive "*")
X (insert 219)
X)
X
X(defun insert-U-umlaut ()
X (interactive "*")
X (insert 220)
X)
X
X(defun insert-Y-acute ()
X (interactive "*")
X (insert 221)
X)
X
X(defun insert-THORN ()
X (interactive "*")
X (insert 222)
X)
X
X(defun insert-ss ()
X (interactive "*")
X (insert 223)
X)
X
X(defun insert-a-grave ()
X (interactive "*")
X (insert 224)
X)
X
X(defun insert-a-acute ()
X (interactive "*")
X (insert 225)
X)
X
X(defun insert-a-circumflex ()
X (interactive "*")
X (insert 226)
X)
X
X(defun insert-a-tilde ()
X (interactive "*")
X (insert 227)
X)
X
X(defun insert-a-umlaut ()
X (interactive "*")
X (insert 228)
X)
X
X(defun insert-a-ring ()
X (interactive "*")
X (insert 229)
X)
X
X(defun insert-ae ()
X (interactive "*")
X (insert 230)
X)
X
X(defun insert-c-cedilla ()
X (interactive "*")
X (insert 231)
X)
X
X(defun insert-e-grave ()
X (interactive "*")
X (insert 232)
X)
X
X(defun insert-e-acute ()
X (interactive "*")
X (insert 233)
X)
X
X(defun insert-e-circumflex ()
X (interactive "*")
X (insert 234)
X)
X
X(defun insert-e-umlaut ()
X (interactive "*")
X (insert 235)
X)
X
X(defun insert-i-grave ()
X (interactive "*")
X (insert 236)
X)
X
X(defun insert-i-acute ()
X (interactive "*")
X (insert 237)
X)
X
X(defun insert-i-circumflex ()
X (interactive "*")
X (insert 238)
X)
X
X(defun insert-i-umlaut ()
X (interactive "*")
X (insert 239)
X)
X
X(defun insert-d-stroke ()
X (interactive "*")
X (insert 240)
X)
X
X(defun insert-n-tilde ()
X (interactive "*")
X (insert 241)
X)
X
X(defun insert-o-grave ()
X (interactive "*")
X (insert 242)
X)
X
X(defun insert-o-acute ()
X (interactive "*")
X (insert 243)
X)
X
X(defun insert-o-circumflex ()
X (interactive "*")
X (insert 244)
X)
X
X(defun insert-o-tilde ()
X (interactive "*")
X (insert 245)
X)
X
X(defun insert-o-umlaut ()
X (interactive "*")
X (insert 246)
X)
X
X(defun insert-division-sign ()
X (interactive "*")
X (insert 247)
X)
X
X(defun insert-o-slash ()
X (interactive "*")
X (insert 248)
X)
X
X(defun insert-u-grave ()
X (interactive "*")
X (insert 249)
X)
X
X(defun insert-u-acute ()
X (interactive "*")
X (insert 250)
X)
X
X(defun insert-u-circumflex ()
X (interactive "*")
X (insert 251)
X)
X
X(defun insert-u-umlaut ()
X (interactive "*")
X (insert 252)
X)
X
X(defun insert-y-acute ()
X (interactive "*")
X (insert 253)
X)
X
X(defun insert-thorn ()
X (interactive "*")
X (insert 254)
X)
X
X(defun insert-y-umlaut ()
X (interactive "*")
X (insert 255)
X)
X
X(defvar 8859-1-map nil "Keymap for ISO 8859/1 character insertion.")
X(if 8859-1-map nil
X (setq 8859-1-map (make-keymap))
X (define-key 8859-1-map " " 'insert-no-break-space)
X (define-key 8859-1-map "!" 'insert-inverted-exclamation-mark)
X (define-key 8859-1-map "\"" (make-sparse-keymap))
X (define-key 8859-1-map "\"\"" 'insert-diaeresis)
X (define-key 8859-1-map "\"A" 'insert-A-umlaut)
X (define-key 8859-1-map "\"E" 'insert-E-umlaut)
X (define-key 8859-1-map "\"I" 'insert-I-umlaut)
X (define-key 8859-1-map "\"O" 'insert-O-umlaut)
X (define-key 8859-1-map "\"U" 'insert-U-umlaut)
X (define-key 8859-1-map "\"a" 'insert-a-umlaut)
X (define-key 8859-1-map "\"e" 'insert-e-umlaut)
X (define-key 8859-1-map "\"i" 'insert-i-umlaut)
X (define-key 8859-1-map "\"o" 'insert-o-umlaut)
X (define-key 8859-1-map "\"u" 'insert-u-umlaut)
X (define-key 8859-1-map "\"y" 'insert-y-umlaut)
X (define-key 8859-1-map "'" (make-sparse-keymap))
X (define-key 8859-1-map "''" 'insert-acute-accent)
X (define-key 8859-1-map "'A" 'insert-A-acute)
X (define-key 8859-1-map "'E" 'insert-E-acute)
X (define-key 8859-1-map "'I" 'insert-I-acute)
X (define-key 8859-1-map "'O" 'insert-O-acute)
X (define-key 8859-1-map "'U" 'insert-U-acute)
X (define-key 8859-1-map "'Y" 'insert-Y-acute)
X (define-key 8859-1-map "'a" 'insert-a-acute)
X (define-key 8859-1-map "'e" 'insert-e-acute)
X (define-key 8859-1-map "'i" 'insert-i-acute)
X (define-key 8859-1-map "'o" 'insert-o-acute)
X (define-key 8859-1-map "'u" 'insert-u-acute)
X (define-key 8859-1-map "'y" 'insert-y-acute)
X (define-key 8859-1-map "$" 'insert-general-currency-sign)
X (define-key 8859-1-map "+" 'insert-plus-or-minus-sign)
X (define-key 8859-1-map "," (make-sparse-keymap))
X (define-key 8859-1-map ",," 'insert-cedilla)
X (define-key 8859-1-map ",C" 'insert-C-cedilla)
X (define-key 8859-1-map ",c" 'insert-c-cedilla)
X (define-key 8859-1-map "-" 'insert-soft-hyphen)
X (define-key 8859-1-map "." 'insert-middle-dot)
X (define-key 8859-1-map "/" (make-sparse-keymap))
X (define-key 8859-1-map "//" 'insert-division-sign)
X (define-key 8859-1-map "/O" 'insert-O-slash)
X (define-key 8859-1-map "/o" 'insert-o-slash)
X (define-key 8859-1-map "1" (make-sparse-keymap))
X (define-key 8859-1-map "1/" (make-sparse-keymap))
X (define-key 8859-1-map "1/2" 'insert-fraction-one-half)
X (define-key 8859-1-map "1/4" 'insert-fraction-one-quarter)
X (define-key 8859-1-map "3" (make-sparse-keymap))
X (define-key 8859-1-map "3/" (make-sparse-keymap))
X (define-key 8859-1-map "3/4" 'insert-fraction-three-quarters)
X (define-key 8859-1-map "<" 'insert-angle-quotation-mark-left)
X (define-key 8859-1-map "=" 'insert-macron)
X (define-key 8859-1-map ">" 'insert-angle-quotation-mark-right)
X (define-key 8859-1-map "?" 'insert-inverted-question-mark)
X (define-key 8859-1-map "A" (make-sparse-keymap))
X (define-key 8859-1-map "AA" 'insert-A-ring)
X (define-key 8859-1-map "AE" 'insert-AE)
X (define-key 8859-1-map "C" 'insert-copyright-sign)
X (define-key 8859-1-map "D" 'insert-D-stroke)
X (define-key 8859-1-map "L" 'insert-pound-sign)
X (define-key 8859-1-map "P" 'insert-pilcrow)
X (define-key 8859-1-map "R" 'insert-registered-sign)
X (define-key 8859-1-map "S" 'insert-section-sign)
X (define-key 8859-1-map "T" 'insert-THORN)
X (define-key 8859-1-map "Y" 'insert-yen-sign)
X (define-key 8859-1-map "^" (make-sparse-keymap))
X (define-key 8859-1-map "^1" 'insert-superscript-one)
X (define-key 8859-1-map "^2" 'insert-superscript-two)
X (define-key 8859-1-map "^3" 'insert-superscript-three)
X (define-key 8859-1-map "^A" 'insert-A-circumflex)
X (define-key 8859-1-map "^E" 'insert-E-circumflex)
X (define-key 8859-1-map "^I" 'insert-I-circumflex)
X (define-key 8859-1-map "^O" 'insert-O-circumflex)
X (define-key 8859-1-map "^U" 'insert-U-circumflex)
X (define-key 8859-1-map "^a" 'insert-a-circumflex)
X (define-key 8859-1-map "^e" 'insert-e-circumflex)
X (define-key 8859-1-map "^i" 'insert-i-circumflex)
X (define-key 8859-1-map "^o" 'insert-o-circumflex)
X (define-key 8859-1-map "^u" 'insert-u-circumflex)
X (define-key 8859-1-map "_" (make-sparse-keymap))
X (define-key 8859-1-map "_a" 'insert-ordinal-indicator-feminine)
X (define-key 8859-1-map "_o" 'insert-ordinal-indicator-masculine)
X (define-key 8859-1-map "`" (make-sparse-keymap))
X (define-key 8859-1-map "`A" 'insert-A-grave)
X (define-key 8859-1-map "`E" 'insert-E-grave)
X (define-key 8859-1-map "`I" 'insert-I-grave)
X (define-key 8859-1-map "`O" 'insert-O-grave)
X (define-key 8859-1-map "`U" 'insert-U-grave)
X (define-key 8859-1-map "`a" 'insert-a-grave)
X (define-key 8859-1-map "`e" 'insert-e-grave)
X (define-key 8859-1-map "`i" 'insert-i-grave)
X (define-key 8859-1-map "`o" 'insert-o-grave)
X (define-key 8859-1-map "`u" 'insert-u-grave)
X (define-key 8859-1-map "a" (make-sparse-keymap))
X (define-key 8859-1-map "aa" 'insert-a-ring)
X (define-key 8859-1-map "ae" 'insert-ae)
X (define-key 8859-1-map "c" 'insert-cent-sign)
X (define-key 8859-1-map "d" 'insert-d-stroke)
X (define-key 8859-1-map "o" 'insert-degree-sign)
X (define-key 8859-1-map "s" 'insert-ss)
X (define-key 8859-1-map "t" 'insert-thorn)
X (define-key 8859-1-map "u" 'insert-micro-sign)
X (define-key 8859-1-map "x" 'insert-multiplication-sign)
X (define-key 8859-1-map "|" 'insert-broken-vertical-line)
X (define-key 8859-1-map "~" (make-sparse-keymap))
X (define-key 8859-1-map "~A" 'insert-A-tilde)
X (define-key 8859-1-map "~N" 'insert-N-tilde)
X (define-key 8859-1-map "~O" 'insert-O-tilde)
X (define-key 8859-1-map "~a" 'insert-a-tilde)
X (define-key 8859-1-map "~n" 'insert-n-tilde)
X (define-key 8859-1-map "~o" 'insert-o-tilde)
X (define-key 8859-1-map "~~" 'insert-not-sign)
X (if (not (lookup-key global-map "\C-x8"))
X (define-key global-map "\C-x8" 8859-1-map))
X)
X
X(provide 'iso8859-1-insert)
END_OF_FILE
if test 13707 -ne `wc -c <'lisp/iso8859-1-insert.el'`; then
echo shar: \"'lisp/iso8859-1-insert.el'\" unpacked with wrong size!
fi
# end of 'lisp/iso8859-1-insert.el'
fi
if test -f 'lisp/iso8859-1-swedish.el' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'lisp/iso8859-1-swedish.el'\"
else
echo shar: Extracting \"'lisp/iso8859-1-swedish.el'\" \(7172 characters\)
sed "s/^X//" >'lisp/iso8859-1-swedish.el' <<'END_OF_FILE'
X;; Set up char tables for ISO 8859/1 for Swedish/Finnish terminals.
X;; Copyright (C) 1987 Free Software Foundation, Inc.
X
X;; This file is part of GNU Emacs.
X
X;; GNU Emacs is distributed in the hope that it will be useful,
X;; but WITHOUT ANY WARRANTY. No author or distributor
X;; accepts responsibility to anyone for the consequences of using it
X;; or for whether it serves any particular purpose or works at all,
X;; unless he says so in writing. Refer to the GNU Emacs General Public
X;; License for full details.
X
X;; Everyone is granted permission to copy, modify and redistribute
X;; GNU Emacs, but only under the conditions described in the
X;; GNU Emacs General Public License. A copy of this license is
X;; supposed to have been given to you along with GNU Emacs so you
X;; can know your rights and responsibilities. It should be in a
X;; file named COPYING. Among other things, the copyright notice
X;; and this notice must be preserved on all copies.
X
X
X;; Written by Howard Gayle. See case-table.el for details.
X
X;; This code sets up backslash-char-table and
X;; ctl-arrow-char-table to display ISO 8859/1 characters on
X;; terminals that have ASCII in the G0 set and a Swedish/Finnish
X;; version of ISO 646 in the G1 set. The G1 set differs from
X;; ASCII as follows:
X;;
X;; ASCII G1
X;; $ general currency sign
X;; @ capital E with acute accent
X;; [ capital A with diaeresis or umlaut mark
X;; \ capital O with diaeresis or umlaut mark
X;; ] capital A with ring
X;; ^ capital U with diaeresis or umlaut mark
X;; ` small e with acute accent
X;; { small a with diaeresis or umlaut mark
X;; | small o with diaeresis or umlaut mark
X;; } small a with ring
X;; ~ small u with diaeresis or umlaut mark
X
X(require 'char-table)
X
X(standard-char-ascii 160 "{_}") ; NBSP (no-break space)
X(standard-char-ascii 161 "{!}") ; inverted exclamation mark
X(standard-char-ascii 162 "{c}") ; cent sign
X(standard-char-ascii 163 "{GBP}") ; pound sign
X(standard-char-g1 164 ?$) ; general currency sign
X(standard-char-ascii 165 "{JPY}") ; yen sign
X(standard-char-ascii 166 "{|}") ; broken vertical line
X(standard-char-ascii 167 "{S}") ; section sign
X(standard-char-ascii 168 "{\"}") ; diaeresis
X(standard-char-ascii 169 "{C}") ; copyright sign
X(standard-char-ascii 170 "{_a}") ; ordinal indicator, feminine
X(standard-char-ascii 171 "{<<}") ; left angle quotation mark
X(standard-char-ascii 172 "{~}") ; not sign
X(standard-char-ascii 173 "{-}") ; soft hyphen
X(standard-char-ascii 174 "{R}") ; registered sign
X(standard-char-ascii 175 "{=}") ; macron
X(standard-char-ascii 176 "{o}") ; degree sign
X(standard-char-ascii 177 "{+-}") ; plus or minus sign
X(standard-char-ascii 178 "{2}") ; superscript two
X(standard-char-ascii 179 "{3}") ; superscript three
X(standard-char-ascii 180 "{'}") ; acute accent
X(standard-char-ascii 181 "{u}") ; micro sign
X(standard-char-ascii 182 "{P}") ; pilcrow
X(standard-char-ascii 183 "{.}") ; middle dot
X(standard-char-ascii 184 "{,}") ; cedilla
X(standard-char-ascii 185 "{1}") ; superscript one
X(standard-char-ascii 186 "{_o}") ; ordinal indicator, masculine
X(standard-char-ascii 187 "{>>}") ; right angle quotation mark
X(standard-char-ascii 188 "{1/4}") ; fraction one-quarter
X(standard-char-ascii 189 "{1/2}") ; fraction one-half
X(standard-char-ascii 190 "{3/4}") ; fraction three-quarters
X(standard-char-ascii 191 "{?}") ; inverted question mark
X(standard-char-ascii 192 "{`A}") ; A with grave accent
X(standard-char-ascii 193 "{'A}") ; A with acute accent
X(standard-char-ascii 194 "{^A}") ; A with circumflex accent
X(standard-char-ascii 195 "{~A}") ; A with tilde
X(standard-char-g1 196 ?[) ; A with diaeresis or umlaut mark
X(standard-char-g1 197 ?]) ; A with ring
X(standard-char-ascii 198 "{AE}") ; AE diphthong
X(standard-char-ascii 199 "{,C}") ; C with cedilla
X(standard-char-ascii 200 "{`E}") ; E with grave accent
X(standard-char-g1 201 ?@) ; E with acute accent
X(standard-char-ascii 202 "{^E}") ; E with circumflex accent
X(standard-char-ascii 203 "{\"E}") ; E with diaeresis or umlaut mark
X(standard-char-ascii 204 "{`I}") ; I with grave accent
X(standard-char-ascii 205 "{'I}") ; I with acute accent
X(standard-char-ascii 206 "{^I}") ; I with circumflex accent
X(standard-char-ascii 207 "{\"I}") ; I with diaeresis or umlaut mark
X(standard-char-ascii 208 "{-D}") ; D with stroke, Icelandic eth
X(standard-char-ascii 209 "{~N}") ; N with tilde
X(standard-char-ascii 210 "{`O}") ; O with grave accent
X(standard-char-ascii 211 "{'O}") ; O with acute accent
X(standard-char-ascii 212 "{^O}") ; O with circumflex accent
X(standard-char-ascii 213 "{~O}") ; O with tilde
X(standard-char-g1 214 ?\\) ; O with diaeresis or umlaut mark
X(standard-char-ascii 215 "{x}") ; multiplication sign
X(standard-char-ascii 216 "{/O}") ; O with slash
X(standard-char-ascii 217 "{`U}") ; U with grave accent
X(standard-char-ascii 218 "{'U}") ; U with acute accent
X(standard-char-ascii 219 "{^U}") ; U with circumflex accent
X(standard-char-g1 220 ?^) ; U with diaeresis or umlaut mark
X(standard-char-ascii 221 "{'Y}") ; Y with acute accent
X(standard-char-ascii 222 "{TH}") ; capital thorn, Icelandic
X(standard-char-ascii 223 "{ss}") ; small sharp s, German
X(standard-char-ascii 224 "{`a}") ; a with grave accent
X(standard-char-ascii 225 "{'a}") ; a with acute accent
X(standard-char-ascii 226 "{^a}") ; a with circumflex accent
X(standard-char-ascii 227 "{~a}") ; a with tilde
X(standard-char-g1 228 ?{) ; a with diaeresis or umlaut mark
X(standard-char-g1 229 ?}) ; a with ring
X(standard-char-ascii 230 "{ae}") ; ae diphthong
X(standard-char-ascii 231 "{,c}") ; c with cedilla
X(standard-char-ascii 232 "{`e}") ; e with grave accent
X(standard-char-g1 233 ?`) ; e with acute accent
X(standard-char-ascii 234 "{^e}") ; e with circumflex accent
X(standard-char-ascii 235 "{\"e}") ; e with diaeresis or umlaut mark
X(standard-char-ascii 236 "{`i}") ; i with grave accent
X(standard-char-ascii 237 "{'i}") ; i with acute accent
X(standard-char-ascii 238 "{^i}") ; i with circumflex accent
X(standard-char-ascii 239 "{\"i}") ; i with diaeresis or umlaut mark
X(standard-char-ascii 240 "{-d}") ; d with stroke, Icelandic eth
X(standard-char-ascii 241 "{~n}") ; n with tilde
X(standard-char-ascii 242 "{`o}") ; o with grave accent
X(standard-char-ascii 243 "{'o}") ; o with acute accent
X(standard-char-ascii 244 "{^o}") ; o with circumflex accent
X(standard-char-ascii 245 "{~o}") ; o with tilde
X(standard-char-g1 246 ?|) ; o with diaeresis or umlaut mark
X(standard-char-ascii 247 "{/}") ; division sign
X(standard-char-ascii 248 "{/o}") ; o with slash
X(standard-char-ascii 249 "{`u}") ; u with grave accent
X(standard-char-ascii 250 "{'u}") ; u with acute accent
X(standard-char-ascii 251 "{^u}") ; u with circumflex accent
X(standard-char-g1 252 ?~) ; u with diaeresis or umlaut mark
X(standard-char-ascii 253 "{'y}") ; y with acute accent
X(standard-char-ascii 254 "{th}") ; small thorn, Icelandic
X(standard-char-ascii 255 "{\"y}") ; small y with diaeresis or umlaut mark
X
X(provide 'iso8859-1-swedish)
END_OF_FILE
if test 7172 -ne `wc -c <'lisp/iso8859-1-swedish.el'`; then
echo shar: \"'lisp/iso8859-1-swedish.el'\" unpacked with wrong size!
fi
# end of 'lisp/iso8859-1-swedish.el'
fi
if test -f 'src/transtab.c' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'src/transtab.c'\"
else
echo shar: Extracting \"'src/transtab.c'\" \(7540 characters\)
sed "s/^X//" >'src/transtab.c' <<'END_OF_FILE'
X/* GNU Emacs routines to deal with trans tables.
X Copyright (C) 1987 Free Software Foundation, Inc.
X
XThis file is part of GNU Emacs.
X
XGNU Emacs is distributed in the hope that it will be useful,
Xbut WITHOUT ANY WARRANTY. No author or distributor
Xaccepts responsibility to anyone for the consequences of using it
Xor for whether it serves any particular purpose or works at all,
Xunless he says so in writing. Refer to the GNU Emacs General Public
XLicense for full details.
X
XEveryone is granted permission to copy, modify and redistribute
XGNU Emacs, but only under the conditions described in the
XGNU Emacs General Public License. A copy of this license is
Xsupposed to have been given to you along with GNU Emacs so you
Xcan know your rights and responsibilities. It should be in a
Xfile named COPYING. Among other things, the copyright notice
Xand this notice must be preserved on all copies. */
X
X/* Written by Howard Gayle. See chartab.c for details. */
X
X#include "config.h"
X#include "lisp.h"
X#include "buffer.h"
X#include "etctab.h"
X#include "transtab.h"
X
XLisp_Object Qtrans_table_p;
XDEFUN ("trans-table-p", Ftrans_table_p, Strans_table_p, 1, 1, 0,
X "Return t iff ARG is a trans table.")
X(obj)
XLisp_Object obj;
X{
Xreturn ((XTYPE (obj) == Lisp_Transtab) ? Qt : Qnil);
X}
X
Xstatic Lisp_Object
Xcheck_trans_table (obj)
XLisp_Object obj;
X{
Xregister Lisp_Object tem;
X
Xwhile (tem = Ftrans_table_p (obj), NULL (tem))
X obj = wrong_type_argument (Qtrans_table_p, obj, 0);
Xreturn (obj);
X}
X
X/* Convert the given Lisp_Transtab to a Lisp_Object. */
Xstatic Lisp_Object
Xenlisp_trans_table (sp)
Xstruct Lisp_Transtab *sp;
X{
Xregister Lisp_Object z; /* Return. */
X
XXSET (z, Lisp_Transtab, sp);
Xreturn (z);
X}
X
XDEFUN ("downcase-table", Fdowncase_table, Sdowncase_table, 0, 0, 0,
X "Return the lower case conversion trans table of the current buffer.")
X()
X{
Xreturn (enlisp_trans_table (bf_cur->downcase_table_v));
X}
X
XDEFUN ("upcase-table", Fupcase_table, Supcase_table, 0, 0, 0,
X "Return the upper case conversion trans table of the current buffer.")
X()
X{
Xreturn (enlisp_trans_table (bf_cur->upcase_table_v));
X}
X
XDEFUN ("standard-downcase-table", Fstandard_downcase_table,
X Sstandard_downcase_table, 0, 0, 0,
X "Return the standard lower case conversion trans table.\n\
XThis is the one used for new buffers.")
X()
X{
Xreturn (enlisp_trans_table (buffer_defaults.downcase_table_v));
X}
X
XDEFUN ("standard-upcase-table", Fstandard_upcase_table,
X Sstandard_upcase_table, 0, 0, 0,
X "Return the standard upper case conversion trans table.\n\
XThis is the one used for new buffers.")
X()
X{
Xreturn (enlisp_trans_table (buffer_defaults.upcase_table_v));
X}
X
X/* Store a trans table. Check for errors. */
Xstatic Lisp_Object
Xset_trans_table (p, t)
Xstruct Lisp_Transtab **p; /* Points to where to store the trans table. */
Xregister Lisp_Object t; /* The trans table as a Lisp object. */
X{
Xt = check_trans_table (t);
X*p = XTRANSTAB (t);
Xreturn (t);
X}
X
XDEFUN ("set-downcase-table", Fset_downcase_table, Sset_downcase_table, 1, 1, 0,
X "Select a new lower case conversion trans table for the current buffer.\n\
XOne argument, a trans table.")
X(table)
XLisp_Object table;
X{
Xreturn (set_trans_table (&bf_cur->downcase_table_v, table));
X}
X
XDEFUN ("set-upcase-table", Fset_upcase_table, Sset_upcase_table, 1, 1, 0,
X "Select a new lower case conversion trans table for the current buffer.\n\
XOne argument, a trans table.")
X(table)
XLisp_Object table;
X{
Xreturn (set_trans_table (&bf_cur->upcase_table_v, table));
X}
X
XDEFUN ("set-standard-downcase-table",
X Fset_standard_downcase_table, Sset_standard_downcase_table, 1, 1, 0,
X "Select a new standard lower case conversion trans table.\n\
XThis does not change the trans tables of any existing buffers.\n\
XOne argument, a trans table.")
X(table)
XLisp_Object table;
X{
Xreturn (set_trans_table (&buffer_defaults.downcase_table_v, table));
X}
X
XDEFUN ("set-standard-upcase-table",
X Fset_standard_upcase_table, Sset_standard_upcase_table, 1, 1, 0,
X "Select a new standard upper case conversion trans table.\n\
XThis does not change the trans tables of any existing buffers.\n\
XOne argument, a trans table.")
X(table)
XLisp_Object table;
X{
Xreturn (set_trans_table (&buffer_defaults.upcase_table_v, table));
X}
X
XDEFUN ("translate-region",
X Ftranslate_region, Stranslate_region, 3, 4, 0,
X "From START to END, translate characters according to trans\n\
Xtable TABLE. If optional arg NOUNDO is non-nil, don't record\n\
Xthis change for undo and don't mark the buffer as really\n\
Xchanged. Returns the number of characters changed.")
X(start, end, table, noundo)
XLisp_Object start;
XLisp_Object end;
Xregister Lisp_Object table;
XLisp_Object noundo;
X{
Xregister int pos, stop; /* Limits of the region. */
Xregister int rec; /* Flag set iff noundo is nil. */
Xregister char_t *tt; /* Trans table. */
Xregister char_t oc; /* Old character. */
Xregister char_t nc; /* New character. */
Xregister int cnt; /* Number of changes made. */
Xregister Lisp_Object z; /* Return. */
X
Xvalidate_region (&start, &end);
Xtable = check_trans_table (table);
Xtt = XTRANSTAB (table)->trt_to;
Xpos = XINT (start);
Xstop = XINT (end);
Xmodify_region (pos, stop);
Xrec = NULL (noundo);
Xif (!rec) bf_modified--;
Xcnt = 0;
Xfor (; pos < stop; ++pos)
X {
X oc = CharAt (pos);
X nc = tt[oc];
X if (nc != oc)
X {
X if (rec) record_change (pos, 1);
X CharAt (pos) = nc;
X ++cnt;
X }
X }
XXFASTINT (z) = cnt;
Xreturn (z);
X}
X
XDEFUN ("make-trans-table", Fmake_trans_table, Smake_trans_table, 0, 0, 0,
X "Return a new identity trans table.")
X()
X{
Xregister struct Lisp_Transtab *nt; /* New trans table. */
Xregister int i;
Xregister Lisp_Object z; /* Return. */
X
Xz = make_etc_table (sizeof (struct Lisp_Transtab), Lisp_Transtab);
Xnt = XTRANSTAB (z);
Xfor (i = 0; i <= 255; ++i)
X nt->trt_to[i] = (char_t) i;
Xreturn (z);
X}
X
XDEFUN ("get-trans-table-to",
X Fget_trans_table_to, Sget_trans_table_to, 2, 2, 0,
X "Return the character to which character FROM is translated\n\
Xin trans table TABLE.")
X(fromc, table)
XLisp_Object fromc;
Xregister Lisp_Object table;
X{
Xregister Lisp_Object z;
X
Xtable = check_trans_table (table);
XXFASTINT (z) = XTRANSTAB (table)->trt_to[get_char_arg (fromc)];
Xreturn (z);
X}
X
XDEFUN ("set-trans-table-to",
X Fset_trans_table_to, Sset_trans_table_to, 3, 3, 0,
X "Set the translation from character FROM to character TO in\n\
Xtrans table TABLE.")
X(fromc, toc, table)
XLisp_Object fromc;
XLisp_Object toc;
Xregister Lisp_Object table;
X{
Xregister char_t f = get_char_arg (fromc);
Xregister char_t t = get_char_arg (toc);
X
Xtable = check_trans_table (table);
XXTRANSTAB (table)->trt_to[f] = t;
Xreturn (table);
X}
X
Xinit_trans_table_once ()
X{
Xregister int i;
Xregister char_t *p;
X
XFset_standard_downcase_table (Fmake_trans_table ());
Xp = buffer_defaults.downcase_table_v->trt_to;
Xfor (i = 'A'; i <= 'Z'; ++i)
X p[i] = (char_t) (i + 'a' - 'A');
X
XFset_standard_upcase_table (Fmake_trans_table ());
Xp = buffer_defaults.upcase_table_v->trt_to;
Xfor (i = 'a'; i <= 'z'; ++i)
X p[i] = (char_t) (i - 'a' + 'A');
X}
X
Xsyms_of_trans_table ()
X{
XQtrans_table_p = intern ("trans-table-p");
Xstaticpro (&Qtrans_table_p);
X
Xdefsubr (&Strans_table_p);
Xdefsubr (&Sdowncase_table);
Xdefsubr (&Supcase_table);
Xdefsubr (&Sstandard_downcase_table);
Xdefsubr (&Sstandard_upcase_table);
Xdefsubr (&Sset_downcase_table);
Xdefsubr (&Sset_upcase_table);
Xdefsubr (&Sset_standard_downcase_table);
Xdefsubr (&Sset_standard_upcase_table);
Xdefsubr (&Stranslate_region);
Xdefsubr (&Smake_trans_table);
Xdefsubr (&Sget_trans_table_to);
Xdefsubr (&Sset_trans_table_to);
X}
END_OF_FILE
if test 7540 -ne `wc -c <'src/transtab.c'`; then
echo shar: \"'src/transtab.c'\" unpacked with wrong size!
fi
# end of 'src/transtab.c'
fi
echo shar: End of archive 2 \(of 4\).
cp /dev/null ark2isdone
MISSING=""
for I in 1 2 3 4 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked all 4 archives.
rm -f ark[1-9]isdone
else
echo You still need to unpack the following archives:
echo " " ${MISSING}
fi
## End of shell archive.
exit 0