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#16674: 24.3.50; crash: redisplay_internal, update_frame, using client-daemon in tmux Date: Sun, 09 Feb 2014 19:27:08 +0200 Message-ID: <83ha88urgz.fsf@gnu.org> References: <87sirwvsr0.fsf@holos.localdomain> <83y51nxuia.fsf@gnu.org> <87d2iyx5yn.fsf@holos.localdomain> <83ppmxx4wc.fsf@gnu.org> <877g9420rm.fsf@holos.localdomain> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1391966891 18473 80.91.229.3 (9 Feb 2014 17:28:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2014 17:28:11 +0000 (UTC) Cc: 16674@debbugs.gnu.org To: Mark Oteiza , Dmitry Antipov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 09 18:28:18 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 1WCYAy-000187-6M for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 18:28:16 +0100 Original-Received: from localhost ([::1]:51641 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCYAx-0003gF-Og for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 12:28:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCYAq-0003gA-5k for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:28:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCYAl-00023y-5T for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:28:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCYAl-00023u-1X for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:28:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCYAk-0005tb-5K for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 12:28: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, 09 Feb 2014 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16674-submit@debbugs.gnu.org id=B16674.139196685122618 (code B ref 16674); Sun, 09 Feb 2014 17:28:02 +0000 Original-Received: (at 16674) by debbugs.gnu.org; 9 Feb 2014 17:27:31 +0000 Original-Received: from localhost ([127.0.0.1]:60751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCYAD-0005sh-Th for submit@debbugs.gnu.org; Sun, 09 Feb 2014 12:27:30 -0500 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:60951) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCYAA-0005sY-NK for 16674@debbugs.gnu.org; Sun, 09 Feb 2014 12:27:28 -0500 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0N0Q00J00OG6FG00@mtaout24.012.net.il> for 16674@debbugs.gnu.org; Sun, 09 Feb 2014 19:26:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N0Q00EQQOG9OI40@mtaout24.012.net.il>; Sun, 09 Feb 2014 19:26:34 +0200 (IST) In-reply-to: <877g9420rm.fsf@holos.localdomain> 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:85091 Archived-At: > From: Mark Oteiza > Date: Sun, 09 Feb 2014 02:39:09 -0500 > > Eli Zaretskii writes: > > >> From: Mark Oteiza > >> Date: Fri, 07 Feb 2014 11:06:40 -0500 > >> > >> |A|B| > >> > >> Now, "B" has focus. I exit from this client into the shell, and exit the > >> shell, killing the tmux pane. At this point, the pane "A" occupies is > >> the sole pane, but "A" is still only occupying half the window! > >> > >> |A | > >> > >> I can make and destroy tmux panes and constrict the client > >> "display". The frame won't update until I enter the pane "A" occupies > >> *and* interact with the client. > > > > Sounds like Emacs is not being told about these changes. Do they send > > the SIGWINCH signal? If not, how is Emacs supposed to know about > > them? > > Ok, in this example, no SIGWINCH is sent when "B" is closed and the pane > it occupied (stracing client "A"). > > It seems like when the focused client is killed, no other client gets > "updated" until some input happens; either mouse click with > xterm-input-mode or keyboard input. Not sure what Emacs can do under these conditions. However, it worked before this change: > >> This does not happen in 24.3, so this is a regression I imagine I can > >> bisect if need be. > > > > Please do, and thanks. > > I found 0cd28af (references Bug#15025). Dmitry, this is bzr revision 113891. Perhaps the new code in delete_frame should include a few more tests from candidate_frame? (That's just a wild guess, though: I don't really understand what does tmux do to Emacs -- are we selecting a frame that is no longer displayed or something?)