emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird problem with inital frame sizing


From: Stefan Monnier
Subject: Re: Weird problem with inital frame sizing
Date: Sun, 16 Sep 2018 17:58:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]