Date: Mon, 13 Jul 1998 10:56:05 +0300 (IDT) From: Eli Zaretskii To: Martin Str|mberg cc: djgpp AT delorie DOT com Subject: Re: undo problems in emacs In-Reply-To: <6o5vns$4r1$1@news.luth.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 10 Jul 1998, Martin Str|mberg wrote: > : You can tell what does Emacs see when you press C-_ (or any other key) by > : typing `C-h l' (that's an ell, not the digit one). This pops up a window > : with the last 100 keystrokes recorded by the keyboard loop. > > Hmm, it says it typed "C-?". How do I correct this? I would guess that you are using the Swedish keyboard, which is not supported by Emacs right now. According to my references, `_' is one of the keys whoich have different scancodes on non-US keyboards. Try evaluating the following expression, and see if that helps: (msdos-set-keyboard 45 nil) (One way of ``evaluating'' this is to type it into a buffer, then position the cursor at the right end and press `C-x C-e'.) The above sets up Emacs to use Danish keyboard, but it should be close to the Swedish one, and the `_' key is in the same place on both of them. If you are really interested in adding support for the Swedish keyboard, email me (it will require a source change).