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#18136: 24.4.50; crash in redisplay when calling load-theme Date: Wed, 30 Jul 2014 19:36:00 +0200 Message-ID: <53D92D00.7070600@gmx.at> References: <87d2cpxaq1.fsf@holos.localdomain> <8338dkh6wo.fsf@gnu.org> <53D77B06.8040907@gmx.at> <83tx60fjnh.fsf@gnu.org> <53D7A965.30700@gmx.at> <83mwbste5o.fsf@gnu.org> <53D7C0C4.7070406@gmx.at> <83iomgt9d2.fsf@gnu.org> <53D7E6B6.6070007@gmx.at> <83fvhkt3wm.fsf@gnu.org> <53D9210E.2030800@gmx.at> <8361ieu5nr.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 1406741851 13553 80.91.229.3 (30 Jul 2014 17:37:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2014 17:37:31 +0000 (UTC) Cc: mvoteiza@udel.edu, 18136@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 30 19:37:23 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 1XCXoX-0005kF-Rd for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jul 2014 19:37:21 +0200 Original-Received: from localhost ([::1]:52398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCXoX-00078b-Fg for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Jul 2014 13:37:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCXoM-00076q-R2 for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:37:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCXoF-0008NV-4T for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:37:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCXoF-0008NR-10 for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XCXoE-0007wi-HT for bug-gnu-emacs@gnu.org; Wed, 30 Jul 2014 13:37: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: Wed, 30 Jul 2014 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18136 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18136-submit@debbugs.gnu.org id=B18136.140674177830485 (code B ref 18136); Wed, 30 Jul 2014 17:37:02 +0000 Original-Received: (at 18136) by debbugs.gnu.org; 30 Jul 2014 17:36:18 +0000 Original-Received: from localhost ([127.0.0.1]:52068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCXnV-0007vc-KN for submit@debbugs.gnu.org; Wed, 30 Jul 2014 13:36:17 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:65164) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCXnS-0007vO-Qf for 18136@debbugs.gnu.org; Wed, 30 Jul 2014 13:36:15 -0400 Original-Received: from [93.82.11.55] ([93.82.11.55]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MWkZL-1WxSrk491v-00XqnN; Wed, 30 Jul 2014 19:36:08 +0200 In-Reply-To: <8361ieu5nr.fsf@gnu.org> X-Provags-ID: V03:K0:Uo5LhXC/RsRRczqjOk2jhDfhR7VQp2yyMlKE1YNta6FLgqJyxpO jM0po3ZI46x1Aa/g00Dtf3ZcE/sCplGNzkQr2y6hFqTuSNMD2n9BTiw+cumLI2ewtk2/4y3 Ve4h+DXU64znzlqAuEJrg+x+o7TyzN1XpbaFgng/eX5JC8mabMygHf9ugGAnjOYinOyB2U6 weEwrboHPqV2CpCQC+KiA== 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:91980 Archived-At: >> > No, we resize the frame and then redistribute the frame dimensions >> > between its windows. When change_frame_size_1 is called with the same >> > dimensions as the current frame's dimensions, it simply does nothing >> > and returns. >> >> change_frame_size_1 _always_ calls adjust_frame_size now. And the later >> does (almost) nothing only if the following condition holds: >> >> if (new_text_width == old_text_width >> && new_text_height == old_text_height >> && new_windows_width == old_windows_width >> && new_windows_height == old_windows_height >> && new_pixel_width == old_pixel_width >> && new_pixel_height == old_pixel_height) >> /* No change. Sanitize window sizes and return. */ > > OK, but that's the moral equivalent of what I described (based on what > the code did previously). Right? I'm not good in morals but if I remove the menubar and the "frame dimensions" remain the same, the above conjunct does not hold because the new text height is larger than the old one and the new windows height too. martin