From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Weird problem with inital frame sizing Date: Sun, 16 Sep 2018 17:58:13 -0400 Message-ID: References: <20180912103723.0999377c@jabberwock.cb.piermont.com> <20180913150851.3a330def@jabberwock.cb.piermont.com> <20180913151516.78aa0de4@jabberwock.cb.piermont.com> <20180913152355.7618b1a2@jabberwock.cb.piermont.com> <20180913153151.0a14f736@jabberwock.cb.piermont.com> <20180913173401.5e2f9c45@jabberwock.cb.piermont.com> <20180915192326.566d6b6d@jabberwock.cb.piermont.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537135688 14729 195.159.176.226 (16 Sep 2018 22:08:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2018 22:08:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 00:08:04 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g1fD1-0003j4-Th for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2018 00:08:04 +0200 Original-Received: from localhost ([::1]:32835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1fF8-0003CO-EL for ged-emacs-devel@m.gmane.org; Sun, 16 Sep 2018 18:10:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g1fE0-000369-3A for emacs-devel@gnu.org; Sun, 16 Sep 2018 18:09:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g1f3h-0004j8-8J for emacs-devel@gnu.org; Sun, 16 Sep 2018 17:58:27 -0400 Original-Received: from [195.159.176.226] (port=41815 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g1f3h-0004fN-03 for emacs-devel@gnu.org; Sun, 16 Sep 2018 17:58:25 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1g1f1U-0006m4-VA for emacs-devel@gnu.org; Sun, 16 Sep 2018 23:56:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:E92LfyI3FyN9DNP3OiZcX3BwJrg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229871 Archived-At: > I changed my font setting to use "face-spec-set". Naturally it changed > nothing but now no one can complain that I'm using the wrong > function. :) [...] > Note that I have both default-frame-alist and initial-frame-alist set > to indicate the frame should be 50 lines. This only seems to work for > subsequent frames. That's weird. I've just done the following: % mkdir ~/tmp/test/.emacs.d % cat >~/tmp/test/.emacs.d/early-init.e (face-spec-set 'default '((((type x)) :family "DejaVu Sans Mono" :height 70) (((type ns)) :family "Monaco" :height 100) (t :family :height 120))) (setq default-frame-alist '((user-size . t) (width . 86) (height . 46))) % HOME=~/tmp/test/ emacs and Emacs pops up with apparently the font specified and the width&height specified as well (actually, with what appears to be an off-by-one error). Stefan