GNU bug report logs - #6102
24.0.50; Problems with Multi_Key

Previous Next

Package: emacs;

Reported by: Werner LEMBERG <wl <at> gnu.org>

Date: Tue, 4 May 2010 20:42:01 UTC

Severity: normal

Tags: confirmed

Merged with 28497, 30092

Found in versions 24.0.50, 25.3

To reply to this bug, email your comments to 6102 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6102; Package emacs. (Tue, 04 May 2010 20:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Werner LEMBERG <wl <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 04 May 2010 20:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Werner LEMBERG <wl <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Problems with Multi_Key
Date: Tue, 04 May 2010 22:41:01 +0200 (CEST)
Of all applications I know on my computer, emacs is the only one which
doesn't accept multi-key compositions.  Calling `emacs -Q' and
pressing the composite key (which I've mapped to the `Windows menu'
key), I get

  <Multi_key> is undefined

and the composition isn't performed.  This behaviour wasn't present in
previous versions of Emacs (about a half year earlier, I estimate).
Note, however, that I'm now using Xorg 1.8.0 (from openSuSE factory),
together with fairly recent versions of all other Xorg modules, so the
problem might be elsewhere.


    Werner

----------------------------------------------------------------------

In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-04-08 on linux-nvf0
Windowing system distributor `The X.Org Foundation', version 11.0.10800000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=SCIM
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Message

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
d d d d d d d d SPC d d d d SPC d SPC d SPC d d d d 
d d d n d d SPC <backspace> SPC d d d d d d d n n d 
d SPC d d d d d SPC d x i <return> SPC d d SPC d <down> 
<down> <down> <return> d x <up> <return> <down> <return> 
C-x SPC <up> <return> C-x o <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> C-SPC C-e 
s-w C-x o d x i <return> SPC SPC SPC i <return> SPC 
d x <up> <up> <up> <up> <down> <return> i S-SPC SPC 
<backspace> SPC d d x i <return> d d d d d d d d d 
d d d d x i <return> d d d x i d x i <return> SPC d 
d d d d d d x g d r <tab> <return> <down> <down> <down> 
<down> <return> SPC i d d x i <return> d d x i <return> 
d d x i <return> d d d d n d d SPC d <down> <return> 
<up> <return> d d d d d x <up> <return> M-x e m a c 
s - b <tab> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> b u 
g <tab> <tab> C-g C-h a b u g <return> <M-next> C-g 
C-x b B a <tab> <backspace> <backspace> + B a <tab> 
C-g g B a <tab> <return> <up> <return> C-x o <down> 
C-SPC <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <up> <up> s-w C-x 1 M-x r e p o r t - 
<tab> <return>

Recent messages:
Scanning +inbox...done
Wrapped lines [3 times]
No more messages
Refiling and deleting...done
Making completion list...
Quit
Type C-x 4 C-o RET to restore the other window.  
Quit [2 times]
Scanning +Backup...done
Mark set

Load-path shadows:
None found.

Features:
(shadow emacsbug apropos pp mew-varsx cal-menu calendar cal-loaddefs
mew-auth mew-config mew-imap2 mew-imap mew-nntp2 mew-nntp mew-pop
mew-smtp mew-ssl mew-ssh mew-net mew-highlight mew-sort mew-fib
mew-ext mew-refile mew-demo mew-attach mew-draft mew-message
mew-thread mew-virtual mew-summary4 mew-summary3 mew-summary2
mew-summary mew-search mew-pick mew-passwd mew-scan mew-syntax mew-bq
mew-smime mew-pgp mew-header mew-exec mew-mark mew-mime mew-edit
mew-decode mew-encode mew-cache mew-minibuf mew-complete mew-addrbook
mew-local mew-unix mew-vars3 mew-vars2 mew-vars mew-env mew-mule3
mew-mule mew-gemacs mew-key mew-func mew-blvs mew-const mew tex
regexp-opt advice help-fns advice-preload tex-site auto-loads quail
help-mode easymenu view cjktilde disp-table tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar mldrag mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face files text-properties overlay md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind system-font-setting font-render-setting
gtk x-toolkit x multi-tty emacs)





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6102; Package emacs. (Wed, 05 May 2010 14:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 6102 <at> debbugs.gnu.org (full text, mbox):

From: Štěpán Němec <stepnem <at> gmail.com>
To: Werner LEMBERG <wl <at> gnu.org>
Cc: 6102 <at> debbugs.gnu.org
Subject: Re: bug#6102: 24.0.50; Problems with Multi_Key
Date: Wed, 05 May 2010 16:22:24 +0200
Werner LEMBERG <wl <at> gnu.org> writes:

> Of all applications I know on my computer, emacs is the only one which
> doesn't accept multi-key compositions.  Calling `emacs -Q' and
> pressing the composite key (which I've mapped to the `Windows menu'
> key), I get
>
>   <Multi_key> is undefined
>
> and the composition isn't performed.  This behaviour wasn't present in
> previous versions of Emacs (about a half year earlier, I estimate).
> Note, however, that I'm now using Xorg 1.8.0 (from openSuSE factory),
> together with fairly recent versions of all other Xorg modules, so the
> problem might be elsewhere.
>
>
>     Werner
>
> ----------------------------------------------------------------------
>
> In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.0)
>  of 2010-04-08 on linux-nvf0
> Windowing system distributor `The X.Org Foundation', version 11.0.10800000
> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: de_DE.UTF-8
>   value of $XMODIFIERS: @im=SCIM
                          ^^^^^^^^
As pointed out in my last mail to emacs-devel, this might be the problem
(seems to be for me, anyway): try with '@im=none' (e.g. starting
Emacs with 'env XMODIFIERS="@im=none" emacs'.


Štěpán




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6102; Package emacs. (Wed, 05 May 2010 14:41:02 GMT) Full text and rfc822 format available.

Message #11 received at 6102 <at> debbugs.gnu.org (full text, mbox):

From: Werner LEMBERG <wl <at> gnu.org>
To: stepnem <at> gmail.com
Cc: 6102 <at> debbugs.gnu.org
Subject: Re: bug#6102: 24.0.50; Problems with Multi_Key
Date: Wed, 05 May 2010 16:40:32 +0200 (CEST)
>>   value of $XMODIFIERS: @im=SCIM
>                           ^^^^^^^^
> As pointed out in my last mail to emacs-devel, this might be the
> problem (seems to be for me, anyway): try with '@im=none'
> (e.g. starting Emacs with 'env XMODIFIERS="@im=none" emacs'.

Indeed, this circumvents the problem.  Thanks!  Anyway, it looks like
a bug somewhere since this action wasn't necessary previously, and
Emacs worked fine with scim too.


    Werner




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6102; Package emacs. (Wed, 05 May 2010 15:23:02 GMT) Full text and rfc822 format available.

Message #14 received at 6102 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Werner LEMBERG <wl <at> gnu.org>
Cc: 6102 <at> debbugs.gnu.org
Subject: Re: bug#6102: 24.0.50; Problems with Multi_Key
Date: Wed, 05 May 2010 17:22:35 +0200
Werner LEMBERG <wl <at> gnu.org> writes:

> pressing the composite key (which I've mapped to the `Windows menu'
> key)

