home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-3 / Tools / frontends / Emacs.2.1.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  5.0 KB  |  127 lines

  1. This directory contains the NeXTstep front-end to GNU Emacs.  This
  2. is the README for version 2.1.
  3.  
  4. The "Emacs" front-end has several advantages over running GNU emacs
  5. inside Terminal.  The "Alternate" key works as a meta key (as God
  6. intended it to be :-).  The "Cut" and "Copy" menu commands send the
  7. region to the pasteboard.  The "Paste" menu command sends the
  8. pasteboard to the current buffer and the "Undo" menu command works as
  9. expected.  Mouse clicks are interpreted in a reasonable manner (see
  10. the help window and/or lisp/eterm-fns.el for details).  In addition, 
  11. you can make Emacs the default editor. If that weren't enough, it also 
  12. comes with a cutesy icon.
  13.  
  14.  
  15.  
  16. Installation:
  17.  
  18. (1) There is a compiled copy of the app called Emacs that you can use right 
  19.     away. In particular for those people who do not have a compiler on their 
  20.     machine, this is the way to go. If you want to recompile then do step (2) 
  21.     and (3) below. Otherwise go to step (4)
  22.  
  23. (2) In the "Emacs" directory, do a "make".
  24.  
  25. (3) Do a "strip Emacs", afterwards size should be 81920.
  26.  
  27. (4) Install Emacs in /LocalApps or wherever else you want..
  28.  
  29. (5) Copy the contents of the directory "lisp" to somewhere in emacs's
  30.     load-path.  "/usr/lib/emacs/lisp" is recommended.  Note that the
  31.     file "eterm.el" has to be in the subdirectory named "term".
  32.  
  33.     The files eterm-fns.el and eterm-low.el (and their byte-compiled
  34.     counterparts) have changed since release 1.0 and need to be re-installed
  35.     if your previous version of Emacs was 1.0.  eterm-fns.el has changed
  36.     between versions 1.1 and 2.0.  The file eterm-low.el was changed for 
  37.     release 2.1, and must be re-installed with its byte-compiled counterpart.
  38.  
  39.  
  40.  
  41. ===============================================================================
  42. ===============================================================================
  43. ===============================================================================
  44.  
  45.                   Making Emacs the default editor
  46.                   
  47.  
  48. This file documents a step-by-step procedure to make Emacs (not just "emacs"
  49. the GNU stuff, but the NeXT front-end for emacs, called Emacs-2.1.tar.Z off
  50. the archive servers) the default editor. That is, Emacs will open when a
  51. non-executable file not otherwise claimed by an application is double-clicked
  52. in the Browser. 
  53.  
  54.  
  55. When a user double-clicks on a doc for an app, the Workspace looks at the
  56. file extension and asks the appropriate app if it is willing to open a doc.
  57. The "appropriate app" is usually the one that registered that extension.
  58. Some files can be opened by many apps, and you can set which app will open a
  59. particular type of file in the Tools panel. But for files with no extension,
  60. or files whose extensions have not been registered by any app, the Workspace
  61. calls its DefaultOpenApp. This is Edit in an unaltered system.  You can
  62. change it to Emacs by typing the following to a shell: 
  63.  
  64. dwrite Workspace DefaultOpenApp Emacs
  65.  
  66. Emacs must be in one of the places that Workspace looks for apps. Kill any
  67. Emacs you might have already, and remove it from the dock.
  68.  
  69.  
  70. In the Tools>Inspector... panel, switch to Tools in the popup. Depending on
  71. what kind of file is selected in the browser, a set of app icons that can
  72. handle that file extension are shown.  If there is no extension, then either
  73. NO TOOLS is shown, or the over-flowing kitchen sink of Emacs should be
  74. showing. For other extensions, like .c, Emacs should be there, but not the
  75. default (the default is the leftmost and highlighted one).  If you want to
  76. open C files in Emacs, select the Emacs icon and click OK.  Find a C file,
  77. and double-click.  It should start up Emacs and put that file in it. You can 
  78. do this with all file types. 
  79.  
  80.  
  81.  
  82. I received help from several sources.  Thanks to all.  Most helpful
  83. were Mark Meuer <meuer@geom.umn.edu> and Tony Zamora
  84. <azamora@hexagon.cs.indiana.edu>. 
  85.  
  86. --J Gregory (jgg@proforma.com)
  87.  
  88. ===============================================================================
  89. ===============================================================================
  90. ===============================================================================
  91.  
  92.  
  93.  
  94. Changes since 2.0:
  95.  
  96. * Fixed annoying, but apparently non-fatal bug that screwed up the 
  97.   mini-buffer.
  98. * Added support so that multiple files could be opened from the 
  99.   Workspace.
  100.  
  101. Changes since 1.1:
  102.  
  103. * Ported to NeXT OS 2.0
  104. * More font bug fixes.
  105. * Mouse support now ignores double-clicks
  106.  
  107. Changes since 1.0:
  108.  
  109. * Some bugs in the mouse support are fixed.
  110. * The arrow keys and the keypad "Enter" now work properly.
  111. * There is now a help window.
  112. * WinLocY now specifies the location of the *top* of the window
  113. * Passes the "Quit" menu item to the child emacs
  114. * Uses the screen (bitmap) font if it is available.
  115. * Fixes the screen font to have an integer character width.
  116.  
  117.  
  118. Thanks to Tom Lord for the original "eterm" program.
  119. Thanks to Scott Deerwester for helpful comments and bug fixes.
  120.  
  121.                 _.John G. Myers
  122.                 jgm@fed.expres.cs.cmu.edu
  123.  
  124. Emacs 2.1 Changes were written by J. Gregory (jgg@proforma.com) using a 
  125. Nextcube, 68040, running release 2.1 of the NeXTstep system.
  126.  
  127.