Using the compose key feature of Xorg which works elsewhere, i find myself unable to obtain the desired result with Nedit: i get unexpected characters instead. I tried changing the default ISO 8859-1 font to an ISO 10646-1, but i get the same results Reproducible: Always Steps to Reproduce: 1. Press the compose key 2. Press single quote key 3. Press "e" Actual Results: "é" Expected Results: "é" My research has led me to http://www.nedit.org/faq/sect_bugs.php#N1118 I am wondering about this -DNO_XMIM build option. Does it get used in the Gentoo package build process ? Here is another pointer: http://www.nedit.org/pipermail/develop/2004-September/009777.html
Created attachment 215328 [details] partial log of the install of app-editors/nedit-5.5-r1 Attached is an old log of a previous failed install of Nedit. Possibly of some help to see the selected build options; i don't see the -DNO_XMIM in it. Perhaps it crashed too early?
Does following patch fix your issue? diff -u -r1.9 nedit-5.5-r1.ebuild --- nedit-5.5-r1.ebuild 15 Sep 2009 02:51:23 -0000 1.9 +++ nedit-5.5-r1.ebuild 21 Jan 2010 12:48:08 -0000 @@ -27,7 +27,7 @@ epatch "${FILESDIR}/${P}-motif23.patch" epatch "${FILESDIR}/${P}-off-by-one.patch" sed -i -e "s:-Wl,-Bstatic::" makefiles/Makefile.linux - sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS}:" makefiles/Makefile.linux + sed -i -e "s:CFLAGS=-O:CFLAGS=${CFLAGS} -DNO_XMIM:" makefiles/Makefile.linux sed -i -e 's:"/bin/csh":"/bin/sh":' source/preferences.c }
(In reply to comment #2) Thanks, there is a bit of improvement, the actual results are now: "'e" ...not quite it yet, but not as bad as previous. Do we need to also try those -DROWCOLPATCH and-g CFLAGS ?
(In reply to comment #3) > (In reply to comment #2) > > Thanks, there is a bit of improvement, the actual results are now: > "'e" Uh, on second thought, that's not much of an improvement, since it means that the compose key mechanism isn't heeded any longer. Sorry for the slow thinking.
Created attachment 218044 [details] output of "locale", and of "equery" Actually, i now discover that if i launch NEdit from the command line, i get a "UTF8 locale not supported" message, regardless of whether i built with the "DNO_XMIM" patch or not. I'm searching for where i might have set that locale, but no luck so far: - No such thing in my $HOME/.nedit/nedit.rc - when logged on as "root", where there is no nedit.rc file, i get the same message. There are no NEdit files under /etc. - Both "env | grep -i utf" and "set | grep -i utf" return: LANG=en_US.UTF-8 LC_CTYPE=fr_FR.utf8 - Both "env | grep -i locale" and "set | grep -i locale" return empty. - "Text Fonts" in Preferences list the primary font as "-*-courier-medium-r-normal--*-120-*-*-*-iso8859-1", and the other fonts are derived from that primary, with the same code page at the end. - app-editors/nedit has no "utf8" USE flag, or similar See attachment for related info.
Created attachment 218045 [details] build log
Still valid with 5.5_p20110116?