From: "Drew Adams" <drew.adams@oracle.com>
To: "'Geralt'" <usr.gentoo@googlemail.com>,
"'Tassilo Horn'" <tassilo@member.fsf.org>,
<kevin.d.rodgers@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: Mode to display information in the topmost line of a window
Date: Fri, 31 Jul 2009 09:19:51 -0700 [thread overview]
Message-ID: <BEA9E09A295048E4A616C1F7126FDB9D@us.oracle.com> (raw)
In-Reply-To: <fbdd0e50907310903o63d97fcbsec03936ad1734560@mail.gmail.com>
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)))
next prev parent reply other threads:[~2009-07-31 16:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-30 12:38 Mode to display information in the topmost line of a window Geralt
2009-07-30 15:19 ` Tassilo Horn
2009-07-30 15:47 ` Geralt
2009-07-30 15:58 ` Lennart Borgman
2009-07-30 16:00 ` Tassilo Horn
2009-07-31 4:08 ` Kevin Rodgers
2009-07-31 7:12 ` Tassilo Horn
2009-07-31 16:03 ` Geralt
2009-07-31 16:19 ` Drew Adams [this message]
2009-07-31 23:46 ` Geralt
2009-07-31 23:51 ` Lennart Borgman
2009-08-01 9:30 ` Geralt
2009-07-31 23:56 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BEA9E09A295048E4A616C1F7126FDB9D@us.oracle.com \
--to=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
--cc=kevin.d.rodgers@gmail.com \
--cc=tassilo@member.fsf.org \
--cc=usr.gentoo@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).