How did you remap it?  What is the output of xev if you press the keys
<Multi_key> <a> <e> in this order?

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6102; Package emacs. (Wed, 05 May 2010 21:18:02 GMT) Full text and rfc822 format available.

Message #17 received at 6102 <at> debbugs.gnu.org (full text, mbox):

From: Werner LEMBERG <wl <at> gnu.org>
To: schwab <at> linux-m68k.org
Cc: 6102 <at> debbugs.gnu.org
Subject: Re: bug#6102: 24.0.50; Problems with Multi_Key
Date: Wed, 05 May 2010 23:17:36 +0200 (CEST)
>> pressing the composite key (which I've mapped to the `Windows menu'
>> key)
> 
> How did you remap it?

Unchanged since years; I have this line in xorg.conf:

  Option "XkbOptions" "Compose,compose:menu,altwin:super_win,eurosign:5"

> What is the output of xev if you press the keys <Multi_key> <a> <e>
> in this order?

KeyPress event, serial 31, synthetic NO, window 0x3c00001,
    root 0xaf, subw 0x0, time 48241951, (-23,895), root:(1245,918),
    state 0x10, keycode 117 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: True

KeyRelease event, serial 34, synthetic NO, window 0x3c00001,
    root 0xaf, subw 0x0, time 48242037, (-23,895), root:(1245,918),
    state 0x10, keycode 117 (keysym 0xff20, Multi_key), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x3c00001,
    root 0xaf, subw 0x0, time 48245539, (-23,895), root:(1245,918),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XmbLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: True

KeyRelease event, serial 34, synthetic NO, window 0x3c00001,
    root 0xaf, subw 0x0, time 48245617, (-23,895), root:(1245,918),
    state 0x10, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

KeyPress event, serial 34, synthetic NO, window 0x3c00001,
    root 0xaf, subw 0x0, time 48246615, (-23,895), root:(1245,918),
    state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XmbLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: True

