First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 81547
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matti P. T. Juvonen <gentoo@mpj.iki.fi>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
jasspa-microemacs-20040301-r1.ebuild Modified ebuild to incorporate the patch text/plain Matti P. T. Juvonen 2005-02-10 17:10 0000 1.74 KB Details
jasspa-microemacs-20040301-xorg.patch My proposed patch. Works for me. patch Matti P. T. Juvonen 2005-02-10 17:11 0000 455 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 81547 depends on: Show dependency tree
Bug 81547 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-10 15:42 0000
I'm using app-editors/jasspa-microemacs-20040301 with X.org 6.8.1 and a Finnish
keyboard layout.

The Finnish layout, like some others, use the AltGr key to enter some special
characters including @

------- Comment #1 From Matti P. T. Juvonen 2005-02-10 15:42:44 0000 -------
I'm using app-editors/jasspa-microemacs-20040301 with X.org 6.8.1 and a Finnish
keyboard layout.

The Finnish layout, like some others, use the AltGr key to enter some special
characters including @£${[\]}. X.org maps AltGr to ISO_Level3_Shift instead of
the traditional Mode_switch. MicroEmacs is programmed to specifically ignore
Mode_switch but doesn't know about ISO_Level3_Shift.

Reproducible: Always
Steps to Reproduce:
1. Switch the keyboard layout to fi with setxkbmap -layout fi
2. Start up MicroEmacs
3. Press AltGr + any number (for example, AltGr + 2 which should produce @)

Actual Results:  
As soon as AltGr is pressed, the minibuffer shows "C-c". When the second
character is pressed, a "Key not bound" error appears.

Expected Results:  
MicroEmacs should not react to the AltGr key, and should produce the correct
characters upon pressing the second key.

The following patch restores correct functionality:

--- me040301-old/src/unixterm.c 2004-03-27 17:02:05.000000000 +0000
+++ me040301/src/unixterm.c     2005-02-10 23:35:40.265849484 +0000
@@ -1745,6 +1745,9 @@
                     /* Mode switch - used on foreign keyboards, always ignore.
*/

                     /* Character set switch */
+#ifdef XK_ISO_Level3_Shift
+                case XK_ISO_Level3_Shift:
+#endif
 #ifdef XK_Mode_switch
                 case XK_Mode_switch:
 #ifdef XK_script_switch

------- Comment #2 From Carsten Lohrke 2005-02-10 16:55:46 0000 -------
please attach patches, do not inline. thanks. :)

------- Comment #3 From Matti P. T. Juvonen 2005-02-10 17:10:05 0000 -------
Created an attachment (id=50966) [edit]
Modified ebuilt to incorporate the patch

------- Comment #4 From Matti P. T. Juvonen 2005-02-10 17:11:20 0000 -------
Created an attachment (id=50967) [edit]
My proposed patch. Works for me.

------- Comment #5 From Mamoru KOMACHI (RETIRED) 2005-02-11 04:15:13 0000 -------
Thanks for the patch and ebuild. Applied as -r1.

First Last Prev Next    No search results available      Search page      Enter new bug