From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: run-with-timer does not display message Date: Tue, 15 Jul 2014 15:53:39 +0200 Message-ID: <87k37e4tjw.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1405432470 11981 80.91.229.3 (15 Jul 2014 13:54:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2014 13:54:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 15 15:54:21 2014 Return-path: Envelope-to: geh-help-gnu-emacs@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 1X73BV-0002zE-99 for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jul 2014 15:54:21 +0200 Original-Received: from localhost ([::1]:34737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X73BU-0006AT-VP for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jul 2014 09:54:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X73BB-0006A5-Of for help-gnu-emacs@gnu.org; Tue, 15 Jul 2014 09:54:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X73B3-0000KY-Bl for help-gnu-emacs@gnu.org; Tue, 15 Jul 2014 09:54:01 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:54590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X73B3-0000KU-6U for help-gnu-emacs@gnu.org; Tue, 15 Jul 2014 09:53:53 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1X73B1-0002mv-RO for help-gnu-emacs@gnu.org; Tue, 15 Jul 2014 15:53:51 +0200 Original-Received: from g231110129.adsl.alicedsl.de ([92.231.110.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jul 2014 15:53:51 +0200 Original-Received: from tjolitz by g231110129.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 15 Jul 2014 15:53:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: g231110129.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:5DhpafR7p6pRnBpZPkG9yW2mY8I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:98672 Archived-At: Matthias Pfeifer writes: > Hi there, > > this may be a dump question but i could not find a good reason why it > should not work as expected... > > I try to write a message to the messages buffer at some time in the future > via run-with-timer > > (run-with-timer 5 nil '(lambda () (message "hello"))) > > however messge buffer does not get the message. Hints welcome... works for me using M-: (run-with-timer 5 nil '(lambda () (message "hello"))) ,---- | [nil 21445 12740 521048 nil (lambda nil (message "hello")) nil nil | 860000] | | hello `---- -- cheers, Thorsten