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 09:41:34 +0530 Organization: Code Is Great Foundation Message-ID: <87o8iymjk9.fsf@codeisgreat.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14435"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Stefan Kangas , 19931@debbugs.gnu.org To: Philipp Stephani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 05:12: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 1koIk1-0003d5-8U for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 05:12:13 +0100 Original-Received: from localhost ([::1]:60726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koIjz-0003dK-Rg for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Dec 2020 23:12:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koIjq-0003dA-A6 for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 23:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koIjq-00044M-2u for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 23:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koIjp-0001QO-TL for bug-gnu-emacs@gnu.org; Sat, 12 Dec 2020 23:12:01 -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 04:12: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.16078327065449 (code B ref 19931); Sun, 13 Dec 2020 04:12:01 +0000 Original-Received: (at 19931) by debbugs.gnu.org; 13 Dec 2020 04:11:46 +0000 Original-Received: from localhost ([127.0.0.1]:47248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koIjZ-0001Pp-Oe for submit@debbugs.gnu.org; Sat, 12 Dec 2020 23:11:46 -0500 Original-Received: from mail-pj1-f49.google.com ([209.85.216.49]:50369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koIjY-0001Pc-Gr for 19931@debbugs.gnu.org; Sat, 12 Dec 2020 23:11:45 -0500 Original-Received: by mail-pj1-f49.google.com with SMTP id lj6so2998960pjb.0 for <19931@debbugs.gnu.org>; Sat, 12 Dec 2020 20:11:44 -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; bh=DenGij8vviQ0UpD5Dvv3Hqclh4TWDm/QFJOt1baNYgM=; b=VO7a94TMq9tTGpDiqVC4AhnpzeQbKOGrB3zTJkIBS/0RQ4xIaR5fnuH3YoddgRaq// h0RccVKwY7Ojt8wDHMlmohTPyMESPPpJeAs+LUW5QNGVBgAKt+R6V1eQp/7GJgK8l7JS wtCJqCq7ITwv33m5qmUBJSLCzbCLPB4m6tvT5XHsexiJ+7gTHjpvS95msERvfTnwswFb i8lPNGZCFQI79AbzDwr2x4Uf1Si3RVhVYbIYlpgt42vzpon8Xz/c1ej7dEijvKfKxsfN gfuvTc2asj8IZ3HKRvtvGbLwz3KrJgW8WBOio0TdqPbTcXicxi4aaNyU8agW9yt0NLAv KVfA== 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; bh=DenGij8vviQ0UpD5Dvv3Hqclh4TWDm/QFJOt1baNYgM=; b=OsJTw9cSDLCe9S8YpwdBIRmDW0jCQzWkIcTlCvJ2IHNyGXPa+Bz/A4HPr698rH5vYt PcPyExpuw/6yYL/GS0ghYEFunyqPoF/9SO/1zdVMLLyVsTD/eFc2hq8npd2fmiywF73w nJm4Po/NuxS1fIeEBSnOZHqHW7w/1GxNDxlAsABe7hB2sH0bqSGrNImxf6Xh6CPqtNtz O9VXBHu3lstbzCPjOw8QhjaDci2+fd/FpUrDh4EFQ0TiAv57icX+9eref431BNrgveM/ 9zSye80tGuDPBkgQZOFcQ2pF8DPlrcbzv7xqiRuUtSRCDS8glz3EtLXmt0k06UBIYF1j AK2Q== X-Gm-Message-State: AOAM533JJ6IdmJPatKz+s6im4ShwKU0sKJR/Q/oIAeJLSqjchL60V/Xv +9Y2ZvBYNZVdnYlX3mc7d5HU7wIRgXhvug== X-Google-Smtp-Source: ABdhPJz6S/gtQDIKQcuLVwdUlChUmCYJwzu96QA3DwebH8n5mNmKWmv55mAesbQQfH5xpMggwN55qw== X-Received: by 2002:a17:902:860a:b029:da:e83a:7f1f with SMTP id f10-20020a170902860ab02900dae83a7f1fmr17321119plo.60.1607832698598; Sat, 12 Dec 2020 20:11:38 -0800 (PST) Original-Received: from lt ([2405:201:5c06:70bb:a64e:31ff:fe0c:338c]) by smtp.gmail.com with ESMTPSA id jx4sm13926440pjb.24.2020.12.12.20.11.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Dec 2020 20:11:38 -0800 (PST) In-Reply-To: (Philipp Stephani's message of "Sat, 12 Dec 2020 17:52:54 +0100") 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:195929 Archived-At: Philipp Stephani writes: >> > "Press and hold" is an OS X input method used for entering accented >> > characters if a key is held down (instead of repeating the key). It's >> > not supported in Emacs. >> > http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00784.html >> > states: "Let's look into making it work properly once people decide to >> > install Lion." >> > That was more than three years ago, and since then two major OS X >> > versions have been released, but unfortunately press and hold is still >> > not supported. It would be great to support this feature to make Emacs >> > more consistent with other apps on OS X. >> >> Do we have support for this on free operating systems? Otherwise, I >> think the policy is that we can't add it to Emacs. > > Probably yes, at least I haven't found similar functionality on free > windowing systems. 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".