After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172653 - add em-dash and en-dash to list of compose-sequences
add em-dash and en-dash to list of compose-sequences
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Input Methods
2.6.x
Other All
: Normal minor
: ---
Assigned To: Hidetoshi Tajima
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2005-04-04 20:54 UTC by Christian Lohmaier
Modified: 2011-02-04 16:10 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Christian Lohmaier 2005-04-04 20:54:34 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 */
Comment 1 Matthias Clasen 2005-08-30 17:31:59 UTC
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)
Comment 2 Vincent Ho 2006-06-19 07:51:23 UTC
Could this fix be backported into the gtk-2.8 branch?