Mercurial > emacs
view mac/README @ 51938:20d4eb1de9b0
Use bitmaps for cons cells, as was done for floats.
(init_float, init_cons): Let the normal code allocate the first block.
(CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size.
(CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK): New macros.
(struct cons_block): Move conses to the beginning. Add gcmarkbits.
(Fcons): Use lisp_align_malloc and CONS_UNMARK.
(live_cons_p): Check the pointer is not past the `conses' array.
(mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P.
(mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK.
(survives_gc_p): Use CONS_MARKED_P and simplify.
(gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 15 Jul 2003 19:19:59 +0000 |
parents | f819c7a2dd98 |
children | f900ce9a7062 d7ddb3e565de |
line wrap: on
line source
Emacs for Mac OS 8/9 and Mac OS X Copyright (c) 2001, 2002 Free Software Foundation, Inc. Permission is granted to anyone to make or distribute verbatim copies of this document as received, in any medium, provided that the copyright notice and permission notice are preserved, and that the distributor grants the recipient permission for further redistribution as permitted by this notice. Permission is granted to distribute modified versions of this document, or of portions of it, under the above conditions, provided also that they carry prominent notices stating who last changed them. This directory contains the files needed to build Emacs on the Mac OS 8/9 and Mac OS X. Many of the major features of the Unix version are supported: multiple frames, colors, scroll bars, menu bars, use of the mouse, fontsets, international characters, input methods, and coding systems. Mac OS specific support includes document drag-and-drop in the Finder, transfer of text to and from other applications via the clipboard, and sending AppleScript commands to other applications from Emacs. The following are not supported on Mac OS 8/9 : unexec (dump-emacs), asynchronous subprocesses (start-process), and networking (open-network-stream). These features work fine on Mac OS X. There is basic support for synchronous subprocesses (call-process) on Mac OS 8/9 although Unix commands that are used will need to be ported. Metrowerks CodeWarrior Pro 6 or MPW-GM (August 2001) can be used to build Emacs on the Mac OS 8/9. On Mac OS X, Emacs can be built using the Developer Tools. See the INSTALL file in this directory for instructions on building Emacs. Binary distributions will be available in ftp://ftp.gnu.org/gnu/mac/emacs/ Read the Mac OS section of the on-line help to find out about how to use Emacs on the Mac. A number of things do not work yet: + On Mac OS X, environment variables are not set up correctly when Emacs is started from the Finder. + Emacs does not respond correctly to C-g when it is not reading input. + No image support yet. If your Mac is connected to the Internet, report bugs by typing `M-x report-emacs-bug' or by choosing the entry `Send Bug Report...' in the `Help' menu. This will send the bug report to the address emacs-pretest-bug@gnu.org. Andrew. <akochoi@mac.com>