KeyPress event, serial 34, synthetic NO, window 0x3c00001,
    root 0xaf, subw 0x0, time 48246615, (-23,895), root:(1245,918),
    state 0x10, keycode 0 (keysym 0xe6, ae), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 2 bytes: (c3 a6) "æ"
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3c00001,
    root 0xaf, subw 0x0, time 48246675, (-23,895), root:(1245,918),
    state 0x10, keycode 26 (keysym 0x65, e), same_screen YES,
    XLookupString gives 1 bytes: (65) "e"
    XFilterEvent returns: False


   Werner

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6102; Package emacs. (Tue, 15 Feb 2011 13:49:02 GMT) Full text and rfc822 format available.

Message #20 received at 6102 <at> debbugs.gnu.org (full text, mbox):

From: Thomas Klausner <tk <at> giga.or.at>
To: 6102 <at> debbugs.gnu.org
Subject: Problems with multi key on 23.2.1
Date: Tue, 15 Feb 2011 14:57:21 +0100
Hi!

I've just found this bug report.

I also have problems with multi_key.
I define the Multi_key with xmodmap, using:
keycode 115 = Multi_key

This works fine in most programs, even emacs when I start it in text
mode (inside an xterm).

However, when I start it as X application and press the key, I get
<Multi_key> is undefined
in the status bar.

I'm using the X version that's coming with NetBSD/5.99.45.

For me, 'env XMODIFIERS="@im=none" emacs' doesn't work, I still get
the same error.

"unset LC_CTYPE; emacs" doesn't work either.

Here's the emacs-bug-report info:

In GNU Emacs 23.2.1 (x86_64--netbsd, GTK+ Version 2.22.1)
 of 2011-02-07 on yt.nih.at
Windowing system distributor `The Xorg Foundation', version 11.0.10902000
configured using `configure  '--srcdir=/scratch/editors/emacs/work/emacs-23.2' '--localstatedir=/var' '--with-x' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--x-includes=/usr/X11R7/include' '--x-libraries=/usr/X11R7/lib' '--with-x-toolkit=gtk' '--prefix=/usr/pkg' '--build=x86_64--netbsd' '--host=x86_64--netbsd' '--infodir=/usr/pkg/info' '--mandir=/usr/pkg/man' 'build_alias=x86_64--netbsd' 'host_alias=x86_64--netbsd' 'CC=cc' 'CFLAGS=-O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2' 'LDFLAGS=-L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib' 'LIBS=' 'CPPFLAGS=-DTERMINFO -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  diff-auto-refine-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> x b u g - r e <tab> <tab> <escape> <backspace> 
<escape> <backspace> r e p o <tab> <tab> r <tab> <
return>

Recent messages:
Loading /home/wiz/.el/startup.el (source)...done
Loading /home/wiz/.el/mwheel.el (source)...done
Loading /home/wiz/.el/mercurial.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [2 times]

Load-path shadows:
/home/wiz/.el/startup hides /usr/pkg/share/emacs/23.2/lisp/startup
/home/wiz/.el/mwheel hides /usr/pkg/share/emacs/23.2/lisp/mwheel
/home/wiz/.el/flyspell hides /usr/pkg/share/emacs/23.2/lisp/textmodes/flyspell

Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-util hashcash mail-utils emacsbug help-mode mercurial view vc
vc-dispatcher executable diff-mode easymenu easy-mmode advice help-fns
advice-preload cl cl-19 cc-styles cc-align cc-engine cc-vars cc-defs
regexp-opt tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind font-render-setting gtk
x-toolkit x multi-tty emacs)

Suggestions?
 Thomas




Merged 6102 28497. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 18 Sep 2017 19:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#6102; Package emacs. (Fri, 29 Sep 2017 15:11:02 GMT) Full text and rfc822 format available.

Message #25 received at 6102 <at> debbugs.gnu.org (full text, mbox):

From: Yul Otani <otaniyul <at> gmail.com>
To: 6102 <at> debbugs.gnu.org
Subject: Problems with Multi_Key
Date: Fri, 29 Sep 2017 22:27:55 +0900
dear maintainers,

I would also like to report this bug. Here are some considerations
about emacs, input methods, and compose key (and the compose file
.XCompose):

1) Starting Emacs with 'env XMODIFIERS="@im=none" emacs' is not a
clean solution.
2) A user should not be forced to choose between the input method and
the compose key.
3) Some input methods (e.g. ibus, uim) can work with the compose key.
4) Other programs can work both with input methods and the compose key.

E.g. in my case, I use some japanese/chinese characters together with
composed latin characters like "ç" or "ś". I hope emacs implements
this functionality so that users can produce "universal" text files
more easily.

Yul




Forcibly Merged 6102 28497 30092. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 08 May 2022 13:07:02 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.