-;;; latin-2.el --- set up case-conversion and syntax tables for ISO 8859-2
-;;; (ISO latin2, i.e. Eastern European character sets)
-;; Copyright (C) 1995 Free Software Foundation, Inc.
+;;; latin-2.el --- set up case-conversion and syntax tables for ISO Latin-2
+
+;; Copyright (C) 1995,1997 Free Software Foundation, Inc.
;; Author: Michael Gschwind (mike@vlsivie.tuwien.ac.at)
;; Maintainer: FSF
;;; Commentary:
;; Written by Michael Gschwind. See case-table.el for details.
+;; Updated by Erik Naggum.
;;; Code:
(require 'case-table)
-(let ((downcase (standard-case-table))
+(let ((tbl (standard-case-table))
(set-case-syntax-offset
(if set-case-syntax-set-multibyte
(- (make-char 'latin-iso8859-2) 128)
0)))
- (set-case-syntax 160 " " downcase) ; NBSP (no-break space)
- (set-case-syntax-pair 161 177 downcase) ; A with hook
- (set-case-syntax 162 "w" downcase) ; u accent
- (set-case-syntax-pair 163 179 downcase) ; L with slash
- (set-case-syntax 164 "w" downcase) ; general currency sign
- (set-case-syntax-pair 165 181 downcase) ; L with v
- (set-case-syntax-pair 166 182 downcase) ; S with acute accent
- (set-case-syntax 167 "." downcase) ; section sign
- (set-case-syntax 168 "w" downcase) ; diaeresis
- (set-case-syntax-pair 169 185 downcase) ; S with v
- (set-case-syntax-pair 170 186 downcase) ; S with cedilla
- (set-case-syntax-pair 171 187 downcase) ; T with v
- (set-case-syntax-pair 172 188 downcase) ; Z with acute accent
- (set-case-syntax 173 "_" downcase) ; soft hyphen
- (set-case-syntax-pair 174 190 downcase) ; Z with v
- (set-case-syntax-pair 175 191 downcase) ; Z with dot
- (set-case-syntax 176 "_" downcase) ; degree sign
- (set-case-syntax 178 "w" downcase) ; hook accent
- (set-case-syntax 180 "w" downcase) ; acute accent
- (set-case-syntax 183 "_" downcase) ; v accent
- (set-case-syntax 184 "w" downcase) ; cedilla
- (set-case-syntax 189 "w" downcase) ; Hungarian '' accent
- (set-case-syntax-pair 192 224 downcase) ; R with acute accent
- (set-case-syntax-pair 193 225 downcase) ; A with acute accent
- (set-case-syntax-pair 194 226 downcase) ; A with circumflex accent
- (set-case-syntax-pair 195 227 downcase) ; A with u accent
- (set-case-syntax-pair 196 228 downcase) ; A with diaeresis or umlaut mark
- (set-case-syntax-pair 197 229 downcase) ; L with acute accent
- (set-case-syntax-pair 198 230 downcase) ; C with acute accent
- (set-case-syntax-pair 199 231 downcase) ; C with cedilla
- (set-case-syntax-pair 200 232 downcase) ; C with v accent
- (set-case-syntax-pair 201 233 downcase) ; E with acute accent
- (set-case-syntax-pair 202 234 downcase) ; E with hook
- (set-case-syntax-pair 203 235 downcase) ; E with diaeresis
- (set-case-syntax-pair 204 236 downcase) ; E with v accent
- (set-case-syntax-pair 205 237 downcase) ; I with acute accent
- (set-case-syntax-pair 206 238 downcase) ; I with circumflex accent
- (set-case-syntax-pair 207 239 downcase) ; D with v accent
- (set-case-syntax-pair 208 240 downcase) ; D with stroke
- (set-case-syntax-pair 209 241 downcase) ; N with acute accent
- (set-case-syntax-pair 210 242 downcase) ; N with v accent
- (set-case-syntax-pair 211 243 downcase) ; O with acute accent
- (set-case-syntax-pair 212 244 downcase) ; O with circumflex accent
- (set-case-syntax-pair 213 245 downcase) ; O with Hungarian accent
- (set-case-syntax-pair 214 246 downcase) ; O with diaeresis or umlaut mark
- (set-case-syntax 215 "_" downcase) ; multiplication sign
- (set-case-syntax-pair 216 248 downcase) ; R with v accent
- (set-case-syntax-pair 217 249 downcase) ; U with ring
- (set-case-syntax-pair 218 250 downcase) ; U with acute accent
- (set-case-syntax-pair 219 251 downcase) ; U with Hungaraian accent
- (set-case-syntax-pair 220 252 downcase) ; U with diaeresis or umlaut mark
- (set-case-syntax-pair 221 253 downcase) ; Y with acute accent
- (set-case-syntax-pair 222 254 downcase) ; T with hook
- (set-case-syntax 223 "w" downcase) ; small sharp s, German
- (set-case-syntax 247 "_" downcase) ; division sign
- (set-case-syntax 255 "w" downcase) ; dot accent
-)
+ (set-case-syntax 160 " " tbl) ;no-break space
+ (set-case-syntax-pair 161 177 tbl) ;latin letter a with ogonek
+ (set-case-syntax 162 "w" tbl) ;breve
+ (set-case-syntax-pair 163 179 tbl) ;latin letter l with stroke
+ (set-case-syntax 164 "w" tbl) ;currency sign
+ (set-case-syntax-pair 165 181 tbl) ;latin letter l with caron
+ (set-case-syntax-pair 166 182 tbl) ;latin letter s with acute
+ (set-case-syntax 167 "." tbl) ;section sign
+ (set-case-syntax 168 "w" tbl) ;diaeresis
+ (set-case-syntax-pair 169 185 tbl) ;latin letter s with caron
+ (set-case-syntax-pair 170 186 tbl) ;latin letter s with cedilla
+ (set-case-syntax-pair 171 187 tbl) ;latin letter t with caron
+ (set-case-syntax-pair 172 188 tbl) ;latin letter z with acute
+ (set-case-syntax 173 "w" tbl) ;soft hyphen
+ (set-case-syntax-pair 174 190 tbl) ;latin letter z with caron
+ (set-case-syntax-pair 175 191 tbl) ;latin letter z with dot above
+ (set-case-syntax 176 "_" tbl) ;degree sign
+ (set-case-syntax 178 "w" tbl) ;ogonek
+ (set-case-syntax 180 "w" tbl) ;acute accent
+ (set-case-syntax 183 "_" tbl) ;caron
+ (set-case-syntax 184 "w" tbl) ;cedilla
+ (set-case-syntax 189 "w" tbl) ;double acute accent
+ (set-case-syntax-pair 192 224 tbl) ;latin letter r with acute
+ (set-case-syntax-pair 193 225 tbl) ;latin letter a with acute
+ (set-case-syntax-pair 194 226 tbl) ;latin letter a with circumflex
+ (set-case-syntax-pair 195 227 tbl) ;latin letter a with breve
+ (set-case-syntax-pair 196 228 tbl) ;latin letter a with diaeresis
+ (set-case-syntax-pair 197 229 tbl) ;latin letter l with acute
+ (set-case-syntax-pair 198 230 tbl) ;latin letter c with acute
+ (set-case-syntax-pair 199 231 tbl) ;latin letter c with cedilla
+ (set-case-syntax-pair 200 232 tbl) ;latin letter c with caron
+ (set-case-syntax-pair 201 233 tbl) ;latin letter e with acute
+ (set-case-syntax-pair 202 234 tbl) ;latin letter e with ogonek
+ (set-case-syntax-pair 203 235 tbl) ;latin letter e with diaeresis
+ (set-case-syntax-pair 204 236 tbl) ;latin letter e with caron
+ (set-case-syntax-pair 205 237 tbl) ;latin letter i with acute
+ (set-case-syntax-pair 206 238 tbl) ;latin letter i with circumflex
+ (set-case-syntax-pair 207 239 tbl) ;latin letter d with caron
+ (set-case-syntax-pair 208 240 tbl) ;latin letter d with stroke
+ (set-case-syntax-pair 209 241 tbl) ;latin letter n with acute
+ (set-case-syntax-pair 210 242 tbl) ;latin letter n with caron
+ (set-case-syntax-pair 211 243 tbl) ;latin letter o with acute
+ (set-case-syntax-pair 212 244 tbl) ;latin letter o with circumflex
+ (set-case-syntax-pair 213 245 tbl) ;latin letter o with double acute
+ (set-case-syntax-pair 214 246 tbl) ;latin letter o with diaeresis
+ (set-case-syntax 215 "_" tbl) ;multiplication sign
+ (set-case-syntax-pair 216 248 tbl) ;latin letter r with caron
+ (set-case-syntax-pair 217 249 tbl) ;latin letter u with ring above
+ (set-case-syntax-pair 218 250 tbl) ;latin letter u with acute
+ (set-case-syntax-pair 219 251 tbl) ;latin letter u with double acute
+ (set-case-syntax-pair 220 252 tbl) ;latin letter u with diaeresis
+ (set-case-syntax-pair 221 253 tbl) ;latin letter y with acute
+ (set-case-syntax-pair 222 254 tbl) ;latin letter t with cedilla
+ (set-case-syntax 223 "w" tbl) ;latin small letter sharp s
+ (set-case-syntax 247 "_" tbl) ;division sign
+ (set-case-syntax 255 "w" tbl)) ;dot above
;; When preloading this file, don't provide the feature.
;; Explicit `require' is used to load this for 8-bit characters.
-;;; latin-3.el --- set up case-conversion and syntax tables for ISO 8859/3
-;; Copyright (C) 1988 Free Software Foundation, Inc.
+;;; latin-3.el --- set up case-conversion and syntax tables for ISO Latin-3
-;; Author: Howard Gayle
-;; Modified for Latin-3: Marko Rauhamaa
+;; Copyright (C) 1988,1997 Free Software Foundation, Inc.
+
+;; Author: Marko Rahamaa
;; Maintainer: FSF
;; Keywords: i18n
;;; Commentary:
-;; Written by Howard Gayle. See case-table.el for details.
+;; Written by Marko Rauhamaa. See case-table.el for details.
+;; Updated by Erik Naggum.
;;; Code:
(require 'case-table)
-(let ((downcase (standard-case-table))
+(let ((tbl (standard-case-table))
(set-case-syntax-offset
(if set-case-syntax-set-multibyte
(- (make-char 'latin-iso8859-3) 128)
0)))
- (set-case-syntax 160 " " downcase) ; NBSP (no-break space)
- (set-case-syntax-pair 161 177 downcase) ; H with stroke
- (set-case-syntax 162 "w" downcase) ; breve
- (set-case-syntax 163 "w" downcase) ; pound sign
- (set-case-syntax 164 "w" downcase) ; general currency sign
- (set-case-syntax 165 "w" downcase) ; yen sign
- (set-case-syntax-pair 166 182 downcase) ; H with circumflex accent
- (set-case-syntax 167 "." downcase) ; section sign
- (set-case-syntax 168 "w" downcase) ; diaeresis
- (set-case-syntax 169 "w" downcase) ; I with dot accent
- (set-case-syntax-pair 170 186 downcase) ; S with cedilla
- (set-case-syntax-pair 171 187 downcase) ; G with breve accent
- (set-case-syntax-pair 172 188 downcase) ; J with circumflex accent
- (set-case-syntax 173 "_" downcase) ; soft hyphen
- (set-case-syntax 174 "_" downcase) ; registered sign
- (set-case-syntax-pair 175 191 downcase) ; Z with dot accent
- (set-case-syntax 176 "_" downcase) ; degree sign
- (set-case-syntax 178 "w" downcase) ; superscript two
- (set-case-syntax 179 "w" downcase) ; superscript three
- (set-case-syntax 180 "w" downcase) ; acute accent
- (set-case-syntax 181 "_" downcase) ; micro sign
- (set-case-syntax 183 "_" downcase) ; middle dot
- (set-case-syntax 184 "w" downcase) ; cedilla
- (set-case-syntax 185 "w" downcase) ; i without dot
- (set-case-syntax 189 "_" downcase) ; fraction one-half
- (set-case-syntax 190 "_" downcase) ; fraction three-quarters
- (set-case-syntax-pair 192 224 downcase) ; A with grave accent
- (set-case-syntax-pair 193 225 downcase) ; A with acute accent
- (set-case-syntax-pair 194 226 downcase) ; A with circumflex accent
- (set-case-syntax-pair 195 227 downcase) ; A with tilde
- (set-case-syntax-pair 196 228 downcase) ; A with diaeresis or umlaut mark
- (set-case-syntax-pair 197 229 downcase) ; A with ring
- (set-case-syntax-pair 197 229 downcase) ; C with dot accent
- (set-case-syntax-pair 198 230 downcase) ; C with circumflex accent
- (set-case-syntax-pair 199 231 downcase) ; C with cedilla
- (set-case-syntax-pair 200 232 downcase) ; E with grave accent
- (set-case-syntax-pair 201 233 downcase) ; E with acute accent
- (set-case-syntax-pair 202 234 downcase) ; E with circumflex accent
- (set-case-syntax-pair 203 235 downcase) ; E with diaeresis or umlaut mark
- (set-case-syntax-pair 204 236 downcase) ; I with grave accent
- (set-case-syntax-pair 205 237 downcase) ; I with acute accent
- (set-case-syntax-pair 206 238 downcase) ; I with circumflex accent
- (set-case-syntax-pair 207 239 downcase) ; I with diaeresis or umlaut mark
- (set-case-syntax-pair 208 240 downcase) ; D with stroke, Icelandic eth
- (set-case-syntax-pair 209 241 downcase) ; N with tilde
- (set-case-syntax-pair 210 242 downcase) ; O with grave accent
- (set-case-syntax-pair 211 243 downcase) ; O with acute accent
- (set-case-syntax-pair 212 244 downcase) ; O with circumflex accent
- (set-case-syntax-pair 213 245 downcase) ; G with dot accent
- (set-case-syntax-pair 214 246 downcase) ; O with diaeresis or umlaut mark
- (set-case-syntax 215 "_" downcase) ; multiplication sign
- (set-case-syntax-pair 216 248 downcase) ; G with circumflex accent
- (set-case-syntax-pair 217 249 downcase) ; U with grave accent
- (set-case-syntax-pair 218 250 downcase) ; U with acute accent
- (set-case-syntax-pair 219 251 downcase) ; U with circumflex accent
- (set-case-syntax-pair 220 252 downcase) ; U with diaeresis or umlaut mark
- (set-case-syntax-pair 221 253 downcase) ; U with breve accent
- (set-case-syntax-pair 222 254 downcase) ; S with circumflex accent
- (set-case-syntax 223 "w" downcase) ; small sharp s, German
- (set-case-syntax 247 "_" downcase) ; division sign
- (set-case-syntax 255 "w" downcase) ; dot accent
-)
+ (set-case-syntax 160 " " tbl) ;no-break space
+ (set-case-syntax-pair 161 177 tbl) ;latin letter h with stroke
+ (set-case-syntax 162 "w" tbl) ;breve
+ (set-case-syntax 163 "w" tbl) ;pound sign
+ (set-case-syntax 164 "w" tbl) ;currency sign
+ (set-case-syntax-pair 166 182 tbl) ;latin letter h with circumflex
+ (set-case-syntax 167 "." tbl) ;section sign
+ (set-case-syntax 168 "w" tbl) ;diaeresis
+ (set-case-syntax 169 "w" tbl) ;latin capital letter i with dot above
+ (set-case-syntax-pair 170 186 tbl) ;latin letter s with cedilla
+ (set-case-syntax-pair 171 187 tbl) ;latin letter g with breve
+ (set-case-syntax-pair 172 188 tbl) ;latin letter j with circumflex
+ (set-case-syntax 173 "_" tbl) ;soft hyphen
+ (set-case-syntax-pair 175 191 tbl) ;latin letter z with dot above
+ (set-case-syntax 176 "_" tbl) ;degree sign
+ (set-case-syntax 178 "w" tbl) ;superscript digit two
+ (set-case-syntax 179 "w" tbl) ;superscript digit three
+ (set-case-syntax 180 "w" tbl) ;acute accent
+ (set-case-syntax 181 "_" tbl) ;micro sign
+ (set-case-syntax 183 "_" tbl) ;middle dot
+ (set-case-syntax 184 "w" tbl) ;cedilla
+ (set-case-syntax 185 "w" tbl) ;latin small letter i dotless
+ (set-case-syntax 189 "_" tbl) ;vulgar fraction one half
+ (set-case-syntax-pair 192 224 tbl) ;latin letter a with grave
+ (set-case-syntax-pair 193 225 tbl) ;latin letter a with acute
+ (set-case-syntax-pair 194 226 tbl) ;latin letter a with circumflex
+ (set-case-syntax-pair 196 228 tbl) ;latin letter a with diaeresis
+ (set-case-syntax-pair 197 229 tbl) ;latin letter c with dot above
+ (set-case-syntax-pair 198 230 tbl) ;latin letter c with circumflex
+ (set-case-syntax-pair 199 231 tbl) ;latin letter c with cedilla
+ (set-case-syntax-pair 200 232 tbl) ;latin letter e with grave
+ (set-case-syntax-pair 201 233 tbl) ;latin letter e with acute
+ (set-case-syntax-pair 202 234 tbl) ;latin letter e with circumflex
+ (set-case-syntax-pair 203 235 tbl) ;latin letter e with diaeresis
+ (set-case-syntax-pair 204 236 tbl) ;latin letter i with grave
+ (set-case-syntax-pair 205 237 tbl) ;latin letter i with acute
+ (set-case-syntax-pair 206 238 tbl) ;latin letter i with circumflex
+ (set-case-syntax-pair 207 239 tbl) ;latin letter i with diaeresis
+ (set-case-syntax-pair 209 241 tbl) ;latin letter n with tilde
+ (set-case-syntax-pair 210 242 tbl) ;latin letter o with grave
+ (set-case-syntax-pair 211 243 tbl) ;latin letter o with acute
+ (set-case-syntax-pair 212 244 tbl) ;latin letter o with circumflex
+ (set-case-syntax-pair 213 245 tbl) ;latin letter g with dot above
+ (set-case-syntax-pair 214 246 tbl) ;latin letter o with diaeresis
+ (set-case-syntax 215 "_" tbl) ;multiplication sign
+ (set-case-syntax-pair 216 248 tbl) ;latin letter g with circumflex
+ (set-case-syntax-pair 217 249 tbl) ;latin letter u with grave
+ (set-case-syntax-pair 218 250 tbl) ;latin letter u with acute
+ (set-case-syntax-pair 219 251 tbl) ;latin letter u with circumflex
+ (set-case-syntax-pair 220 252 tbl) ;latin letter u with diaeresis
+ (set-case-syntax-pair 221 253 tbl) ;latin letter u with breve
+ (set-case-syntax-pair 222 254 tbl) ;latin letter s with circumflex
+ (set-case-syntax 223 "w" tbl) ;latin small letter sharp s
+ (set-case-syntax 247 "_" tbl) ;division sign
+ (set-case-syntax 255 "w" tbl)) ;dot above
;; When preloading this file, don't provide the feature.
;; Explicit `require' is used to load this for 8-bit characters.
(provide 'latin-3.el))
;;; latin-3.el ends here
-
-;;; latin-4.el --- define syntax and case conversion for Latin 4 (ISO 8859-4).
+;;; latin-4.el --- set up case-conversion and syntax tables for ISO Latin-4
-;; Copyright (C) 1988,1997 Free Software Foundation, Inc.
+;; Copyright (C) 1997 Free Software Foundation, Inc.
;; Author: Erik Naggum
;; Maintainer: FSF
(if set-case-syntax-set-multibyte
(- (make-char 'latin-iso8859-4) 128)
0)))
- (set-case-syntax 160 "w" tbl) ;NO-BREAK SPACE
- (set-case-syntax-pair 161 177 tbl) ;LATIN LETTER A WITH OGONEK
- (set-case-syntax 162 "w" tbl) ;LATIN LETTER KRA
- (set-case-syntax-pair 163 179 tbl) ;LATIN LETTER R WITH CEDILLA
- (set-case-syntax 164 "w" tbl) ;CURRENCY SIGN
- (set-case-syntax-pair 165 181 tbl) ;LATIN LETTER I WITH TILDE
- (set-case-syntax-pair 166 182 tbl) ;LATIN LETTER L WITH CEDILLA
- (set-case-syntax 167 "." tbl) ;SECTION SIGN
- (set-case-syntax 168 "w" tbl) ;DIAERESIS
- (set-case-syntax-pair 169 185 tbl) ;LATIN LETTER S WITH CARON
- (set-case-syntax-pair 170 186 tbl) ;LATIN LETTER E WITH MACRON
- (set-case-syntax-pair 171 187 tbl) ;LATIN LETTER G WITH CEDILLA
- (set-case-syntax-pair 172 188 tbl) ;LATIN LETTER T WITH STROKE
- (set-case-syntax 173 "w" tbl) ;SOFT HYPHEN
- (set-case-syntax-pair 174 190 tbl) ;LATIN LETTER Z WITH CARON
- (set-case-syntax 175 "_" tbl) ;OVERLINE
- (set-case-syntax 176 "_" tbl) ;DEGREE SIGN
- (set-case-syntax 178 "w" tbl) ;OGONEK
- (set-case-syntax 180 "w" tbl) ;ACUTE ACCENT
- (set-case-syntax 183 "w" tbl) ;CARON
- (set-case-syntax 184 "w" tbl) ;CEDILLA
- (set-case-syntax-pair 189 191 tbl) ;ENG
- (set-case-syntax-pair 192 224 tbl) ;LATIN LETTER A WITH MACRON
- (set-case-syntax-pair 193 225 tbl) ;LATIN LETTER A WITH ACUTE
- (set-case-syntax-pair 194 226 tbl) ;LATIN LETTER A WITH CIRCUMFLEX
- (set-case-syntax-pair 195 227 tbl) ;LATIN LETTER A WITH TILDE
- (set-case-syntax-pair 196 228 tbl) ;LATIN LETTER A WITH DIAERESIS
- (set-case-syntax-pair 197 229 tbl) ;LATIN LETTER A WITH RING ABOVE
- (set-case-syntax-pair 198 230 tbl) ;LATIN LETTER AE
- (set-case-syntax-pair 199 231 tbl) ;LATIN LETTER I WITH OGONEK
- (set-case-syntax-pair 200 232 tbl) ;LATIN LETTER C WITH CARON
- (set-case-syntax-pair 201 233 tbl) ;LATIN LETTER E WITH ACUTE
- (set-case-syntax-pair 202 234 tbl) ;LATIN LETTER E WITH OGONEK
- (set-case-syntax-pair 203 235 tbl) ;LATIN LETTER E WITH DIAERESIS
- (set-case-syntax-pair 204 236 tbl) ;LATIN LETTER E WITH DOT ABOVE
- (set-case-syntax-pair 205 237 tbl) ;LATIN LETTER I WITH ACUTE
- (set-case-syntax-pair 206 238 tbl) ;LATIN LETTER I WITH CIRCUMFLEX
- (set-case-syntax-pair 207 239 tbl) ;LATIN LETTER I WITH MACRON
- (set-case-syntax-pair 208 240 tbl) ;LATIN LETTER D WITH STROKE
- (set-case-syntax-pair 209 241 tbl) ;LATIN LETTER N WITH CEDILLA
- (set-case-syntax-pair 210 242 tbl) ;LATIN LETTER O WITH MACRON
- (set-case-syntax-pair 211 243 tbl) ;LATIN LETTER K WITH CEDILLA
- (set-case-syntax-pair 212 244 tbl) ;LATIN LETTER O WITH CIRCUMFLEX
- (set-case-syntax-pair 213 245 tbl) ;LATIN LETTER O WITH TILDE
- (set-case-syntax-pair 214 246 tbl) ;LATIN LETTER O WITH DIAERESIS
- (set-case-syntax 215 "_" tbl) ;MULTIPLICATION SIGN
- (set-case-syntax-pair 216 248 tbl) ;LATIN LETTER O WITH STROKE
- (set-case-syntax-pair 217 249 tbl) ;LATIN LETTER U WITH OGONEK
- (set-case-syntax-pair 218 250 tbl) ;LATIN LETTER U WITH ACUTE
- (set-case-syntax-pair 219 251 tbl) ;LATIN LETTER U WITH CIRCUMFLEX
- (set-case-syntax-pair 220 252 tbl) ;LATIN LETTER U WITH DIAERESIS
- (set-case-syntax-pair 221 253 tbl) ;LATIN LETTER U WITH TILDE
- (set-case-syntax-pair 222 254 tbl) ;LATIN LETTER U WITH MACRON
- (set-case-syntax 223 "w" tbl) ;LATIN LETTER SHARP S
- (set-case-syntax 247 "_" tbl) ;DIVISION SIGN
- (set-case-syntax 255 "w" tbl)) ;DOT ABOVE
+ (set-case-syntax 160 " " tbl) ;no-break space
+ (set-case-syntax-pair 161 177 tbl) ;latin letter a with ogonek
+ (set-case-syntax 162 "w" tbl) ;latin letter kra
+ (set-case-syntax-pair 163 179 tbl) ;latin letter r with cedilla
+ (set-case-syntax 164 "w" tbl) ;currency sign
+ (set-case-syntax-pair 165 181 tbl) ;latin letter i with tilde
+ (set-case-syntax-pair 166 182 tbl) ;latin letter l with cedilla
+ (set-case-syntax 167 "." tbl) ;section sign
+ (set-case-syntax 168 "w" tbl) ;diaeresis
+ (set-case-syntax-pair 169 185 tbl) ;latin letter s with caron
+ (set-case-syntax-pair 170 186 tbl) ;latin letter e with macron
+ (set-case-syntax-pair 171 187 tbl) ;latin letter g with cedilla
+ (set-case-syntax-pair 172 188 tbl) ;latin letter t with stroke
+ (set-case-syntax 173 "_" tbl) ;soft hyphen
+ (set-case-syntax-pair 174 190 tbl) ;latin letter z with caron
+ (set-case-syntax 175 "_" tbl) ;overline
+ (set-case-syntax 176 "_" tbl) ;degree sign
+ (set-case-syntax 178 "w" tbl) ;ogonek
+ (set-case-syntax 180 "w" tbl) ;acute accent
+ (set-case-syntax 183 "w" tbl) ;caron
+ (set-case-syntax 184 "w" tbl) ;cedilla
+ (set-case-syntax-pair 189 191 tbl) ;eng
+ (set-case-syntax-pair 192 224 tbl) ;latin letter a with macron
+ (set-case-syntax-pair 193 225 tbl) ;latin letter a with acute
+ (set-case-syntax-pair 194 226 tbl) ;latin letter a with circumflex
+ (set-case-syntax-pair 195 227 tbl) ;latin letter a with tilde
+ (set-case-syntax-pair 196 228 tbl) ;latin letter a with diaeresis
+ (set-case-syntax-pair 197 229 tbl) ;latin letter a with ring above
+ (set-case-syntax-pair 198 230 tbl) ;latin letter ae
+ (set-case-syntax-pair 199 231 tbl) ;latin letter i with ogonek
+ (set-case-syntax-pair 200 232 tbl) ;latin letter c with caron
+ (set-case-syntax-pair 201 233 tbl) ;latin letter e with acute
+ (set-case-syntax-pair 202 234 tbl) ;latin letter e with ogonek
+ (set-case-syntax-pair 203 235 tbl) ;latin letter e with diaeresis
+ (set-case-syntax-pair 204 236 tbl) ;latin letter e with dot above
+ (set-case-syntax-pair 205 237 tbl) ;latin letter i with acute
+ (set-case-syntax-pair 206 238 tbl) ;latin letter i with circumflex
+ (set-case-syntax-pair 207 239 tbl) ;latin letter i with macron
+ (set-case-syntax-pair 208 240 tbl) ;latin letter d with stroke
+ (set-case-syntax-pair 209 241 tbl) ;latin letter n with cedilla
+ (set-case-syntax-pair 210 242 tbl) ;latin letter o with macron
+ (set-case-syntax-pair 211 243 tbl) ;latin letter k with cedilla
+ (set-case-syntax-pair 212 244 tbl) ;latin letter o with circumflex
+ (set-case-syntax-pair 213 245 tbl) ;latin letter o with tilde
+ (set-case-syntax-pair 214 246 tbl) ;latin letter o with diaeresis
+ (set-case-syntax 215 "_" tbl) ;multiplication sign
+ (set-case-syntax-pair 216 248 tbl) ;latin letter o with stroke
+ (set-case-syntax-pair 217 249 tbl) ;latin letter u with ogonek
+ (set-case-syntax-pair 218 250 tbl) ;latin letter u with acute
+ (set-case-syntax-pair 219 251 tbl) ;latin letter u with circumflex
+ (set-case-syntax-pair 220 252 tbl) ;latin letter u with diaeresis
+ (set-case-syntax-pair 221 253 tbl) ;latin letter u with tilde
+ (set-case-syntax-pair 222 254 tbl) ;latin letter u with macron
+ (set-case-syntax 223 "w" tbl) ;latin letter sharp s
+ (set-case-syntax 247 "_" tbl) ;division sign
+ (set-case-syntax 255 "w" tbl)) ;dot above
;; When preloading this file, don't provide the feature.
;; Explicit `require' is used to load this for 8-bit characters.
--- /dev/null
+;;; latin-5.el --- set up case-conversion and syntax tables for ISO latin-5
+
+;; Copyright (C) 1997 Free Software Foundation, Inc.
+
+;; Author: Erik Naggum
+;; Maintainer: FSF
+;; Keywords: i18n
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software; you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs; see the file COPYING. If not, write to the
+;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+;; Boston, MA 02111-1307, USA.
+
+;;; Commentary:
+
+;; Written by Erik Naggum. See case-table.el for details.
+
+;;; Code:
+
+(require 'case-table)
+
+(let ((tbl (standard-case-table))
+ (set-case-syntax-offset
+ (if set-case-syntax-set-multibyte
+ (- (make-char 'latin-iso8859-5) 128)
+ 0)))
+ (set-case-syntax 160 " " tbl) ;no-break space
+ (set-case-syntax 161 "." tbl) ;inverted exclamation mark
+ (set-case-syntax 162 "w" tbl) ;cent sign
+ (set-case-syntax 163 "w" tbl) ;pound sign
+ (set-case-syntax 164 "w" tbl) ;currency sign
+ (set-case-syntax 165 "w" tbl) ;yen sign
+ (set-case-syntax 166 "_" tbl) ;broken bar
+ (set-case-syntax 167 "." tbl) ;section sign
+ (set-case-syntax 168 "w" tbl) ;diaeresis
+ (set-case-syntax 169 "_" tbl) ;copyright sign
+ (set-case-syntax 170 "w" tbl) ;feminine ordinal indicator
+ (set-case-syntax-delims 171 187 tbl) ;left-pointing double angle quotation mark
+ (set-case-syntax 172 "_" tbl) ;not sign
+ (set-case-syntax 173 "_" tbl) ;soft hyphen
+ (set-case-syntax 174 "_" tbl) ;registered sign
+ (set-case-syntax 175 "w" tbl) ;overline
+ (set-case-syntax 176 "_" tbl) ;degree sign
+ (set-case-syntax 177 "_" tbl) ;plus-minus sign
+ (set-case-syntax 178 "w" tbl) ;superscript digit two
+ (set-case-syntax 179 "w" tbl) ;superscript digit three
+ (set-case-syntax 180 "w" tbl) ;acute accent
+ (set-case-syntax 181 "_" tbl) ;micro sign
+ (set-case-syntax 182 "." tbl) ;pilcrow sign
+ (set-case-syntax 183 "_" tbl) ;middle dot
+ (set-case-syntax 184 "w" tbl) ;cedilla
+ (set-case-syntax 185 "w" tbl) ;superscript digit one
+ (set-case-syntax 186 "w" tbl) ;masculine ordinal indicator
+ (set-case-syntax 188 "_" tbl) ;vulgar fraction one quarter
+ (set-case-syntax 189 "_" tbl) ;vulgar fraction one half
+ (set-case-syntax 190 "_" tbl) ;vulgar fraction three quarters
+ (set-case-syntax 191 "." tbl) ;inverted question mark
+ (set-case-syntax-pair 192 224 tbl) ;latin letter a with grave
+ (set-case-syntax-pair 193 225 tbl) ;latin letter a with acute
+ (set-case-syntax-pair 194 226 tbl) ;latin letter a with circumflex
+ (set-case-syntax-pair 195 227 tbl) ;latin letter a with tilde
+ (set-case-syntax-pair 196 228 tbl) ;latin letter a with diaeresis
+ (set-case-syntax-pair 197 229 tbl) ;latin letter a with ring above
+ (set-case-syntax-pair 198 230 tbl) ;latin letter ae
+ (set-case-syntax-pair 199 231 tbl) ;latin letter c with cedilla
+ (set-case-syntax-pair 200 232 tbl) ;latin letter e with grave
+ (set-case-syntax-pair 201 233 tbl) ;latin letter e with acute
+ (set-case-syntax 202 "w" tbl) ;latin capital letter e with circumflex
+ (set-case-syntax-pair 203 235 tbl) ;latin letter e with diaeresis
+ (set-case-syntax 204 "w" tbl) ;latin capital letter i with grave
+ (set-case-syntax-pair 205 237 tbl) ;latin letter i with acute
+ (set-case-syntax-pair 206 238 tbl) ;latin letter i with circumflex
+ (set-case-syntax 207 "w" tbl) ;latin capital letter i with diaeresis
+ (set-case-syntax-pair 208 240 tbl) ;latin letter g with breve
+ (set-case-syntax-pair 209 241 tbl) ;latin letter n with tilde
+ (set-case-syntax-pair 210 242 tbl) ;latin letter o with grave
+ (set-case-syntax-pair 211 243 tbl) ;latin letter o with acute
+ (set-case-syntax-pair 212 244 tbl) ;latin letter o with circumflex
+ (set-case-syntax-pair 213 245 tbl) ;latin letter o with tilde
+ (set-case-syntax-pair 214 246 tbl) ;latin letter o with diaeresis
+ (set-case-syntax 215 "_" tbl) ;multiplication sign
+ (set-case-syntax-pair 216 248 tbl) ;latin letter o with stroke
+ (set-case-syntax-pair 217 249 tbl) ;latin letter u with grave
+ (set-case-syntax-pair 218 250 tbl) ;latin letter u with acute
+ (set-case-syntax-pair 219 251 tbl) ;latin letter u with circumflex
+ (set-case-syntax-pair 220 252 tbl) ;latin letter u with diaeresis
+ (set-case-syntax 221 "w" tbl) ;latin capital letter i with dot above
+ (set-case-syntax-pair 222 254 tbl) ;latin letter s with cedilla
+ (set-case-syntax 223 "w" tbl) ;latin small letter sharp s
+ (set-case-syntax 234 "w" tbl) ;latin small letter e with ogonek
+ (set-case-syntax 236 "w" tbl) ;latin small letter e with dot above
+ (set-case-syntax 239 "w" tbl) ;latin small letter i with macron
+ (set-case-syntax 247 "_" tbl) ;division sign
+ (set-case-syntax 253 "w" tbl) ;latin small letter i dotless
+ (set-case-syntax 255 "w" tbl)) ;latin small letter y with diaeresis
+
+;; When preloading this file, don't provide the feature.
+;; Explicit `require' is used to load this for 8-bit characters.
+(or set-case-syntax-set-multibyte
+ (provide 'latin-5))
+
+;;; latin-5.el ends here