From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jan Nieuwenhuizen Newsgroups: gmane.emacs.devel Subject: byte-code: Wrong type argument: number-or-marker-p, (+ -21) Date: Wed, 12 Nov 2003 16:33:14 +0100 Organization: Jan at Appel Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1068652683 29198 80.91.224.253 (12 Nov 2003 15:58:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2003 15:58:03 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Nov 12 16:58:00 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJxNY-0007ZX-00 for ; Wed, 12 Nov 2003 16:58:00 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJxNY-0001BL-00 for ; Wed, 12 Nov 2003 16:58:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJy37-0005ma-3w for emacs-devel@quimby.gnus.org; Wed, 12 Nov 2003 11:40:57 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJxzT-0004s6-6h for emacs-devel@gnu.org; Wed, 12 Nov 2003 11:37:11 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJxys-0004cf-SM for emacs-devel@gnu.org; Wed, 12 Nov 2003 11:37:06 -0500 Original-Received: from [62.195.48.83] (helo=appel.flower) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJxxX-0004Bx-Ue for emacs-devel@gnu.org; Wed, 12 Nov 2003 11:35:12 -0500 Original-Received: from localhost ([127.0.0.1] helo=appel.flower) by appel.lilypond.org with esmtp (Exim 3.36 #1 (Debian)) id 1AJwza-0008Uw-00; Wed, 12 Nov 2003 16:33:14 +0100 Original-To: emacs-devel@gnu.org Original-Lines: 53 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3 (powerpc-unknown-linux-gnu) X-RBL-Warning: (inputs.orbz.org) X-RBL-Warning: (outputs.orbz.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17777 I want to start my emacs with geometry 80x[full-screen-height], with menu-bar and tool-bar disabled. With emacs (21.3.1 and also) today's CVS, there is a problem running emacs without -q, disabling the tool-bar and having it use the full screen height. The problem occurs when the emacs window is taller than the screen, at the time of disabling the tool-bar (this is what we need to get full screen height after disabling menu-bar and tool-bar). Here is my .emacs.el pruned for testing: (when (equal emacs-major-version 21) (tool-bar-mode -1)) (message "hi") Then, starting emacs as: emacs --geometry 80x100+0-0& # too tall for my screen, but ok for testing prints this error: byte-code: Wrong type argument: number-or-marker-p, (+ -520) After hitting this error emacs exhibits some seemingly unrelated problems, such as gud not syncing the src window. Running with --debug-init does not help, adding (setq debug-on-error t) to ~/.emacs.el yields: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p (+ -21)) frame-notice-user-settings() command-line-1(("80x100+0-0")) command-line() normal-top-level() however, there is no call to number-or-marker-p in frame-notice-user-settings. I'm confused. This is using: GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit) of 2003-10-31 on raven, modified by Debian or GNU Emacs 21.3.50.2 (i686-pc-linux-gnu, GTK+ Version 2.2.4) of 2003-11-12 on oliebij Greetings, Jan. -- Jan Nieuwenhuizen | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org