[Bug 1183497] New: Emacs gives "<dead-grave> is undefined" unless XMODIFIERS env var is unset

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 Bug ID: 1183497 Summary: Emacs gives "<dead-grave> is undefined" unless XMODIFIERS env var is unset Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Xfce Assignee: bnc-team-xfce@forge.provo.novell.com Reporter: giovanni.gherdovich@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Since I updated Leap 15.1 -> 15.2, emacs is giving me a little problem under Xfce: dead keys[1] to type accented letters (eg: "ALT+` a" gives "�") stopped working, unless the environment variable XMODIFIERS is unset. After typing ALT+` emacs now says "<dead-grave> is undefined". For the records, echo $XMODIFIERS says "@im=ibus", and that apparently interferes with emacs' handling of dead keys. Googling for this problem show several hits[2][3][4], and more or less people seem content with launching XMODIFIERS= emacs My problem with that is I don't launch emacs from the shell but use something called xfce4-appfinder, i.e. a small text box that pops up when I do ALT+F2. All in all this is more of a question than an actual bug report. How can I restore the convenient behavior I used to get in Leap 15.1 / Xfce? Version of stuff (what's in Leap 15.2): * emacs 25.3.1 * Xfce 4.14 [1] https://en.wikipedia.org/wiki/Dead_key [2] https://emacs.stackexchange.com/questions/38252/dead-grave-is-undefined [3] https://emacs.stackexchange.com/questions/2568/problem-dead-acute-is-undefin... [4] https://bugs.launchpad.net/emacs-snapshot/+bug/1251176 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c1 Giovanni Gherdovich <giovanni.gherdovich@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-xfce@forge.provo.n |werner@suse.com |ovell.com | --- Comment #1 from Giovanni Gherdovich <giovanni.gherdovich@suse.com> --- Hello Werner, would you mind having a look at this Emacs bug? It ended up classified as an Xfce bug, but probably it's more of an Emacs issue. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c2 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |giovanni.gherdovich@suse.co | |m Flags| |needinfo?(giovanni.gherdovi | |ch@suse.com) --- Comment #2 from Dr. Werner Fink <werner@suse.com> --- (In reply to Giovanni Gherdovich from comment #1)
Hello Werner,
would you mind having a look at this Emacs bug? It ended up classified as an Xfce bug, but probably it's more of an Emacs issue.
Thanks!
Why are you using an input method? And if you do this you have to configure the GTK input module as well. I guess you are using the GTK version (the default) of GNU Emacs. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c3 --- Comment #3 from Dr. Werner Fink <werner@suse.com> --- You might read the comments in /etc/X11/xim -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c4 --- Comment #4 from Dr. Werner Fink <werner@suse.com> --- Any answer on my needinfo request? -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c5 --- Comment #5 from Giovanni Gherdovich <giovanni.gherdovich@suse.com> --- (In reply to Dr. Werner Fink from comment #4)
Any answer on my needinfo request?
Hello Werner, 1. You ask why I'm using an input method. I need it for the "English International with AltGr dead keys" keyboard layout; with that layout I can type english, french, italian without switching keyboard layout. My czech keyboard layout uses an input method too for diacritic. 2. You observe that if I use an input method, to have it working in Emacs I also have to do some configuration on the GTK side of things. You also suggest I look at /etc/X11/xim to learn how to do that. This is were I'm stuck at the moment; I'm not familiar with this type of configuration so I'm waiting to have a free couple of hours to figure it out. 3. Regarding your remark (2), I'd object that it was "working fine" before updating to Leap 15.2... But I'm not sure how productive this observation is. I'll work towards configuring GTK as you suggest instead. 4. As a side note, I've recently learned that C-\ in Emacs let me select an input method "locally" (i.e. for my Emacs session only). Alas, in the list of possibilities I can't find one resembling "Eng Intl w/ AltGr dead keys". Long story short: I still have to learn how to configure GTK for my input method. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c6 Giovanni Gherdovich <giovanni.gherdovich@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(giovanni.gherdovi | |ch@suse.com) | --- Comment #6 from Giovanni Gherdovich <giovanni.gherdovich@suse.com> --- Hello Werner, meanwhile I've moved to Leap 15.3 (Emacs 25.3.1) and the problem still persist. Following the wiki page https://www.emacswiki.org/emacs/DeadKeys , I've added (require 'iso-transl) to my .emacs and that works (ALT+` finally gives me �). Given that this work-around solves my problem, the bug may be closed. I'm still curious as of what broke it in the transition Leap 15.1 -> 15.2, but maybe it's just not worth going after this. To try again answering your original questions: (In reply to Dr. Werner Fink from comment #2)
(In reply to Giovanni Gherdovich from comment #1)
Why are you using an input method? And if you do this you have to configure the GTK input module as well. I guess you are using the GTK version (the default) of GNU Emacs.
1. Why an input method -> see comment 5. 2. I have to configure the GTK input module as well: The following is the default on my system (Xfce 4.16, Leap 15.3): $ echo $XMODIFIERS @im=ibus $ echo $GTK_IM_MODULE ibus and still hitting ALT+` on Emacs gives "<dead-grave> is undefined". Given the above environment variables, do you think the GTK input module is set to ibus? Again, (require 'iso-transl) solves this so I'll just move on. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c7 --- Comment #7 from Dr. Werner Fink <werner@suse.com> --- Does ibus run at all? Compare with https://bugzilla.redhat.com/show_bug.cgi?id=917130 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1183497 http://bugzilla.opensuse.org/show_bug.cgi?id=1183497#c8 --- Comment #8 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1183497) was mentioned in https://build.opensuse.org/request/show/917589 Factory / emacs -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com