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: The history of sit_for vs sit-for Date: Fri, 30 May 2014 11:32:06 -0400 Message-ID: References: <53879641.1040505@cua.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401463980 32320 80.91.229.3 (30 May 2014 15:33:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2014 15:33:00 +0000 (UTC) Cc: Chong Yidong , Emacs-devel@gnu.org To: Kim Storm Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 30 17:32:53 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 1WqOnZ-0000Hv-LI for ged-emacs-devel@m.gmane.org; Fri, 30 May 2014 17:32:49 +0200 Original-Received: from localhost ([::1]:54918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqOnZ-0007J1-0t for ged-emacs-devel@m.gmane.org; Fri, 30 May 2014 11:32:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqOnO-0007Do-U3 for emacs-devel@gnu.org; Fri, 30 May 2014 11:32:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WqOnH-0003VL-Ot for emacs-devel@gnu.org; Fri, 30 May 2014 11:32:38 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:48669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WqOnH-0003V2-L9 for emacs-devel@gnu.org; Fri, 30 May 2014 11:32:31 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id B27392C0AB; Fri, 30 May 2014 11:32:30 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 9BB8C1E5874; Fri, 30 May 2014 11:32:06 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 76F69B40F6; Fri, 30 May 2014 11:32:06 -0400 (EDT) In-Reply-To: <53879641.1040505@cua.dk> (Kim Storm's message of "Thu, 29 May 2014 22:19:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 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:172194 Archived-At: > 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... Stefan