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#16736: Compiling a Lisp file causes display to flash off and on Date: Sun, 16 Feb 2014 23:04:18 +0200 Message-ID: <83lhxaahwt.fsf@gnu.org> References: <96vbwj696i.fsf@fencepost.gnu.org> <83lhxecftk.fsf@gnu.org> <2smwhurv74.fsf@fencepost.gnu.org> <83iosgbx6b.fsf@gnu.org> <83zjlr9gmb.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1392584720 8887 80.91.229.3 (16 Feb 2014 21:05:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Feb 2014 21:05:20 +0000 (UTC) Cc: 16736@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 16 22:05:27 2014 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 1WF8ty-0005BA-Dl for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Feb 2014 22:05:26 +0100 Original-Received: from localhost ([::1]:35018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WF8tx-0002PP-RL for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Feb 2014 16:05:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WF8tl-0002NH-UY for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2014 16:05:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WF8tb-00062C-Hb for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2014 16:05:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WF8tb-0005zy-F4 for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2014 16:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WF8tZ-000872-Tf for bug-gnu-emacs@gnu.org; Sun, 16 Feb 2014 16:05: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: Sun, 16 Feb 2014 21:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16736-submit@debbugs.gnu.org id=B16736.139258466531130 (code B ref 16736); Sun, 16 Feb 2014 21:05:01 +0000 Original-Received: (at 16736) by debbugs.gnu.org; 16 Feb 2014 21:04:25 +0000 Original-Received: from localhost ([127.0.0.1]:55046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WF8sy-000862-GM for submit@debbugs.gnu.org; Sun, 16 Feb 2014 16:04:24 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:49058) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WF8su-00085k-Mk for 16736@debbugs.gnu.org; Sun, 16 Feb 2014 16:04:22 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N1300N00X2W6S00@mtaout25.012.net.il> for 16736@debbugs.gnu.org; Sun, 16 Feb 2014 23:03:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1300JSFX56X630@mtaout25.012.net.il>; Sun, 16 Feb 2014 23:03:06 +0200 (IST) In-reply-to: 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:85689 Archived-At: > From: Glenn Morris > Cc: 16736@debbugs.gnu.org > Date: Sun, 16 Feb 2014 14:48:10 -0500 > > Eli Zaretskii wrote: > > >> I put a break on x_clear_frame, and with emacs -Q, byte-compile-file on > >> scheme.el triggers it. > > > > Can you show a backtrace from that breakpoint? > > Easy enough. > > #0 x_clear_frame (f=0x11cd8b8) at xterm.c:2909 > #1 0x00000000004ece00 in clear_frame (f=0x11cd8b8) at terminal.c:140 > #2 0x0000000000417f8f in redraw_frame (f=0x11cd8b8) at dispnew.c:2955 > #3 0x0000000000448e4d in clear_garbaged_frames () at xdisp.c:10935 > #4 0x0000000000448fb9 in echo_area_display (update_frame_p=1) at xdisp.c:10979 > #5 0x000000000044703a in message3_nolog (m=14191025) at xdisp.c:9987 > #6 0x0000000000446de9 in message3 (m=14191025) at xdisp.c:9929 > #7 0x00000000005b560f in Fmessage (nargs=3, args=0x7fffffff8338) > at editfns.c:3452 Thanks. This clearly shows that the frame was marked as "garbaged", which naturally requires its complete redrawing. The question now becomes why it is marked garbaged. It's possible that the change in change_frame_size_1 is the reason, because the code in that function does just that. > I don't have time to look into the rest of the things you asked right > now. I hope you will some time soon, as I think we are zeroing in on the culprit. Thanks.