From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.bugs Subject: bug#30043: 25.3; C-M-e inserts euro character Date: Thu, 18 Jan 2018 12:16:42 +0100 Message-ID: <87607zju1x.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> References: <831siy7uhq.fsf@gnu.org> <87fu7eeo7q.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <83o9m25qys.fsf@gnu.org> <877espe64z.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <83o9m04cfx.fsf@gnu.org> <87fu792yvw.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <834lnp15c1.fsf@gnu.org> <87bmhw2rk5.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> <83po6cz005.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1516274135 7700 195.159.176.226 (18 Jan 2018 11:15:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 Jan 2018 11:15:35 +0000 (UTC) Cc: 30043@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 18 12:15:30 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec8A9-0000yj-AK for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jan 2018 12:15:17 +0100 Original-Received: from localhost ([::1]:52323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec8C9-0005Ai-6g for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jan 2018 06:17:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec8Bv-00059T-EX for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 06:17:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec8Bq-0007zb-Gi for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 06:17:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53071) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ec8Bq-0007z5-DJ for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 06:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ec8Bp-0004gn-Pu for bug-gnu-emacs@gnu.org; Thu, 18 Jan 2018 06:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jan 2018 11:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30043 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30043-submit@debbugs.gnu.org id=B30043.151627421418004 (code B ref 30043); Thu, 18 Jan 2018 11:17:01 +0000 Original-Received: (at 30043) by debbugs.gnu.org; 18 Jan 2018 11:16:54 +0000 Original-Received: from localhost ([127.0.0.1]:60968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec8Bh-0004gJ-NQ for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:16:53 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:60083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec8Bf-0004g2-Pk for 30043@debbugs.gnu.org; Thu, 18 Jan 2018 06:16:52 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BB3B820F78 for <30043@debbugs.gnu.org>; Thu, 18 Jan 2018 12:16:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1516274205; bh=4hLQ2wr0tmO1IIWSnx6X91Nob9pJkqiJ4wEOh1b8cWE=; h=From:To:Cc:Subject:Date:From; b=TKf98bwjqjckBe5fD5XyaBHvB8mEtmxMNzXeklDchXw47RMd0WVnKO9SnMHPcLJqb v77Fkat4bGv2+pvK5dcOoZm86vaHD6JkVpdw2Ns9rbDkXjXZpimF7PcUwvuxNI30/Q 05R6ELlvkQKEsJNbi6SqO024mrkMKhbGxJhW19j/fzbqFySrb+Yv/js8Sbp/5y79y7 5ZJC0tlRXJSrb3UV6ZIWkxXTdFhdAJyiDTDGxoONDE1WzkJIYh0YvxiJBUrB7Z74c4 p2ljWgWbkDT/fCzqOcFatYU2UPbBvlThkKNSaNlxBHdknfGbGxX9mbUuevD+17dJFP BXe8bAeScUAtA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3zMhHH4q5Pz9rxY; Thu, 18 Jan 2018 12:16:43 +0100 (CET) In-Reply-To: <83po6cz005.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142247 Archived-At: Eli Zaretskii writes: >> From: Tomas Nordin >> Cc: 30043@debbugs.gnu.org >> Date: Sun, 14 Jan 2018 20:01:14 +0100 >> >> > So I guess you somehow have a keyboard which doesn't fit the new >> > keyboard input code introduced by Emacs 25, and need to use this >> > fallback variable to avoid the problem. >> >> Does it mean that the new input code has no fault but the keyboard >> probably has a problem? > > I don't think this is a problem, I think this is how your keyboard is > supposed to work. But since you don't like it, I mentioned the For curiosity I wrote a small python script to collect some keyboard input at home on Gnu/Linux and at work on Windows ------------------------8<------------------------------------------- import Tkinter as tk import time logfmt = '{:10f}\t{:10}\t{:10}\t{:}' root = tk.Tk() def key(event): print logfmt.format(time.time() - start_time, repr(event.char), repr(event.keysym), repr(event.keycode)) def callback(event): # starts listening here frame.focus_set() frame = tk.Frame(root, width=100, height=100) frame.bind("", key) frame.bind("", callback) frame.pack() start_time = time.time() print '{:10}\t{:10}\t{:10}\t{:}'.format('time', 'char', 'keysym', 'keycode') root.mainloop() ------------------------>8------------------------------------------- I tried it by pressing e three times and then ctrl+alt+e and then e three times again. Gnu/Linux time char keysym keycode 3.201521 'e' 'e' 26 3.497571 'e' 'e' 26 3.713505 'e' 'e' 26 4.329478 '' 'Control_L' 37 4.473506 '' 'Alt_L' 64 4.745468 '\x05' 'e' 26 6.001459 'e' 'e' 26 6.249449 'e' 'e' 26 6.481506 'e' 'e' 26 Windows time char keysym keycode 2.424000 'e' 'e' 69 2.704000 'e' 'e' 69 2.964000 'e' 'e' 69 3.744000 '' 'Control_L' 17 3.924000 '' 'Alt_L' 18 4.344000 u'\u20ac' 'e' 69 5.866000 'e' 'e' 69 6.147000 'e' 'e' 69 6.347000 'e' 'e' 69 I don't know if it adds anything to the discussion, but anyway. Much are different on the platforms, the only thing in common seem to be the key symbol in this case, and the char sometimes. The same pattern was repeated on three Windows stations with different keyboards.