From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: force-mode-line-update ALL argument Date: Sat, 22 May 2010 10:50:45 +0200 Message-ID: <4BF79AE5.6010007@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274521401 13587 80.91.229.12 (22 May 2010 09:43:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 May 2010 09:43:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: MON KEY Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 22 11:43:19 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OFlEh-0007cF-Us for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 11:43:16 +0200 Original-Received: from localhost ([127.0.0.1]:58728 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFkY4-0007lb-7M for ged-emacs-devel@m.gmane.org; Sat, 22 May 2010 04:59:12 -0400 Original-Received: from [140.186.70.92] (port=34492 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFkQ9-0003oY-Ho for emacs-devel@gnu.org; Sat, 22 May 2010 04:51:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFkQ5-0005jK-Q6 for emacs-devel@gnu.org; Sat, 22 May 2010 04:51:01 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:33231) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OFkQ5-0005gW-B5 for emacs-devel@gnu.org; Sat, 22 May 2010 04:50:57 -0400 Original-Received: (qmail invoked by alias); 22 May 2010 08:50:48 -0000 Original-Received: from 62-47-62-156.adsl.highway.telekom.at (EHLO [62.47.62.156]) [62.47.62.156] by mail.gmx.net (mp030) with SMTP; 22 May 2010 10:50:48 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18fqvkQ5w0f1mDZWJtM4FKePDnBZkGjgd0Xkgu3OM 4t3GqKaKWwRqVc User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:125050 Archived-At: 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