Hello, Two years after ist first inclusion in Xorg, the french dvorak layout "bépo" has evolved to its 1.0rc2 revision (see http://clavier-dvorak.org/wiki/) and people who have enhanced it would like to put their last version back in Xorg tree. You'll find a patch as attachment. please contact me if you have any comment with it. As specific things in our layout, we have defined some new dead ("composing") keys with some unused UTF-8 codes, like UFDD1 for a dead monetary key : Compose+this key+S gives dollar, +e gives euro sign, etc.
So, where's the attachment? ;)
Created attachment 19303 [details] [review] update french dvorak layout "bépo" up to 1.0rc2 version. Here it is, sorry to forget it first time !
Great, I'll commit it asap. But since I rolled release 1.4 last night, this one will be part of 1.5 (in 4 months)
Gasp ! I'll be more careful next time !!
There is a problem with that patch which I discovered while evaluating the associated attachment 19277 [details] [review] to the bug requesting Compose sequences. The submitter uses UFDD[0-3] symbols in lieu of some desired dead keys: UFDD0 in lieu of the existing dead_stroke UFDD1 in lieu of a dead_currency symbol UFDD2 in lieu of a dead_greek symbol UFDD3 in lieu of a dead_comma symbol All instances of UFDD0 in the patch should be of dead_stroke. I’m not sure what will happen with the other three. In the pre-utf8 locales dead_cedilla did double duty as a dead_comma for those locales which have U+0218 thru U+012B (ȘșȚț) instead of U+015E, U+015F, U+0162 and U+0163 (ŞşŢţ). I’ll ask for some consensus about adding dead_comma and even dead_currency (which perhaps should have a better name). Adding a dead_greek seems unlikely, however.
> and U+0163 (ŞşŢţ). I’ll ask for some consensus about adding dead_comma > and even dead_currency (which perhaps should have a better name). Will I wait till at least dead_comma and dead_currency are available?
> Will I wait till at least dead_comma and dead_currency are available? I suppose I would commit it with the dead_stroke change and without the other UFDDx symbols, pending a final update.
Frederic, what's your opinion?
About the UFDDx dead keys, I mentioned it as I thought it could be a problem. When we use these numbers to define new dead keys, we didn't know about dead_stroke existence. I found a file with keysyms.txt, but it is obviously out of date : could you tell me where to find the latest one, I'm lost in the whole X.org software ? So the UFFD0 should be replaced by 'dead_stroke', it's cleaner. About the 'dead_comma' (UFDD3), it don't give the same characters as the dead_cedilla (which is also present in the Bépo layout), so the former can't be replaced by the latter. It could be really nice if new dead_* symbols could be defined in place of these UFDD* hacks, and I prefer to wait for them and then submit new patches with Bépo layout and Compositions updated (as I missed the xkeyboard-config release deadline, it could wait for some days...). And for the dead_greek code, yes, you could achieve the same result with groups, but : - our keyboard layout has been defined with OS independance in mind (ever if I used only Unix-like OS, other people has a driver for Windows or Mac OS systems), and I'm not sure the group mechamisn could be realized in those other OS. - it is more consistent with the behaviour of the layout, which defines some dead keys to be able to add some foreign [for french] characters with a simple composition. If such a dead_greek keysym isn't added, could we include the Bépo Layout in Xorg with its existing UFDD2 code ? Fred. P.S.: I don't know in bugzilla how to post a comment on two [related] bugs, i.e. 17821 and 17822, so I'll copy it from one to the other...
I am probably missing something basic here. Why do we need a new dead key dead_greek in the line key <AB08> { [ g, G, UFDD2 ] }; // g G µ Could it be merely written as key <AB08> { [ g, G, U00B5 ] }; // g G µ
To Simos : in the comment (and in the keyboard layout picture), we left a greek letter, mu, to have a visual representation of this dead greek letter, but this key does much than mu : you can get all the greek alphabet by combining it with latin letters, as defined in the patch of bug 17822 . About dead stoke, as the keysym already exists, I should examine current Compositions for existing ones with this keysym, to be sure to remove any redondancies or conflicts in the patch of bug 17822.
The keysymdef.h file in the x11proto repository is the up-to-date list of symbols: clone from either of: git://anongit.freedesktop.org/git/xorg/proto/x11proto http://anongit.freedesktop.org/git/xorg/proto/x11proto view the repo at either of: http://cgit.freedesktop.org/xorg/proto/x11proto/ http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=summary view keydymdef.h at: http://cgit.freedesktop.org/xorg/proto/x11proto/tree/keysymdef.h http://cgit.freedesktop.org/xorg/proto/x11proto/log/keysymdef.h http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=history http://gitweb.freedesktop.org/?p=xorg/proto/x11proto.git;a=blob_plain
Thanks for the links to keysymdef.h ! I've reviewed my libX11's patch about UFDD0 replaced to dead_stroke : I've found 21 redundancies between standard libX11 compositions and ones I'd like to add, so I should remove these 21 lines in my patch. I'd also like to replace UTF-8 codes (UXXXX) by definitions from latest keysymdef.h I've downloaded. So, before to submit an updated patch, I'd like to know if a dead_currency, dead_greek and dead_commabelow (more than dead_comma) will be created : I'll update both my xkeyboard-config and libX11 patches accordingly. If you have better names for these dead_keys, please use them. If the dead_greek can't be added, I'd like to keep the UFDDx code instead.
Created attachment 20223 [details] [review] update of my previous patch This is an update of the previous patch, correcting some errors in the layout, and taking account of dead_stroke and dead_belowcomma defined in libX11.
Created attachment 21068 [details] [review] last version of patch, without greek dead key. Hello, I finally gave up about greek dead key, after trying solutions with ISO_level5_latch and multiple groups, each solution having important drawbacks. So, I propose a final patch, to let this Bépo layout be updated. As the greek keys compositions can't be used, the 17822 bug can be also closed. with regards, Fred.
Sweet! Thanks, committed!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.