From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#1077: 23.0.60; x-create-frame: (wrong-type-argument number-or-marker-p nil) Date: Wed, 01 Dec 2010 18:27:55 +0100 Message-ID: <4CF6859B.8030106@gmx.at> References: <003e01c9257c$a385d800$0200a8c0@us.oracle.com> <009701c9263f$9cce7120$0200a8c0@us.oracle.com> <000001c94cc1$e10e9c40$0200a8c0@us.oracle.com> <8F1F8998D60341099C4204B7BDD8AD4F@us.oracle.com> <96BC00F728B94AC18A15EA95B66C5248@us.oracle.com> <83zksv5g7j.fsf@gnu.org> <0A475933984F4CDA855D91C8B7639E3B@us.oracle.com> <83fwum5xzk.fsf@gnu.org> <9F24875655894485A414CD785D95725B@us.oracle.com> <83ipzh9qze.fsf@gnu.org> <4CF386C9.5070909@gmx.at> <8362vg9ctt.fsf@gnu.org> <4CF409A3.1030906@gmx.at> <83y68b96c5.fsf@gnu.org> <71C125BECEDF4C5E9F703E5743F76893@us.oracle.com> <83r5e38nhg.fsf@gnu.org> <4CF4AE39.4050007@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291227044 32374 80.91.229.12 (1 Dec 2010 18:10:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 18:10:44 +0000 (UTC) Cc: 1077@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 01 19:10:40 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PNr8T-0001zk-89 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Dec 2010 19:10:33 +0100 Original-Received: from localhost ([127.0.0.1]:36567 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNr8R-00080P-Q6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Dec 2010 13:10:31 -0500 Original-Received: from [140.186.70.92] (port=39068 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNqjs-0004ZN-JH for bug-gnu-emacs@gnu.org; Wed, 01 Dec 2010 12:45:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNqjq-0004AW-Tw for bug-gnu-emacs@gnu.org; Wed, 01 Dec 2010 12:45:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNqjq-0004AS-NM for bug-gnu-emacs@gnu.org; Wed, 01 Dec 2010 12:45:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PNqOU-00087l-EP; Wed, 01 Dec 2010 12:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Dec 2010 17:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 1077-submit@debbugs.gnu.org id=B1077.129122414031164 (code B ref 1077); Wed, 01 Dec 2010 17:23:02 +0000 Original-Received: (at 1077) by debbugs.gnu.org; 1 Dec 2010 17:22:20 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PNqNn-00086b-Vx for submit@debbugs.gnu.org; Wed, 01 Dec 2010 12:22:20 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PNqNl-00086O-Q2 for 1077@debbugs.gnu.org; Wed, 01 Dec 2010 12:22:19 -0500 Original-Received: (qmail invoked by alias); 01 Dec 2010 17:27:56 -0000 Original-Received: from 62-47-32-80.adsl.highway.telekom.at (EHLO [62.47.32.80]) [62.47.32.80] by mail.gmx.net (mp034) with SMTP; 01 Dec 2010 18:27:56 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+bQEhFKy+bWBEOqjQ+iobLOFSoeSdjTtqxsz8kpw TfdvwFcmqfYzGp User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 01 Dec 2010 12:23:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42063 Archived-At: >> `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. > > I think the above doc only means that the C code interprets a nil as > meaning "no menu bar" when you set that frame parameter. Whether it > also means that this same C code can return nil when you query this > parameter is not quite so clear. I don't think it's of great importance. From the example I gave earlier (let ((frame (make-frame '((minibuffer . only))))) (frame-parameter frame 'menu-bar-lines)) the value returned by `frame-parameter' may have no relation to what is actually displayed. martin