Skip to content

Instantly share code, notes, and snippets.

@sumomoneko
Created March 14, 2019 05:15
Show Gist options
  • Save sumomoneko/0b0a740b8c9cfd2c5637053e85df26dc to your computer and use it in GitHub Desktop.
Save sumomoneko/0b0a740b8c9cfd2c5637053e85df26dc to your computer and use it in GitHub Desktop.
;; from: uim/scm/elatin-rules.scm
;;
;; Copyright (c) 2003-2013 uim Project https://github.com/uim/uim
;;
;; All rights reserved.
;; The translation tables in this file were derived from the
;; emacs-lisp source files latin-pre.el, latin-post.el, latin-alt.el,
;; and latin-ltx.el, included in GNU Emacs. The following is the
;; original copyright notice therein.
;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
;; 2006, 2007, 2008, 2009
;; Free Software Foundation, Inc.
;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
;; 2006, 2007, 2008, 2009
;; 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
;; Author: TAKAHASHI Naoto <ntakahas@m17n.org>
;; Dave Love <fx@gnu.org>
;; 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 <http://www.gnu.org/licenses/>.
;;; Commentary (from latin-pre.el):
;; Key translation maps were originally copied from iso-acc.el.
;; latin-1-prefix: extra special characters added, adapted from the vim
;; digraphs (from J.H.M.Dassen <jdassen@wi.leidenuniv.nl>)
;; by R.F. Smith <rsmith@xs4all.nl>
;;
;; polish-slash:
;; Author: Włodek Bzyl <matwb@univ.gda.pl>
;; Maintainer: Włodek Bzyl <matwb@univ.gda.pl>
;;
;; latin-[89]-prefix: Dave Love <fx@gnu.org>
;; You might make extra input sequences on the basis of the X
;; locale/*/Compose files (which have both prefix and postfix
;; sequences), but bear in mind that sequences which are logical in
;; that context may not be sensible when they're not signaled with
;; the Compose key. An example is a double space for NBSP.
;;; Commentary (from latin-alt.el):
;; These input methods differ from those in latin-post.el
;; in that comma is not special (use / instead),
;; and // is not special either (so you can enter a slash
;; by typing //).
;; At least, that's what I could see by comparing the first few
;; of these with latin-post.el.
(input-method t german-postfix)
(description
"German script input method using postfix modifiers.
")
(title "german-postfix")
(map
(trans
("AE" "Ä")
("ae" "ä")
("OE" "Ö")
("oe" "ö")
("UE" "Ü")
("ue" "ü")
("sz" "ß")
("AEE" "AE")
("aee" "ae")
("OEE" "OE")
("oee" "oe")
("UEE" "UE")
("uee" "ue")
("szz" "sz")
("ge" "ge")
("eue" "eue")
("Eue" "Eue")
("aue" "aue")
("Aue" "Aue")
("que" "que")
("Que" "Que")))
(state
(init
(trans)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment