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#18528: 24.3.93; Crash during restoration of frameset from desktop Date: Tue, 23 Sep 2014 21:17:02 +0200 Message-ID: <5421C72E.7080405@gmx.at> References: <83egv3y90k.fsf@gnu.org> <54205FCF.4050503@gmx.at> <83bnq7y13y.fsf@gnu.org> <542109B8.6080107@gmx.at> <8361gexsrg.fsf@gnu.org> <54219CB5.6080103@gmx.at> <83zjdqw4y9.fsf@gnu.org> 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 1411499920 1135 80.91.229.3 (23 Sep 2014 19:18:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2014 19:18:40 +0000 (UTC) Cc: 18528@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 21:18:32 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 1XWVba-0001NK-GP for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2014 21:18:30 +0200 Original-Received: from localhost ([::1]:55505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWVbZ-000762-Pz for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2014 15:18:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWVbN-00075C-4K for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2014 15:18:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWVbD-0006FU-AI for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2014 15:18:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWVbD-0006Ef-6e for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2014 15:18:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XWVb7-0006Vw-QE for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2014 15:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Sep 2014 19:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18528 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141149987625027 (code B ref -1); Tue, 23 Sep 2014 19:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Sep 2014 19:17:56 +0000 Original-Received: from localhost ([127.0.0.1]:50257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWVb1-0006Vb-Ma for submit@debbugs.gnu.org; Tue, 23 Sep 2014 15:17:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57552) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWVb0-0006VT-AU for submit@debbugs.gnu.org; Tue, 23 Sep 2014 15:17:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWVao-00069U-65 for submit@debbugs.gnu.org; Tue, 23 Sep 2014 15:17:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWVao-00066e-3T for submit@debbugs.gnu.org; Tue, 23 Sep 2014 15:17:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWVab-0006qy-IZ for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2014 15:17:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWVaU-0005xt-1j for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2014 15:17:29 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:62962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWVaL-0005qr-Ss; Tue, 23 Sep 2014 15:17:14 -0400 Original-Received: from [188.22.45.188] ([188.22.45.188]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0M0y8F-1YQfwS1sX1-00v5dU; Tue, 23 Sep 2014 21:17:07 +0200 In-Reply-To: <83zjdqw4y9.fsf@gnu.org> X-Provags-ID: V03:K0:/CD31Xwt+TF4/KCGspGrUYauuDL+AAA4VBYSS8LJlRlQnqZQyiW NppiVmJNfYzeqlIrYnQ4glcFlmxBK4E6XVVHh0cx2YfyCAj6o+qQERro6PEDMl+VggMCBh/ VcgsnKi2nekYWb4YDcgLrWORs5Nn+rAWiEP2De1P3K4eH15CfpG7AgxhUdAXcT6O2vTL0Qz 8IDOBZrJu9y5DPjOXnv7w== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:93666 Archived-At: >> > Yes, I think so. I think the reason we didn't see any problems with >> > that is that GUI windows always over-allocate their glyph matrices, to >> > be prepared for dealing with the smallest possible font, which is >> > rarely if ever used. But I think if you actually use that smallest >> > font for the default face, you will see the problem. >> >> I thought it's not needed because in required_matrix_width we use the >> pixel width when HAVE_WINDOW_SYSTEM is defined. > > Is this a response to what's above or to what's below? To what's above. Currently we return (((WINDOW_PIXEL_WIDTH (w) + ch_width - 1) / ch_width) * w->ncols_scale_factor /* 2 partially visible columns in the text area. */ + 2 /* One partially visible column at the right edge of each marginal area. */ + 1 + 1); so columns aren't involved IIUC. martin