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: Re: Strange behavior of C-u in the presence of sit-for in p-c-h Date: Wed, 18 Oct 2006 01:57:39 -0400 Message-ID: References: <87y7rfdmjg.fsf@furball.mit.edu> <87zmbuabq9.fsf@stupidchicken.com> <878xjext5x.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 1161151092 24448 80.91.229.2 (18 Oct 2006 05:58:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2006 05:58:12 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 18 07:58:09 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 1Ga4RI-0003Ds-HB for ged-emacs-devel@m.gmane.org; Wed, 18 Oct 2006 07:58:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ga4RI-0004ML-4O for ged-emacs-devel@m.gmane.org; Wed, 18 Oct 2006 01:58:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ga4R2-0004Hm-FO for emacs-devel@gnu.org; Wed, 18 Oct 2006 01:57:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ga4Qx-00041K-Fo for emacs-devel@gnu.org; Wed, 18 Oct 2006 01:57:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ga4Qx-00040c-B5 for emacs-devel@gnu.org; Wed, 18 Oct 2006 01:57:43 -0400 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Ga4Qv-00055s-IE; Wed, 18 Oct 2006 01:57:41 -0400 Original-Received: from pastel.home ([70.55.81.188]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20061018055740.XXFU16051.tomts20-srv.bellnexxia.net@pastel.home>; Wed, 18 Oct 2006 01:57:40 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 05E8180C5; Wed, 18 Oct 2006 01:57:40 -0400 (EDT) Original-To: Chong Yidong In-Reply-To: <878xjext5x.fsf@furball.mit.edu> (Chong Yidong's message of "Tue\, 17 Oct 2006 22\:19\:06 -0400") 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:60863 Archived-At: > Given that the code has been around for 8 years, changing it at this > point in the release process might be a disaster. It's not even clear > to me what TRT is in this case. I suggest leaving the current > behavior as it is for Emacs 22; any user-level Lisp code that bumps > into this can quite easily work around it by checking if this-command > is eq to universal-argument. Huh? The problem came up because of a minor mode who uses post-command-hook with a sit-for inside. How do you suggest to work around this problem? Stefan