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: Mon, 04 Aug 2014 19:23:05 +0200 Message-ID: <53DFC179.1000306@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> <53D92D00.7070600@gmx.at> <831tt2u428.fsf@gnu.org> <53DA0307.6040004@gmx.at> <83oaw5ssuf.fsf@gnu.org> <53DA748D.4010201@gmx.at> <83d2cls9a8.fsf@gnu.org> <53DB5662.8020909@gmx.at> <8361ics72p.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 1407173107 23992 80.91.229.3 (4 Aug 2014 17:25:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2014 17:25:07 +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 Mon Aug 04 19:25:00 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 1XEM0J-0006TZ-7t for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2014 19:24:59 +0200 Original-Received: from localhost ([::1]:53852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEM0I-0002Cw-MI for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2014 13:24:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XELzW-0001ED-Fe for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 13:24:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XELzP-0004ic-0I for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 13:24:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XELzO-0004iX-TO for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 13:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XELzO-0000KE-FQ for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2014 13:24: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: Mon, 04 Aug 2014 17:24: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.14071730031200 (code B ref 18136); Mon, 04 Aug 2014 17:24:02 +0000 Original-Received: (at 18136) by debbugs.gnu.org; 4 Aug 2014 17:23:23 +0000 Original-Received: from localhost ([127.0.0.1]:57512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XELyk-0000JH-P5 for submit@debbugs.gnu.org; Mon, 04 Aug 2014 13:23:23 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:60128) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XELyh-0000J2-Pd for 18136@debbugs.gnu.org; Mon, 04 Aug 2014 13:23:20 -0400 Original-Received: from [88.117.51.195] ([88.117.51.195]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MPlY2-1X9QI34A0A-004zBH; Mon, 04 Aug 2014 19:23:10 +0200 In-Reply-To: <8361ics72p.fsf@gnu.org> X-Provags-ID: V03:K0:ZEvfBbIC3K1suifcA0CzHRzR7C/YlOVpDV/Zr0rJlR4+rwavwgL Ym1gniDNpulfhH1dJ3ZUy1k8O+PWP2zmFsHAdwKuAY7qjtk0AMdzM3cPhHU23XjXHfN8BnN d/iovNA5oDJ+StaLgb56gFZOU7AS34tlNB6++dUZEtZbdePUb5KiBCHoNAeVo6ERxNuar9C OESKnKt93OIVQaOKCaKsQ== 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:92099 Archived-At: > IMO, FRAME_LINES for the TTY frame that is currently displayed on its > terminal should always equal to FrameRows for that terminal (and > similarly for FrameCols). I thought we previously agreed on this, > since a TTY frame usually behaves as a maximized frame. We agreed that the total (pixel) height of the frame should not change and the frame's windows should get resized when the menubar is turned off and on. But the problem is that you want that the frame's text height should not change either and this is much more difficult to achieve. In principle, I have to lie about the text height, for example, in this part of frame.c new_text_height = FRAME_PIXEL_TO_TEXT_HEIGHT (f, new_pixel_height); and I'm not yet sure how to do that :-( IIUC it amounts to changing FRAME_PIXEL_TO_TEXT_HEIGHT and FRAME_TEXT_TO_PIXEL_HEIGHT for TTYs but I'm afraid that that is not sufficient. In any case, the change will be substantial. martin