unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* force-mode-line-update ALL argument
@ 2010-05-20 16:53 martin rudalics
  2010-05-21  6:42 ` Tassilo Horn
  0 siblings, 1 reply; 9+ messages in thread
From: martin rudalics @ 2010-05-20 16:53 UTC (permalink / raw)
  To: emacs-devel

Can someone please bother to explain the effect of setting the optional
ALL argument for `force-mode-line-update'?  I'm too silly to understand
that.

Thanks in advance, martin.




^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: force-mode-line-update ALL argument
@ 2010-05-22  5:39 MON KEY
  2010-05-22  8:50 ` martin rudalics
  0 siblings, 1 reply; 9+ messages in thread
From: MON KEY @ 2010-05-22  5:39 UTC (permalink / raw)
  To: emacs-devel

> at least as silly as Martin in understanding how that should work...

By making `other-buffer' the current-buffer we're effectively asking
Emacs to select some buffer which is _not_ visible and updating _its_
modeline as well if it has changed recently.  An other non-visible
buffer on the current frame which is not visible but has been modified
(a modeline change counting as such) will tickle the buffer-modified-p
predicate thereby forcing _all_ non-visible buffers on current frame
to have their modeline updated... FWICG :P

/s_P\



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-05-25  2:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-20 16:53 force-mode-line-update ALL argument martin rudalics
2010-05-21  6:42 ` Tassilo Horn
  -- strict thread matches above, loose matches on Subject: below --
2010-05-22  5:39 MON KEY
2010-05-22  8:50 ` martin rudalics
2010-05-23  4:29   ` MON KEY
2010-05-23 12:16     ` martin rudalics
2010-05-23 17:14       ` MON KEY
2010-05-23 19:05         ` martin rudalics
2010-05-25  2:45           ` MON KEY

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).