Bug 126007
Summary: | European chars interpreted as prefixes and emacs loops on console | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eddahbi Karim <thetemplar> | ||||
Component: | emacs | Assignee: | Jens Petersen <petersen> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | pawsa, sundaram | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 21.3-24 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-09-05 00:25:43 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Eddahbi Karim
2004-06-15 08:13:20 UTC
"^i" works outside emacs? Yeah, it works. It just displays nothing but it works... Do I need to use a French kbd layout to reproduce this? Can you explain exactly how to enter "^ i" in Emacs? Nevermind, I managed to input ^i with a French kbd layout. Yep, I see it is interpreted as a prefix key by Emacs but it doesn't emacs to freeze for me or use all the cpu. Nor do the other accented letters. However I'm testing with a FC devel (rawhide). Any chance you could test with that? :) Did you have the same keyboard layout, fonts (latarcyrheb-sun16) and charset (fr_FR.UTF8) ? Are you using a xterm or a real terminal ? It seems to occurs only in real terminals. The first time I got this problem, it was with a fresh installation of Fedora Core 2, using a french setup and the problem still occured with rawhide packets, last time I checked. If I find a friend with a Fedora Core 2 installed, I'll ask him to try it... I'll try with the latest Rawhide when I can. Thanks for the help ;) I have a problem which I think is related to this one, although it has nothing to do with the linux console, the font or the keymap. Launch emacs (under X), then type: C-x 8 ' e f o o b a r Well here it makes emacs freeze and eat 98% of cpu before you can even finish to type foobar. (You can unfreeze it with C-g, though.) I see similar problem when I ssh from OSX to FC3 and type one of Swedish characters, eg "ä" (use dead keys to construct it). Ctrl-G will not stop the loop. Yes, I can reproduce î and "C-x 8 ' e" being interpreted as a modifiers. And on the console causing looping, which C-g breaks out of it. I can't reproduce with "emacs --no-site-file" though: it seems it is caused by the (set-keyboard-coding-system 'utf-8) setting in lang-coding-systems-init.el (see bug 106929) afaict. Worse, it seems (set-keyboard-coding-system 'utf-8) is needed for Latin input in a terminal, but this breaks input on the console. So probably need to condition this on the value of TERM I guess. Created attachment 111375 [details]
emacs-kbd-coding.patch
I believe this change basically fixes the problem.
Could you please test it and if it is good, I'll
update emacs with it.
The above fix appears to 21.3-24. Could you please confirm if this fixes the issue? I have tested the patch and it appears to fix the issue - thanks! Closing as per previous comment |