From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#19869: 25.0.50; default-frame-alist: width versus fullheight Date: Sun, 15 Feb 2015 21:55:27 +0100 Message-ID: <87k2ziuc74.fsf@web.de> References: <87twyo13h0.fsf@web.de> <54E08498.2050603@gmx.at> <87oaouud94.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424033788 19488 80.91.229.3 (15 Feb 2015 20:56:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Feb 2015 20:56:28 +0000 (UTC) Cc: 19869@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 15 21:56:18 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 1YN6Eh-0007lt-C7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 21:56:15 +0100 Original-Received: from localhost ([::1]:36614 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN6Eg-0007Ad-Nt for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Feb 2015 15:56:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN6EZ-00079e-PI for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 15:56:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YN6EV-0006HF-0b for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 15:56:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YN6EU-0006HB-Tl for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 15:56:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YN6EU-0001NX-8J for bug-gnu-emacs@gnu.org; Sun, 15 Feb 2015 15:56:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Feb 2015 20:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19869 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19869-submit@debbugs.gnu.org id=B19869.14240337415273 (code B ref 19869); Sun, 15 Feb 2015 20:56:02 +0000 Original-Received: (at 19869) by debbugs.gnu.org; 15 Feb 2015 20:55:41 +0000 Original-Received: from localhost ([127.0.0.1]:44940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN6E8-0001My-Iv for submit@debbugs.gnu.org; Sun, 15 Feb 2015 15:55:40 -0500 Original-Received: from mout.web.de ([212.227.15.3]:53474) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YN6E4-0001Mj-QV for 19869@debbugs.gnu.org; Sun, 15 Feb 2015 15:55:37 -0500 Original-Received: from drachen.dragon ([94.218.210.48]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0Lbrk4-1XgMxZ27VM-00jFRb; Sun, 15 Feb 2015 21:55:29 +0100 In-Reply-To: <87oaouud94.fsf@web.de> (Michael Heerdegen's message of "Sun, 15 Feb 2015 21:32:39 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-Provags-ID: V03:K0:+S47G0XFqb/Yq/Auj0P0h7cIe87vRQJVkToU1Cl2igtenSRD3Qv 3u3iEQdti2Mf6KaYCZNTOwDp1ropflAxDvZuXWgMgg6lq9WAQJxAgGwm3txWtTuv+ZiuIhc MSDRBM7yiw57qY5LhTJkZtkf0urupOSBz5MJcX9O2J4ALC5ZPN6jt3TDIDxgobdCPQ5iOqp XDduSbC3w++fjMj8nUt4g== 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:99449 Archived-At: Hello again, I forgot to mention that this is all reproducible here with emacs -Q. Apparently the frame is created with the correct width, then the width changes while calling `face-set-after-frame-default'. This happens before the frame is actually displayed. Here is what I evaluated in emacs -Q: --8<---------------cut here---------------start------------->8--- (progn (set-face-attribute 'default nil :height 175) (setq default-frame-alist '((width . 100) (fullscreen . fullheight))) (advice-add 'face-set-after-frame-default :around (lambda (f frame &rest args) (message "Width before face-set-after-frame-default: %S" (frame-width frame)) (apply f frame args) (message "Width after face-set-after-frame-default: %S" (frame-width frame)))) (make-frame)) --8<---------------cut here---------------end--------------->8--- In *Messages* I get Width before face-set-after-frame-default: 98 Width after face-set-after-frame-default: 63 #