From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: chandan Newsgroups: gmane.emacs.help,gmane.emacs.bugs Subject: run-at-time and Setting system time Date: Fri, 02 Apr 2010 12:29:42 +0530 Message-ID: <4BB595DE.1070306@globaledgesoft.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1270229543 19546 80.91.229.12 (2 Apr 2010 17:32:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Apr 2010 17:32:23 +0000 (UTC) To: help-gnu-emacs@gnu.org, bug-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 02 19:32:19 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NxkjB-0005PP-Vf for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Apr 2010 19:32:18 +0200 Original-Received: from localhost ([127.0.0.1]:49216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxkjB-0001Bp-D9 for geh-help-gnu-emacs@m.gmane.org; Fri, 02 Apr 2010 13:32:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxatG-0000n5-Tq for help-gnu-emacs@gnu.org; Fri, 02 Apr 2010 03:02:02 -0400 Original-Received: from [140.186.70.92] (port=43523 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nxasr-0000e3-Pn for help-gnu-emacs@gnu.org; Fri, 02 Apr 2010 03:02:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxasS-0008SB-SV for help-gnu-emacs@gnu.org; Fri, 02 Apr 2010 03:01:37 -0400 Original-Received: from gesmail.globaledgesoft.com ([203.76.137.4]:46234) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxarW-0008HB-L1; Fri, 02 Apr 2010 03:00:15 -0400 Original-Received: from [172.16.8.243] (unknown [172.16.8.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gesmail.globaledgesoft.com (Postfix) with ESMTP id 5B8AC17B422; Fri, 2 Apr 2010 12:30:10 +0530 (IST) User-Agent: Thunderbird 2.0.0.22 (X11/20090605) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 02 Apr 2010 13:31:32 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72578 gmane.emacs.bugs:35879 Archived-At: Hi, Consider the following code: (defun mwnn-timer-callback () (message "Hi, inside mwnn-timer-callback")) (run-at-time "60" nil 'mwnn-timer-callback) The above code is supposed to cause mwnn-timer-callback to get invoked after 60 seconds. But if the system time is changed to a future date (say 20 seconds after the timer is started) the timer fires immediately. Is this is a bug in the emacs code. If yes, can this be rectified? Regards, mwnn