From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-1?q?R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: run-with-idle-timer and sit-for/sleep-for Date: Tue, 8 Jul 2008 17:08:58 +0200 Message-ID: <200807081708.58844.andreas.roehler@online.de> References: <4872B07A.4090503@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1215529362 32098 80.91.229.12 (8 Jul 2008 15:02:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jul 2008 15:02:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 08 17:03:29 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KGEix-0001SL-Hx for ged-emacs-devel@m.gmane.org; Tue, 08 Jul 2008 17:03:23 +0200 Original-Received: from localhost ([127.0.0.1]:59134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGEi6-0000t8-Bh for ged-emacs-devel@m.gmane.org; Tue, 08 Jul 2008 11:02:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KGEi2-0000sT-NB for emacs-devel@gnu.org; Tue, 08 Jul 2008 11:02:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KGEi2-0000rl-4a for emacs-devel@gnu.org; Tue, 08 Jul 2008 11:02:26 -0400 Original-Received: from [199.232.76.173] (port=54420 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KGEi1-0000rc-Tv for emacs-devel@gnu.org; Tue, 08 Jul 2008 11:02:25 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:50590) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KGEi1-00035C-CS for emacs-devel@gnu.org; Tue, 08 Jul 2008 11:02:25 -0400 Original-Received: from noname (p54BEB73E.dip0.t-ipconnect.de [84.190.183.62]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KGEhe0Diu-0003A6; Tue, 08 Jul 2008 17:02:14 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) In-Reply-To: <4872B07A.4090503@gmail.com> Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX182HWpbzavdgEQiwnPr2dFdwrja+bjNP3oNvxV zZRabrzro49pWiHC0aMxt0wYDcImBtC3yHX/dFxBH8sF4VIXcE jN/CwU5h6IYKrrDAH1oeQ== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:100454 Archived-At: Am Dienstag, 8. Juli 2008 schrieb Lennart Borgman (gmail): > =A0 (defun temp-idle() > =A0 =A0 (message "temp-idle")) >=20 > =A0 (defun temp() > =A0 =A0 (interactive) > =A0 =A0 (message "temp a") > =A0 =A0 (run-with-idle-timer 1 nil 'temp-idle) > =A0 =A0 (sit-for 4) > =A0 =A0 (message "temp b")) Hi, here it works. I.e. if I wait after `run-with-idle-timer' "temp-idle" is shown in the message buffer. With `sit-for' emacs probably isn`t idle, but counting. Maybe describe the case you will test, so we may find a solution. Cheers Andreas R=F6hler