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#18196: 24.4.50; crash when setting face background in terminal frame Date: Thu, 07 Aug 2014 17:08:11 +0200 Message-ID: <53E3965B.8070205@gmx.at> References: <87ppgf4aki.fsf@gateway.local.navru.net> <53E09B27.7050100@gmx.at> <53E0AA14.3010501@gmx.at> <87siladgd0.fsf@gateway.local.navru.net> <53E118CA.2090602@gmx.at> <87tx5qeort.fsf@gateway.local.navru.net> <87r40ueied.fsf@gateway.local.navru.net> <53E1F869.9060402@gmx.at> <87egwt4hs9.fsf@gateway.local.navru.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1407424175 30329 80.91.229.3 (7 Aug 2014 15:09:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2014 15:09:35 +0000 (UTC) Cc: 18196@debbugs.gnu.org To: Nicolas Avrutin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 17:09:24 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 1XFPJk-00056f-2d for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 17:09:24 +0200 Original-Received: from localhost ([::1]:46951 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFPJj-0008EH-Kj for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2014 11:09:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFPJX-0008Ad-34 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 11:09:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFPJP-00081O-KZ for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 11:09:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFPJP-00081K-Gf for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 11:09:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XFPJP-0000FO-8I for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2014 11:09:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Aug 2014 15:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18196 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18196-submit@debbugs.gnu.org id=B18196.1407424111878 (code B ref 18196); Thu, 07 Aug 2014 15:09:03 +0000 Original-Received: (at 18196) by debbugs.gnu.org; 7 Aug 2014 15:08:31 +0000 Original-Received: from localhost ([127.0.0.1]:34124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFPIt-0000E4-1A for submit@debbugs.gnu.org; Thu, 07 Aug 2014 11:08:31 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:56990) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XFPIq-0000Dq-A5 for 18196@debbugs.gnu.org; Thu, 07 Aug 2014 11:08:29 -0400 Original-Received: from [91.113.6.105] ([91.113.6.105]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M8IuM-1WSN9i1t46-00w10Z; Thu, 07 Aug 2014 17:08:20 +0200 In-Reply-To: <87egwt4hs9.fsf@gateway.local.navru.net> X-Provags-ID: V03:K0:fENNehT3YVOy8I2YYVUGOh3fChng4jbh0rC265k/edYV418dUnc ErRQg4WVnEReeWtHdhBX/IJHCnUcY5X4A4LHa70aA0eNqKPd7/IgF0YREvCc8uOYO88Wb9D B2Ta+YYhiva+OYdBxhkvHg7mD/S/sZvr49kBbQ+k7U0YI1fe+4XazGYWWM6vXywFALLT3IW il9Eb1oOW9R/aHQjAchqQ== 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:92261 Archived-At: > Steps to reproduce: > 1. emacs -Q > 2. M-: server-start > 3. emacsclient -nw Easily reproducible. > The dimensions of the terminal with the emacsclient are 134 cols and 38 > lines (according to tput cols and tput lines). The dimensions of the > terminal window (including scroll bar and 1px window border on all > sides) should be 960x540 (1/4 of a 1920x1080 screen). I don't know the > exact width of the scroll bar, so I can't easily give you the dimensions > of the "interior" of the terminal. I can also reproduce the issue with a > terminal smaller than this. Hopefully this was a trivial bug which tried to apply the minimum pixel height of your server root window (some few lines multiplied by your default character height, I get a value of 72 here) to the terminal window. This can easily exceed the capabilities of the terminal window (which is clearly less than 72 lines here). I checked in a fix. Please try again with the latest trunk and the last patch I sent you (provided it still applies). In any case this raises a general question for TTYs: How to proceed when the terminal window is made so small that the Emacs windows won't fit any more in their frame? This is an unlikely situation and we earlier handled it by deleting all windows but the frame's selected window. I suppose I have to do that now again :-( Thanks for the illustrative caps, martin