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: bug#670: bug#1077: 23.0.60; x-create-frame: (wrong-type-argument number-or-marker-p nil) Date: Mon, 29 Nov 2010 11:56:09 +0100 Message-ID: <4CF386C9.5070909@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> 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 1291029424 27139 80.91.229.12 (29 Nov 2010 11:17:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2010 11:17:04 +0000 (UTC) Cc: 1077@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 29 12:17:00 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 1PN1j3-0006EK-7T for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Nov 2010 12:16:55 +0100 Original-Received: from localhost ([127.0.0.1]:45449 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN1j2-0002UA-CO for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Nov 2010 06:16:52 -0500 Original-Received: from [140.186.70.92] (port=34080 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PN1hC-0001pG-7q for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 06:14:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PN1hB-000100-5C for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 06:14:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PN1hB-0000zp-3a for bug-gnu-emacs@gnu.org; Mon, 29 Nov 2010 06:14:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PN1K1-0000Ja-PG; Mon, 29 Nov 2010 05:51:01 -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: Mon, 29 Nov 2010 10:51:01 +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.12910278411185 (code B ref 1077); Mon, 29 Nov 2010 10:51:01 +0000 Original-Received: (at 1077) by debbugs.gnu.org; 29 Nov 2010 10:50:41 +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 1PN1Jh-0000J4-3D for submit@debbugs.gnu.org; Mon, 29 Nov 2010 05:50:41 -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 1PN1Je-0000Iq-DI for 1077@debbugs.gnu.org; Mon, 29 Nov 2010 05:50:40 -0500 Original-Received: (qmail invoked by alias); 29 Nov 2010 10:56:10 -0000 Original-Received: from 62-47-38-127.adsl.highway.telekom.at (EHLO [62.47.38.127]) [62.47.38.127] by mail.gmx.net (mp004) with SMTP; 29 Nov 2010 11:56:10 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/QnuoPsczQto//rFVUsMaPOWbFLfxko0lfXEqIBM kF0ntYewK8TZyP User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <83ipzh9qze.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 29 Nov 2010 05:51:01 -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:42002 Archived-At: > 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