zsh-workers
 help / color / mirror / code / Atom feed
From: "Benjamin R. Haskell" <zsh@benizi.com>
To: zsh-workers@sunsite.dk
Subject: [Patch] define-composed-chars mistake, additions
Date: Fri, 9 Jan 2009 02:14:18 -0500 (EST)	[thread overview]
Message-ID: <alpine.LNX.2.00.0901090157360.21189@acer.home.local> (raw)

[-- Attachment #1: Type: TEXT/PLAIN, Size: 901 bytes --]

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

[-- Attachment #2: Type: TEXT/PLAIN, Size: 891 bytes --]

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=,

             reply	other threads:[~2009-01-09  7:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-09  7:14 Benjamin R. Haskell [this message]
2009-01-09  9:18 ` Richard Hartmann
2009-01-09 16:01   ` Bart Schaefer
2009-01-09 16:30     ` Richard Hartmann
2009-01-09 17:39       ` Bart Schaefer
2009-01-09 23:17         ` Richard Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.0901090157360.21189@acer.home.local \
    --to=zsh@benizi.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).