From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Strange behavior of C-u in the presence of sit-for in p-c-h Date: Thu, 19 Oct 2006 10:31:03 -0400 Message-ID: <8764eg2x94.fsf@furball.mit.edu> References: <87y7rfdmjg.fsf@furball.mit.edu> <87zmbuabq9.fsf@stupidchicken.com> <878xjext5x.fsf@furball.mit.edu> <87vemh1yvx.fsf@furball.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161268572 16273 80.91.229.2 (19 Oct 2006 14:36:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Oct 2006 14:36:12 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 19 16:36:07 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 1GaYx1-0006iY-Mu for ged-emacs-devel@m.gmane.org; Thu, 19 Oct 2006 16:32:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GaYx1-0005wb-7U for ged-emacs-devel@m.gmane.org; Thu, 19 Oct 2006 10:32:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GaYvv-0004MH-2d for emacs-devel@gnu.org; Thu, 19 Oct 2006 10:31:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GaYvu-0004LA-I3 for emacs-devel@gnu.org; Thu, 19 Oct 2006 10:31:42 -0400 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GaYvu-0004eh-AF; Thu, 19 Oct 2006 10:31:42 -0400 Original-Received: from grand-central-station.mit.edu (GRAND-CENTRAL-STATION.MIT.EDU [18.7.21.82]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k9JEVeHd010412; Thu, 19 Oct 2006 10:31:40 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by grand-central-station.mit.edu (8.13.6/8.9.2) with ESMTP id k9JEVb7g000346; Thu, 19 Oct 2006 10:31:40 -0400 (EDT) Original-Received: from furball.mit.edu (SYDNEYPACIFIC-THREE-NINETY-NINE.MIT.EDU [18.95.6.144]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k9JEVH3X012494; Thu, 19 Oct 2006 10:31:17 -0400 (EDT) Original-Received: from cyd by furball.mit.edu with local (Exim 3.36 #1 (Debian)) id 1GaYvR-0000mI-00; Thu, 19 Oct 2006 10:31:13 -0400 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Thu\, 19 Oct 2006 02\:41\:07 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.217 X-Scanned-By: MIMEDefang 2.42 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:60924 Archived-At: Richard Stallman writes: > Which minor mode is that? It could avoid performing the sit-for > during universal-argument: > > (unless (eq this-command 'universal-argument) > (sit-for 0.5)) > > If that works, I'd rather do that > than make any change at a lower level. The minor mode that reported contains the code, haskell-doc-mode, is not distributed with Emacs; and as Stefan noted it's more correct for it to use an idle-timer. I suggest not making a change to Emacs at this stage. I could add a TODO item about "implementing a new primitive that is like this-command-keys only it accepts reread events", and look into it after the release.