From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#670: 23.0.60; x-create-frame gives wrong-type-argument error Date: Thu, 7 Aug 2008 15:27:42 -0700 Message-ID: <003501c8f8dc$cee92aa0$c2b22382@us.oracle.com> Reply-To: Drew Adams , 670@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218149306 3833 80.91.229.12 (7 Aug 2008 22:48:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2008 22:48:26 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 08 00:49:17 2008 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.50) id 1KREID-0001Wy-23 for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Aug 2008 00:49:13 +0200 Original-Received: from localhost ([127.0.0.1]:42158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KREHG-0004Yf-Fb for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 18:48:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KREGY-0003tG-Cn for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 18:47:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KREGW-0003qr-Ea for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 18:47:29 -0400 Original-Received: from [199.232.76.173] (port=40397 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KREGW-0003qe-2s for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 18:47:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41929) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KREGU-0004kC-LJ for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 18:47:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77MlNZA022773; Thu, 7 Aug 2008 15:47:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m77MZ4Nt018634; Thu, 7 Aug 2008 15:35:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 07 Aug 2008 22:35:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 670 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121814807716924 (code B ref -1); Thu, 07 Aug 2008 22:35:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Aug 2008 22:27:57 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77MRrgw016918 for ; Thu, 7 Aug 2008 15:27:55 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:45934) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KRDwX-0004Wh-Fo for emacs-pretest-bug@gnu.org; Thu, 07 Aug 2008 18:26:49 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KRDxU-0001vF-Oh for emacs-pretest-bug@gnu.org; Thu, 07 Aug 2008 18:27:52 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]:20778) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRDxU-0001uz-C8 for emacs-pretest-bug@gnu.org; Thu, 07 Aug 2008 18:27:48 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m77MRjE6010892 for ; Thu, 7 Aug 2008 17:27:46 -0500 Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m77IpWSZ021272 for ; Thu, 7 Aug 2008 16:27:44 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt357.oracle.com with ESMTP id 11308725141218148057; Thu, 07 Aug 2008 17:27:37 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Aug 2008 15:27:37 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acj43M6c6FVoH82uQ4q5RM+q8kZvhg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 07 Aug 2008 18:47:29 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:19127 gmane.emacs.pretest.bugs:22804 Archived-At: Can't really give a precise recipe for this. I have a special-display function that when called can lead to this: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) >(nil 0) x-create-frame(((visibility) (width . 100) (width . 80) (height . 14) (menu-bar-lines . 1) (top . 0) (left . 0) (unsplittable . t) (user-position . t) (vertical-scroll-bars . right) (height . 14) (width . 80) (unsplittable . t))) x-create-frame-with-faces(((background-color . "LavenderBlush2") (mouse-color . "VioletRed") (cursor-color . "VioletRed") (width . 100) (font . "-*-Lucida Console-normal-r-*-*-14-112-96-96-c-*-iso8859-1") (width . 80) (height . 14) (mouse-color . "Yellow") (cursor-color . "Yellow") (menu-bar-lines . 1) (foreground-color . "Black") (background-color . "LightSteelBlue") (top . 0) (left . 0) (unsplittable . t) (user-position . t) (vertical-scroll-bars . right) (height . 14) (width . 80) (unsplittable . t))) make-frame(((background-color . "LavenderBlush2") (mouse-color . "VioletRed") (cursor-color . "VioletRed") (width . 100) (font . "-*-Lucida Console-normal-r-*-*-14-112-96-96-c-*-iso8859-1") (width . 80) (height . 14) (mouse-color . "Yellow") (cursor-color . "Yellow") (menu-bar-lines . 1) (foreground-color . "Black") (background-color . "LightSteelBlue") (top . 0) (left . 0) (unsplittable . t) (user-position . t) (vertical-scroll-bars . right) (height . 14) (width . 80) (unsplittable . t))) special-display-popup-frame(# ((background-color . "LavenderBlush2") (mouse-color . "VioletRed") (cursor-color . "VioletRed") (width . 100))) 1on1-display-*Completions*-frame(# ((background-color . "LavenderBlush2") (mouse-color . "VioletRed") (cursor-color . "VioletRed") (width . 100))) apply(1on1-display-*Completions*-frame # ((background-color . "LavenderBlush2") (mouse-color . "VioletRed") (cursor-color . "VioletRed") (width . 100))) special-display-popup-frame(# (1on1-display-*Completions*-frame ((background-color . "LavenderBlush2") (mouse-color . "VioletRed") (cursor-color . "VioletRed") (width . 100)))) ... I can't trace `x-create-frame', so I don't know what `>' test it is doing here, but perhaps someone else can figure it out. Presumably, what is happening is that `x-create-frame-with-faces' adds a null `visibility' frame parameter, and then something in `x-create-frame' tries to compare that nil value with 0 using `>'. HTH. In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-08-01 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a.