2068 lines
31 KiB
EmacsLisp
2068 lines
31 KiB
EmacsLisp
|
;;; rfc1345.el --- Quail method for RFC 1345 mnemonics -*- coding: utf-8 -*-
|
|||
|
|
|||
|
;; Copyright (C) 2001 Free Software Foundation, Inc.
|
|||
|
|
|||
|
;; Author: Dave Love <fx@gnu.org>
|
|||
|
;; Keywords: i18n
|
|||
|
|
|||
|
;; This file is part of GNU Emacs.
|
|||
|
|
|||
|
;; This file 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.
|
|||
|
|
|||
|
;; This file 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:
|
|||
|
|
|||
|
;; The table below was derived from GNU Recode 3.6.
|
|||
|
|
|||
|
;;; Code:
|
|||
|
|
|||
|
(require 'quail)
|
|||
|
|
|||
|
(quail-define-package
|
|||
|
"rfc1345" "UTF-8" "m" t
|
|||
|
"Unicode characters input method using RFC1345 mnemonics (non-ASCII only).
|
|||
|
E.g. &a' -> á"
|
|||
|
nil t nil nil nil nil nil nil nil nil t)
|
|||
|
|
|||
|
(quail-define-rules
|
|||
|
;; There doesn't seem to be any point in including ASCII.
|
|||
|
;; ("&NU" ?\ |