mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 02:51:31 -08:00
Replace most insignificant occurrences of '`' with a straight quote, sharp quote or nothing. This includes backquotes in 'pcase' patterns. * admin/admin.el: * lisp/apropos.el: * lisp/arc-mode.el: * lisp/auth-source.el: * lisp/avoid.el: * lisp/bindings.el: * lisp/bs.el: * lisp/calculator.el: * lisp/calendar/todo-mode.el: * lisp/cedet/semantic.el: * lisp/cedet/semantic/analyze/debug.el: * lisp/cedet/semantic/bovine.el: * lisp/cedet/semantic/dep.el: * lisp/cedet/semantic/grammar.el: * lisp/cedet/semantic/wisent/comp.el: * lisp/cedet/semantic/wisent/grammar.el: * lisp/cedet/srecode/mode.el: * lisp/cus-edit.el: * lisp/doc-view.el: * lisp/elec-pair.el: * lisp/electric.el: * lisp/emacs-lisp/autoload.el: * lisp/emacs-lisp/benchmark.el: * lisp/emacs-lisp/byte-opt.el: * lisp/emacs-lisp/bytecomp.el: * lisp/emacs-lisp/cconv.el: * lisp/emacs-lisp/cl-extra.el: * lisp/emacs-lisp/cl-generic.el: * lisp/emacs-lisp/cl-macs.el: * lisp/emacs-lisp/copyright.el: * lisp/emacs-lisp/debug.el: * lisp/emacs-lisp/eieio-compat.el: * lisp/emacs-lisp/ert.el: * lisp/emacs-lisp/generator.el: * lisp/emacs-lisp/inline.el: * lisp/emacs-lisp/macroexp.el: * lisp/emacs-lisp/map.el: * lisp/emacs-lisp/package-x.el: * lisp/emacs-lisp/package.el: * lisp/emacs-lisp/radix-tree.el: * lisp/emacs-lisp/smie.el: * lisp/epa.el: * lisp/erc/erc-dcc.el: * lisp/erc/erc-track.el: * lisp/erc/erc.el: * lisp/eshell/em-ls.el: * lisp/eshell/esh-cmd.el: * lisp/files.el: * lisp/filesets.el: * lisp/font-lock.el: * lisp/frameset.el: * lisp/gnus/gnus-agent.el: * lisp/gnus/gnus-art.el: * lisp/gnus/gnus-cite.el: * lisp/gnus/gnus-group.el: * lisp/gnus/gnus-msg.el: * lisp/gnus/gnus-salt.el: * lisp/gnus/gnus-srvr.el: * lisp/gnus/gnus-sum.el: * lisp/gnus/gnus-topic.el: * lisp/gnus/gnus-util.el: * lisp/gnus/gnus.el: * lisp/gnus/message.el: * lisp/gnus/mm-util.el: * lisp/gnus/mml.el: * lisp/gnus/nnheader.el: * lisp/gnus/nnimap.el: * lisp/gnus/nnmairix.el: * lisp/gnus/spam.el: * lisp/hexl.el: * lisp/hi-lock.el: * lisp/ibuf-ext.el: * lisp/ibuffer.el: * lisp/ido.el: * lisp/info.el: * lisp/international/mule-cmds.el: * lisp/international/mule-util.el: * lisp/json.el: * lisp/jsonrpc.el: * lisp/language/cyrillic.el: * lisp/language/european.el: * lisp/language/georgian.el: * lisp/language/tibetan.el: * lisp/language/utf-8-lang.el: * lisp/language/vietnamese.el: * lisp/ldefs-boot.el: * lisp/mail/mail-extr.el: * lisp/man.el: * lisp/menu-bar.el: * lisp/mh-e/mh-acros.el: * lisp/mh-e/mh-folder.el: * lisp/mh-e/mh-mime.el: * lisp/mh-e/mh-show.el: * lisp/mh-e/mh-speed.el: * lisp/minibuffer.el: * lisp/mpc.el: * lisp/net/ange-ftp.el: * lisp/net/hmac-def.el: * lisp/net/newst-backend.el: * lisp/net/quickurl.el: * lisp/net/tramp-archive.el: * lisp/net/tramp-compat.el: * lisp/notifications.el: * lisp/obsolete/pgg-parse.el: * lisp/obsolete/vc-arch.el: * lisp/obsolete/xesam.el: * lisp/org/ob-C.el: * lisp/org/ob-core.el: * lisp/org/ob-exp.el: * lisp/org/ob-groovy.el: * lisp/org/ob-haskell.el: * lisp/org/ob-io.el: * lisp/org/ob-lisp.el: * lisp/org/ob-lob.el: * lisp/org/ob-lua.el: * lisp/org/ob-octave.el: * lisp/org/ob-perl.el: * lisp/org/ob-python.el: * lisp/org/ob-ref.el: * lisp/org/ob-ruby.el: * lisp/org/ob-sql.el: * lisp/org/org-agenda.el: * lisp/org/org-capture.el: * lisp/org/org-clock.el: * lisp/org/org-colview.el: * lisp/org/org-duration.el: * lisp/org/org-element.el: * lisp/org/org-entities.el: * lisp/org/org-gnus.el: * lisp/org/org-indent.el: * lisp/org/org-info.el: * lisp/org/org-inlinetask.el: * lisp/org/org-lint.el: * lisp/org/org-list.el: * lisp/org/org-mouse.el: * lisp/org/org-plot.el: * lisp/org/org-src.el: * lisp/org/org-table.el: * lisp/org/org.el: * lisp/org/ox-ascii.el: * lisp/org/ox-html.el: * lisp/org/ox-latex.el: * lisp/org/ox-man.el: * lisp/org/ox-md.el: * lisp/org/ox-org.el: * lisp/org/ox-publish.el: * lisp/org/ox-texinfo.el: * lisp/org/ox.el: * lisp/play/bubbles.el: * lisp/play/gamegrid.el: * lisp/progmodes/autoconf.el: * lisp/progmodes/cc-defs.el: * lisp/progmodes/cc-engine.el: * lisp/progmodes/cc-fonts.el: * lisp/progmodes/cc-langs.el: * lisp/progmodes/cperl-mode.el: * lisp/progmodes/ebrowse.el: * lisp/progmodes/elisp-mode.el: * lisp/progmodes/flymake-cc.el: * lisp/progmodes/flymake.el: * lisp/progmodes/fortran.el: * lisp/progmodes/grep.el: * lisp/progmodes/gud.el: * lisp/progmodes/idlwave.el: * lisp/progmodes/js.el: * lisp/progmodes/m4-mode.el: * lisp/progmodes/make-mode.el: * lisp/progmodes/mixal-mode.el: * lisp/progmodes/modula2.el: * lisp/progmodes/octave.el: * lisp/progmodes/opascal.el: * lisp/progmodes/prolog.el: * lisp/progmodes/ps-mode.el: * lisp/progmodes/python.el: * lisp/progmodes/ruby-mode.el: * lisp/progmodes/sh-script.el: * lisp/progmodes/sql.el: * lisp/progmodes/verilog-mode.el: * lisp/ps-mule.el: * lisp/rtree.el: * lisp/ruler-mode.el: * lisp/ses.el: * lisp/simple.el: * lisp/startup.el: * lisp/subr.el: * lisp/term/ns-win.el: * lisp/textmodes/bibtex.el: * lisp/textmodes/conf-mode.el: * lisp/textmodes/css-mode.el: * lisp/textmodes/refill.el: * lisp/textmodes/sgml-mode.el: * lisp/textmodes/tex-mode.el: * lisp/tutorial.el: * lisp/url/url-dav.el: * lisp/url/url-gw.el: * lisp/url/url-http.el: * lisp/url/url-methods.el: * lisp/url/url-privacy.el: * lisp/vc/cvs-status.el: * lisp/vc/diff-mode.el: * lisp/vc/ediff-init.el: * lisp/vc/ediff-ptch.el: * lisp/vc/log-edit.el: * lisp/vc/log-view.el: * lisp/vc/pcvs-info.el: * lisp/vc/pcvs.el: * lisp/vc/smerge-mode.el: * lisp/vc/vc-git.el: * lisp/vc/vc-hg.el: * lisp/vc/vc-mtn.el: * lisp/vc/vc-rcs.el: * lisp/whitespace.el: * lisp/window.el: * test/lisp/electric-tests.el: * test/lisp/emacs-lisp/cl-lib-tests.el: * test/lisp/emacs-lisp/ert-tests.el: * test/lisp/epg-tests.el: * test/lisp/jsonrpc-tests.el: * test/src/data-tests.el: * test/src/json-tests.el: Replace most insignificant backquotes.
672 lines
21 KiB
EmacsLisp
672 lines
21 KiB
EmacsLisp
;;; european.el --- support for European languages -*- coding: utf-8; -*-
|
||
|
||
;; Copyright (C) 1997-1998, 2000-2018 Free Software Foundation, Inc.
|
||
;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||
;; 2005, 2006, 2007, 2008, 2009, 2010, 2011
|
||
;; National Institute of Advanced Industrial Science and Technology (AIST)
|
||
;; Registration Number H14PRO021
|
||
;; Copyright (C) 2003
|
||
;; National Institute of Advanced Industrial Science and Technology (AIST)
|
||
;; Registration Number H13PRO009
|
||
|
||
;; Keywords: multilingual, European
|
||
|
||
;; 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 3 of the License, 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. If not, see <https://www.gnu.org/licenses/>.
|
||
|
||
;;; Commentary:
|
||
|
||
;; For European scripts, all the ISO Latin character sets are
|
||
;; supported, along with various others.
|
||
|
||
;;; Code:
|
||
|
||
;; Latin-1 (ISO-8859-1)
|
||
|
||
(set-language-info-alist
|
||
"Latin-1" '((charset iso-8859-1)
|
||
(coding-system iso-latin-1 iso-latin-9 windows-1252)
|
||
(coding-priority iso-latin-1)
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-latin-1)
|
||
(input-method . "latin-1-prefix")
|
||
(sample-text
|
||
. "Hello, Hej, Tere, Hei, Bonjour, Grüß Gott, Ciao, ¡Hola!")
|
||
(documentation . "\
|
||
This language environment is a generic one for the Latin-1 (ISO-8859-1)
|
||
character set which supports the following European languages:
|
||
Albanian, Basque, Breton, Catalan, Danish, Dutch, English, Faeroese,
|
||
Finnish, French (with restrictions -- see Latin-9), Frisian, Galician,
|
||
German, Greenlandic, Icelandic, Irish Gaelic (new orthography),
|
||
Italian, Latin, Luxemburgish, Norwegian, Portuguese, Rhaeto-Romanic,
|
||
Scottish Gaelic, Spanish, and Swedish.
|
||
We also have specific language environments for the following languages:
|
||
For Dutch, \"Dutch\".
|
||
For German, \"German\".
|
||
For French, \"French\".
|
||
For Italian, \"Italian\".
|
||
For Slovenian, \"Slovenian\".
|
||
For Spanish, \"Spanish\".
|
||
|
||
Latin-1 also covers several written languages outside Europe, including
|
||
Indonesian/Malay, Tagalog (Philippines), Swahili and Afrikaans."))
|
||
'("European"))
|
||
|
||
|
||
;; Latin-2 (ISO-8859-2)
|
||
|
||
(define-coding-system 'iso-latin-2
|
||
"ISO 2022 based 8-bit encoding for Latin-2 (MIME:ISO-8859-2)."
|
||
:coding-type 'charset
|
||
:mnemonic ?2
|
||
:charset-list '(iso-8859-2)
|
||
:mime-charset 'iso-8859-2)
|
||
|
||
(define-coding-system-alias 'iso-8859-2 'iso-latin-2)
|
||
(define-coding-system-alias 'latin-2 'iso-latin-2)
|
||
|
||
(set-language-info-alist
|
||
"Latin-2" '((charset iso-8859-2)
|
||
(coding-system iso-latin-2 windows-1250)
|
||
(coding-priority iso-latin-2)
|
||
(nonascii-translation . iso-8859-2)
|
||
(unibyte-display . iso-latin-2)
|
||
(input-method . "latin-2-prefix")
|
||
(documentation . "\
|
||
This language environment is a generic one for the Latin-2 (ISO-8859-2)
|
||
character set which supports the following languages:
|
||
Albanian, Czech, English, German, Hungarian, Polish, Romanian,
|
||
Serbo-Croatian or Croatian, Slovak, Slovene, Sorbian (upper and lower),
|
||
and Swedish.
|
||
We also have specific language environments for the following languages:
|
||
For Czech, \"Czech\".
|
||
For Croatian, \"Croatian\".
|
||
For Polish, \"Polish\".
|
||
For Romanian, \"Romanian\".
|
||
For Slovak, \"Slovak\"."))
|
||
'("European"))
|
||
|
||
|
||
;; Latin-3 (ISO-8859-3)
|
||
|
||
(define-coding-system 'iso-latin-3
|
||
"ISO 2022 based 8-bit encoding for Latin-3 (MIME:ISO-8859-3)."
|
||
:coding-type 'charset
|
||
:mnemonic ?3
|
||
:charset-list '(iso-8859-3)
|
||
:mime-charset 'iso-8859-3)
|
||
|
||
(define-coding-system-alias 'iso-8859-3 'iso-latin-3)
|
||
(define-coding-system-alias 'latin-3 'iso-latin-3)
|
||
|
||
(set-language-info-alist
|
||
"Latin-3" '((charset iso-8859-3)
|
||
(coding-system iso-latin-3)
|
||
(coding-priority iso-latin-3)
|
||
(nonascii-translation . iso-8859-3)
|
||
(unibyte-display . iso-latin-3)
|
||
(input-method . "latin-3-prefix")
|
||
(documentation . "\
|
||
These languages are supported with the Latin-3 (ISO-8859-3) character set:
|
||
Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
|
||
German, Italian, Maltese, Spanish, and Turkish."))
|
||
'("European"))
|
||
|
||
|
||
;; Latin-4 (ISO-8859-4)
|
||
|
||
(define-coding-system 'iso-latin-4
|
||
"ISO 2022 based 8-bit encoding for Latin-4 (MIME:ISO-8859-4)."
|
||
:coding-type 'charset
|
||
:mnemonic ?4
|
||
:charset-list '(iso-8859-4)
|
||
:mime-charset 'iso-8859-4)
|
||
|
||
(define-coding-system-alias 'iso-8859-4 'iso-latin-4)
|
||
(define-coding-system-alias 'latin-4 'iso-latin-4)
|
||
|
||
(set-language-info-alist
|
||
"Latin-4" '((charset iso-8859-4)
|
||
(coding-system iso-8859-4)
|
||
(coding-priority iso-8859-4)
|
||
(nonascii-translation . iso-8859-4)
|
||
(unibyte-display . iso-8859-4)
|
||
(input-method . "latin-4-postfix")
|
||
(documentation . "\
|
||
These languages are supported with the Latin-4 (ISO-8859-4) character set:
|
||
Danish, English, Estonian, Finnish, German, Greenlandic, Latvian,
|
||
Lithuanian, Norwegian, and Sami."))
|
||
'("European"))
|
||
|
||
|
||
;; Latin-5 (ISO-8859-9)
|
||
|
||
(define-coding-system 'iso-latin-5
|
||
"ISO 2022 based 8-bit encoding for Latin-5 (MIME:ISO-8859-9)."
|
||
:coding-type 'charset
|
||
:mnemonic ?9
|
||
:charset-list '(iso-8859-9)
|
||
:mime-charset 'iso-8859-9)
|
||
|
||
(define-coding-system-alias 'iso-8859-9 'iso-latin-5)
|
||
(define-coding-system-alias 'latin-5 'iso-latin-5)
|
||
|
||
(set-language-info-alist
|
||
"Latin-5" '((charset iso-8859-9)
|
||
(coding-system iso-latin-5)
|
||
(coding-priority iso-latin-5)
|
||
(nonascii-translation . iso-8859-9)
|
||
(unibyte-display . iso-latin-5)
|
||
(input-method . "latin-5-postfix")
|
||
(documentation . "Support for Latin-5.\
|
||
See also the Turkish environment."))
|
||
'("European"))
|
||
|
||
|
||
;; Latin-6 (ISO-8859-10)
|
||
|
||
(define-coding-system 'iso-latin-6
|
||
"ISO 2022 based 8-bit encoding for Latin-6 (MIME:ISO-8859-10)."
|
||
:coding-type 'charset
|
||
:mnemonic ?9
|
||
:charset-list '(iso-8859-10)
|
||
:mime-charset 'iso-8859-10)
|
||
|
||
(define-coding-system-alias 'iso-8859-10 'iso-latin-6)
|
||
(define-coding-system-alias 'latin-6 'iso-latin-6)
|
||
|
||
(set-language-info-alist
|
||
"Latin-6" '((charset iso-8859-10)
|
||
(coding-system iso-latin-6)
|
||
(coding-priority iso-latin-6)
|
||
(nonascii-translation . iso-8859-10)
|
||
(unibyte-display . iso-latin-6)
|
||
;; Fixme: input method.
|
||
(documentation . "Support for generic Latin-6 (Northern European)."))
|
||
'("European"))
|
||
|
||
|
||
;; Latin-7 (ISO-8859-13)
|
||
|
||
(define-coding-system 'iso-latin-7
|
||
"ISO 2022 based 8-bit encoding for Latin-7 (MIME:ISO-8859-13)."
|
||
:coding-type 'charset
|
||
:mnemonic ?9
|
||
:charset-list '(iso-8859-13)
|
||
:mime-charset 'iso-8859-13)
|
||
|
||
(define-coding-system-alias 'iso-8859-13 'iso-latin-7)
|
||
(define-coding-system-alias 'latin-7 'iso-latin-7)
|
||
|
||
(set-language-info-alist
|
||
"Latin-7" '((charset iso-8859-13)
|
||
(coding-system iso-latin-7)
|
||
(coding-priority iso-latin-7)
|
||
(nonascii-translation . iso-8859-13)
|
||
(unibyte-display . iso-latin-7)
|
||
;; Fixme: input method.
|
||
(documentation . "Support for generic Latin-7 (Baltic Rim)."))
|
||
'("European"))
|
||
|
||
;; Latin-8 (ISO-8859-14)
|
||
|
||
(define-coding-system 'iso-latin-8
|
||
"ISO 2022 based 8-bit encoding for Latin-8 (MIME:ISO-8859-14)."
|
||
:coding-type 'charset
|
||
;; `W' for `Welsh', since `C' for `Celtic' is taken.
|
||
:mnemonic ?W
|
||
:charset-list '(iso-8859-14)
|
||
:mime-charset 'iso-8859-14)
|
||
|
||
(define-coding-system-alias 'iso-8859-14 'iso-latin-8)
|
||
(define-coding-system-alias 'latin-8 'iso-latin-8)
|
||
|
||
(set-language-info-alist
|
||
"Latin-8" '((charset iso-8859-14)
|
||
(coding-system iso-latin-8)
|
||
(coding-priority iso-latin-8)
|
||
(nonascii-translation . iso-8859-14)
|
||
(unibyte-display . iso-latin-8)
|
||
(input-method . "latin-8-prefix")
|
||
;; Fixme: Welsh/Ga{e}lic greetings
|
||
(sample-text . "ḃ ŵ Ŷ")
|
||
(documentation . "\
|
||
This language environment is a generic one for the Latin-8 (ISO-8859-14)
|
||
character set which supports the Celtic languages, including those not
|
||
covered by other ISO-8859 character sets:
|
||
Welsh, Manx Gaelic and Irish Gaelic (old orthography)."))
|
||
'("European"))
|
||
|
||
;; Latin-9 (ISO-8859-15)
|
||
|
||
(define-coding-system 'iso-latin-9
|
||
"ISO 2022 based 8-bit encoding for Latin-9 (MIME:ISO-8859-15)."
|
||
:coding-type 'charset
|
||
;; `0' for `Latin-0'
|
||
:mnemonic ?0
|
||
:charset-list '(iso-8859-15)
|
||
:mime-charset 'iso-8859-15)
|
||
|
||
(define-coding-system-alias 'iso-8859-15 'iso-latin-9)
|
||
(define-coding-system-alias 'latin-9 'iso-latin-9)
|
||
(define-coding-system-alias 'latin-0 'iso-latin-9)
|
||
|
||
(set-language-info-alist
|
||
"Latin-9" '((charset iso-8859-15)
|
||
(coding-system iso-latin-9)
|
||
(coding-priority iso-latin-9)
|
||
(nonascii-translation . iso-8859-15)
|
||
(unibyte-display . iso-latin-9)
|
||
(input-method . "latin-9-prefix")
|
||
(sample-text
|
||
. "AVE. ŠšŽžŒœŸ €")
|
||
(documentation . "\
|
||
This language environment is a generic one for the Latin-9 (ISO-8859-15)
|
||
character set which supports the same languages as Latin-1 with the
|
||
addition of the Euro sign and some additional French and Finnish letters.
|
||
Latin-9 is sometimes nicknamed `Latin-0'."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Esperanto" '((tutorial . "TUTORIAL.eo")
|
||
(charset iso-8859-3)
|
||
(coding-system iso-latin-3)
|
||
(coding-priority iso-latin-3)
|
||
(nonascii-translation . latin-iso8859-3)
|
||
(unibyte-syntax . "latin-3")
|
||
(unibyte-display . iso-latin-3)
|
||
(input-method . "latin-3-prefix")
|
||
(documentation . "Support for Esperanto with ISO-8859-3 character set."))
|
||
'("European"))
|
||
|
||
|
||
(define-coding-system 'windows-1250
|
||
"windows-1250 (Central European) encoding (MIME: WINDOWS-1250)"
|
||
:coding-type 'charset
|
||
:mnemonic ?*
|
||
:charset-list '(windows-1250)
|
||
:mime-charset 'windows-1250)
|
||
(define-coding-system-alias 'cp1250 'windows-1250)
|
||
|
||
(define-coding-system 'windows-1252
|
||
"windows-1252 (Western European) encoding (MIME: WINDOWS-1252)"
|
||
:coding-type 'charset
|
||
:mnemonic ?*
|
||
:charset-list '(windows-1252)
|
||
:mime-charset 'windows-1252)
|
||
(define-coding-system-alias 'cp1252 'windows-1252)
|
||
|
||
(define-coding-system 'windows-1254
|
||
"windows-1254 (Turkish) encoding (MIME: WINDOWS-1254)"
|
||
:coding-type 'charset
|
||
:mnemonic ?*
|
||
:charset-list '(windows-1254)
|
||
:mime-charset 'windows-1254)
|
||
(define-coding-system-alias 'cp1254 'windows-1254)
|
||
|
||
(define-coding-system 'windows-1257
|
||
"windows-1257 (Baltic) encoding (MIME: WINDOWS-1257)"
|
||
:coding-type 'charset
|
||
:mnemonic ?*
|
||
:charset-list '(windows-1257)
|
||
:mime-charset 'windows-1257)
|
||
(define-coding-system-alias 'cp1257 'windows-1257)
|
||
|
||
(define-coding-system 'cp775
|
||
"DOS codepage 775 (PC Baltic, MS-DOS Baltic Rim)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp775)
|
||
:mime-charset 'cp775)
|
||
(define-coding-system-alias 'ibm775 'cp775)
|
||
|
||
(define-coding-system 'cp850
|
||
"DOS codepage 850 (Western European)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp850)
|
||
:mime-charset 'cp850)
|
||
(define-coding-system-alias 'ibm850 'cp850)
|
||
|
||
(define-coding-system 'cp852
|
||
"DOS codepage 852 (Slavic)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp852)
|
||
:mime-charset 'cp852)
|
||
(define-coding-system-alias 'ibm852 'cp852)
|
||
|
||
(define-coding-system 'cp857
|
||
"DOS codepage 857 (Turkish)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp857)
|
||
:mime-charset 'cp857)
|
||
(define-coding-system-alias 'ibm857 'cp857)
|
||
|
||
(define-coding-system 'cp858
|
||
"Codepage 858 (Multilingual Latin I + Euro)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp858)
|
||
:mime-charset 'cp858)
|
||
|
||
(define-coding-system 'cp860
|
||
"DOS codepage 860 (Portuguese)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp860)
|
||
:mime-charset 'cp860)
|
||
(define-coding-system-alias 'ibm860 'cp860)
|
||
|
||
(define-coding-system 'cp861
|
||
"DOS codepage 861 (Icelandic)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp861)
|
||
:mime-charset 'cp861)
|
||
(define-coding-system-alias 'ibm861 'cp861)
|
||
|
||
(define-coding-system 'cp863
|
||
"DOS codepage 863 (French Canadian)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp863)
|
||
:mime-charset 'cp863)
|
||
(define-coding-system-alias 'ibm863 'cp863)
|
||
|
||
(define-coding-system 'cp865
|
||
"DOS codepage 865 (Norwegian/Danish)"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp865)
|
||
:mime-charset 'cp865)
|
||
(define-coding-system-alias 'ibm865 'cp865)
|
||
|
||
(define-coding-system 'cp437
|
||
"DOS codepage 437"
|
||
:coding-type 'charset
|
||
:mnemonic ?D
|
||
:charset-list '(cp437)
|
||
:mime-charset 'cp437)
|
||
(define-coding-system-alias 'ibm437 'cp437)
|
||
|
||
(set-language-info-alist
|
||
"Dutch" '((tutorial . "TUTORIAL.nl")
|
||
(charset iso-8859-1)
|
||
(coding-system iso-latin-1 iso-latin-9)
|
||
(coding-priority iso-latin-1)
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-latin-1)
|
||
(input-method . "dutch")
|
||
(sample-text . "Er is een aantal manieren waarop je dit kan doen")
|
||
(documentation . "\
|
||
This language environment is almost the same as Latin-1,
|
||
but it selects the Dutch tutorial and input method."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"German" '((tutorial . "TUTORIAL.de")
|
||
(charset iso-8859-1)
|
||
(coding-system iso-latin-1 iso-latin-9)
|
||
(coding-priority iso-latin-1)
|
||
(nonascii-translation . iso-8859-1)
|
||
(input-method . "german-postfix")
|
||
(unibyte-display . iso-latin-1)
|
||
(sample-text . "\
|
||
German (Deutsch Nord) Guten Tag
|
||
German (Deutsch Süd) Grüß Gott")
|
||
(documentation . "\
|
||
This language environment is almost the same as Latin-1,
|
||
but sets the default input method to \"german-postfix\".
|
||
Additionally, it selects the German tutorial."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"French" '((tutorial . "TUTORIAL.fr")
|
||
(charset iso-8859-1)
|
||
(coding-system iso-latin-1 iso-latin-9)
|
||
(coding-priority iso-latin-1)
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-latin-1)
|
||
(input-method . "latin-1-prefix")
|
||
(sample-text . "French (Français) Bonjour, Salut")
|
||
(documentation . "\
|
||
This language environment is almost the same as Latin-1,
|
||
but it selects the French tutorial and input method."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Italian" '((tutorial . "TUTORIAL.it")
|
||
(charset iso-8859-1)
|
||
(coding-system iso-latin-1 iso-latin-9)
|
||
(coding-priority iso-latin-1)
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-latin-1)
|
||
(input-method . "italian-postfix")
|
||
(sample-text . "Salve, ciao!")
|
||
(documentation . "\
|
||
This language environment is almost the same as Latin-1,
|
||
but sets the default input method to \"italian-postfix\".
|
||
Additionally, it selects the Italian tutorial."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Slovenian" '((charset iso-8859-2)
|
||
(coding-system . (iso-8859-2 windows-1250))
|
||
(coding-priority . (iso-8859-2))
|
||
(nonascii-translation . iso-8859-2)
|
||
(input-method . "slovenian")
|
||
(unibyte-display . iso-8859-2)
|
||
(tutorial . "TUTORIAL.sl")
|
||
(sample-text . "Želimo vam uspešen dan!")
|
||
(documentation . "\
|
||
This language environment is almost the same as Latin-2,
|
||
but it selects the Slovenian tutorial and input method."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Spanish" '((tutorial . "TUTORIAL.es")
|
||
(charset iso-8859-1)
|
||
(coding-system iso-latin-1 iso-latin-9)
|
||
(coding-priority iso-latin-1)
|
||
(input-method . "spanish-postfix")
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-latin-1)
|
||
(sample-text . "Spanish (Español) ¡Hola!")
|
||
(documentation . "\
|
||
This language environment is almost the same as Latin-1,
|
||
but it sets the default input method to \"spanish-postfix\",
|
||
and it selects the Spanish tutorial."))
|
||
'("European"))
|
||
|
||
;; For Turkish, the character set ISO-8859-9 (Latin-5) is used. But,
|
||
;; before the introduction of ISO-8859-9 in 1988, ISO-8859-3 (Latin-3)
|
||
;; was used for Turkish. Those who use Latin-3 for Turkish should use
|
||
;; "Latin-3" language environment.
|
||
|
||
(set-language-info-alist
|
||
"Turkish" '((charset iso-8859-9)
|
||
(coding-system iso-latin-5 windows-1254 iso-latin-3)
|
||
(coding-priority iso-latin-5)
|
||
(nonascii-translation . iso-8859-9)
|
||
(unibyte-display . iso-latin-5)
|
||
(input-method . "turkish-postfix")
|
||
(sample-text . "Turkish (Türkçe) Merhaba")
|
||
(setup-function . turkish-case-conversion-enable)
|
||
(exit-function . turkish-case-conversion-disable)
|
||
(documentation . "Support for Turkish.
|
||
Differs from the Latin-5 environment in using the `turkish-postfix' input
|
||
method and applying Turkish case rules for the characters i, I, ı, İ.")))
|
||
|
||
(defun turkish-case-conversion-enable ()
|
||
"Set up Turkish case conversion of `i' and `I' into `İ' and `ı'."
|
||
(let ((table (standard-case-table)))
|
||
(set-case-syntax-pair ?İ ?i table)
|
||
(set-case-syntax-pair ?I ?ı table)))
|
||
|
||
(defun turkish-case-conversion-disable ()
|
||
"Set up normal (non-Turkish) case conversion of `i' into `I'."
|
||
(let ((table (standard-case-table)))
|
||
(set-case-syntax-pair ?I ?i table)
|
||
(set-case-syntax ?İ "w" table)
|
||
(set-case-syntax ?ı "w" table)))
|
||
|
||
;; Polish ISO 8859-2 environment.
|
||
;; Maintainer: Wlodek Bzyl <matwb@univ.gda.pl>
|
||
;; Keywords: multilingual, Polish
|
||
|
||
(set-language-info-alist
|
||
"Polish" '((charset iso-8859-2)
|
||
(coding-system iso-8859-2 windows-1250)
|
||
(coding-priority iso-8859-2)
|
||
(input-method . "polish-slash")
|
||
(nonascii-translation . iso-8859-2)
|
||
(unibyte-display . iso-8859-2)
|
||
(tutorial . "TUTORIAL.pl")
|
||
(sample-text . "Pójdź, kiń-że tę chmurność w głąb flaszy")
|
||
(documentation . t))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Welsh" '((coding-system utf-8 latin-8) ; the input method is Unicode-based
|
||
(coding-priority utf-8 latin-8)
|
||
(nonascii-translation . iso-8859-14)
|
||
(input-method . "welsh")
|
||
(documentation . "Support for Welsh, using Unicode."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Latin-6" `((coding-system latin-6)
|
||
(coding-priority latin-6)
|
||
(nonascii-translation . ,(get 'decode-iso-latin-6 'translation-table))
|
||
(input-method . "latin-prefix")
|
||
(features code-pages)
|
||
(documentation . "Support for Latin-6."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Latin-7" '((coding-system latin-7)
|
||
(coding-priority latin-7)
|
||
(nonascii-translation . iso-8859-13)
|
||
(input-method . "latin-prefix")
|
||
(documentation . "Support for Latin-7, e.g. Latvian, Lithuanian."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Lithuanian" '((coding-system latin-7 windows-1257)
|
||
(coding-priority latin-7)
|
||
(nonascii-translation . iso-8859-13)
|
||
(input-method . "lithuanian-keyboard")
|
||
(documentation . "Support for Lithuanian."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Latvian" '((coding-system latin-7 windows-1257)
|
||
(coding-priority latin-7)
|
||
(nonascii-translation . iso-8859-13)
|
||
(input-method . "latvian-keyboard")
|
||
(documentation . "Support for Latvian."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Swedish" '((tutorial . "TUTORIAL.sv")
|
||
(charset iso-8859-1)
|
||
(coding-system iso-latin-1)
|
||
(coding-priority iso-latin-1)
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-latin-1)
|
||
(sample-text . "Goddag Hej")
|
||
(documentation . "Support for Swedish"))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Croatian" '((charset iso-8859-2)
|
||
(coding-system iso-8859-2)
|
||
(coding-priority iso-8859-2)
|
||
(input-method . "croatian")
|
||
(nonascii-translation . iso-8859-2)
|
||
(unibyte-display . iso-8859-2)
|
||
(documentation . "Support for Croatian with Latin-2 encoding."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Brazilian Portuguese" '((tutorial . "TUTORIAL.pt_BR")
|
||
(charset iso-8859-1)
|
||
(coding-system iso-latin-1 iso-latin-9)
|
||
(coding-priority iso-latin-1)
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-8859-1)
|
||
(input-method . "latin-1-prefix")
|
||
(sample-text . "Oi")
|
||
(documentation . "Support for Brazilian Portuguese."))
|
||
'("European"))
|
||
|
||
(set-language-info-alist
|
||
"Catalan" '((charset iso-8859-1)
|
||
(coding-system iso-8859-1 iso-8859-15)
|
||
(coding-priority iso-8859-1)
|
||
(input-method . "catalan-prefix")
|
||
(nonascii-translation . iso-8859-1)
|
||
(unibyte-display . iso-8859-1)
|
||
(setup-function
|
||
. (lambda ()
|
||
(modify-syntax-entry ?· "w" (standard-syntax-table))))
|
||
(exit-function
|
||
. (lambda ()
|
||
(modify-syntax-entry ?· "_" (standard-syntax-table))))
|
||
(sample-text . "\
|
||
Catalan (Català) Avui demà i ahir s'esfullarà una rosa.")
|
||
(documentation . "\
|
||
This language environment uses the ISO-8859-1 character set,
|
||
sets the default input method to \"catalan-prefix\", and sets
|
||
the syntax of the middle dot character `·' to word."))
|
||
'("European"))
|
||
|
||
|
||
|
||
(define-coding-system 'mac-roman
|
||
"Mac Roman Encoding (MIME:MACINTOSH)."
|
||
:coding-type 'charset
|
||
:mnemonic ?M
|
||
:charset-list '(mac-roman)
|
||
:mime-charset 'macintosh)
|
||
(define-coding-system-alias 'macintosh 'mac-roman)
|
||
|
||
(define-coding-system 'next
|
||
"NeXTstep encoding"
|
||
:coding-type 'charset
|
||
:mnemonic ?*
|
||
:charset-list '(next)
|
||
:mime-charset 'next)
|
||
|
||
(define-coding-system 'hp-roman8
|
||
"Hewlet-Packard roman-8 encoding (MIME:ROMAN-8)"
|
||
:coding-type 'charset
|
||
:mnemonic ?*
|
||
:charset-list '(hp-roman8)
|
||
:mime-charset 'hp-roman8)
|
||
(define-coding-system-alias 'roman8 'hp-roman8)
|
||
|
||
(define-coding-system 'adobe-standard-encoding
|
||
"Adobe `standard' encoding for PostScript"
|
||
:coding-type 'charset
|
||
:mnemonic ?*
|
||
:charset-list '(adobe-standard-encoding)
|
||
:mime-charset 'adobe-standard-encoding)
|
||
|
||
(provide 'european)
|
||
|
||
;;; european.el ends here
|