changeset 42046:ac7e83d83ab4

Insert Latin-1 characters, not unibyte strings.
author Dave Love <fx@gnu.org>
date Sat, 15 Dec 2001 16:26:31 +0000
parents 14d6652598ef
children 83eb799f3657
files lisp/international/iso-insert.el
diffstat 1 files changed, 100 insertions(+), 99 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/international/iso-insert.el	Sat Dec 15 16:24:25 2001 +0000
+++ b/lisp/international/iso-insert.el	Sat Dec 15 16:26:31 2001 +0000
@@ -1,6 +1,6 @@
-;;; iso-insert.el --- insert functions for ISO 8859/1
+;;; iso-insert.el --- insert functions for ISO 8859/1  -*- coding: iso-8859-1;-*-
 
-;; Copyright (C) 1987, 1994 Free Software Foundation, Inc.
+;; Copyright (C) 1987, 1994, 2001 Free Software Foundation, Inc.
 
 ;; Author: Howard Gayle
 ;; Maintainer: FSF
@@ -25,488 +25,489 @@
 
 ;;; Commentary:
 
-;; Written by Howard Gayle.  See case-table.el for details.
+;; Provides keys for inserting ISO Latin-1 characters.  They use the
+;; prefix key C-x 8.  Type C-x 8 C-h for a list.
 
 ;;; Code:
 
 (defun insert-no-break-space ()
    (interactive "*")
-   (insert (string 160))
+   (insert ?\ )
 )
 
 (defun insert-inverted-exclamation-mark ()
    (interactive "*")
-   (insert (string 161))
+   (insert ?\¡)
 )
 
 (defun insert-cent-sign ()
    (interactive "*")
-   (insert (string 162))
+   (insert ?\¢)
 )
 
 (defun insert-pound-sign ()
    (interactive "*")
-   (insert (string 163))
+   (insert ?\£)
 )
 
 (defun insert-general-currency-sign ()
    (interactive "*")
-   (insert (string 164))
+   (insert ?\¤)
 )
 
 (defun insert-yen-sign ()
    (interactive "*")
-   (insert (string 165))
+   (insert ?\¥)
 )
 
 (defun insert-broken-vertical-line ()
    (interactive "*")
-   (insert (string 166))
+   (insert ?\¦)
 )
 
 (defun insert-section-sign ()
    (interactive "*")
-   (insert (string 167))
+   (insert ?\§)
 )
 
 (defun insert-diaeresis ()
    (interactive "*")
-   (insert (string 168))
+   (insert ?\¨)
 )
 
 (defun insert-copyright-sign ()
    (interactive "*")
-   (insert (string 169))
+   (insert ?\©)
 )
 
 (defun insert-ordinal-indicator-feminine ()
    (interactive "*")
-   (insert (string 170))
+   (insert ?\ª)
 )
 
 (defun insert-angle-quotation-mark-left ()
    (interactive "*")
-   (insert (string 171))
+   (insert ?\«)
 )
 
 (defun insert-not-sign ()
    (interactive "*")
-   (insert (string 172))
+   (insert ?\¬)
 )
 
 (defun insert-soft-hyphen ()
    (interactive "*")
-   (insert (string 173))
+   (insert ?\­)
 )
 
 (defun insert-registered-sign ()
    (interactive "*")
-   (insert (string 174))
+   (insert ?\®)
 )
 
 (defun insert-macron ()
    (interactive "*")
-   (insert (string 175))
+   (insert ?\¯)
 )
 
 (defun insert-degree-sign ()
    (interactive "*")
-   (insert (string 176))
+   (insert ?\°)
 )
 
 (defun insert-plus-or-minus-sign ()
    (interactive "*")
-   (insert (string 177))
+   (insert ?\±)
 )
 
 (defun insert-superscript-two ()
    (interactive "*")
-   (insert (string 178))
+   (insert ?\²)
 )
 
 (defun insert-superscript-three ()
    (interactive "*")
-   (insert (string 179))
+   (insert ?\³)
 )
 
 (defun insert-acute-accent ()
    (interactive "*")
-   (insert (string 180))
+   (insert ?\´)
 )
 
 (defun insert-micro-sign ()
    (interactive "*")
-   (insert (string 181))
+   (insert ?\µ)
 )
 
 (defun insert-pilcrow ()
    (interactive "*")
-   (insert (string 182))
+   (insert ?\¶)
 )
 
 (defun insert-middle-dot ()
    (interactive "*")
-   (insert (string 183))
+   (insert ?\·)
 )
 
 (defun insert-cedilla ()
    (interactive "*")
-   (insert (string 184))
+   (insert ?\¸)
 )
 
 (defun insert-superscript-one ()
    (interactive "*")
-   (insert (string 185))
+   (insert ?\¹)
 )
 
 (defun insert-ordinal-indicator-masculine ()
    (interactive "*")
-   (insert (string 186))
+   (insert ?\º)
 )
 
 (defun insert-angle-quotation-mark-right ()
    (interactive "*")
-   (insert (string 187))
+   (insert ?\»)
 )
 
 (defun insert-fraction-one-quarter ()
    (interactive "*")
-   (insert (string 188))
+   (insert ?\¼)
 )
 
 (defun insert-fraction-one-half ()
    (interactive "*")
-   (insert (string 189))
+   (insert ?\½)
 )
 
 (defun insert-fraction-three-quarters ()
    (interactive "*")
-   (insert (string 190))
+   (insert ?\¾)
 )
 
 (defun insert-inverted-question-mark ()
    (interactive "*")
-   (insert (string 191))
+   (insert ?\¿)
 )
 
 (defun insert-A-grave ()
    (interactive "*")
-   (insert (string 192))
+   (insert ?\À)
 )
 
 (defun insert-A-acute ()
    (interactive "*")
-   (insert (string 193))
+   (insert ?\Á)
 )
 
 (defun insert-A-circumflex ()
    (interactive "*")
-   (insert (string 194))
+   (insert ?\Â)
 )
 
 (defun insert-A-tilde ()
    (interactive "*")
-   (insert (string 195))
+   (insert ?\Ã)
 )
 
 (defun insert-A-umlaut ()
    (interactive "*")
-   (insert (string 196))
+   (insert ?\Ä)
 )
 
 (defun insert-A-ring ()
    (interactive "*")
-   (insert (string 197))
+   (insert ?\Å)
 )
 
 (defun insert-AE ()
    (interactive "*")
-   (insert (string 198))
+   (insert ?\Æ)
 )
 
 (defun insert-C-cedilla ()
    (interactive "*")
-   (insert (string 199))
+   (insert ?\Ç)
 )
 
 (defun insert-E-grave ()
    (interactive "*")
-   (insert (string 200))
+   (insert ?\È)
 )
 
 (defun insert-E-acute ()
    (interactive "*")
-   (insert (string 201))
+   (insert ?\É)
 )
 
 (defun insert-E-circumflex ()
    (interactive "*")
-   (insert (string 202))
+   (insert ?\Ê)
 )
 
 (defun insert-E-umlaut ()
    (interactive "*")
-   (insert (string 203))
+   (insert ?\Ë)
 )
 
 (defun insert-I-grave ()
    (interactive "*")
-   (insert (string 204))
+   (insert ?\Ì)
 )
 
 (defun insert-I-acute ()
    (interactive "*")
-   (insert (string 205))
+   (insert ?\Í)
 )
 
 (defun insert-I-circumflex ()
    (interactive "*")
-   (insert (string 206))
+   (insert ?\Î)
 )
 
 (defun insert-I-umlaut ()
    (interactive "*")
-   (insert (string 207))
+   (insert ?\Ï)
 )
 
 (defun insert-D-stroke ()
    (interactive "*")
-   (insert (string 208))
+   (insert ?\Ð)
 )
 
 (defun insert-N-tilde ()
    (interactive "*")
-   (insert (string 209))
+   (insert ?\Ñ)
 )
 
 (defun insert-O-grave ()
    (interactive "*")
-   (insert (string 210))
+   (insert ?\Ò)
 )
 
 (defun insert-O-acute ()
    (interactive "*")
-   (insert (string 211))
+   (insert ?\Ó)
 )
 
 (defun insert-O-circumflex ()
    (interactive "*")
-   (insert (string 212))
+   (insert ?\Ô)
 )
 
 (defun insert-O-tilde ()
    (interactive "*")
-   (insert (string 213))
+   (insert ?\Õ)
 )
 
 (defun insert-O-umlaut ()
    (interactive "*")
-   (insert (string 214))
+   (insert ?\Ö)
 )
 
 (defun insert-multiplication-sign ()
    (interactive "*")
-   (insert (string 215))
+   (insert ?\×)
 )
 
 (defun insert-O-slash ()
    (interactive "*")
-   (insert (string 216))
+   (insert ?\Ø)
 )
 
 (defun insert-U-grave ()
    (interactive "*")
-   (insert (string 217))
+   (insert ?\Ù)
 )
 
 (defun insert-U-acute ()
    (interactive "*")
-   (insert (string 218))
+   (insert ?\Ú)
 )
 
 (defun insert-U-circumflex ()
    (interactive "*")
-   (insert (string 219))
+   (insert ?\Û)
 )
 
 (defun insert-U-umlaut ()
    (interactive "*")
-   (insert (string 220))
+   (insert ?\Ü)
 )
 
 (defun insert-Y-acute ()
    (interactive "*")
-   (insert (string 221))
+   (insert ?\Ý)
 )
 
 (defun insert-THORN ()
    (interactive "*")
-   (insert (string 222))
+   (insert ?\Þ)
 )
 
 (defun insert-ss ()
    (interactive "*")
-   (insert (string 223))
+   (insert ?\ß)
 )
 
 (defun insert-a-grave ()
    (interactive "*")
-   (insert (string 224))
+   (insert ?\à)
 )
 
 (defun insert-a-acute ()
    (interactive "*")
-   (insert (string 225))
+   (insert ?\á)
 )
 
 (defun insert-a-circumflex ()
    (interactive "*")
-   (insert (string 226))
+   (insert ?\â)
 )
 
 (defun insert-a-tilde ()
    (interactive "*")
-   (insert (string 227))
+   (insert ?\ã)
 )
 
 (defun insert-a-umlaut ()
    (interactive "*")
-   (insert (string 228))
+   (insert ?\ä)
 )
 
 (defun insert-a-ring ()
    (interactive "*")
-   (insert (string 229))
+   (insert ?\å)
 )
 
 (defun insert-ae ()
    (interactive "*")
-   (insert (string 230))
+   (insert ?\æ)
 )
 
 (defun insert-c-cedilla ()
    (interactive "*")
-   (insert (string 231))
+   (insert ?\ç)
 )
 
 (defun insert-e-grave ()
    (interactive "*")
-   (insert (string 232))
+   (insert ?\è)
 )
 
 (defun insert-e-acute ()
    (interactive "*")
-   (insert (string 233))
+   (insert ?\é)
 )
 
 (defun insert-e-circumflex ()
    (interactive "*")
-   (insert (string 234))
+   (insert ?\ê)
 )
 
 (defun insert-e-umlaut ()
    (interactive "*")
-   (insert (string 235))
+   (insert ?\ë)
 )
 
 (defun insert-i-grave ()
    (interactive "*")
-   (insert (string 236))
+   (insert ?\ì)
 )
 
 (defun insert-i-acute ()
    (interactive "*")
-   (insert (string 237))
+   (insert ?\í)
 )
 
 (defun insert-i-circumflex ()
    (interactive "*")
-   (insert (string 238))
+   (insert ?\î)
 )
 
 (defun insert-i-umlaut ()
    (interactive "*")
-   (insert (string 239))
+   (insert ?\ï)
 )
 
 (defun insert-d-stroke ()
    (interactive "*")
-   (insert (string 240))
+   (insert ?\ð)
 )
 
 (defun insert-n-tilde ()
    (interactive "*")
-   (insert (string 241))
+   (insert ?\ñ)
 )
 
 (defun insert-o-grave ()
    (interactive "*")
-   (insert (string 242))
+   (insert ?\ò)
 )
 
 (defun insert-o-acute ()
    (interactive "*")
-   (insert (string 243))
+   (insert ?\ó)
 )
 
 (defun insert-o-circumflex ()
    (interactive "*")
-   (insert (string 244))
+   (insert ?\ô)
 )
 
 (defun insert-o-tilde ()
    (interactive "*")
-   (insert (string 245))
+   (insert ?\õ)
 )
 
 (defun insert-o-umlaut ()
    (interactive "*")
-   (insert (string 246))
+   (insert ?\ö)
 )
 
 (defun insert-division-sign ()
    (interactive "*")
-   (insert (string 247))
+   (insert ?\÷)
 )
 
 (defun insert-o-slash ()
    (interactive "*")
-   (insert (string 248))
+   (insert ?\ø)
 )
 
 (defun insert-u-grave ()
    (interactive "*")
-   (insert (string 249))
+   (insert ?\ù)
 )
 
 (defun insert-u-acute ()
    (interactive "*")
-   (insert (string 250))
+   (insert ?\ú)
 )
 
 (defun insert-u-circumflex ()
    (interactive "*")
-   (insert (string 251))
+   (insert ?\û)
 )
 
 (defun insert-u-umlaut ()
    (interactive "*")
-   (insert (string 252))
+   (insert ?\ü)
 )
 
 (defun insert-y-acute ()
    (interactive "*")
-   (insert (string 253))
+   (insert ?\ý)
 )
 
 (defun insert-thorn ()
    (interactive "*")
-   (insert (string 254))
+   (insert ?\þ)
 )
 
 (defun insert-y-umlaut ()
    (interactive "*")
-   (insert (string 255))
+   (insert ?\ÿ)
 )
 
 (defvar 8859-1-map nil "Keymap for ISO 8859/1 character insertion.")