bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#793: 23.0.60; dead keys not correctly in use


From: Andrew Hyatt
Subject: bug#793: 23.0.60; dead keys not correctly in use
Date: Tue, 29 Dec 2015 19:50:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (darwin)

Hi Peter, I'm having trouble understanding how to reproduce this. Would
I need your specific keyboard? If so, what kind is it? If not, can you
give me more concrete steps to reproduce?

Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:

> Hello!
>
> GNU Emacs does not handle the dead keys on my keyboard correctly. In its
> appearance as Emacs the are correctly handled:
>
>       ^ <ns-insert-working-text> <ns-delete-working-text>
>       ^ <ns-insert-working-text> <ns-delete-working-text>
>       ´ <ns-insert-working-text> <ns-delete-working-text>
>       ` <ns-insert-working-text> <ns-delete-working-text>
>       ¨ <ns-insert-working-text> <ns-delete-working-text>
>       ~ C-h l
>
> The X client about all of them: "<xxx> is undefined."
>
> When I insert
>
>       (load-library "iso-transl")
>
> into *scratch* buffer and type C-j, I get:
>
>       ^^'`"~
>
> and in *Help* buffer:
>
>       <dead-circumflex> SPC <S-dead-circumflex> SPC <dead-acute> SPC <S- 
> dead-grave> SPC <dead-diaeresis> SPC <dead-tilde> SPC C-h l
>
> Obviously <S-dead-grave> is misunderstood – it should be <S-dead- 
> acute> – and inserted as in xterm or uxterm as
>
>               character: ' (39, #o47, #x27)
>       preferred charset: ascii (ASCII (ISO646 IRV))
>              code point: 0x27
>                  syntax: '    which means: prefix
>                category: a:ASCII graphic characters 32-126 (ISO646 
> IRV:1983[4/0])
> l:Latin
>                          r:Japanese roman
>             buffer code: #x27
>               file code: #x27 (encoded by coding system utf-8-unix)
>
> while it should be
>
>               character: ´ (180, #o264, #xb4)
>       preferred charset: iso-8859-1 (Latin-1 (ISO/IEC 8859-1))
>              code point: 0xB4
>                  syntax: _    which means: symbol
>                category: h:Korean j:Japanese l:Latin
>             buffer code: #xC2 #xB4
>               file code: #xC2 #xB4 (encoded by coding system utf-8-unix)
>
> as in Emacs.app or Carbon Emacs (22.2). In xterm and uxterm the dead keys
> compose accented characters. The same characters are also composed in the X
> client after iso-transl was loaded.
>
> Xev records:
>
> KeyPress event, serial 21, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119183239, (69,-8), root:(103,46),
>     state 0x0, keycode 18 (keysym 0xfe52, dead_circumflex), same_screen YES,
>     XLookupString gives 1 bytes: (5e) "^"
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: True
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119183464, (69,-8), root:(103,46),
>     state 0x0, keycode 18 (keysym 0xfe52, dead_circumflex), same_screen YES,
>     XLookupString gives 1 bytes: (5e) "^"
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119188999, (69,-8), root:(103,46),
>     state 0x0, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119189331, (69,-8), root:(103,46),
>     state 0x8, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119189947, (69,-8), root:(103,46),
>     state 0x9, keycode 30 (keysym 0xfe52, dead_circumflex), same_screen YES,
>     XKeysymToKeycode returns keycode: 18
>     XLookupString gives 1 bytes: (5e) "^"
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: True
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119189947, (69,-8), root:(103,46),
>     state 0x9, keycode 0 (keysym 0x5e, asciicircum), same_screen YES,
>     XLookupString gives 1 bytes: (00) ""
>     XmbLookupString gives 1 bytes: (5e) "^"
>     XFilterEvent returns: False
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119190005, (69,-8), root:(103,46),
>     state 0x9, keycode 30 (keysym 0xfe52, dead_circumflex), same_screen YES,
>     XKeysymToKeycode returns keycode: 18
>     XLookupString gives 1 bytes: (5e) "^"
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119191635, (69,-8), root:(103,46),
>     state 0x9, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119191743, (69,-8), root:(103,46),
>     state 0x8, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119192575, (69,-8), root:(103,46),
>     state 0x0, keycode 32 (keysym 0xfe51, dead_acute), same_screen YES,
>     XLookupString gives 2 bytes: (c2 b4) "´"
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: True
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119192641, (69,-8), root:(103,46),
>     state 0x0, keycode 32 (keysym 0xfe51, dead_acute), same_screen YES,
>     XLookupString gives 2 bytes: (c2 b4) "´"
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119193803, (69,-8), root:(103,46),
>     state 0x0, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119194349, (69,-8), root:(103,46),
>     state 0x1, keycode 32 (keysym 0xfe50, dead_grave), same_screen YES,
>     XLookupString gives 1 bytes: (60) "`"
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: True
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119194418, (69,-8), root:(103,46),
>     state 0x1, keycode 32 (keysym 0xfe50, dead_grave), same_screen YES,
>     XLookupString gives 1 bytes: (60) "`"
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119195502, (69,-8), root:(103,46),
>     state 0x1, keycode 64 (keysym 0xffe1, Shift_L), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119195999, (69,-8), root:(103,46),
>     state 0x0, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119196285, (69,-8), root:(103,46),
>     state 0x8, keycode 40 (keysym 0xfe57, dead_diaeresis), same_screen YES,
>     XLookupString gives 2 bytes: (c2 a8) "¨"
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: True
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119196345, (69,-8), root:(103,46),
>     state 0x8, keycode 40 (keysym 0xfe57, dead_diaeresis), same_screen YES,
>     XLookupString gives 2 bytes: (c2 a8) "¨"
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119196732, (69,-8), root:(103,46),
>     state 0x8, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
>     XLookupString gives 0 bytes:
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119198391, (69,-8), root:(103,46),
>     state 0x0, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
>
> KeyPress event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119198694, (69,-8), root:(103,46),
>     state 0x8, keycode 53 (keysym 0xfe53, dead_tilde), same_screen YES,
>     XLookupString gives 1 bytes: (7e) "~"
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: True
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119198743, (69,-8), root:(103,46),
>     state 0x8, keycode 53 (keysym 0xfe53, dead_tilde), same_screen YES,
>     XLookupString gives 1 bytes: (7e) "~"
>
> KeyRelease event, serial 23, synthetic NO, window 0x1c00001,
>     root 0x57, subw 0x0, time 119199006, (69,-8), root:(103,46),
>     state 0x8, keycode 66 (keysym 0xff7e, Mode_switch), same_screen YES,
>     XLookupString gives 0 bytes:
>
>
>
>
> In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d scroll
> bars)
>  of 2008-08-26 on localhost
> Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000
> configured using `configure  '--without-sound' '--without-pop' '-- 
> with-dbus' '--with-x-toolkit=athena'
> '--enable-locallisppath=/Library/Application
> Support/Emacs/calendar23:/Library/Application
> Support/Emacs/caml:/Library/Application Support/Emacs:/sw/share/emacs21/site- 
> lisp/elib'
> 'PKG_CONFIG_PATH=/sw/lib/freetype219/lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/pango-ft219/lib/pkgconfig:/sw/lib/qt4-x11/lib/pkgconfig:/sw/lib/system-openssl/lib/pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/lib/pkgconfig'
> 'CFLAGS=-Wno-pointer-sign -bind_at_load -H -pipe -fPIC -mcpu=7450 -mtune=7450
> -fast -mpim-altivec -ftree- 
> vectorize -foptimize-register-move -freorder-blocks -freorder-blocks- 
> and-partition -fthread-jumps -fpeephole -fno-crossjumping' 'CPPFLAGS=- 
> no-cpp-precomp' 'LDFLAGS=-bind_at_load -dead_strip -multiply_defined suppress
> -L/sw/lib/ncurses''
>
> 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: de_DE.UTF-8
>   value of $XMODIFIERS: nil
>   locale-coding-system: utf-8-unix
>   default-enable-multibyte-characters: t
>
> Major mode: Lisp Interaction
>
> Minor modes in effect:
>   show-paren-mode: t
>   display-time-mode: t
>   tooltip-mode: t
>   tool-bar-mode: t
>   mouse-wheel-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   global-auto-composition-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   column-number-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>
> Recent input:
> <dead-circumflex> <S-dead-circumflex> <dead-acute>
> <S-dead-grave> <dead-diaeresis> <dead-tilde> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <menu-bar> <help-menu> <send-emacs-bug-report>
>
>
> --
> Greetings
>
>   Pete
>
> Eternity is a terrible thought. I mean, where's it going to end?
>                               - Tom Stoppard





reply via email to

[Prev in Thread] Current Thread [Next in Thread]