From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Strange behavior of C-u in the presence of sit-for in p-c-h Date: Sat, 14 Oct 2006 12:44:52 -0400 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160844314 25207 80.91.229.2 (14 Oct 2006 16:45:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2006 16:45:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 14 18:45:12 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GYmdL-0007G7-TC for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2006 18:45:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYmdL-00063d-AY for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2006 12:45:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYmd6-000628-Dr for emacs-devel@gnu.org; Sat, 14 Oct 2006 12:44:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYmd4-00060D-9M for emacs-devel@gnu.org; Sat, 14 Oct 2006 12:44:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYmd4-00060A-53 for emacs-devel@gnu.org; Sat, 14 Oct 2006 12:44:54 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYmlm-00023e-1F for emacs-devel@gnu.org; Sat, 14 Oct 2006 12:53:54 -0400 Original-Received: from pastel.home ([70.55.146.105]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061014164453.MKLB1747.tomts25-srv.bellnexxia.net@pastel.home> for ; Sat, 14 Oct 2006 12:44:53 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id D16489205; Sat, 14 Oct 2006 12:44:52 -0400 (EDT) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60742 Archived-At: Try the following: emacs -Q --eval "(add-hook 'post-command-hook (lambda () (sit-for 0.5)))" you'll notice that all works apparently well, except that if you hit the universal prefix C-u, then any key pressed before the 0.5s delay will be ignored, and after the 0.5s delay you end up with "C-u-" in the echo area. Stefan