From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#30043: 25.3; C-M-e inserts euro character Date: Sun, 29 Sep 2019 17:42:59 +0200 Message-ID: References: <87k19r1bp1.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="232846"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 30043@debbugs.gnu.org, Ilya Zakharevich To: Tomas Nordin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 29 17:44:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iEbMy-000yQn-Pm for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 17:44:20 +0200 Original-Received: from localhost ([::1]:40386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEbMx-0005p1-HY for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Sep 2019 11:44:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49037) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iEbMh-0005ot-Es for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 11:44:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iEbMg-0004KR-0r for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 11:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46769) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iEbMf-0004KM-U5 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 11:44:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iEbMf-00028t-R0 for bug-gnu-emacs@gnu.org; Sun, 29 Sep 2019 11:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Sep 2019 15:44: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: notabug Original-Received: via spool by 30043-submit@debbugs.gnu.org id=B30043.15697717988168 (code B ref 30043); Sun, 29 Sep 2019 15:44:01 +0000 Original-Received: (at 30043) by debbugs.gnu.org; 29 Sep 2019 15:43:18 +0000 Original-Received: from localhost ([127.0.0.1]:55588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEbLy-00027f-DU for submit@debbugs.gnu.org; Sun, 29 Sep 2019 11:43:18 -0400 Original-Received: from mail-pf1-f194.google.com ([209.85.210.194]:34418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEbLw-00027M-Q5 for 30043@debbugs.gnu.org; Sun, 29 Sep 2019 11:43:17 -0400 Original-Received: by mail-pf1-f194.google.com with SMTP id b128so4099466pfa.1 for <30043@debbugs.gnu.org>; Sun, 29 Sep 2019 08:43:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b2jR1Eizxl4Lgm9g3ZlaR4J7OlogaTIHzZcsIH9ubuo=; b=dWT/X/7P/mkhGwZtFvpE5FBRkfgqgh9FuWl2JQnC2YqD9v/hUXLW9SxxD7tCAK8vui zDw5iqcgcPbgB+4kG3hrfzBi+r+EFmlwOvqIUbRwNHlGezigaBzJY6EAIOROJwMMDFHa CyY/HJ/3bUNm48cQyuooNg5W3hhBEo7/kPwtHSOdiyxubPOA/Wcbrzbo0yVOKmKi7nN8 EMro1H1doRVtVZZbrP4ovxoRGp5GmdtuzzBFi6lB+nqc2AwQ9R9G3xURjqYs10UhZ91c WT1RynHl6kiVwetp2In3zLN6m3bOvAdPzTKBxXQvAcuBdzk9RSKOhPzG43UFs4N8PDSy r1zQ== X-Gm-Message-State: APjAAAWSTgfjsqx06M9Z4Tr85EBlhyo8T1LV1JBlbOI1V+dr/w5xs7wT 19YZFZCl8yCyGk+fWdPMy77vvxqh/oSrN3ujDuo= X-Google-Smtp-Source: APXvYqwnS7x4Z7bzen2erq3ckYr+6Ps4NVRwbtvHxWk797gcrR7xkLJoGKR/5FLjcETzCh6ySDbHwm62BiG6QG0GT18= X-Received: by 2002:aa7:8750:: with SMTP id g16mr16131968pfo.190.1569771790898; Sun, 29 Sep 2019 08:43:10 -0700 (PDT) In-Reply-To: <87k19r1bp1.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> 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: 209.51.188.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:167703 Archived-At: tags 30043 - notabug reopen 30043 thanks Tomas Nordin writes: > >> 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. > > > > I believe that was the correct answer, and nothing of the rest of the > > discussion indicated otherwise. I'm therefore closing this as notabug. > > It seems to me then that the correct answer is that keyboards with > swedish layout on Windows does not fit the new keyboard input code. I > see the same on a laptop now with emacs 26.2. It is strange that no-one > else in this country complains. > > Using the work-around with setting w32-use-fallback-wm-chars-method > solves the problem. But the docstring of that variable suggests that I > shouldn't have to use it unless debugging something. > > I am not going to argue with the closing but I don't think this is > specific to one specific keyboard. It was reproduced on several > keyboards on different machines. Hi Tomas, Thanks for writing back. It was not my intention to close a legitimate bug; reopened it now. I've been investigating this a bit, and it seems like this new keyboard handling code was introduced due to deficiencies in the old one. See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19994 See also the possibly related: https://debbugs.gnu.org/bug=23251 If it's the case that this change breaks M-C-e on all Swedish keyboards on MS-Windows, perhaps it's worth making sure the users doesn't have to set w32-use-fallback-wm-chars-method to non-nil. At the very least, it makes sense to me that the doc string should be improved as Tomas suggests, and possibly also that the workaround should be documented in e.g. etc/PROBLEMS. Eli, what do you think? I've also Cc:ed Ilya Zakharevich in the hope that he will be able to help. Also: is anyone else seeing this on their Swedish keyboard on MS-Windows? And Tomas: Are you seeing the same thing with other key bindings involving one or more modifiers? I have a Swedish keyboard but no MS-Windows system, so I can't dig into this beyond this. I'm also a bit out of my depth. Therefore, I'll have to leave it to someone else to decide how to best proceed here. Best regards, Stefan Kangas