[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: German-postfix fix for Quail
From: |
Carsten Bormann |
Subject: |
Re: German-postfix fix for Quail |
Date: |
Fri, 22 Aug 2008 03:25:40 +0200 |
On Aug 22 2008, at 01:43, David Reitter wrote:
For "eü", perhaps we should consider holding off.
But "eue" also happens to be the most likely of the combinations in
German, with highly common words/forms like euer, neue, Steuer, teuer
(333 occurrences of these in a random ~1M Gutenberg text)!
(These quite common words were what motivated me to make these little
enhancements.)
Since "geübt" (and combinations like "ausgeübt") are actually
relatively common word forms, I have added the rule
("ge" ["ge"])
below. I believe anything else is well below diminishing returns.
I presume Quail has some provisions for typing something like
"Yogaübung" even with your patch?
Typing Yogaübung, reüssieren etc. would need the typist to do
something else that breaks the input sequence before typing the ü;
e.g., when you see "Yogaue" and backspace twice, type ue again, you
naturally get the right result.
Gymnastics like this are nothing new with german-postfix, e.g.
Europäer has a similar problem today (gets turned into Europaer if you
don't pay attention, which is even slightly worse).
Gruesse, Carsten
--- latin-post.el.~1.31.~ 2008-05-07 05:37:06.000000000 +0200
+++ latin-post.el 2008-08-22 02:52:11.000000000 +0200
@@ -1085,7 +1085,7 @@
aee -> ae
oe -> ö
oee -> oe
-ue -> ü
+ue -> ü (not after a/e/q)
uee -> ue
sz -> ß
szz -> sz
@@ -1108,6 +1108,14 @@
("UEE" ["UE"])
("uee" ["ue"])
("szz" ["sz"])
+
+ ("ge" ["ge"])
+ ("eue" ["eue"])
+ ("Eue" ["Eue"])
+ ("aue" ["aue"])
+ ("Aue" ["Aue"])
+ ("que" ["que"])
+ ("Que" ["Que"])
)
(quail-define-package