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 18:15:46 +0100

On Wed, Mar 26, 2014 at 6:08 PM, Robert Marshall <address@hidden> wrote:

> I read Eli's suggestion as
>
>   (modify-frame-parameters frame `((tool-bar-lines . ,tool-bar-lines)))
>   (modify-frame-parameters frame '((width . 60)
>                                    (height . 25))))
>
> which doesn't show the bug,

The local binding for tool-bar-lines in my test code is the value of
the tool-bar-lines parameter of the freshly created frame (for
example, on my system its value is 3). So the code above would not
show the bug because it is not setting tool-bar-lines to 0.

> In your order with those 2 calls swapped
> around the bug is present.

So unfortunately Eli's idea didn't work.

Does it fail/work with these additional read-event's? (To allow redisplay)

(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)))
  (read-event nil nil 0.1)
  (modify-frame-parameters frame '((width . 60) (height . 25)))
  (read-event nil nil 0.1)
  (modify-frame-parameters frame `((tool-bar-lines . ,tool-bar-lines))))





reply via email to

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