GNU bug report logs - #17046
24.3.50; On startup emacs frame has no minibuffer or windows decorations

Previous Next

Package: emacs;

Reported by: Robert Marshall <robert <at> capuchin.co.uk>

Date: Thu, 20 Mar 2014 09:09:02 UTC

Severity: important

Found in version 24.3.50

Fixed in version 24.4

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Robert Marshall <robert <at> capuchin.co.uk>
Cc: martin rudalics <rudalics <at> gmx.at>, Eli Zaretskii <eliz <at> gnu.org>, 17046 <at> debbugs.gnu.org
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 <robert <at> capuchin.co.uk> 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))))




This bug report was last modified 11 years and 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.