home *** CD-ROM | disk | FTP | other *** search
- This directory contains the NeXTstep front-end to GNU Emacs. This
- is the README for version 2.1.
-
- The "Emacs" front-end has several advantages over running GNU emacs
- inside Terminal. The "Alternate" key works as a meta key (as God
- intended it to be :-). The "Cut" and "Copy" menu commands send the
- region to the pasteboard. The "Paste" menu command sends the
- pasteboard to the current buffer and the "Undo" menu command works as
- expected. Mouse clicks are interpreted in a reasonable manner (see
- the help window and/or lisp/eterm-fns.el for details). In addition,
- you can make Emacs the default editor. If that weren't enough, it also
- comes with a cutesy icon.
-
-
-
- Installation:
-
- (1) There is a compiled copy of the app called Emacs that you can use right
- away. In particular for those people who do not have a compiler on their
- machine, this is the way to go. If you want to recompile then do step (2)
- and (3) below. Otherwise go to step (4)
-
- (2) In the "Emacs" directory, do a "make".
-
- (3) Do a "strip Emacs", afterwards size should be 81920.
-
- (4) Install Emacs in /LocalApps or wherever else you want..
-
- (5) Copy the contents of the directory "lisp" to somewhere in emacs's
- load-path. "/usr/lib/emacs/lisp" is recommended. Note that the
- file "eterm.el" has to be in the subdirectory named "term".
-
- The files eterm-fns.el and eterm-low.el (and their byte-compiled
- counterparts) have changed since release 1.0 and need to be re-installed
- if your previous version of Emacs was 1.0. eterm-fns.el has changed
- between versions 1.1 and 2.0. The file eterm-low.el was changed for
- release 2.1, and must be re-installed with its byte-compiled counterpart.
-
-
-
- ===============================================================================
- ===============================================================================
- ===============================================================================
-
- Making Emacs the default editor
-
-
- This file documents a step-by-step procedure to make Emacs (not just "emacs"
- the GNU stuff, but the NeXT front-end for emacs, called Emacs-2.1.tar.Z off
- the archive servers) the default editor. That is, Emacs will open when a
- non-executable file not otherwise claimed by an application is double-clicked
- in the Browser.
-
-
- When a user double-clicks on a doc for an app, the Workspace looks at the
- file extension and asks the appropriate app if it is willing to open a doc.
- The "appropriate app" is usually the one that registered that extension.
- Some files can be opened by many apps, and you can set which app will open a
- particular type of file in the Tools panel. But for files with no extension,
- or files whose extensions have not been registered by any app, the Workspace
- calls its DefaultOpenApp. This is Edit in an unaltered system. You can
- change it to Emacs by typing the following to a shell:
-
- dwrite Workspace DefaultOpenApp Emacs
-
- Emacs must be in one of the places that Workspace looks for apps. Kill any
- Emacs you might have already, and remove it from the dock.
-
-
- In the Tools>Inspector... panel, switch to Tools in the popup. Depending on
- what kind of file is selected in the browser, a set of app icons that can
- handle that file extension are shown. If there is no extension, then either
- NO TOOLS is shown, or the over-flowing kitchen sink of Emacs should be
- showing. For other extensions, like .c, Emacs should be there, but not the
- default (the default is the leftmost and highlighted one). If you want to
- open C files in Emacs, select the Emacs icon and click OK. Find a C file,
- and double-click. It should start up Emacs and put that file in it. You can
- do this with all file types.
-
-
-
- I received help from several sources. Thanks to all. Most helpful
- were Mark Meuer <meuer@geom.umn.edu> and Tony Zamora
- <azamora@hexagon.cs.indiana.edu>.
-
- --J Gregory (jgg@proforma.com)
-
- ===============================================================================
- ===============================================================================
- ===============================================================================
-
-
-
- Changes since 2.0:
-
- * Fixed annoying, but apparently non-fatal bug that screwed up the
- mini-buffer.
- * Added support so that multiple files could be opened from the
- Workspace.
-
- Changes since 1.1:
-
- * Ported to NeXT OS 2.0
- * More font bug fixes.
- * Mouse support now ignores double-clicks
-
- Changes since 1.0:
-
- * Some bugs in the mouse support are fixed.
- * The arrow keys and the keypad "Enter" now work properly.
- * There is now a help window.
- * WinLocY now specifies the location of the *top* of the window
- * Passes the "Quit" menu item to the child emacs
- * Uses the screen (bitmap) font if it is available.
- * Fixes the screen font to have an integer character width.
-
-
- Thanks to Tom Lord for the original "eterm" program.
- Thanks to Scott Deerwester for helpful comments and bug fixes.
-
- _.John G. Myers
- jgm@fed.expres.cs.cmu.edu
-
- Emacs 2.1 Changes were written by J. Gregory (jgg@proforma.com) using a
- Nextcube, 68040, running release 2.1 of the NeXTstep system.
-
-