From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Derek Upham Newsgroups: gmane.emacs.bugs Subject: bug#55660: 29.0.50; PGTK degrades to terminal-compatible keyboard events Date: Fri, 27 May 2022 08:53:35 -0700 Message-ID: <87ee0fc6ps.fsf@priss.frightenedpiglet.com> References: <87bkvktkva.fsf@priss.frightenedpiglet.com> <87zgj3j07s.fsf@yahoo.com> <87mtf3dbga.fsf@priss.frightenedpiglet.com> <87v8trivlc.fsf@yahoo.com> <83ee0fo70q.fsf@gnu.org> <87pmjzik5x.fsf@yahoo.com> <838rqno3mh.fsf@gnu.org> <87ee0fiewd.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16111"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.8; emacs 29.0.50 Cc: Eli Zaretskii , 55660@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 27 18:32:37 2022 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 1nuctA-0003yi-5h for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 18:32:36 +0200 Original-Received: from localhost ([::1]:40076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuct8-0007KO-Uf for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 May 2022 12:32:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nucI3-0004sS-5K for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 11:54:15 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nucHq-0005ir-3w for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 11:54:14 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nucHp-0006ui-V6 for bug-gnu-emacs@gnu.org; Fri, 27 May 2022 11:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Derek Upham Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 May 2022 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55660 X-GNU-PR-Package: emacs Original-Received: via spool by 55660-submit@debbugs.gnu.org id=B55660.165366683026557 (code B ref 55660); Fri, 27 May 2022 15:54:01 +0000 Original-Received: (at 55660) by debbugs.gnu.org; 27 May 2022 15:53:50 +0000 Original-Received: from localhost ([127.0.0.1]:35649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nucHe-0006uH-E6 for submit@debbugs.gnu.org; Fri, 27 May 2022 11:53:50 -0400 Original-Received: from wilbur.contactoffice.com ([212.3.242.68]:36064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nucHa-0006tz-Ft for 55660@debbugs.gnu.org; Fri, 27 May 2022 11:53:48 -0400 Original-Received: from smtpauth1.co-bxl (smtpauth1.co-bxl [10.2.0.15]) by wilbur.contactoffice.com (Postfix) with ESMTP id C23A2EF6; Fri, 27 May 2022 17:53:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1653666820; s=20210208-e7xh; d=mailfence.com; i=derek_upham@mailfence.com; h=References:From:Cc:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; l=1323; bh=chbyz/+IhxV3fpHbKYv+diSfZN834pTcgrvs4E1MMnU=; b=dBFnOhFGf7PnN4noozxM4kwLgGAxtJcOkIVMQXq26fqtptzvhqRIVM9MaSHjqJgo pp1vbNNPJQTN1E/CGzL/QvY6XPxChFHCWjuUAaivuw0o+jgjw5qwnP7M4bfyezy02tp OZVJJrA68IhKykiuAIuOD9Yn8piiWzk0s3dMe3pn6+BTV0YQR1JTGpEzkmCiKvCeK50 4IMcep/wMLZqC2Eh61FNmFVIf0JBFPhwpudE0N1WWmXzDt671kvks1f9nDZ+ptR/c12 JRvz+FICioCyIYmwE0siARrlNzF+7YmHxGot4nDI1d35MmvLY7sAxDYOLdUT9iUkoEM rRfc4+IHAg== Original-Received: by smtp.mailfence.com with ESMTPSA ; Fri, 27 May 2022 17:53:38 +0200 (CEST) Original-Received: from [::1] (helo=priss.frightenedpiglet.com) by priss.frightenedpiglet.com with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1nucHP-006TMU-Kq; Fri, 27 May 2022 08:53:35 -0700 In-reply-to: <87ee0fiewd.fsf@yahoo.com> X-ContactOffice-Account: com:175140567 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" Xref: news.gmane.io gmane.emacs.bugs:233214 Archived-At: Po Lu writes: > Eli Zaretskii writes: > >> Thanks, but shouldn't the heading line of the entry you added >> be >> qualified with "in PGTK builds"? or maybe "in GTK and PGTK >> builds"? > > It's already under "Runtime problems specific to PGTK". How about this? ** Keyboard behavior depends on your GTK input method The GTK3 libraries may interpret and process keypresses as part of the current GTK input method, before passing them as input events to Emacs. GTK applications like PGTK Emacs configure their input method automatically based on environment variables, particularly LANG and GTK_IM_MODULE. If you notice differences in keyboard behavior depending on how you start PGTK Emacs, compare your environments using `process-environment'. For example, you may see behavior differences when running Emacs out of a systemd unit file, compared to running Emacs from the command line. Input methods may also cause the keyboard behavior to change if you switch from a GTK-based build to a PGTK-based build. Emacs may reveal bugs that are in the input method libraries. Those libraries are out of Emacs's control, but you can tell PGTK Emacs to bypass input methods entirely using an Emacs Lisp function: M-: (pgtk-use-im-context nil)