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

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 3 Oct 2008 17:30:02 UTC

Severity: normal

Tags: moreinfo

Merged with 670

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 1077 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#1077: 23.0.60; x-create-frame: (wrong-type-argument number-or-marker-p nil)
Date: Tue, 30 Nov 2010 08:56:41 +0100
> I'm not sure.  I'm still trying to understand when and why did the
> menu-bar-lines parameter got a nil value in the minibuffer frame's
> parameters.  Depending on what I find, there could be an additional
> change.  If this happens only in minibuffer frames, then the above
> should be enough to fix the bug, because minibuffer frames without a
> menu bar will never evaluate their menu items.

From the Elisp manual

`menu-bar-lines'
     The number of lines to allocate at the top of the frame for a menu
     bar.  The default is 1.  A value of `nil' means don't display a
     menu bar.  *Note Menu Bar::.  (The X toolkit and GTK allow at most
     one menu bar line; they treat larger values as 1.)

so `nil' is a valid value and evaluating a menu bar item probably should
know how to handle it.

martin




This bug report was last modified 14 years and 226 days ago.

Previous Next


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