From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Monitoring KeyRelease Date: Fri, 06 Jul 2012 20:47:18 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341600450 8704 80.91.229.3 (6 Jul 2012 18:47:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2012 18:47:30 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Alexander Klimov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 06 20:47:29 2012 Return-path: Envelope-to: ged-emacs-devel@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 1SnDYu-0000l7-5m for ged-emacs-devel@m.gmane.org; Fri, 06 Jul 2012 20:47:28 +0200 Original-Received: from localhost ([::1]:54827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnDYt-0005lW-2i for ged-emacs-devel@m.gmane.org; Fri, 06 Jul 2012 14:47:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnDYq-0005lL-LE for emacs-devel@gnu.org; Fri, 06 Jul 2012 14:47:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SnDYp-0006rf-0c for emacs-devel@gnu.org; Fri, 06 Jul 2012 14:47:24 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:43111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SnDYo-0006rQ-QU for emacs-devel@gnu.org; Fri, 06 Jul 2012 14:47:22 -0400 Original-Received: from frontend4.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3WTQ1L4h5kz4KK4F; Fri, 6 Jul 2012 20:48:06 +0200 (CEST) Original-Received: from igel.home (ppp-93-104-142-148.dynamic.mnet-online.de [93.104.142.148]) by mail.mnet-online.de (Postfix) with ESMTPA id 3WTQ0R0TFHzbd4b; Fri, 6 Jul 2012 20:47:19 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id B30BFCA2A4; Fri, 6 Jul 2012 20:47:18 +0200 (CEST) X-Yow: Quick, sing me the BUDAPEST NATIONAL ANTHEM!! In-Reply-To: (Alexander Klimov's message of "Fri, 6 Jul 2012 21:38:47 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151464 Archived-At: Alexander Klimov writes: > I guess, we should collect all the event information during KeyPress, > but do not store the event into the kbd_buffer until we get the > corresponding KeyRelease. That would mean that you wouldn't see the key until you release the key or auto repeat kicks in. That would be quite irritating. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."