Mercurial > emacs
view mac/README @ 83425:c82829d08b89
Fix semantics of let-binding `process-environment'.
* lisp/env.el: Require cl for byte compilation. (For `block' and `return'.)
(read-envvar-name): Update for rename. Include `process-environment'
as well.
(setenv): Update for rename also handle `process-environment'. Update doc.
(getenv): Update doc.
(environment): New function.
(let-environment): New macro.
* lisp/font-lock.el (lisp-font-lock-keywords-2): Add `let-environment'.
* src/callproc.c (Vglobal_environment): New variable, taking over the
previous role of `Vprocess_environment', which is now something else.
(add_env): New function.
(child_setup): Use it.
(child_setup, getenv_internal): Rename Vprocess_environment to
Vglobal_environment. Handle the new Vprocess_environment.
(Fgetenv_internal, egetenv): Update doc.
(set_process_environment): Rename to `set_global_environment'. Rename
Vprocess_environment to Vglobal_environment.
(syms_of_callproc): Rename process-environment to global-environment,
add new process-environment, update docs.
* src/emacs.c (main): Call set_global_environment instead of
set_process_environment.
* fileio.c (Fread_file_name): Update comment.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-465
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Thu, 29 Dec 2005 01:28:33 +0000 |
parents | ae5c2b812667 |
children | 067115a6e738 |
line wrap: on
line source
Emacs for Mac OS Classic and Mac OS X Copyright (C) 2001, 2002, 2003, 2004, 2005 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 Classic 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 Classic: 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 Classic (non-Carbon build only) although Unix commands that are used will need to be ported. FIXME: Metrowerks CodeWarrior Pro 6 or MPW-GM (August 2001) can be used to build Emacs on the Mac OS Classic. On Mac OS X, Emacs can be built using the Developer Tools. See the INSTALL file in this directory for instructions on building 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: + Support for PostScript image type is not available. + Incorporate Apple's wrappers to be able to create a universal binary that unexecs on first run for the given architecture. 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. Steven <steven.tamm@mac.com>