bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17046: 24.3.50; On startup emacs frame has no minibuffer or windows


From: Juanma Barranquero
Subject: bug#17046: 24.3.50; On startup emacs frame has no minibuffer or windows decorations
Date: Wed, 26 Mar 2014 17:34:32 +0100

On Tue, Mar 25, 2014 at 4:48 PM, Eli Zaretskii <eliz@gnu.org> wrote:

> Does it help to apply the size parameters only after the rest,
> including the toolbar, were already applied, i.e. in a separate call
> to modify-frame-parameters?

Do you mean to do this?

(let* ((default-frame-alist nil)
       (frame (make-frame '((width . 80) (height . 20))))
       (tool-bar-lines (frame-parameter frame 'tool-bar-lines)))
  (discard-input)
  (read-event nil nil 2)
  (modify-frame-parameters frame '((tool-bar-lines . 0)))
  (modify-frame-parameters frame '((width . 60) (height . 25)))
  (modify-frame-parameters frame `((tool-bar-lines . ,tool-bar-lines))))

Robert, could you try this, please? (In a separate .el file, as you did before)

Thanks.





reply via email to

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