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#16028: 24.3.50; Latest build completely breaks my thumnail frames code Date: Fri, 06 Dec 2013 17:20:55 +0100 Message-ID: <52A1F967.5070403@gmx.at> References: <<8dee88e8-6b12-4822-9586-e013328f2ddc@default>> <<529CCE7F.3070400@gmx.at>> <<52A08780.9020405@gmx.at>> <<3df21358-48ca-4150-9f0e-aa2dbf78cbcb@default>> <<360e0ca4-7e4a-4f11-8157-c8f69e4ce913@default>> <<52A188D8.60608@gmx.at>> <<83txem1i7m.fsf@gnu.org>> <746cd4cb-c69d-4cff-8dee-f7ccde3cb2f4@default> <52A1E5A6.3010901@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386346935 20601 80.91.229.3 (6 Dec 2013 16:22:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Dec 2013 16:22:15 +0000 (UTC) Cc: 16028@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 06 17:22:20 2013 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 1VoyAV-0002Ra-VU for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 17:22:20 +0100 Original-Received: from localhost ([::1]:59905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoyAV-0000Ue-Hf for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Dec 2013 11:22:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoyAL-0000UW-Gf for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 11:22:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoyAE-0007W8-7c for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 11:22:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoyAE-0007W4-4Z for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 11:22:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VoyAD-0007BZ-RS for bug-gnu-emacs@gnu.org; Fri, 06 Dec 2013 11:22:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 Dec 2013 16:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16028 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16028-submit@debbugs.gnu.org id=B16028.138634687327556 (code B ref 16028); Fri, 06 Dec 2013 16:22:01 +0000 Original-Received: (at 16028) by debbugs.gnu.org; 6 Dec 2013 16:21:13 +0000 Original-Received: from localhost ([127.0.0.1]:34308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voy9Q-0007AO-8c for submit@debbugs.gnu.org; Fri, 06 Dec 2013 11:21:12 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:63921) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Voy9D-00079O-9j for 16028@debbugs.gnu.org; Fri, 06 Dec 2013 11:21:10 -0500 Original-Received: from [62.47.42.58] ([62.47.42.58]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MZD0K-1W9nJm18Xs-00L20C for <16028@debbugs.gnu.org>; Fri, 06 Dec 2013 17:20:58 +0100 In-Reply-To: X-Provags-ID: V03:K0:tOGJ9nDcexYBzRTamoqJnn4fEn0r4hLkJDCX+LwAOTJU6VcUnzz Bt0m/LYhPImv2N8bot63ce3sjz6+uM3SfNKdtVHjRgQzPAThZYJJT3v/argcL71YrnFeVdR p6vc8tA+CmmAWBPUTIAVU8mKHH0XWzX0soxdGYS3EaCjO+ZVrg2Ae+fMCF3QqQ+PeiaXC9Y +sG/L+sOqUx3iMoOfrfAQ== 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:81540 Archived-At: > OK, I found that adding a (sit-for 0) after this call in > `thumfr-thumbify-frame' fixes the problem: > > (enlarge-font (- thumfr-font-difference) frame) > > (And no error handlers were called with this simple test.) > > Do I need to do that in my code, or will you be doing something to > your fix that incorporates this? > > If I need to do it, should I add the sit-for to the end of `enlarge-font' > or add it only after the above call in `thumfr-thumbify-frame'. > > IOW, is this something that needs to be fixed in the frame > shrinking/enlarging code, even though I do not generally notice a problem > with that, or should it be handled only here and there, where I happen to > notice a problem. (Normally, I would probably opt for the latter, but if > you think this is now a wise or necessary thing to do in general, then > let me know.) Until we resolved this issue leave it in. IIUC for some reason setting the font apparently doesn't want to resize the frame immediately. I could imagine that somewhere in the code I compare numbers of lines/columns and decide that no resizing is needed because these are unchanged. Maybe you could try to insert somwhere at the top level a (ding) in window--resize-root-window (in window.el) and listen whether it rings when you try to thumbify a frame (with and without the sit-for). martin