From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16028: 24.3.50; Latest build completely breaks my thumnail frames code Date: Sat, 07 Dec 2013 13:15:16 +0200 Message-ID: <83y53wzzcr.fsf@gnu.org> References: <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> <52A1F967.5070403@gmx.at> <83a9gd261z.fsf@gnu.org> <52A21E05.2010309@gmx.at> <837gbh23ln.fsf@gnu.org> <52A2EE84.1040006@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1386414970 23046 80.91.229.3 (7 Dec 2013 11:16:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2013 11:16:10 +0000 (UTC) Cc: 16028@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 07 12:16:15 2013 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 1VpFrq-0006r7-Ia for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Dec 2013 12:16:14 +0100 Original-Received: from localhost ([::1]:35323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpFrq-0004ly-5V for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Dec 2013 06:16:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpFrj-0004ll-9A for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 06:16:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpFre-0002RQ-Nd for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 06:16:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpFre-0002RM-Jz for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 06:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VpFrd-0004Fa-Pw for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2013 06:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2013 11:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16028 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16028-submit@debbugs.gnu.org id=B16028.138641493016296 (code B ref 16028); Sat, 07 Dec 2013 11:16:01 +0000 Original-Received: (at 16028) by debbugs.gnu.org; 7 Dec 2013 11:15:30 +0000 Original-Received: from localhost ([127.0.0.1]:35672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpFr8-0004Em-0s for submit@debbugs.gnu.org; Sat, 07 Dec 2013 06:15:30 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:57765) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VpFr4-0004Eb-JG for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 06:15:28 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MXF00500OEQDE00@a-mtaout20.012.net.il> for 16028@debbugs.gnu.org; Sat, 07 Dec 2013 13:15:25 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MXF005AUOLODU00@a-mtaout20.012.net.il>; Sat, 07 Dec 2013 13:15:25 +0200 (IST) In-reply-to: <52A2EE84.1040006@gmx.at> X-012-Sender: halo1@inter.net.il 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:81584 Archived-At: > Date: Sat, 07 Dec 2013 10:46:44 +0100 > From: martin rudalics > CC: drew.adams@oracle.com, 16028@debbugs.gnu.org > > >> x_set_font does a lot to make redisplay happen. > > > > You mean the call to clear_current_matrices? AFAIR, that's not > > enough: it just ensures that _when_ redisplay happens, every screen > > line will get redrawn. But it doesn't force redisplay. > > > > Perhaps try calling fset_redisplay for that frame. > > If there are no errors, x_set_font inevitably calls x_new_font which on > window inevitably calls x_set_window_size which inevitably calls > my_set_window_pos. But my_set_window_pos just tells Windows to redraw the frame according to the current dimensions. It's the current dimensions that need to be changed, and that is done by redisplay, when it notices that the font was changed and therefore the dimensions of the glyph matrices need to be updated. > BTW I could hardly analyze this at the moment because now I'm bitten by > the "modeline doesn't update correctly" virus. `find-tag-noselect', > when trying to go to the definition of x_new_font, switches from > nsterm.m to w32term.c to xterm.c as expected but after going to nsterm.m > the modeline buffer id is stuck at nsterm.m. Probably due to Stefan's changes. "M-x redraw-display RET" should put you out of your misery. (It's entirely possible that just "M-x" will do.)