Hello Ludovic, I received an answer from Emacs developer Kenichi Handa (quoted below). He says that it should not be necessary to invoke `set-keyboard-coding-system'.
Kenichi Handa <[EMAIL PROTECTED]> writes: > In article <[EMAIL PROTECTED]>, Richard Stallman <[EMAIL PROTECTED]> writes: > >> Would you please DTRT and ack? > > Ok. > >> ------- Start of forwarded message ------- >> To: [EMAIL PROTECTED] >> From: Sven Joachim <[EMAIL PROTECTED]> >> Date: Sun, 26 Aug 2007 11:32:22 +0200 >> Subject: [Ludovic Courtes] Bug#435452: emacs22: `set-keyboard-coding-system' >> fails in non-X11 mode > >> I received this via the Debian Bug Tracking System. Handa-san, can >> you comment on it? > > [...] >> Invoking `set-keyboard-coding-system' in an "emacs -nw" session fails. >> For instance, asking it `no-conversion' (which is needed so that dead >> keys work as expected) fails: > >> Unsupported coding system in Encoded-kbd mode: no-conversion > > I don't understand why you have to set > keyboard-coding-system to no-conversion for dead keys. Dead > keys must be handled by terminal, and Emacs just receives > the resulting character (encoded in your locale) from the > terminal. So, setting keyboard-coding-system to what is > appropriate for your locale should work well, and that > should be done automatically. > >> Other choices fail similarly. > > What other choices were tried? utf-8, latin-X should all > work. What is your locale? > > --- > Kenichi Handa > [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]