unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6102: 24.0.50; Problems with Multi_Key
@ 2010-05-04 20:41 Werner LEMBERG
  2010-05-05 14:22 ` Štěpán Němec
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Werner LEMBERG @ 2010-05-04 20:41 UTC (permalink / raw)
  To: 6102


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)







^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#6102: 24.0.50; Problems with Multi_Key
  2010-05-04 20:41 bug#6102: 24.0.50; Problems with Multi_Key Werner LEMBERG
@ 2010-05-05 14:22 ` Štěpán Němec
  2010-05-05 14:40   ` Werner LEMBERG
  2010-05-05 15:22 ` Andreas Schwab
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Štěpán Němec @ 2010-05-05 14:22 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: 6102

Werner LEMBERG <wl@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






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#6102: 24.0.50; Problems with Multi_Key
  2010-05-05 14:22 ` Štěpán Němec
@ 2010-05-05 14:40   ` Werner LEMBERG
  0 siblings, 0 replies; 7+ messages in thread
From: Werner LEMBERG @ 2010-05-05 14:40 UTC (permalink / raw)
  To: stepnem; +Cc: 6102


>>   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






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#6102: 24.0.50; Problems with Multi_Key
  2010-05-04 20:41 bug#6102: 24.0.50; Problems with Multi_Key Werner LEMBERG
  2010-05-05 14:22 ` Štěpán Němec
@ 2010-05-05 15:22 ` Andreas Schwab
  2010-05-05 21:17   ` Werner LEMBERG
  2011-02-15 13:57 ` bug#6102: Problems with multi key on 23.2.1 Thomas Klausner
  2017-09-29 13:27 ` bug#6102: Problems with Multi_Key Yul Otani
  3 siblings, 1 reply; 7+ messages in thread
From: Andreas Schwab @ 2010-05-05 15:22 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: 6102

Werner LEMBERG <wl@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#6102: 24.0.50; Problems with Multi_Key
  2010-05-05 15:22 ` Andreas Schwab
@ 2010-05-05 21:17   ` Werner LEMBERG
  0 siblings, 0 replies; 7+ messages in thread
From: Werner LEMBERG @ 2010-05-05 21:17 UTC (permalink / raw)
  To: schwab; +Cc: 6102


>> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#6102: Problems with multi key on 23.2.1
  2010-05-04 20:41 bug#6102: 24.0.50; Problems with Multi_Key Werner LEMBERG
  2010-05-05 14:22 ` Štěpán Němec
  2010-05-05 15:22 ` Andreas Schwab
@ 2011-02-15 13:57 ` Thomas Klausner
  2017-09-29 13:27 ` bug#6102: Problems with Multi_Key Yul Otani
  3 siblings, 0 replies; 7+ messages in thread
From: Thomas Klausner @ 2011-02-15 13:57 UTC (permalink / raw)
  To: 6102

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#6102: Problems with Multi_Key
  2010-05-04 20:41 bug#6102: 24.0.50; Problems with Multi_Key Werner LEMBERG
                   ` (2 preceding siblings ...)
  2011-02-15 13:57 ` bug#6102: Problems with multi key on 23.2.1 Thomas Klausner
@ 2017-09-29 13:27 ` Yul Otani
  3 siblings, 0 replies; 7+ messages in thread
From: Yul Otani @ 2017-09-29 13:27 UTC (permalink / raw)
  To: 6102

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-09-29 13:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04 20:41 bug#6102: 24.0.50; Problems with Multi_Key Werner LEMBERG
2010-05-05 14:22 ` Štěpán Němec
2010-05-05 14:40   ` Werner LEMBERG
2010-05-05 15:22 ` Andreas Schwab
2010-05-05 21:17   ` Werner LEMBERG
2011-02-15 13:57 ` bug#6102: Problems with multi key on 23.2.1 Thomas Klausner
2017-09-29 13:27 ` bug#6102: Problems with Multi_Key Yul Otani

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).