Subject: bug#1698: 23.0.60; OSX: Wrong type argument: wholenump, -1

From: Dan Nicolaescu <[email-masked]>
Date: Sat, 27 Dec 2008 09:31:26 -0800 (PST)

Markus Triska <[email-masked]> writes:

  > On OSX 10.4 with X11, when I do:
  > 
  >    $ emacs -Q -f server-start
  > 
  > and in another terminal do exactly the same:
  > 
  >    $ emacs -Q -f server-start
  > 
  > then the second Emacs instance shows the following error message:
  > 
  >    Wrong type argument: wholenump, -1
  > 
  > When I do M-x toggle-debug-on-error before calling `server-start' in
  > the second instance, then the Lisp backtrace is (byte-code omitted):

You can avoid the "byte-code omitted" problem by doing 
M-x load-library server.el RET before running M-x server-start