The X11 compose tables contain many duplicate entries. Eg. in en_US.UTF-8: <Multi_key> <C> <slash> : "?" U20a1 # COLON SIGN <Multi_key> <C> <slash> : "ยข" U00A2 # CENT SIGN The second entry overrides the first one. * How to reproduce: $ cd /usr/X11R6/lib/X11/locale $ for f in */Compose; do echo $f: sed -e '/^#/d' -e 's/[[:space:]]*#.*//' -e '/[^[:space:]]/!d' \ -e 's/^[[:space:]]*//' -e 's/[[:space:]]*:.*//' \ -e 's/[[:space:]]\+/ /g' $f | sort | uniq -d done
People seemed to have added stuff without checking that a sequence has already been taken. Maybe we should take out the entries that are no longer used. With your script could you please create a nicely formatted list of douplicates sorted by the files they are in and attach it?
Andreas, could you please take care of this? Thanks.
Created attachment 1691 [details] Duplicate compose entries
Has anything been done to remove these duplicate entries bast on the attached list?
that's just a list of the duplicate entries. someone needs to work out a patch that actually removes them and gives us the most sensible list.
Created attachment 7455 [details] [review] removes duplicate entries from Compose files The first patch removes duplicates from the Compose files (lines identical to others), the second patch removes the ones that are overridden by later combinations, and the third patch comments out or removes the four-key sequences that interfere with three-key sequences. The first patch also does a little reordering (with <dead_abovedot>, <dead_abovering>, and <dead_ogonek>), the second patch also repairs a typo (<dead_caron> <c>), and the third patch also adds an alternative for ubreve, and replaces service mark and trade mark with shorter alternatives.
Created attachment 7456 [details] [review] removes the entries that get redefined
Created attachment 7457 [details] [review] remove the four-keys that interfere with three-keys This also solves bug #8587.
pushed the fix to master, thanks
*** Bug 8587 has been marked as a duplicate of this bug. ***
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.