Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: can't do `make-frame' with emacs 22.1 under Leopard

0 views
Skip to first unread message

YAMAMOTO Mitsuharu

unread,
Jan 7, 2008, 4:10:31 AM1/7/08
to Scott Heftler, bug-gn...@gnu.org
>>>>> On Sat, 29 Dec 2007 20:12:11 -0600, Scott Heftler <sh...@mac.com> said:

> Why can't I `make-frame' with emacs 22.1 under Leopard? The error
> must lie in `make-terminal-frame', which says:

> error: "Not running on a Macintosh screen; cannot make a new
> Macintosh frame"

This is due to the following part in the implementation of
`make-terminal-frame' in frame.c:

#ifdef MAC_OS
if (sf->output_method != output_mac)
error ("Not running on a Macintosh screen; cannot make a new Macintosh frame");
#else

It was added in 1999 and seems to be intended for Mac OS 8 and 9.
I've changed the above condition to #ifdef MAC_OS8, so the bug will be
fixed in Emacs 22.2.

YAMAMOTO Mitsuharu
mitu...@math.s.chiba-u.ac.jp


0 new messages