From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.bugs Subject: bug#19931: 24.4; Support for OS X press and hold Date: Sun, 13 Dec 2020 15:11:32 +0530 Organization: Code Is Great Foundation Message-ID: <87y2i2ujoz.fsf@codeisgreat.org> References: <87o8iymjk9.fsf@codeisgreat.org> <87pn3ep0bn.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32998"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , Philipp Stephani , 19931@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 10:42:14 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 1koNtN-0008Sk-TR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 10:42:13 +0100 Original-Received: from localhost ([::1]:58782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koNtM-0000rA-PY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 04:42:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koNtC-0000oF-DO for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 04:42:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koNtC-0001pb-54 for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 04:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koNtC-0004OX-2o for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 04:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2020 09:42:02 +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.160785250516856 (code B ref 19931); Sun, 13 Dec 2020 09:42:02 +0000 Original-Received: (at 19931) by debbugs.gnu.org; 13 Dec 2020 09:41:45 +0000 Original-Received: from localhost ([127.0.0.1]:47426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koNsu-0004Nn-L1 for submit@debbugs.gnu.org; Sun, 13 Dec 2020 04:41:44 -0500 Original-Received: from mail-pf1-f179.google.com ([209.85.210.179]:35112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koNss-0004NS-DU for 19931@debbugs.gnu.org; Sun, 13 Dec 2020 04:41:43 -0500 Original-Received: by mail-pf1-f179.google.com with SMTP id c79so10114835pfc.2 for <19931@debbugs.gnu.org>; Sun, 13 Dec 2020 01:41:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeisgreat-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=owkeO7tPIBVnYNoEeendH4heItPLubgHOkBtwAOgC/U=; b=BnJwUTVb6ToxIwU0oMMFYNwYU8vOQYC4WY20l7os3jCljscERPTDE5GVFjlENKmqtK VWNao1ZYEkRs3R7RnGieIXAS40iodQjlJ3uWDfrH3VWjNU2qvX7rcEr/eBvmMwWo7eJU JCDRGdIMGLKBIDLfNm2qeoSZNRFkJFReP+bqDXpUIU7zDIPCQOxEvc1oEGd5+yiCZFgF P8wJrpGKUwGTGp8CgULHuFUlcqmvSx7rLe0+DGXpgg558gG/o34utVjELnTqNNeqpqf0 X/ZQHtMi8/7ethRkseitw6+rcs0L9L7H1O+bOKqdLA5JY9pAZkSx51cxxNFriS/0AqLO pUNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:organization:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=owkeO7tPIBVnYNoEeendH4heItPLubgHOkBtwAOgC/U=; b=g3HXctMfRlCs44RwNQfcxblwyBN4Rqn7bygWVC7peETiFMjK2F0IolZPCs/31jU3Om U3OJkIVZ9x1efUM3Nza3wByCPX/m4s/Au4JqlV9yOZ+lVkXFKVn7ia1fNcIBdcjPY7zx WjVhA2ozCz5DUHl3LbCsbtUzZbKJJ5toEs7aY4sXgw7Ekd2sRP7gBPM4CTP++d1C+P6r a8rxgaXVcMyJ/DNTsKxXGiut/QwMhx6lqVhYm5FgEHBT0646hyhHxlm9nHIW5doCoEbU 7FfjwSZ3gDrvP8/CH9+R9inbDzsWiTAK+WzDibOFOCzYmpwSkeDTTTNqAvia9VYyMq/u sknw== X-Gm-Message-State: AOAM532mGkSKJS1ph6xdksG6l+nQ7C0tZRK+mPQizZxMTwhHFaiItm+o NcIef3WZ6IFqAOjWUqUo5X1WPdYc2msv2w== X-Google-Smtp-Source: ABdhPJypdxMJ3Cxkndy56DFqmqalTZMOyCu5tlLu0a6wVKGLbL3kjmqhE98nmUThAgiPk8Z8eq8VZw== X-Received: by 2002:aa7:80d5:0:b029:1a3:832a:1fd0 with SMTP id a21-20020aa780d50000b02901a3832a1fd0mr5181890pfn.6.1607852496274; Sun, 13 Dec 2020 01:41:36 -0800 (PST) Original-Received: from lt ([2405:201:5c06:70bb:a64e:31ff:fe0c:338c]) by smtp.gmail.com with ESMTPSA id z15sm15630854pfn.34.2020.12.13.01.41.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Dec 2020 01:41:35 -0800 (PST) In-Reply-To: <87pn3ep0bn.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 13 Dec 2020 10:38:52 +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:195941 Archived-At: Juri Linkov writes: >> And if that is patented (like the right swipe) then no other system will >> be implementing it. Probably, we can think of something better to >> achieve the same goal. And make it portably available to all. >> >> One idea: >> >> A new input-method: accented-cycle (C-u C-\ "accented-cycle" RET). >> >> Once you have this input-method selected, then repeating same key will >> cycle through the accented options. Ofcourse sometimes it is useful to >> cut off input method so that instead of cycling you just repeat the same >> character in the typed text. This is already very well documented in the >> "(emacs) 22.3 Input Method". >> >> Also, the newly added "transient" input method will also be added help. >> >> So, why "press and hold" when you can simply "glide". > > I don't know how "Press and hold" works on OS X, but it seems it's like > on some smartphone screen virtual keyboards holding down a letter pops up > a list of suggestions with accented letters. Yes exactly similar to that. > But any postfix input method in Emacs already works the same way, for > example: > > C-\ latin-1-postfix > a > > displays a list of possible accents to select. Yes this almost solves the problem. Just that in case of press-and-hold, the user doesn=E2=80=99t have to goto another key. The combination is the m= ain key and arrow-key to select the correct accent. May be we can have a generic implementation. The next possible keys are already displayed in the echo area. Pressing the same character key again cycles through those options. e e =3D> =C3=AB e e e =3D> =C3=A9 e e e e =3D> =C3=A6 e e e e e =3D> =C3=AA e e e e e e =3D> =C3=A8 But, to be honest, I find the postfix implementation to be much faster.