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

From: martin rudalics <[email-masked]>
Date: Tue, 30 Nov 2010 18:07:23 +0100

>> That said, I agree that any code which is called during frame creation
 >> should be able to avoid signaling an error.

Using something like `define-key-safely' maybe.

 > I'm not aware that there ever was a _frame parameter_ named `menu-bar-mode'.

There never was such a parameter.

 >> Even funnier, the ELisp manual shows an example of building a menu bar
 >> with two lines, see the node "Menu Bar" there.
 >
 > And that should be possible.  If it isn't possible today because of some
 > limitations then it should be kept as a future possibility and put on the TODO
 > list (IMO).

On a windowing system it's not Emacs who decides how many lines the
menubar takes up.  And the Windows API isn't even able to tell
applications how many lines it actually uses for the menubar.  Most GNU
based applications like Mozilla and Thunderbird do not allow Windows to
make two menubar lines in the first place.

martin