GNOME Bugzilla – Bug 172653
add em-dash and en-dash to list of compose-sequences
Last modified: 2011-02-04 16:10:27 UTC
currently there is no way to enter en-dash or em-dash into e.g. gedit using the default gtk-input method whereas this is possible using the x-input method. So please add the sequences to the default list. I'm talking about <Multi_key> <minus> <minus> <period> : "–" U2013 # EN DASH <Multi_key> <minus> <minus> <minus> : "—" U2014 # EM DASH Other information: For this to work, the soft-hyphen sequence probably has to be changed as well - I propose to change it to: GDK_Multi_key, GDK_minus, GDK_minus, GDK_space, 0, 0x00AD, /* SOFT_HYPHEN */ GDK_Multi_key, GDK_minus, GDK_minus, GDK_period, 0, 0x2013, /* EN DASH */ GDK_Multi_key, GDK_minus, GDK_minus, GDK_minus, 0, 0x2014, /* EM DASH */
2005-08-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtkimcontextsimple.c: Change the compose sequence for soft hyphen to be multi_key-minus-minus-space, and add compose sequences multi_key-minus-minus-period and multi_key-minus-minus-minus for en dash and em dash. (#172653, Christian Lohmaier)
Could this fix be backported into the gtk-2.8 branch?