unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* can't do `make-frame' with emacs 22.1 under Leopard
@ 2007-12-30  2:12 Scott Heftler
  2008-01-07  9:10 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Heftler @ 2007-12-30  2:12 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

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"

I'm running ordinary emacs 22.1 in Terminal -- the one that came  
installed with Leopard.  Never had this problem until I upgraded to  
Leopard.

I love your work.  Please advise.

-- Scott


[-- Attachment #2: Type: text/html, Size: 887 bytes --]

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

* Re: can't do `make-frame' with emacs 22.1 under Leopard
  2007-12-30  2:12 can't do `make-frame' with emacs 22.1 under Leopard Scott Heftler
@ 2008-01-07  9:10 ` YAMAMOTO Mitsuharu
  0 siblings, 0 replies; 2+ messages in thread
From: YAMAMOTO Mitsuharu @ 2008-01-07  9:10 UTC (permalink / raw)
  To: Scott Heftler; +Cc: bug-gnu-emacs

>>>>> On Sat, 29 Dec 2007 20:12:11 -0600, Scott Heftler <sheft@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
				mituharu@math.s.chiba-u.ac.jp




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

end of thread, other threads:[~2008-01-07  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-30  2:12 can't do `make-frame' with emacs 22.1 under Leopard Scott Heftler
2008-01-07  9:10 ` YAMAMOTO Mitsuharu

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).