Re: AW: AW: 'de' keyboard layout issues

2012-08-06 Thread Jon TURNEY
On 03/10/2011 12:27, Paul Maier wrote:
 In Windows, all blind keys followed by a space result in that character.
 Same in XWin, but with one exception:
 dead-´ plus space gives ' instead of ´.

 Please check out my patch for that.
 [...] for files /usr/share/x11/locale/iso8859-1/Compose and
   /usr/share/x11/locale/iso8859-15/Compose.
 

 This patch makes sense to me, but doesn't seem to go far enough.  Since the
 compose sequences are selected by the locale, this fixes things if
 LANG=de_DE.iso8859-1 or LANG=de_DE.iso8859-15, but not if LANG=de_DE.UTF-8.

 I'll try to take another look when I'm back from my holiday :-)

Sorry, I lost track of this issue.

 agreed, my patch is a partial solution.
 
 Is there an issue tracker in use, where we can put my patch and the idea 
 behind it?

I would suggest you mail a patch to libX11 to the xorg-devel list [1],[2].

 agreed.
 But isn't a partial fix better than no fix?  8-)

I can't really evaluate if this change is correct or not, which is why I
suggest you take it to the xorg-devel list.

For example, after reading [3], I'm wondering if the reason for this behaviour
is that typists had the habit of pressing the acute key for an apostrophe.

On the one hand, it's been this way for at least 5 years, so people may be
used to this behaviour.  On the other hand, it's inconsistent with the rule
that dead_foo space produces foo, and inconsistent across locales what
this sequence produces:

jon@byron /jhbuild/checkout/xorg/lib/libX11/nls master
$ grep -r ^dead_acute space *
el_GR.UTF-8/Compose.pre:dead_acute space: ΄   U0384
en_US.UTF-8/Compose.pre:dead_acute space: '
apostrophe # APOSTROPHE
fi_FI.UTF-8/Compose.pre:dead_acute space: ´   #
ACUTE ACCENT
iso8859-1/Compose.pre:dead_acute space  : '   
apostrophe
iso8859-14/Compose.pre:dead_acute space : '   
apostrophe
iso8859-15/Compose.pre:dead_acute space : '   
apostrophe
iso8859-2/Compose.pre:dead_acute space  : \264
  acute
iso8859-3/Compose.pre:dead_acute space  : '   
apostrophe
iso8859-7/Compose.pre:dead_acute space  : \264
  acute
iso8859-9/Compose.pre:dead_acute space  : '   
apostrophe
iso8859-9e/Compose.pre:dead_acute space : '   
apostrophe
pt_BR.UTF-8/Compose.pre:dead_acute space: '   
apostrophe
vi_VN.tcvn/Compose.pre:dead_acute space : '   
apostrophe
vi_VN.viscii/Compose.pre:dead_acute space   : '   
apostrophe

[1] http://lists.x.org/mailman/listinfo/xorg-devel
[2] http://www.x.org/wiki/DeveloperStart
[3] http://www.cl.cam.ac.uk/~mgk25/ucs/apostrophe.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



AW: AW: 'de' keyboard layout issues

2012-07-21 Thread Paul Maier
   In Windows, all blind keys followed by a space result in that character.
   Same in XWin, but with one exception:
   dead-´ plus space gives ' instead of ´.
  
   Please check out my patch for that.
  [...] for files /usr/share/x11/locale/iso8859-1/Compose and
   /usr/share/x11/locale/iso8859-15/Compose.
 
 
  This patch makes sense to me, but doesn't seem to go far enough.  Since the
  compose sequences are selected by the locale, this fixes things if
  LANG=de_DE.iso8859-1 or LANG=de_DE.iso8859-15, but not if LANG=de_DE.UTF-8.
 
  I'll try to take another look when I'm back from my holiday :-)
 


 
Hi Jon,

agreed.
But isn't a partial fix better than no fix?  8-)

Regards,
  Paul



Compose.patch
Description: Binary data
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/