annotate lisp/language/misc-lang.el @ 23790:c1dbb92db43e

(Freplace_match): Set OPOINT clearly for the case where point is in the middle of the text to be replaced.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Dec 1998 05:17:11 +0000
parents 5fef9d1a7fc2
children 60eb71a9f901
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
1 ;;; misc-lang.el --- support for miscellaneous languages (characters)
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
18377
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18309
diff changeset
4 ;; Licensed to the Free Software Foundation.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 ;; Keywords: multilingual, character set, coding system
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;; any later version.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
17071
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
23 ;; Boston, MA 02111-1307, USA.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26 ;;; IPA (International Phonetic Alphabet)
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
27 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28
18554
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
29 (defun setup-ipa-environment ()
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
30 "Setup multilingual environment (MULE) for IPA."
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
31 (interactive)
22982
5fef9d1a7fc2 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 22713
diff changeset
32 (set-language-environment "IPA"))
18554
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
33
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
34 (set-language-info-alist
22982
5fef9d1a7fc2 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 22713
diff changeset
35 "IPA" '((charset . (ipa))
22713
e7e1cecf3a1c ("IPA"): Add coding-priority and coding-system.
Kenichi Handa <handa@m17n.org>
parents: 18554
diff changeset
36 (coding-priority iso-2022-7bit)
e7e1cecf3a1c ("IPA"): Add coding-priority and coding-system.
Kenichi Handa <handa@m17n.org>
parents: 18554
diff changeset
37 (coding-system iso-2022-7bit)
22982
5fef9d1a7fc2 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 22713
diff changeset
38 (input-method . "ipa")
5fef9d1a7fc2 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 22713
diff changeset
39 (nonascii-translation . ipa)
5fef9d1a7fc2 (setup-XXX-environment): Just call set-language-environment. If
Kenichi Handa <handa@m17n.org>
parents: 22713
diff changeset
40 (unibyte-display . iso-2022-7bit)
18554
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
41 (documentation . "\
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
42 IPA is International Phonetic Alphabet for English, French, German
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
43 and Italian.")))
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
44
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
45 ;;; misc-lang.el ends here
18554
179c8135c9b1 Call set-language-info-alist for IPA.
Kenichi Handa <handa@m17n.org>
parents: 18377
diff changeset
46