From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: help needed with gnus mode-line
Date: Thu, 30 Jun 2011 16:57:01 -0400 [thread overview]
Message-ID: <jwv8vsjnioc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87r56b5yf5.fsf@gmail.com> (Thierry Volpiatto's message of "Thu, 30 Jun 2011 13:52:30 +0200")
> i would like to display temporarily information in mode-line while i am
> in gnus.
> In all emacs, something like this work fine:
> --8<---------------cut here---------------start------------->8---
> (let ((mode-line-format (concat " " str)))
> (force-mode-line-update)
> (sit-for 12))
> (force-mode-line-update))
> --8<---------------cut here---------------end--------------->8---
Where do you run the above code? It should work but only if you run it
from within the buffer whose mode-line you want to modify.
Otherwise you may simply be changing the mode-line-format variable of
some other buffer(s).
Stefan
next prev parent reply other threads:[~2011-06-30 20:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 11:52 help needed with gnus mode-line Thierry Volpiatto
2011-06-30 12:20 ` Andreas Schwab
2011-06-30 12:35 ` Thierry Volpiatto
2011-06-30 13:15 ` Antoine Levitt
2011-06-30 15:01 ` Thierry Volpiatto
2011-06-30 20:57 ` Stefan Monnier [this message]
2011-07-01 7:25 ` Thierry Volpiatto
2011-07-01 16:23 ` Stefan Monnier
2011-07-01 19:23 ` Thierry Volpiatto
2011-07-04 15:58 ` Stefan Monnier
2011-07-04 19:00 ` Thierry Volpiatto
2011-07-01 19:23 ` Thierry Volpiatto
-- strict thread matches above, loose matches on Subject: below --
2011-06-30 11:52 Thierry Volpiatto
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=jwv8vsjnioc.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=thierry.volpiatto@gmail.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).