From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66040: 30.0.50; The XF86AudioLowerVolume on keyboard cannot be detected correctly Date: Mon, 18 Sep 2023 14:04:42 +0300 Message-ID: <837cong2t1.fsf@gnu.org> References: <87o7i0xqan.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, zhenhua.wang@mail.missouri.edu, 66040@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 18 13:05:00 2023 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 1qiC3o-000AVy-E6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 18 Sep 2023 13:05:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiC3j-00059I-44; Mon, 18 Sep 2023 07:04:55 -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 1qiC3i-000593-4k for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 07:04:54 -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 1qiC3h-0002kA-T7 for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 07:04:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiC3q-0008Qf-0q for bug-gnu-emacs@gnu.org; Mon, 18 Sep 2023 07:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Sep 2023 11:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66040 X-GNU-PR-Package: emacs Original-Received: via spool by 66040-submit@debbugs.gnu.org id=B66040.169503509932388 (code B ref 66040); Mon, 18 Sep 2023 11:05:01 +0000 Original-Received: (at 66040) by debbugs.gnu.org; 18 Sep 2023 11:04:59 +0000 Original-Received: from localhost ([127.0.0.1]:52215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiC3m-0008QK-Pn for submit@debbugs.gnu.org; Mon, 18 Sep 2023 07:04:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiC3k-0008Q7-Jx for 66040@debbugs.gnu.org; Mon, 18 Sep 2023 07:04:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiC3W-0002gL-O5; Mon, 18 Sep 2023 07:04:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=akObZwVS0DMsBqrI4a+ym+6wXi9ezfLArYbUs+471QQ=; b=BRsFXSUomJNf ZuVor+bgHb3gSvKiH+qtANQbP1JJCCLDmuxqA1/hqmPHvIN/fc6inbaUnSVXcAMbAICp0vE4jGTqQ Nhi3YAhDmLNuPkdheByFZ57zpx2/GyFIfke9KKi2DlMyXx0fTQrZVvgFaSj0mlghTvRq/p0t8+Qua ws4+XOhlMz60d6lzHwdPcJdd4JAgHEprX7BSbnzTiIZcQ9pklxoptq8vz00M/LY70lmkTlebLet1L 0zLD42F3eJgTb5EHfXepCGYRhLyNyEEln39iE1ZKk6nn6L0nkA3SlRggJxm2sHwtGi8aBlnBsF77l C6ffnqWsdmVo+7mDmFQWbg==; In-Reply-To: (message from Stefan Kangas on Mon, 18 Sep 2023 00:52:16 -0700) 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:270772 Archived-At: > Cc: 66040@debbugs.gnu.org > From: Stefan Kangas > Date: Mon, 18 Sep 2023 00:52:16 -0700 > > Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text > editors" writes: > > > Set x-quit-keysym to nil in your early-init.el, then restart Emacs. > > This feature (reinterpreting volume-down keys as quit) was introduced in > > Emacs 30 to support computers without physical input devices capable of > > typing `C-g'. > > That refers to Android phones, right? > > > Incidentally, what keyboard are you using? XF86AudioLowerVolume is not > > generated by any I own, and x-quit-keysym is intended to only apply to > > volume rocker buttons on mobile phones and their ilk. > > Such keys are fairly common on standard keyboards, or at least used to > be. There is usually an extra "function key row" with a "volume down" > key that generates XF86AudioLowerVolume. I have one of those keyboards > lying around. > > Is there a way to support this on mobile phones without this key > breaking on machines with regular keyboards? That'd be definitely preferable if possible. If it isn't possible to have an Android-specific binding, I think we should make the Android-specific binding in android-win.el or somesuch, and leave the default as it is appropriate for laptops and desktop systems.