Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

[Patch] define-composed-chars mistake, additions



define-composed-chars had the following combination defined:

'E' + '?' = 'Ã'

The '?' is used to add tildes, though. So it should be:

'E' + ':' = 'Ã'

'á' and 'á' (capital 'E' and small 'e' with tildes) are \u1ebc and \u1ebd, respectively. This patch moves 'Ã' to the right set of characters (diaeresis/umlaut) and adds 'á' and 'á' to the tilde set.

'á' and 'á' don't show properly in my terminal font, so, sorry if I've mixed anything -- the three characters in question are:

\u00cb  00cb    LATIN CAPITAL LETTER E WITH DIAERESIS
á       1ebc    LATIN CAPITAL LETTER E WITH TILDE
á       1ebd    LATIN SMALL LETTER E WITH TILDE


Patch is against current CVS. I assume that's what's desired. Same with my having attached it (rather than inline). Please chide me if either assumption is wrong. I expect I'll be submitting more patches. (not just for this issue)

Best,
Ben
Index: Functions/Zle/define-composed-chars
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Zle/define-composed-chars,v
retrieving revision 1.6
diff -u -p -r1.6 define-composed-chars
--- Functions/Zle/define-composed-chars	8 Dec 2008 09:47:43 -0000	1.6
+++ Functions/Zle/define-composed-chars	9 Jan 2009 07:11:21 -0000
@@ -35,7 +35,7 @@ H 124 h 125 J 134 j 135 S 15C s 15D W 17
 # tilde
 a=\?
 z[$a]="\
-A C3 E CB N D1 O D5 a E3 n F1 o F5 I 128 i 129 U 168 u 169 \
+A C3 E 1EBC N D1 O D5 a E3 e 1EBD n F1 o F5 I 128 i 129 U 168 u 169 \
 "
 # macron (d-, D- give eth)
 a=-
@@ -55,7 +55,7 @@ C 10A c 10b E 116 e 117 G 120 g 121 I 13
 # diaeresis / Umlaut
 a=:
 z[$a]="\
-A C4 I CF O D6 U DC a E4 e EB i EF o F6 u FC y FF Y 178 \
+A C4 E CB I CF O D6 U DC a E4 e EB i EF o F6 u FC y FF Y 178 \
 "
 # cedilla
 a=,


Messages sorted by: Reverse Date, Date, Thread, Author