GNU bug report logs - #9791
23.1; Non latin characters display with next keystroke in emacs -nw

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: "E. Choroba" <choroba@HIDDEN>; dated Wed, 19 Oct 2011 00:43:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 9791 <at> debbugs.gnu.org:


Received: (at 9791) by debbugs.gnu.org; 23 Oct 2011 23:16:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 23 19:16:01 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RI7Gp-0003me-Mc
	for submit <at> debbugs.gnu.org; Sun, 23 Oct 2011 19:16:01 -0400
Received: from sns.ms.mff.cuni.cz ([195.113.20.77] helo=smtp2.ms.mff.cuni.cz)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <choroba@HIDDEN>) id 1RI6JJ-0001bs-Iw
	for 9791 <at> debbugs.gnu.org; Sun, 23 Oct 2011 18:14:31 -0400
Received: from ufal.mff.cuni.cz (ufal.mff.cuni.cz [195.113.20.52])
	by smtp2.ms.mff.cuni.cz (8.14.4/8.14.4) with ESMTP id p9NMCxfx074515;
	Mon, 24 Oct 2011 00:13:00 +0200 (CEST)
	(envelope-from choroba@HIDDEN)
Received: from [192.168.0.100] (ip4-95-82-156-214.cust.nbox.cz [95.82.156.214])
	by ufal.mff.cuni.cz (Postfix) with ESMTPSA id 90E962CB54;
	Mon, 24 Oct 2011 00:13:23 +0200 (CEST)
Date: Mon, 24 Oct 2011 00:12:59 +0200 (CEST)
From: "E. Choroba" <choroba@HIDDEN>
X-X-Sender: choroba@weed
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#9791: 23.1; Non latin characters display with next keystroke
	in emacs -nw
