From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: How to display message persistently in echo area Date: Sat, 09 Aug 2008 01:25:57 +1000 Organization: Rapt Technologies Message-ID: <87bq035y0q.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1218210286 31290 80.91.229.12 (8 Aug 2008 15:44:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Aug 2008 15:44:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 08 17:45:33 2008 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.50) id 1KRU9j-0006Hd-JF for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 17:45:31 +0200 Original-Received: from localhost ([127.0.0.1]:53531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRU8o-0004JX-3v for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 11:44:34 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!news.astraweb.com!border2.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:cpKWrQCUn8CSe7tSM+nhJ8o25xc= Original-Lines: 34 Original-NNTP-Posting-Host: 447b0acb.news.astraweb.com Original-X-Trace: DXC=]X7lM8`CHc7o^d=IeQT`3>L?0kYOcDh@:IGb]mONgOi:[WjN]MSZ1i0:^biDQkK4D8oWicS; MFjS3 Original-Xref: news.stanford.edu gnu.emacs.help:160973 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:56318 Archived-At: Dan Davison writes: > When I evaluate (message "the message"), "the message" remains in the > echo area until, for example, a key press in the current buffer. > > I'd like to be write a function that behaves like message, but for > which the message does not disappear when I start typing. I want it to > go away when I next do something that actually uses the echo area / > minibuffer. What strategy do people suggest for achieving this aim? Or > have I missed something that exists already? > > [The motivation is in ESS (Emacs Speaks Statistics) which has a nice > function that reminds one of function arguments in the echo > buffer. Unfortunately I've discovered that I can remember 3 function > arguments for less than a couple of seconds.] > maybe minibuffer-message-timeout will help ,----[ C-h v minibuffer-message-timeout RET ] | minibuffer-message-timeout is a variable defined in `C source code'. | Its value is 2 | | Documentation: | *How long to display an echo-area message when the minibuffer is active. | If the value is not a number, such messages don't time out. | | [back] `---- Tim -- tcross (at) rapttech dot com dot au