From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.bugs Subject: bug#22163: Feature request: Add support for key release event Date: Mon, 14 Dec 2015 14:17:06 -0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450131514 8222 80.91.229.3 (14 Dec 2015 22:18:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2015 22:18:34 +0000 (UTC) Cc: 22163@debbugs.gnu.org To: Simon Friis Vindum Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 14 23:18:23 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8bRf-0003f8-Jk for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 23:18:15 +0100 Original-Received: from localhost ([::1]:34145 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8bRe-0001tq-Pp for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Dec 2015 17:18:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8bRV-0001kS-OH for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 17:18:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8bRS-0000nU-Ij for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 17:18:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44368) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8bRS-0000nQ-Er for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 17:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8bRS-0005cp-BW for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2015 17:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Wiegley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Dec 2015 22:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22163 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22163-submit@debbugs.gnu.org id=B22163.145013143921568 (code B ref 22163); Mon, 14 Dec 2015 22:18:02 +0000 Original-Received: (at 22163) by debbugs.gnu.org; 14 Dec 2015 22:17:19 +0000 Original-Received: from localhost ([127.0.0.1]:51969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8bQl-0005bk-1I for submit@debbugs.gnu.org; Mon, 14 Dec 2015 17:17:19 -0500 Original-Received: from mail-pf0-f177.google.com ([209.85.192.177]:35681) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8bQj-0005bN-6D for 22163@debbugs.gnu.org; Mon, 14 Dec 2015 17:17:17 -0500 Original-Received: by pff63 with SMTP id 63so18358931pff.2 for <22163@debbugs.gnu.org>; Mon, 14 Dec 2015 14:17:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-type; bh=v/9VEX6u+B02pNy3Vg0XTxyKyLPv0EHfrx3ISIRxOrs=; b=ZaLOh6LbMeTYRTW4uhv8h0BZ6grLTzsZBjXXPCx0mQhCVc3OuCs9k/o89+Kb6/mhDA jBWoCHK4hbKC0RwaFDyllDs4n296nLw3pnUMB8KeRsT8pvLUl0l5MrPzFM15g4vadu+n /jp9f0Z82LS3n5xbKqHJJEbIXKIbSUEdkFerJs4VsFuwZjPQWCfNnNYptlkZyusSzqBI oi3fxF4tmwtUE2IckH0nRuElBW2lERowI06I89/9l0TXLAT8ThZPYTQDJxIu9FiT6Zpm aqDhQMK26EZ/OYvuGjQALcS9o3xN+Pfz9xBoUUldnhqgXTCFv5PazJw99t4lo8QexF0V r71A== X-Received: by 10.98.86.221 with SMTP id h90mr10691962pfj.121.1450131431504; Mon, 14 Dec 2015 14:17:11 -0800 (PST) Original-Received: from Vulcan.local (76-234-68-79.lightspeed.frokca.sbcglobal.net. [76.234.68.79]) by smtp.gmail.com with ESMTPSA id 78sm24044544pfr.2.2015.12.14.14.17.09 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 14 Dec 2015 14:17:09 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Vulcan.local (Postfix, from userid 501) id B1419115DAAEF; Mon, 14 Dec 2015 14:17:08 -0800 (PST) In-Reply-To: (Simon Friis Vindum's message of "Sun, 13 Dec 2015 09:58:07 +0100") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109993 Archived-At: >>>>> Simon Friis Vindum writes: > It should be possible to bind functions to the _release_ of a key. Those who understand the fundamentals of event handling would know better, but doing this right could be a rather invasive change. For example: Should `read-event' return once a key is pressed down; or should it wait until the key has been released, and then also give both the press-down and release times? At the moment, it just notifies the user of the key? Because once you have sensitive to "length of press", I imagine that's just the start of additional information you'd want about events and how they relate in time to each other... -- John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2