Message-ID: <alpine.LNX.2.00.1110232344300.5139@weed>
User-Agent: Alpine 2.00 (LNX 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED;
	BOUNDARY="-1463786494-1888215300-1319407979=:5139"
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 9791
X-Mailman-Approved-At: Sun, 23 Oct 2011 19:15:57 -0400
Cc: 9791 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---1463786494-1888215300-1319407979=:5139
Content-Type: TEXT/PLAIN; format=flowed; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by smtp2.ms.mff.cuni.cz id p9NMCxfx074515

> > When using the czech-qwerty input method in emacs -nw, some non-latin
> > characters (those assigned to keys 7, 8, 9, 0, and [) are not entered
> > directly into the buffer, but are displayed in the minibuffer area an=
d
> >  entered with the next keystroke.
>
> You probably have some key translations defined for these characters. S=
ee=20
> C-h b (describe-bindings) for details.
>
> Andreas.

Describe-bindings does not help me much. I tried C-h k =FD, though. Under=
=20
windows emacs (where all the accented characters behave alike), it gives =
this=20
output:

   =FD (translated from 7 =FD) runs the command self-insert-command, whic=
h is an
   interactive built-in function in `C source code'.

   It is bound to many ordinary text characters.

   (self-insert-command n)

   Insert the character you type.
   Whichever character you type to run this command is inserted.

And similarly for all other accented characters.

Under emacs -nw, C-h k =FD does display "=FD-" in the minibuffer, as if i=
t were a=20
prefix command. After pressing any key, the same description is displayed=
 as=20
in windows case, and the second key is inserted into the current buffer (=
I can=20
provide a screencast again, if my description is not clear.) The accented=
=20
characters assigned to keys 2 - 6 behave as in the windows case.

BTW, if I change the keyboard layout via the window manager, all the acce=
nted=20
keys work correctly. However, it breaks many standard emacs shortcuts, so=
 it=20
is not the way to go.

 	Ch.
---1463786494-1888215300-1319407979=:5139--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#9791; Package emacs. Full text available.

Message received at 9791 <at> debbugs.gnu.org:


Received: (at 9791) by debbugs.gnu.org; 19 Oct 2011 07:57:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 19 03:57:30 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RGR1m-0008KF-3a
	for submit <at> debbugs.gnu.org; Wed, 19 Oct 2011 03:57:30 -0400
Received: from mail-out.m-online.net ([212.18.0.9])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <whitebox@HIDDEN>) id 1RGR1j-0008K1-GV
	for 9791 <at> debbugs.gnu.org; Wed, 19 Oct 2011 03:57:28 -0400
Received: from frontend1.mail.m-online.net (unknown [192.168.8.180])
	by mail-out.m-online.net (Postfix) with ESMTP id 108FB1C02BC3;
	Wed, 19 Oct 2011 09:56:19 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.8.164])
	by mail.m-online.net (Postfix) with ESMTP id DFB9C1C00066;
	Wed, 19 Oct 2011 09:56:19 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.180])
	by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new,
	port 10024)
	with ESMTP id DQF1bkQHJjJj; Wed, 19 Oct 2011 09:56:19 +0200 (CEST)
Received: from hase.home (ppp-88-217-108-255.dynamic.mnet-online.de
	[88.217.108.255]) by mail.mnet-online.de (Postfix) with ESMTP;
	Wed, 19 Oct 2011 09:56:18 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: "E. Choroba" <choroba@HIDDEN>
Subject: Re: bug#9791: 23.1;
	Non latin characters display with next keystroke in emacs -nw
References: <20111018235057.627103BCA3@HIDDEN>
X-Yow: Don't hit me!!  I'm in the Twilight Zone!!!
Date: Wed, 19 Oct 2011 09:56:23 +0200
In-Reply-To: <20111018235057.627103BCA3@HIDDEN> (E. Choroba's
	message of "Wed, 19 Oct 2011 01:50:57 +0200 (CEST)")
Message-ID: <m3ty75fm8o.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 9791
Cc: 9791 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

"E. Choroba" <choroba@HIDDEN> writes:

> When using the czech-qwerty input method in emacs -nw, some non-latin
> characters (those assigned to keys 7, 8, 9, 0, and [) are not entered
> directly into the buffer, but are displayed in the minibuffer area and
> entered with the next keystroke.

You probably have some key translations defined for these characters.
See C-h b (describe-bindings) for details.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#9791; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Oct 2011 00:42:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 18 20:42:21 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RGKEe-0005Os-7a
	for submit <at> debbugs.gnu.org; Tue, 18 Oct 2011 20:42:20 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <choroba@HIDDEN>) id 1RGK1o-00053Z-VR
	for submit <at> debbugs.gnu.org; Tue, 18 Oct 2011 20:29:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <choroba@HIDDEN>) id 1RGK0l-0008WN-0t
	for submit <at> debbugs.gnu.org; Tue, 18 Oct 2011 20:28:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM,
	RDNS_DYNAMIC,TO_NO_BRKTS_DYNIP autolearn=no version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:60372)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <choroba@HIDDEN>) id 1RGK0k-0008WJ-Vb
	for submit <at> debbugs.gnu.org; Tue, 18 Oct 2011 20:27:58 -0400
Received: from eggs.gnu.org ([140.186.70.92]:59148)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <choroba@HIDDEN>) id 1RGK0j-0006aT-Rt
	for bug-gnu-emacs@HIDDEN; Tue, 18 Oct 2011 20:27:58 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <choroba@HIDDEN>) id 1RGK0i-0008W8-Kg
	for bug-gnu-emacs@HIDDEN; Tue, 18 Oct 2011 20:27:57 -0400
Received: from ip4-95-82-156-214.cust.nbox.cz ([95.82.156.214]:55546
	helo=weed.ms.mff.cuni.cz) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <choroba@HIDDEN>) id 1RGK0i-0008W1-Eg
	for bug-gnu-emacs@HIDDEN; Tue, 18 Oct 2011 20:27:56 -0400
Received: by weed.ms.mff.cuni.cz (Postfix, from userid 6208)
	id 627103BCA3; Wed, 19 Oct 2011 01:50:57 +0200 (CEST)
From: "E. Choroba" <choroba@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.1; Non latin characters display with next keystroke in emacs -nw
Message-Id: <20111018235057.627103BCA3@HIDDEN>
Date: Wed, 19 Oct 2011 01:50:57 +0200 (CEST)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -5.1 (-----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 18 Oct 2011 20:42:18 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.1 (-----)


When using the czech-qwerty input method in emacs -nw, some non-latin
characters (those assigned to keys 7, 8, 9, 0, and [) are not entered
directly into the buffer, but are displayed in the minibuffer area and
entered with the next keystroke. I made a screencast that displays
losage at the end so you can easily try to reproduce the behaviour:

  http://ufal.mff.cuni.cz/~stepanek/emacs-czech.mpeg

Other similar characters (those assigned to 2, 3, 4, 5, and 6) work as
expected.

In GNU Emacs 23.1.1 (i586-suse-linux-gnu, GTK+ Version 2.20.1)
 of 2010-07-05 on build17
configured using `configure  '--with-pop' '--without-hesiod' '--with-kerberos' '--with-kerberos5' '--with-xim' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' '--with-sound' '--with-sync-input' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-rsvg' '--with-dbus' '--without-gpm' '--with-x-toolkit=gtk' '--x-includes=/usr/include' '--x-libraries=/usr/lib:/usr/share/X11' '--with-xft' '--with-libotf' '--with-m17n-flt' '--build=i586-suse-linux' 'build_alias=i586-suse-linux' 'CC=gcc-4.3' 'CFLAGS=-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -D_GNU_SOURCE -std=gnu89 -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -Wno-unprototyped-calls -fno-optimize-sibling-calls -DSYSTEM_PURESIZE_EXTRA=55000 	 -DSITELOAD_PURESIZE_EXTRA=10000
  ' 'LDFLAGS=-Wl,-O2 -Wl,--hash-size=65521''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: cs_CZ.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  worktime-minor-mode: t
  savehist-mode: t
  global-hl-line-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC [ > 0 ; 1 1 5 ; 0 c ESC ` o m S c z e TAB - q w 
e TAB RET 1 2 3 4 5 6 7 8 9 0 SPC C-h l ESC x ESC O 
A RET

Recent messages:
("/usr/bin/emacs" "--no-splash")
Directory name in buffer names (uniquify) enabled globally
Loading /home/choroba/elisp/htmlize.el (source)...done
Loading /home/choroba/elisp/worktime.el (source)...done
Loading /home/choroba/.session...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading quail/czech...done
Unable to load color "unspecified"
Type C-x 1 to delete the help window.




Acknowledgement sent to "E. Choroba" <choroba@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#9791; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.