From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19721: 25.0.50; Mode-line not redrawn with expose events Date: Sun, 01 Feb 2015 09:51:30 +0100 Message-ID: <54CDE912.7070209@gmx.at> References: <83r3ubjk5q.fsf@gnu.org> <83lhkjjhsp.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1422780791 25095 80.91.229.3 (1 Feb 2015 08:53:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2015 08:53:11 +0000 (UTC) Cc: 19721@debbugs.gnu.org To: YAMAMOTO Mitsuharu , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 01 09:53:10 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YHqHF-0005yq-Vn for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 09:53:10 +0100 Original-Received: from localhost ([::1]:43968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHqHF-0003D7-E0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Feb 2015 03:53:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHqHB-0003Cf-RW for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 03:53:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHqH8-0008MD-MH for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 03:53:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHqH8-0008M3-IX for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 03:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YHqH8-00042s-8m for bug-gnu-emacs@gnu.org; Sun, 01 Feb 2015 03:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Feb 2015 08:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19721 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19721-submit@debbugs.gnu.org id=B19721.142278072715486 (code B ref 19721); Sun, 01 Feb 2015 08:53:02 +0000 Original-Received: (at 19721) by debbugs.gnu.org; 1 Feb 2015 08:52:07 +0000 Original-Received: from localhost ([127.0.0.1]:59423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHqGF-00041h-7I for submit@debbugs.gnu.org; Sun, 01 Feb 2015 03:52:07 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:50507) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YHqGA-000416-W1 for 19721@debbugs.gnu.org; Sun, 01 Feb 2015 03:52:03 -0500 Original-Received: from [88.117.59.199] ([88.117.59.199]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0McDl1-1XzM4F2X7X-00JbVP; Sun, 01 Feb 2015 09:51:44 +0100 In-Reply-To: X-Provags-ID: V03:K0:l4B06pwex8WKVQUx/nzDxUvw6QvLsuy2IYbH5+J2RQfZfbcBPUe 1fDnbWEQEUBVjwrc46fuDsalaDv3t7Z+anhcdAaAZGHlZkfkO0bvQJLejsUqgW52KoeIutQ wLs+3zVR8z5hFk1A1g+KA/g4ErNWW77P6m7CQMj/aItCosYixbES0A4RD+owsBo8eVybRlN /zqzYH7pDE1Sm9C4JNPVQ== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:98944 Archived-At: > If I apply both changes, mode-lines are redrawn when exposed, but some > of them are not updated with C-x o. What happens when you do something trivial like --- a/src/window.c +++ b/src/window.c @@ -524,6 +524,8 @@ select_window (Lisp_Object window, Lisp_Object norecord, int inhibit_point_swap) record_buffer (w->contents); } + w->update_mode_line = 1; + return window; } martin