From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#19931: 24.4; Support for OS X press and hold Date: Mon, 14 Dec 2020 10:35:30 +0200 Organization: LINKOV.NET Message-ID: <871rfssth1.fsf@mail.linkov.net> References: <87o8iymjk9.fsf@codeisgreat.org> <87pn3ep0bn.fsf@mail.linkov.net> <87y2i2ujoz.fsf@codeisgreat.org> <8736099zlm.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13022"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Stefan Kangas , Philipp Stephani , 19931@debbugs.gnu.org To: Pankaj Jangid Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 14 09:47:41 2020 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 1kojW7-0003HJ-Jz for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 09:47:39 +0100 Original-Received: from localhost ([::1]:39476 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kojW6-00081B-NF for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 03:47:38 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kojVW-0007Zc-AW for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 03:47:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kojVW-0005HI-1m for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 03:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kojVW-0002lB-0u for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 03:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Dec 2020 08:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19931 X-GNU-PR-Package: emacs Original-Received: via spool by 19931-submit@debbugs.gnu.org id=B19931.160793558710549 (code B ref 19931); Mon, 14 Dec 2020 08:47:01 +0000 Original-Received: (at 19931) by debbugs.gnu.org; 14 Dec 2020 08:46:27 +0000 Original-Received: from localhost ([127.0.0.1]:51015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kojUw-0002k4-RG for submit@debbugs.gnu.org; Mon, 14 Dec 2020 03:46:27 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:60491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kojUv-0002jo-3c for 19931@debbugs.gnu.org; Mon, 14 Dec 2020 03:46:25 -0500 Original-Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 230DB10000A; Mon, 14 Dec 2020 08:46:16 +0000 (UTC) In-Reply-To: <8736099zlm.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 13 Dec 2020 23:20:49 +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" Xref: news.gmane.io gmane.emacs.bugs:196033 Archived-At: >> Yes this almost solves the problem. Just that in case of press-and-hold, >> the user doesn’t have to goto another key. The combination is the main >> key and arrow-key to select the correct accent. > > There are some options in 'quail-define-package', and I recall > that some of them can enable more interactive selection among > displayed variants, but I don't remember what input methods used > such options, and what options of 'quail-define-package' can do this, > maybe 'SHOW-LAYOUT', but I'm not sure. Actually, the interactive selection UI is enabled when a rule contains a vector of possible variants, e.g.: (quail-define-rules ("a" [?á ?ä])) then typing "a" displays a list of characters to select.