From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.bugs Subject: bug#74134: 29.4; emacs-pgtk and emacs-gtk-x11 does not react the same way to c-s-u Date: Fri, 01 Nov 2024 08:54:29 +0100 Message-ID: <87frobbd8q.fsf@tanaka.verona.se> References: <877c9ozcpv.fsf@chopper> <867c9o2vfm.fsf@gnu.org> <87r07wawpa.fsf@tanaka.verona.se> <86wmhn1ltv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5830"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: luangruo@yahoo.com, 74134@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 01 08:55:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t6mV8-0001LY-EH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Nov 2024 08:55:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6mUs-0002eX-I9; Fri, 01 Nov 2024 03:55:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6mUo-0002cB-Ru for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 03:55:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t6mUo-0007Mj-9E for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 03:55:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=ootR1LP8KmLeEpTXP80z2wpX5NHjXiciAoLnxY5xNFg=; b=UmLp7bbb54RCbOmCaufRw2julQAdAVcIOqWG+3slLfj8jGrdec/14SDt9HSIyuWK+TDOcExsbCbkhv454eLEa7Sjy9bDjMAF7potHiR0W2d4p3CU24R3Hzf01K8gsQ7S6xgRKYFHpKrODMopXwFrExpdxJMESEK+9NTjjvg2rZVSi/756C3haXkmNjELLuMV/hKYvvdmWoHqmYNfpNAJBQzJ6ufDHjJJYa8bO3Nv7TCC6Tmr0vNFDXmEnjtXkA5mRk3IS8BlC/SGeYWuV+6OK4JmzYnWSzEsGaz3LjAFV7yG1KZkPH5IkMaNUWAjkrCQkWxybd8dRP3qtmLRR5eU3A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6mUo-0006js-31 for bug-gnu-emacs@gnu.org; Fri, 01 Nov 2024 03:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: joakim@verona.se Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Nov 2024 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74134 X-GNU-PR-Package: emacs Original-Received: via spool by 74134-submit@debbugs.gnu.org id=B74134.173044768325883 (code B ref 74134); Fri, 01 Nov 2024 07:55:02 +0000 Original-Received: (at 74134) by debbugs.gnu.org; 1 Nov 2024 07:54:43 +0000 Original-Received: from localhost ([127.0.0.1]:47615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6mUU-0006jP-JP for submit@debbugs.gnu.org; Fri, 01 Nov 2024 03:54:42 -0400 Original-Received: from smtp.outgoing.loopia.se ([93.188.3.37]:10284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6mUS-0006jE-Bg for 74134@debbugs.gnu.org; Fri, 01 Nov 2024 03:54:41 -0400 Original-Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 59F77149A32 for <74134@debbugs.gnu.org>; Fri, 01 Nov 2024 08:54:34 +0100 (CET) Original-Received: from s899.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id 4BD31149DA3; Fri, 01 Nov 2024 08:54:34 +0100 (CET) Original-Received: from s898.loopia.se (unknown [172.22.191.6]) by s899.loopia.se (Postfix) with ESMTP id 4A09C2C8BAB7; Fri, 01 Nov 2024 08:54:34 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se Authentication-Results: s898.loopia.se (amavisd-new); dkim=neutral reason="invalid (public key: not available)" header.d=verona.se Original-Received: from s980.loopia.se ([172.22.191.5]) by s898.loopia.se (s898.loopia.se [172.22.190.17]) (amavisd-new, port 10024) with UTF8LMTP id tk40xWVOyHLJ; Fri, 1 Nov 2024 08:54:31 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: smtpuser@verona.se X-Loopia-Originating-IP: 193.234.148.196 Original-Received: from tanaka.verona.se (unknown [193.234.148.196]) (Authenticated sender: smtpuser@verona.se) by s980.loopia.se (Postfix) with ESMTPSA id AE8A222016A7; Fri, 01 Nov 2024 08:54:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verona.se; s=loopiadkim1720028670; t=1730447671; bh=ootR1LP8KmLeEpTXP80z2wpX5NHjXiciAoLnxY5xNFg=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=iuNRIeucnKVF6a+duMzmlTske4r7B5QV6CdIkQQ7iAso4UXhCZvyKLUhUMWcffBSN CUzbPGnv4KOauIAHYcbQceXw3FYfD9R21udyH9dsG0HeP/UKh0YTy7sTcbxlme0qwy xOSRcl+9O5wujwWajVug3rlbMY3UK7ZPVpVQTIAHOp3D73NbhrK47ZLTTlU8QreiM3 Fbuwi9YRf4+u88t7T/1NahjQHp+CFjIoSindjY37JsMLAxUHlCccXhbBQf2xBbJSxr 8WsG7FZIjq3ytgjj6f/4Up5IR/wPed1a81qCCVRPdAc6qgrvyW9g2BlBqCuze0HhzA HcsGsGaQznCEQ== In-Reply-To: <86wmhn1ltv.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 Nov 2024 08:59:08 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:294665 Archived-At: Eli Zaretskii writes: >> X-Spam-Status: No, score=-0.8 tagged_above=-999 required=6.2 >> tests=[ALL_TRUSTED=-1, DKIM_INVALID=0.1, DKIM_SIGNED=0.1] autolearn=disabled >> From: joakim@verona.se >> Cc: Po Lu , 74134@debbugs.gnu.org >> Date: Thu, 31 Oct 2024 20:39:29 +0100 >> >> Eli Zaretskii writes: >> >> > Isn't this the following known issue from PROBLEMS? >> > >> > ** Certain keys such as 'C-S-u' are not reported correctly. >> > >> > Some keys with modifiers such as Shift and Control might not be >> > reported correctly due to incorrectly written GTK input method >> > modules. This is known to happen to 'C-S-u' and 'C->', which are >> > misreported as 'C-u' and '>'. >> > >> > To disable the use of GTK input methods, evaluate: >> > >> > (pgtk-use-im-context nil) >> > >> > This will also cause system input methods and features such as the >> > Compose key to stop working. >> > >> > On X Windows, users should not use Emacs configured with PGTK, since >> > this and many other problems do not exist on the regular X builds. >> >> Thanks! >> >> (pgtk-use-im-context nil) >> >> inhibited the broken gtk input method c-s-u behaviour, and now the code below can be >> made to emulate the behaviour in other applications. >> >> >> ;; enable standard linux unicode input >> (define-key global-map (kbd "C-S-u") 'read-unicode-char) >> >> (defun read-unicode-char (c1 c2 c3 c4 _trailing_space_ignored) >> "Convert unicode input C1 C2 C3 C4 to the corresponding insert char call." >> (interactive "c\nc\nc\nc\nc") >> (insert-char (string-to-number (format "%c%c%c%c" c1 c2 c3 c4) 16))) >> >> PS >> I'm using Sway/Wayland and emacs-pgtk looks better than emacs-gtk-x11 >> there. Maybe I'll go back to X11 when the novelty of Sway faded. > > So can we close this bug now? Yes, thank you. (I tried to figure out how to close the bug myself, but I failed, sorry) -- Joakim Verona joakim@verona.se