all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* byte-code: Wrong type argument: number-or-marker-p, (+ -21)
@ 2003-11-12 15:33 Jan Nieuwenhuizen
  2003-11-14 22:47 ` Jan D.
  0 siblings, 1 reply; 13+ messages in thread
From: Jan Nieuwenhuizen @ 2003-11-12 15:33 UTC (permalink / raw)



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 <janneke@gnu.org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-12-07  0:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-12 15:33 byte-code: Wrong type argument: number-or-marker-p, (+ -21) Jan Nieuwenhuizen
2003-11-14 22:47 ` Jan D.
2003-11-17 10:15   ` FIX: " Jan Nieuwenhuizen
2003-11-17 14:06     ` Kim F. Storm
2003-11-17 13:43       ` Jan Nieuwenhuizen
2003-11-19 13:26         ` Jan Nieuwenhuizen
2003-11-19 17:07           ` Kim F. Storm
2003-11-19 21:07             ` Jan Nieuwenhuizen
2003-11-19 23:46               ` Kim F. Storm
2003-11-20  9:59                 ` FIX#3: " Jan Nieuwenhuizen
2003-11-23 21:32                   ` Jan D.
2003-12-06 16:14                   ` Geometry interpretation change? (was: FIX#3: byte-code: Wrong type argument: number-or-marker-p, (+ -21)) Jan D.
2003-12-07  0:57                     ` Kim F. Storm

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.