Subject: Re: bug#1077: bug#670: bug#1077: 23.0.60; x-create-frame: (wrong-type-argument number-or-marker-p nil)

From: martin rudalics <[email-masked]>
Date: Mon, 29 Nov 2010 11:56:09 +0100

> And it's a different frame from what we saw in Fx_create_frame, observe:
 > [...]
 > But down below, in frame #3, where `(frame-parameter nil 'menu-bar-lines)'
 > is evaluated, it _will_ use selected_frame, right?  So what's going on
 > here?  Any ideas are welcome.

Do you mean the selected frame changes in between?

Anyway, I think there are at least three other bugs:

(1) Evaluating Lisp code in `define-key' can crash Emacs.

(2) The menu-bar define-key operations to toggle `menu-bar-mode' and
     `tool-bar-mode' do not take into account that the values of the
     respective frame parameter can be nil.

(3) Frame parameters of `menu-bar-lines' and actual appearance of a
     menubar are inconsistent for minibuffer-only frames.

martin