From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#11447: 24.1.50; notifications-notify eats keystrokes Date: Sun, 13 May 2012 17:15:37 +0200 Message-ID: <873974qfhi.fsf@gmx.de> References: <87likzrcix.fsf@micropit.couberia.bzh> <87vck3qgy9.fsf@gmx.de> <87ipg2reoh.fsf@gmx.de> <87ehqqrb45.fsf@gmx.de> <87ehqoqwc0.fsf@gmx.de> <877gwgqi35.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1336922215 2095 80.91.229.3 (13 May 2012 15:16:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 May 2012 15:16:55 +0000 (UTC) Cc: Peter =?UTF-8?Q?M=C3=BCnster?= , 11447@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 13 17:16:53 2012 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 1STaXT-0003Yy-Lj for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 May 2012 17:16:51 +0200 Original-Received: from localhost ([::1]:33441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STaXS-0000Ar-QY for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 May 2012 11:16:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STaXP-0000AB-IG for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 11:16:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1STaXN-000801-NS for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 11:16:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1STaXN-0007zr-JN for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 11:16:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1STaXd-0006xj-Hr for bug-gnu-emacs@gnu.org; Sun, 13 May 2012 11:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 May 2012 15:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11447 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11447-submit@debbugs.gnu.org id=B11447.133692216826694 (code B ref 11447); Sun, 13 May 2012 15:17:01 +0000 Original-Received: (at 11447) by debbugs.gnu.org; 13 May 2012 15:16:08 +0000 Original-Received: from localhost ([127.0.0.1]:51621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1STaWl-0006wV-Ac for submit@debbugs.gnu.org; Sun, 13 May 2012 11:16:07 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:42235) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1STaWj-0006vz-68 for 11447@debbugs.gnu.org; Sun, 13 May 2012 11:16:05 -0400 Original-Received: (qmail invoked by alias); 13 May 2012 15:15:41 -0000 Original-Received: from p57BB829B.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.130.155] by mail.gmx.net (mp038) with SMTP; 13 May 2012 17:15:41 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19QDSorYJhQOfFM7dxkEuzZAarbVZ4rbx/6bwcY9F +Ng0sktKBbiH0E In-Reply-To: (Stefan Monnier's message of "Sun, 13 May 2012 10:46:52 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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:59988 Archived-At: Stefan Monnier writes: >> Yes, that happens with your proposed > >> (setq unread-command-events >> (append unread-command-events (nreverse seen))))) > > Note that I only do it at the end of the loop, so it shouldn't affect > the sit-for. You do it inside the loop, every next loop cycle unread-command-events could be non-nil, which confuses read-event. Maybe you wanted to cumulate the read events in seen inside the loop, and you wanted to append all events from seen to unread-command-events outside the loop. That might work. (Likely it isn't that important which version of the patch we use ...) > Stefan Best regards, Michael..