From: martin rudalics <rudalics@gmx.at>
To: MON KEY <monkey@sandpframing.com>
Cc: emacs-devel@gnu.org
Subject: Re: force-mode-line-update ALL argument
Date: Sat, 22 May 2010 10:50:45 +0200 [thread overview]
Message-ID: <4BF79AE5.6010007@gmx.at> (raw)
In-Reply-To: <AANLkTik02FIlmt6OW8V2Zlids6eNXGA9-hLK5twOWTjU@mail.gmail.com>
Thank you for your efforts but I don't get it yet :-(
> 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.
What makes you conclude that a `set-buffer' on the value returned by
`other-buffer' causes updating the modeline of a buffer that maybe has
neither been changed nor displayed?
> An other non-visible
> buffer on the current frame
What is a non-visible buffer on a frame? When a buffer is visible it is
on a frame. When a buffer is not visible it is on no frame.
> which is not visible but has been modified
> (a modeline change counting as such)
What is a "modeline change" and how can it modify the buffer or count as
a buffer modification?
> will tickle the buffer-modified-p
> predicate
This predicate is set by a buffer change and by nothing else.
> thereby forcing _all_ non-visible buffers on current frame
> to have their modeline updated...
The only reason of updating a modeline is when the buffer is visible.
martin, still hoping that someone can shed light on this issue
next prev parent reply other threads:[~2010-05-22 8:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-22 5:39 force-mode-line-update ALL argument MON KEY
2010-05-22 8:50 ` martin rudalics [this message]
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
-- strict thread matches above, loose matches on Subject: below --
2010-05-20 16:53 martin rudalics
2010-05-21 6:42 ` Tassilo Horn
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=4BF79AE5.6010007@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=monkey@sandpframing.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).