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#17386: 24.3.90; emacs_abort in cmcheckmagic Date: Thu, 29 May 2014 19:05:07 +0300 Message-ID: <83ha48h8p8.fsf@gnu.org> References: <874n18ydh9.fsf@geodiff-mac3.ulb.ac.be> <87egzexpus.fsf@geodiff-mac3.ulb.ac.be> <838upmhtsj.fsf@gnu.org> <5385F59E.4040403@yahoo.fr> <834n09j2c4.fsf@gnu.org> <87wqd5fx5j.fsf@yahoo.fr> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1401379587 11272 80.91.229.3 (29 May 2014 16:06:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2014 16:06:27 +0000 (UTC) Cc: schwab@suse.de, 17386@debbugs.gnu.org, theonewiththeevillook@yahoo.fr To: Nicolas Richard Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 29 18:06: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 1Wq2qM-0003to-KW for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2014 18:06:14 +0200 Original-Received: from localhost ([::1]:48994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq2qM-0000rL-6U for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 May 2014 12:06:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq2qF-0000qP-4e for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:06:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wq2qA-0000Pf-C7 for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:06:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq2qA-0000Pa-6m for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wq2q9-0005VX-U8 for bug-gnu-emacs@gnu.org; Thu, 29 May 2014 12:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 May 2014 16:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17386 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17386-submit@debbugs.gnu.org id=B17386.140137951321080 (code B ref 17386); Thu, 29 May 2014 16:06:01 +0000 Original-Received: (at 17386) by debbugs.gnu.org; 29 May 2014 16:05:13 +0000 Original-Received: from localhost ([127.0.0.1]:36269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wq2pJ-0005Tr-4n for submit@debbugs.gnu.org; Thu, 29 May 2014 12:05:12 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:45028) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wq2pD-0005T7-1V for 17386@debbugs.gnu.org; Thu, 29 May 2014 12:05:06 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N6C00L00F72GH00@a-mtaout22.012.net.il> for 17386@debbugs.gnu.org; Thu, 29 May 2014 19:04:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6C00KISFC7WVA0@a-mtaout22.012.net.il>; Thu, 29 May 2014 19:04:55 +0300 (IDT) In-reply-to: <87wqd5fx5j.fsf@yahoo.fr> 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:89694 Archived-At: > From: Nicolas Richard > Cc: Andreas Schwab , theonewiththeevillook@yahoo.fr, 17386@debbugs.gnu.org > Date: Wed, 28 May 2014 22:47:36 +0200 > > >> From: Andreas Schwab > >> Most likely nothing, since it is supposed to be transparent to the tmux > >> or screen instance. > > fwiw, this was confirmed to me on IRC in #tmux. > > > Eli Zaretskii writes: > > How is Emacs supposed to get the screen dimension when tmux is > > attached? It looks like Emacs saw (or maybe fell back on) a 23-line > > text terminal when it expected to see more than that (at least 42) > > from the beginning of the session. > > > > Nicolas, is the screen size supposed to be the same when you detach > > and re-attach, and if so, what size do you expect it to be? > > The size of my screen (read : the size of my gnome-terminal frame) can > be different when I detach and when I reattach (because I sometimes > maximize the frame, some other times not -- also because I use screen of > different sizes.) > > On my laptop, over ssh: > - when I don't maximize my gnome-terminal frame, then gdb reports: > FrameRows(current_tty) = 23. > - If the gnome-terminal frame is maximized, gdb reports 42. > > (In case you wonder, I tried detaching when not-maximized, then > maximizing gnome-terminal and then reattaching : it worked fine.) So I guess tmux is not issuing the ioctl that Andreas mentioned, and Emacs doesn't get SIGWINCH, and so doesn't know the screen dimensions changed.