[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

byte-code: Wrong type argument: number-or-marker-p, (+ -21)

From: Jan Nieuwenhuizen
Subject: byte-code: Wrong type argument: number-or-marker-p, (+ -21)
Date: Wed, 12 Nov 2003 16:33:14 +0100
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.3 (powerpc-unknown-linux-gnu)

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 (+ 

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
    GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.2.4) of 2003-11-12 
on oliebij


Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]