[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Mode to display information in the topmost line of a window
From: |
Drew Adams |
Subject: |
RE: Mode to display information in the topmost line of a window |
Date: |
Fri, 31 Jul 2009 09:19:51 -0700 |
As an alternative, you might want to put the info in the mode line.
This is what I use:
(defun show-in-mode-line (text &optional buffer)
"Display TEXT in BUFFER's mode line for 10 sec (or until user event).
Note: This sits for 10 sec or until a user event, so call this last in
a sequence of user-visible actions."
(with-current-buffer (or buffer (current-buffer))
(make-local-variable 'mode-line-format)
(let ((mode-line-format text))
(force-mode-line-update) (sit-for 10))
(force-mode-line-update)))
- Mode to display information in the topmost line of a window, Geralt, 2009/07/30
- Re: Mode to display information in the topmost line of a window, Tassilo Horn, 2009/07/30
- Re: Mode to display information in the topmost line of a window, Geralt, 2009/07/30
- Re: Mode to display information in the topmost line of a window, Lennart Borgman, 2009/07/30
- Re: Mode to display information in the topmost line of a window, Tassilo Horn, 2009/07/30
- Re: Mode to display information in the topmost line of a window, Kevin Rodgers, 2009/07/31
- Re: Mode to display information in the topmost line of a window, Tassilo Horn, 2009/07/31
- Re: Mode to display information in the topmost line of a window, Geralt, 2009/07/31
- RE: Mode to display information in the topmost line of a window,
Drew Adams <=
- Re: Mode to display information in the topmost line of a window, Geralt, 2009/07/31
- Re: Mode to display information in the topmost line of a window, Lennart Borgman, 2009/07/31
- RE: Mode to display information in the topmost line of a window, Drew Adams, 2009/07/31