[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help needed with gnus mode-line
From: |
Stefan Monnier |
Subject: |
Re: help needed with gnus mode-line |
Date: |
Thu, 30 Jun 2011 16:57:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> 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