From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kim Storm Newsgroups: gmane.emacs.devel Subject: Re: The history of sit_for vs sit-for Date: Fri, 30 May 2014 20:10:12 +0200 Message-ID: <5388C984.5010307@cua.dk> References: <53879641.1040505@cua.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1401473441 21591 80.91.229.3 (30 May 2014 18:10:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2014 18:10:41 +0000 (UTC) Cc: Chong Yidong , Emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 30 20:10:35 2014 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 1WqRGE-0001zQ-NC for ged-emacs-devel@m.gmane.org; Fri, 30 May 2014 20:10:34 +0200 Original-Received: from localhost ([::1]:55902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqRGE-00078r-0t for ged-emacs-devel@m.gmane.org; Fri, 30 May 2014 14:10:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqRG4-00078R-Nn for Emacs-devel@gnu.org; Fri, 30 May 2014 14:10:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqRFy-0007hI-K5 for Emacs-devel@gnu.org; Fri, 30 May 2014 14:10:24 -0400 Original-Received: from ispc3.dotserv.com ([178.20.216.13]:60819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqRFy-0007h4-EO for Emacs-devel@gnu.org; Fri, 30 May 2014 14:10:18 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by ispc3.dotserv.com (Postfix) with ESMTP id 4E0D48051828E; Fri, 30 May 2014 20:10:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ispc3.dotserv.com Original-Received: from ispc3.dotserv.com ([127.0.0.1]) by localhost (ispc3.dotserv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WPFCiPkiyykE; Fri, 30 May 2014 20:10:12 +0200 (CEST) Original-Received: from [10.1.82.9] (1405ds6-amb.0.fullrate.dk [90.184.172.30]) (Authenticated sender: storm@cua.dk) by ispc3.dotserv.com (Postfix) with ESMTPSA id 90190804BA3D3; Fri, 30 May 2014 20:10:12 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 178.20.216.13 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:172197 Archived-At: On 2014-05-30 17:32, Stefan Monnier wrote: >> Maybe this thread will explain why and how... >> http://lists.gnu.org/archive/html/emacs-devel/2006-07/msg00401.html > Ah, thanks. Hmm... so it seems it has to do with "internal events" used > for things like help-echo tooltips. Obviously, in itself that doesn't > justify moving to Elisp, but it's just how it happened. I think the > justification has to do with the fact that the new sit-for used ELisp > timers, which are much easier to access from ELisp. Of course, this > proved to suffer from other problems, so we then switched to an > implementation based on read-event which could have been written in > C just as well. > > Hmm... thanks ...hmm... > I think it was related to making only (certain) lisp event interrupt sit-for. It seems moving sit-for to lisp was the easiest way to accomplish that. Kim