[I18n] Re: [XFree86] [XFree86(TM) Bug Report] tilde registered as a dead key in swedish nodeadkeys keymap

2003-01-21 Thread David Dawes
On Tue, Jan 21, 2003 at 10:29:35AM -0800, Henrik Nordstrom wrote:
Regarding: tilde registered as a dead key in swedish nodeadkeys keymap
Email: [EMAIL PROTECTED]

XFree86 Version: XFree86 Version 4.2.99.3 (Red Hat Linux release: 
4.2.99.3-20030115.0) / X Window System

OS: RedHat rawhide

Area: Xserver

Server: XFree86 (The XFree86 4.x server)

Description:

While using the swedish(se) nodeadkeys keymap AltGR + diaresis/circum/tilde key 
(keycode 35) produces a dead_tilde keycode instead of the expected and wanted 
asciitilde keycode.

Note: Have also found a dead_diaresis on AltGR+aring key (keycode 34). Not that 
this one hurts but is slightly unexpected.

Repeat By:

% setxkbmap se nodeadkeys

Try to type a tilde by pressing AltGR + diaresis/circum/tilde key.

Try the attached patch.  It should map the non-dead versions (where
possible) for the 'se' nodeadkeys map.  If this looks OK, it can
be used as a basis for fixing the nodeadkeys version of the other
maps too.

What should the mapping for the aring key be?

David
-- 
David Dawes
Release Engineer/Architect  The XFree86 Project
www.XFree86.org/~dawes

Index: latin
===
RCS file: /home/x-cvs/xc/programs/xkbcomp/symbols/pc/latin,v
retrieving revision 1.3
diff -u -r1.3 latin
--- latin   2002/12/20 20:18:34 1.3
+++ latin   2003/01/21 19:12:19
@@ -57,7 +57,7 @@
 key AB09 { [period,greater, periodcentered,   division ] };
 key AB10 { [ slash,   question, dead_belowdot, dead_abovedot ] };
 
- };
+};
 
 // Northern Europe ( Danish, Finnish, Norwegian, Swedish) common layout
 
@@ -138,3 +138,42 @@
 key AB09 { [  period,  colon, periodcentered, division ] };
 key AB10 { [   minus, underscore, dead_belowdot, dead_abovedot ] };
 };
+
+partial
+xkb_symbols nodeadkeys {
+
+key AE12 { [ equal,   plus, cedilla,ogonek ] };
+key AD11 { [bracketleft,  braceleft,  diaeresis,degree ] };
+key AD12 { [bracketright, braceright, asciitilde,   macron ] };
+key AC10 { [ semicolon,  colon,   acute,   doubleacute ] };
+key AC11 { [apostrophe,   quotedbl, asciicircum, caron ] };
+key BKSL { [ backslash,bar,   grave, breve ] };
+key AB10 { [ slash,   question, dead_belowdot,abovedot ] };
+};
+
+partial
+xkb_symbols type2_nodeadkeys {
+ 
+include pc/latin(nodeadkeys)
+
+key AD11 { [ aring,  Aring,   diaeresis,degree ] };
+key AD12 { [ diaeresis, asciicircum, asciitilde, caron ] };
+key AB08 { [ comma,  semicolon, cedilla,ogonek ] };
+key AB09 { [period,   colon, periodcentered,  abovedot ] };
+key AB10 { [   minus, underscore, dead_belowdot,  abovedot ] };
+};
+
+partial
+xkb_symbols type3_nodeadkeys {
+ 
+include pc/latin(nodeadkeys)
+};
+
+partial
+xkb_symbols type4_nodeadkeys {
+ 
+include pc/latin(nodeadkeys)
+
+key AB10 { [   minus, underscore, dead_belowdot,  abovedot ] };
+};
+
Index: se
===
RCS file: /home/x-cvs/xc/programs/xkbcomp/symbols/pc/se,v
retrieving revision 1.4
diff -u -r1.4 se
--- se  2002/12/19 01:07:56 1.4
+++ se  2003/01/21 19:20:07
@@ -5,8 +5,12 @@
 
 partial alphanumeric_keys
 xkb_symbols basic {
-
 include pc/latin(type2)
+include pc/se(se)
+};
+
+partial alphanumeric_keys
+xkb_symbols se {
 
 name[Group1]=Swedish;
 
@@ -36,11 +40,11 @@
 
 // Modifies the basic Swedish layout to eliminate all dead keys
 
-include pc/se(basic)
+include pc/latin(type2)
+include pc/latin(type2_nodeadkeys)
+include pc/se(se)
 
-key AE12 { [ acute,  grave ] };
-key AD12 { [ diaeresis, asciicircum ]};
-key AB08 { [ comma,  semicolon,  cedilla,   ogonek ] };
-key AB09 { [period,  colon, periodcentered,   abovedot ] };
+key AE12 { [ acute,  grave,plusminus,  notsign ] };
 
 };
+



Re: [I18n] Re: [XFree86] [XFree86(TM) Bug Report] tilde registered as a dead key in swedish nodeadkeys keymap

2003-01-21 Thread David Dawes
On Tue, Jan 21, 2003 at 09:26:13PM +0100, Henrik Nordstrom wrote:
Further comment on aring:

Having asciidiaresis and degree on aring is perhaps redundant as these
already exists as diaresis and altgr+shift+0. But I admit that having a
nodeadkeys keymap with really no dead keys is perhaps most intuitive.
But at the same time sometimes (but not very often) there is needs to
type a character in another latin language such as German so I am not
sure.. How have things been historically when running with nodeadkeys?

nodeadkeys means exactly that.  If people need something in between,
they should either have their own customised map, or come up with
a consistent naming scheme for other variants, or use the multi-layout
feature (I'm not sure if standard and nodeadkeys versions can be used
as two layouts in a multilayout config).

Apart from really beeing a nodeadkeys keymap I have found no flaws in
your patch except for possibly key AB10 which still has dead_belowdot
on AltGR (Not that I have a clue what a non-dead dead_belowdot would
be...)

There's no belowdot keysym that I could find, so I didn't change
that one.  Maybe there's a unicode key U keysym that would be
appropriate.

David
-- 
David Dawes
Release Engineer/Architect  The XFree86 Project
www.XFree86.org/~dawes
___
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n



Re: [I18n] Re: [XFree86] [XFree86(TM) Bug Report] tilde registered as a dead key in swedish nodeadkeys keymap

2003-01-21 Thread David Dawes
On Tue, Jan 21, 2003 at 09:26:13PM +0100, Henrik Nordstrom wrote:
Further comment on aring:

Having asciidiaresis and degree on aring is perhaps redundant as these
already exists as diaresis and altgr+shift+0. But I admit that having a
nodeadkeys keymap with really no dead keys is perhaps most intuitive.
But at the same time sometimes (but not very often) there is needs to
type a character in another latin language such as German so I am not
sure.. How have things been historically when running with nodeadkeys?

nodeadkeys means exactly that.  If people need something in between,
they should either have their own customised map, or come up with
a consistent naming scheme for other variants, or use the multi-layout
feature (I'm not sure if standard and nodeadkeys versions can be used
as two layouts in a multilayout config).

Apart from really beeing a nodeadkeys keymap I have found no flaws in
your patch except for possibly key AB10 which still has dead_belowdot
on AltGR (Not that I have a clue what a non-dead dead_belowdot would
be...)

There's no belowdot keysym that I could find, so I didn't change
that one.  Maybe there's a unicode key U keysym that would be
appropriate.

David
-- 
David Dawes
Release Engineer/Architect  The XFree86 Project
www.XFree86.org/~dawes
___
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86