GNU bug report logs - #77099
30.1; Feature Request: Handle Android Keyboard input with Ctrl and Meta Keys correctly

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: "Johannes C. Mayer" <j.c.mayer240@HIDDEN>; Keywords: notabug; Done: Po Lu <luangruo@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 77099 <at> debbugs.gnu.org and "Johannes C. Mayer" <j.c.mayer240@HIDDEN> Request was from Po Lu <luangruo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) notabug. Request was from Po Lu <luangruo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77099 <at> debbugs.gnu.org:


Received: (at 77099) by debbugs.gnu.org; 19 Mar 2025 01:10:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 21:10:07 2025
Received: from localhost ([127.0.0.1]:44178 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tuhwd-00057N-3g
	for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 21:10:07 -0400
Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:45594)
 by debbugs.gnu.org with esmtps
 (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1tuhwO-00054M-Ol
 for 77099 <at> debbugs.gnu.org; Tue, 18 Mar 2025 21:10:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1742346583; bh=7iAhq54S9gbbKwgeCsE6Ez0DSq8BI/jBZo25kEKyzZE=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=GZy61fw4f9eiOH68zz2FEWfaq584BokAyOrsXieecugpZoVP2mfFpW1CBk9Aw3yCMElMebXWKvxTuJfNCqeOksmDBXq5hx8TbKFUPL+V08xHvNkwHfXbeGn+PnKY18f1bUKtlyTz+8qldAdVepmdjehW+0Uwps0jrIprxHhZ9j1G9SEyVlv41kTHrXPAxVY68Ynbog3z2ZZhrkK92d+sSHQSB9q7kmtJJmPQA8r3x+icqq6CPPfRg+jbZAD4vaI9sgJPoymTZWHxvrN2yaa6IspQTLmODXMMMFpAD615qb01hXoZR5MFCj+OZilAo9h5NuEjaeDhUOf6WvzI86yFNw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1742346583; bh=BPiiX1E6xK1ZQ6wPfYN+FEDC/7UIrE2Gm3Eq3YPhM/x=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=hqxTruRmp23xKF07A3/NN+/+L26pxGDd9+ePdpEsZ0fXGRKIB2NXeMUA+q4PshuE5t1eYjnxZxca3wdzz6y2P5FqtAI8PWkAcnoIEKakqjvrWajEsDZbqqXcHas4lW/4jqBWv+3dN08o2wZ/Tc0ZAFo3yEovgePfjo5c93VGfXHMn5CR6A5FCLhTpUEdY831kPPNZAptWqHn+4TjCiUDvp68vpnntJXsnmjf7BQQgIL5LgHNZiovh0V3B/AuXcXSuEDCojLRHCt/fgCLyvPWvQHOgKPUmkDZcjT5wkWYY2+IED3DyyrRrtUcgb43bvGoSPy1omziN8y4kk0lvhRIaA==
X-YMail-OSG: OhskwFkVM1nnOHhS6O06.6KogWFQZc7SzGn4efWIsD_hlDrE4C1Vo_jnEeX9Bc9
 PvIKYp2_AMAFCbhisNzPTEXkzX.LC42NTK9yLrO710Y522C8zTrK58mS5M05qVhak2irOlj8Yr9n
 w6Mbro_Ms4BcEh1POJffHk9cX6WE9Aax9c.KU2MeKc3pg4kNZ6ZIwoiog8N9qTnrESs3lasbADWB
 kFD1UufPcDR7tI.thtqXI6EsVag846r09rFbbMUWGocFlemmaj0CzULMFyehH7vFWu94wwX_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-ID: 11391c6b-33d7-43ce-97b0-5a29f2d1bda6
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 19 Mar 2025 01:09:43 +0000
Received: by hermes--production-sg3-fdfb796d6-xnmk7 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 43553200cf9c1b357e2307d5d8e52821; 
 Wed, 19 Mar 2025 01:09:37 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
To: "Johannes C. Mayer" <j.c.mayer240@HIDDEN>
Subject: Re: bug#77099: 30.1; Feature Request: Handle Android Keyboard input
 with Ctrl and Meta Keys correctly
In-Reply-To: <CAJWac-vOsQV3QafBYZ9ZZVa5AVY+Yuz-T5jp_D1=cKS_Z7B_sQ@HIDDEN>
References: <CAJWac-vOsQV3QafBYZ9ZZVa5AVY+Yuz-T5jp_D1=cKS_Z7B_sQ@HIDDEN>
Date: Wed, 19 Mar 2025 09:09:32 +0800
Message-ID: <87cyedygfn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.23435
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 1517
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77099
Cc: 77099 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 77099 notabug
close 77099
thanks

"Johannes C. Mayer" <j.c.mayer240@HIDDEN> writes:

> Motivation: Having Meta and Ctrl available on the virtual keyboard
> seems much superior than showing control keys in the tab bar.
>
> There are Android keyboards that support Alt and Ctrl keys. The
> problem is that typing M-! on such a keyboard (I only tested
> Unexpected Keyboard) does not actually work as expected. However
> e.g. M-@ works as expected.
>
> Please see this github issue for more: https://github.com/Julow/Unexpected-Keyboard/issues/921
>
> Summary of the Issue so far:
> According to the author of Unexpected Keyboard this is due to a
> limitation in Android (and therefore likely any virtual keyboard with
> control keys would run into this issue). Iit seems to be the kind of
> limitation where you can work around the issue by adding a small bit
> of code to the input handling logic in Emacs.

The "bit of code" suggested by the author will interfere with the
reporting of keyboard meta state in keypresses generated from physical
keyboards, when a modifier key is depressed but only released after the
input focus is removed from Emacs--or the converse.  Please inform the
authors of this virtual keyboard that his program should generate
keycodes for keys that produce characters such as '!' (rather than
futilely searching for keycodes that produce these characters alone) and
any modifier bits necessary to produce them.  (E.g., M-!  should produce
M-S-1.)

This isn't a bug in Emacs, sorry.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77099; Package emacs. Full text available.

Message received at 77099 <at> debbugs.gnu.org:


Received: (at 77099) by debbugs.gnu.org; 18 Mar 2025 14:29:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 10:29:46 2025
Received: from localhost ([127.0.0.1]:41756 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tuXww-0004ny-6h
	for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 10:29:46 -0400
Received: from smtp-out1.suse.de ([2a07:de40:b251:101:10:150:64:1]:45886)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <schwab@HIDDEN>) id 1tuXwS-0004j0-Av
 for 77099 <at> debbugs.gnu.org; Tue, 18 Mar 2025 10:29:17 -0400
Received: from hawking.nue2.suse.org (unknown [10.168.4.11])
 by smtp-out1.suse.de (Postfix) with ESMTP id 1BBDF21C7E;
 Tue, 18 Mar 2025 14:29:09 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa;
 t=1742308149; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=2dRr85cHhY7erZ+qxeX6WqQBklKsCczFvZxofAX9deM=;
 b=pOQndV/lLIETy7aET0pVGqdQ1JAjtr/R/HK9/dJH2biDOom+rDsVt9wmENY2cGicUSG7fP
 gs6nXX9FwFb7oO61tLm7P3Qfx/HadzSWmmBR6iN3U6BII7DqZkY4MOiVtMRNIy/k2mH/7l
 AdUolMG+aiBfYdIsxW0SbkANRzEF/rA=
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;
 s=susede2_ed25519; t=1742308149;
 h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=2dRr85cHhY7erZ+qxeX6WqQBklKsCczFvZxofAX9deM=;
 b=Y4qfgE+VeyEKBFMnbDKjP7200pwD43aUO+RBGncS5EOcCBPOKGxy4gvm4+ItFt34N/3It+
 fVIwWsW/ERTsEyCw==
Authentication-Results: smtp-out1.suse.de;
	none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa;
 t=1742308149; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=2dRr85cHhY7erZ+qxeX6WqQBklKsCczFvZxofAX9deM=;
 b=pOQndV/lLIETy7aET0pVGqdQ1JAjtr/R/HK9/dJH2biDOom+rDsVt9wmENY2cGicUSG7fP
 gs6nXX9FwFb7oO61tLm7P3Qfx/HadzSWmmBR6iN3U6BII7DqZkY4MOiVtMRNIy/k2mH/7l
 AdUolMG+aiBfYdIsxW0SbkANRzEF/rA=
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;
 s=susede2_ed25519; t=1742308149;
 h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:
 mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=2dRr85cHhY7erZ+qxeX6WqQBklKsCczFvZxofAX9deM=;
 b=Y4qfgE+VeyEKBFMnbDKjP7200pwD43aUO+RBGncS5EOcCBPOKGxy4gvm4+ItFt34N/3It+
 fVIwWsW/ERTsEyCw==
Received: by hawking.nue2.suse.org (Postfix, from userid 17005)
 id 0BF624A0561; Tue, 18 Mar 2025 15:29:09 +0100 (CET)
From: Andreas Schwab <schwab@HIDDEN>
To: "Johannes C. Mayer" <j.c.mayer240@HIDDEN>
Subject: Re: bug#77099: 30.1; Feature Request: Handle Android Keyboard input
 with Ctrl and Meta Keys correctly
In-Reply-To: <CAJWac-vOsQV3QafBYZ9ZZVa5AVY+Yuz-T5jp_D1=cKS_Z7B_sQ@HIDDEN>
 (Johannes C. Mayer's message of "Tue, 18 Mar 2025 12:05:02 +0100")
References: <CAJWac-vOsQV3QafBYZ9ZZVa5AVY+Yuz-T5jp_D1=cKS_Z7B_sQ@HIDDEN>
Date: Tue, 18 Mar 2025 15:29:09 +0100
Message-ID: <mvmcyeeh0p6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -4.16
X-Spamd-Result: default: False [-4.16 / 50.00]; BAYES_HAM(-2.96)[99.85%];
 NEURAL_HAM_LONG(-1.00)[-1.000];
 NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];
 RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[];
 FUZZY_BLOCKED(0.00)[rspamd.com];
 DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_TO(0.00)[gmail.com];
 RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVRCPT(0.00)[gmail.com];
 RCVD_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[];
 MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[];
 TAGGED_RCPT(0.00)[]; MID_RHS_MATCH_FROM(0.00)[];
 TO_DN_SOME(0.00)[]
X-Spam-Flag: NO
X-Spam-Level: 
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77099
Cc: 77099 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On Mär 18 2025, Johannes C. Mayer wrote:

> Note that it is possible to work around, at least for the Meta key, by
> pressing the escape key instead of the meta key (which is also a key on
> Unexpected Keyboard).

You can also add any modifier to a key with the `C-x @' bindings.

-- 
Andreas Schwab, SUSE Labs, schwab@HIDDEN
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77099; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Mar 2025 14:15:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 18 10:15:26 2025
Received: from localhost ([127.0.0.1]:41485 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tuXj1-0002n1-L3
	for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 10:15:26 -0400
Received: from lists.gnu.org ([2001:470:142::17]:55802)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <j.c.mayer240@HIDDEN>)
 id 1tuUlJ-0008I6-Uj
 for submit <at> debbugs.gnu.org; Tue, 18 Mar 2025 07:05:34 -0400
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 <j.c.mayer240@HIDDEN>)
 id 1tuUl6-00065y-2N
 for bug-gnu-emacs@HIDDEN; Tue, 18 Mar 2025 07:05:22 -0400
Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <j.c.mayer240@HIDDEN>)
 id 1tuUl4-0005qb-31
 for bug-gnu-emacs@HIDDEN; Tue, 18 Mar 2025 07:05:19 -0400
Received: by mail-ej1-x630.google.com with SMTP id
 a640c23a62f3a-ac2bdea5a38so908196566b.0
 for <bug-gnu-emacs@HIDDEN>; Tue, 18 Mar 2025 04:05:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742295915; x=1742900715; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=g4AW1xj/vmat918U3cgAK6M8q2KSTYoAfRallBej8iM=;
 b=fVBzAjlbSPjWjnXVMK3bqXh4tpyCXJQ94fxtb4Ku8jvhennviZiFlxKtoKmqIwobmk
 wuowcqG0qoxDaTY1/+0+yVqUDaIgnpfrG9HFeJ+9xjaDivk89oKZMdW5UYSFi8N6kpX0
 qFoEQwSq2dlb80mC21ZfKkOIWiuQmfFOrSRZuIo0AJ7p11JNKpzpqwbHe1wT3I4Bw3FO
 B7wdyzK4oOzbpG5+31dcgI7Q6eXlj0Zk/cIWn/9xSabrIfvA1N2kFlb/+v7RuZlcbxVh
 Wkdm59OsBDc8OWwgoS2usWU8lHffc0xPdaQJPV1DHVRU+KIVAWKf/DkKJWib6NNESfLI
 zNLg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742295915; x=1742900715;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=g4AW1xj/vmat918U3cgAK6M8q2KSTYoAfRallBej8iM=;
 b=YPa070+JZ4e7+nYV3lcW2JMp+PCzAj2b5KbPPEnvnhlSD4JPrfC5O2XeJ5zgKOOsnz
 fmo2UAfzUXBtyas2d1f/aLlHC1zUuJShwFr0lIkfPfK3/tKc6arT6/eamiwroMJ7WJsm
 jx5b3ZGT1ReRTqc/nrARmJnjrW+CZsgXp8HyLuMTMBAjRfrElnHOJyS8xYq4h84oXj6w
 6xT5c3UUnXev7HehShAV+lKvmfoXFKU0nNwvxAYWBPL03WyU+pOqwVwQXNVS4tW33RF8
 /MdIa5Vs4DS5T4tFosu/RPm+6vFYAjZ8awtzMJfFH69Xnw+xafLwOm6FvAJM1bXmzLLQ
 AXng==
X-Gm-Message-State: AOJu0YzY/1iExi3j2hEfyyrFAXB2LLJqa/L+WD/PhJ/29/8ywpRvp8o3
 5mjLxqkBElkTg64XsjCq9BVYf+Z1ybLq6fVAeYXAAEgMj1LF09AzgBtotc5SrvvybThj7aM6MrY
 G+GQ0VusbeIu8Cp6aA9MyxjzRgFdQ63P9a8o=
X-Gm-Gg: ASbGncv9x18wevb5t7f4+LcFZNoHh5tyxVbWah3qYsPndKYj72fPctbFm7nxiUvgTPd
 AK70azAscPJKv+a7qIUKSlPwY9Ut1Z/hMy+35cbap2BmbTHynhZSD4++zFPpAYXiZvXxuHwAXjb
 VxZ9DFS5Uuz3P6YMJVQr2oH1/lOHCUGy+l18/+nyPrsfSigQIFIHWuSprsVQ==
X-Google-Smtp-Source: AGHT+IG7jiFWr7zhaBMeWUbu/mBwQpX3PD79KC/S83by+E8LwgRl5tQbBM5IEcf2iDtsL5n7nxHsVTKgBrOr+pJKkxo=
X-Received: by 2002:a17:907:9713:b0:abf:63fa:43d4 with SMTP id
 a640c23a62f3a-ac330441f9bmr1454362766b.44.1742295914699; Tue, 18 Mar 2025
 04:05:14 -0700 (PDT)
MIME-Version: 1.0
From: "Johannes C. Mayer" <j.c.mayer240@HIDDEN>
Date: Tue, 18 Mar 2025 12:05:02 +0100
X-Gm-Features: AQ5f1JqpGQqPDk9XcOeVxwfvZ8irXtW_ntdqF_yW9ewmVKzMu3WqYykeSWs85ys
Message-ID: <CAJWac-vOsQV3QafBYZ9ZZVa5AVY+Yuz-T5jp_D1=cKS_Z7B_sQ@HIDDEN>
Subject: 30.1; Feature Request: Handle Android Keyboard input with Ctrl and
 Meta Keys correctly
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="00000000000016e2b306309be1e8"
Received-SPF: pass client-ip=2a00:1450:4864:20::630;
 envelope-from=j.c.mayer240@HIDDEN; helo=mail-ej1-x630.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Motivation: Having Meta and Ctrl available on the virtual
 keyboard seems much superior than showing control keys in the tab bar. There
 are Android keyboards that support Alt and Ctrl keys. The problem is that
 typing M-! on such a keyboard (I only tested Unexpected Keyboard) does not
 actually work as expected. However e.g. M-@ w [...] 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (j.c.mayer240[at]gmail.com)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (j.c.mayer240[at]gmail.com)
 0.0 HTML_MESSAGE           BODY: HTML included in message
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 18 Mar 2025 10:15:22 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

--00000000000016e2b306309be1e8
Content-Type: text/plain; charset="UTF-8"

Motivation: Having Meta and Ctrl available on the virtual keyboard seems
much superior than showing control keys in the tab bar.

There are Android keyboards that support Alt and Ctrl keys. The problem is
that typing M-! on such a keyboard (I only tested Unexpected Keyboard) does
not actually work as expected. However e.g. M-@ works as expected.

Please see this github issue for more:
https://github.com/Julow/Unexpected-Keyboard/issues/921

Summary of the Issue so far:
According to the author of Unexpected Keyboard this is due to a limitation
in Android (and therefore likely any virtual keyboard with control keys
would run into this issue). Iit seems to be the kind of limitation where
you can work around the issue by adding a small bit of code to the input
handling logic in Emacs.

Note that it is possible to work around, at least for the Meta key, by
pressing the escape key instead of the meta key (which is also a key on
Unexpected Keyboard).

--00000000000016e2b306309be1e8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Motivation: Having Meta and Ctrl available on th=
e virtual keyboard=20
seems much superior than showing control keys in the tab bar.</div></div><d=
iv><br></div><div>There are Android keyboards that support Alt and Ctrl key=
s. The problem is that typing M-! on such a keyboard (I only tested Unexpec=
ted Keyboard) does not actually work as expected. However e.g. M-@ works as=
 expected.</div><div><br></div><div>Please see this github issue for more: =
<a href=3D"https://github.com/Julow/Unexpected-Keyboard/issues/921">https:/=
/github.com/Julow/Unexpected-Keyboard/issues/921</a></div><div><br></div><d=
iv>Summary of the Issue so far:</div><div>According to the author of Unexpe=
cted Keyboard this is due to a limitation in Android (and therefore likely =
any virtual keyboard with control keys would run into this issue). Iit seem=
s to be the kind of limitation where you can work around the issue by addin=
g a small bit of code to the input handling logic in Emacs.</div><div><br><=
/div><div>Note that it is possible to work around, at least for the Meta ke=
y, by pressing the escape key instead of the meta key (which is also a key =
on Unexpected Keyboard).</div></div>

--00000000000016e2b306309be1e8--




Acknowledgement sent to "Johannes C. Mayer" <j.c.mayer240@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77099; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 19 Mar 2025 01:15:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.