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#19482: Changing to big font cause display problem Date: Fri, 20 Feb 2015 19:21:50 +0100 Message-ID: <54E77B3E.4000907@gmx.at> References: <54DE424B.8070506@gmx.at> <7294F8DD-9324-4872-9AAA-5E4A229EFD04@icloud.com> <54E49C26.1070209@gmx.at> <0534A31D-5D69-4687-88CE-FA3C23A20278@icloud.com> <54E58941.3030005@gmx.at> <0255489D-9FE7-4C96-850D-2ED2FC80E42B@icloud.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1424456992 12293 80.91.229.3 (20 Feb 2015 18:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Feb 2015 18:29:52 +0000 (UTC) Cc: 19482@debbugs.gnu.org To: =?UTF-8?Q?=E5=BC=A0=E6=B5=B7=E5=90=9B?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 20 19:29:41 2015 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 1YOsKZ-00044A-VG for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Feb 2015 19:29:40 +0100 Original-Received: from localhost ([::1]:33675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOsKY-0000KL-Vz for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Feb 2015 13:29:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOsGB-000144-Mb for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2015 13:25:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOsG6-0001c6-TT for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2015 13:25:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOsG6-0001bW-QG for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2015 13:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YOsG6-0002z0-56 for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2015 13:25:02 -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, 20 Feb 2015 18:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19482 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19482-submit@debbugs.gnu.org id=B19482.142445668711439 (code B ref 19482); Fri, 20 Feb 2015 18:25:01 +0000 Original-Received: (at 19482) by debbugs.gnu.org; 20 Feb 2015 18:24:47 +0000 Original-Received: from localhost ([127.0.0.1]:49687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOsFr-0002yR-1A for submit@debbugs.gnu.org; Fri, 20 Feb 2015 13:24:47 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:55682) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOsFo-0002yI-NQ for 19482@debbugs.gnu.org; Fri, 20 Feb 2015 13:24:45 -0500 Original-Received: from [93.82.11.100] ([93.82.11.100]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0M35iN-1XWDnj00Rz-00syYn; Fri, 20 Feb 2015 19:24:40 +0100 In-Reply-To: <0255489D-9FE7-4C96-850D-2ED2FC80E42B@icloud.com> X-Provags-ID: V03:K0:ppjUHXlj79Uzuq6usx0EiSSlG3Pxz2XjQjA/jdhRn3FlAl12s3n 6OHALbM6tzHnQWsWjYoFTvlBVC3UenV8eBnBcnjfx5b85bfNcZXmNix0oNu59i29lV8mkhX 4jU5FTUnyu9dM9Uz7xwUbsxbBRQif2BBn0K0FOAcdeb6ZjW8InidwMT38KocYTZjQrRVY9c okqHvDwDbmPef/VRB6DJQ== 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:99657 Archived-At: > ----------------------------- (1) before issuing (set-frame-font "Menlo:size=30") ------------------------------------ > frame pixel: 874 x 669 cols/lines: 87 x 35 units: 10 x 19 > frame text pixel: 850 x 665 cols/lines: 85 x 35 > tool: 0 scroll: 0 fringe: 20 border: 2 right: 0 bottom: 0 [...] > ----------------------------- (2) after issuing (set-frame-font "Menlo:size=30") ---------------------- > frame pixel: 1552 x 1194 cols/lines: 86 x 35 units: 18 x 34 > frame text pixel: 1530 x 1190 cols/lines: 85 x 35 > tool: 0 scroll: 0 fringe: 18 border: 2 right: 0 bottom: 0 [...] > -------------------------- (3) after resizing the frame ---------------------- > frame pixel: 1392 x 840 cols/lines: 77 x 24 units: 18 x 34 > frame text pixel: 1370 x 836 cols/lines: 76 x 24 > tool: 0 scroll: 0 fringe: 18 border: 2 right: 0 bottom: 0 [...] > My screen resolution is 1440x900. IIUC this means that Emacs tries in `set-frame-font' to make your frame larger than your display which sounds like a bad idea. Try first to make the frame smaller before you call `set-frame-font' such that the resizing step in that function stays within the limits of the display and see whether the problem persists. Next try instead of (3) to maximize the frame and then restore its normal size, that is, the one after `set-frame-font', and see whether the problem persists (here I would simply type M-F10 twice). Finally, set the variable `frame-inhibit-implied-resize' to t, call `set-frame-font' and see whether the problem persists. martin