* Multiple delayed messages in echo area
@ 2003-01-09 10:58 Bastien Guerry
2003-01-09 17:31 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: Bastien Guerry @ 2003-01-09 10:58 UTC (permalink / raw)
Hi,
I try to get multiple messages displayed in the echo-area, with a small
delay between each message. The messages should be displayed each after
another when Emacs is idle (and not idle, if possible...)
How can I do this with GNU Emacs 21.2 ?
I've searched around the `timer' (run-with-idle-timer?) functions and
`sit-for' functions, but I can't get what I exactly want.
Any idea?
Thanks for the help,
--Bastien
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Multiple delayed messages in echo area
2003-01-09 10:58 Multiple delayed messages in echo area Bastien Guerry
@ 2003-01-09 17:31 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-01-09 17:31 UTC (permalink / raw)
Bastien Guerry wrote:
> I try to get multiple messages displayed in the echo-area, with a small
> delay between each message. The messages should be displayed each after
> another when Emacs is idle (and not idle, if possible...)
>
> How can I do this with GNU Emacs 21.2 ?
>
> I've searched around the `timer' (run-with-idle-timer?) functions and
> `sit-for' functions, but I can't get what I exactly want.
Here's how VM does it:
(defconst vm-startup-message-lines
'("Please use \\[vm-submit-bug-report] to report bugs."
"For discussion about the VM mail reader, see the gnu.emacs.vm.info newsgroup"
"You may give out copies of VM. Type \\[vm-show-copying-restrictions] to
see the conditions"
"VM comes with ABSOLUTELY NO WARRANTY; type \\[vm-show-no-warranty] for
full details"))
(defun vm-display-startup-message ()
(if (sit-for 5)
(let ((lines vm-startup-message-lines))
(message "VM %s, Copyright %s 2001 Kyle E. Jones; type ? for help"
vm-version (if vm-xemacs-p "\251" "(C)"))
(setq vm-startup-message-displayed t)
(while (and (sit-for 4) lines)
(message (substitute-command-keys (car lines)))
(setq lines (cdr lines)))))
(message ""))
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-09 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-09 10:58 Multiple delayed messages in echo area Bastien Guerry
2003-01-09 17:31 ` Kevin Rodgers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.