home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / elisp / misc / hebrew / README < prev    next >
Encoding:
Text File  |  1992-08-22  |  2.8 KB  |  69 lines

  1. $Id: README,v 1.3 1992/06/04 16:34:10 yossi Exp $
  2.  
  3.                Semitic Patches to Emacs
  4.         by Joseph Friedman (yossi@DEShaw.COM)
  5.                  June 4, 1992
  6.  
  7.  
  8. This directory contains the patches necessary to edit text in Semitic
  9. languages using GNU Emacs 18.58 under X11:
  10.  
  11. 1) A simple, fixed, Hebrew X screen font, modified from misc/6x13.
  12.    Also, I included the accompanying line in the fonts.alias file.
  13.    (I have donated heb6x13 and another font, heb8x13, to the MIT X
  14.    Consortium, and these fonts are included in Release 5 of X11, so
  15.    you may already have it on your system.)
  16.  
  17. 2) Patches for the source code and lisp code for GNU Emacs 18.58 that
  18.    do right-to-left display and editing, as well as my own version of
  19.    256-character fonts support.
  20.  
  21. 3) A simple lisp package, hebrew.el, which selectively maps the
  22.    workstation keyboard into a standard Hebrew keyboard.  This mapping
  23.    is done both in insertion and in searching (sorry, I haven't
  24.    implemented replacing yet, but it'll come soon.)
  25.  
  26. The basic idea:
  27. --------------
  28. To summarize the changes to the C code, I created two new buffer-local
  29. variables, display-literal and display-reversed.  When display-literal
  30. is non-nil, nonprintable characters in the buffer are NOT mapped into
  31. ctl-arrow or backslash-and-three-octals; instead, whatever is in the
  32. font entry is displayed as is (don't do this at home!  On a non-X
  33. display, this can really mess up the screen).  When display-reversed
  34. is non-nil, all the windows showing the current buffer are flipped
  35. laterally, so the beginning of the line appears on the right and the
  36. lines are wrapped (or truncated) on the left;  all the editing command
  37. continue to behave as they were before.  The default value for both
  38. these variables is nil, so Emacs and Epoch behave exactly like the
  39. non-semitic version unless you specifically request otherwise.
  40.  
  41. Installation:
  42. ------------
  43. 1) Start with the font.  Unpack the font using:
  44.  
  45.         uudecode thefont
  46.         uncompress heb6x13.bdf.Z
  47.  
  48.    then run bdftosnf on heb6x13.bdf and install heb6x13.snf wherever
  49.    you keep your local fonts.  Run mkfontdir in that directory, and
  50.    then append the enclosed fonts.alias to your fonts.alias file.
  51.    You're all set.  Just to be sure, try:
  52.  
  53.         xfd -fn heb6x13
  54.  
  55. 2) Now apply the patches.  Apply patch-src in the source directory
  56.    and patch-lisp in the lisp directory.  When patching the lisp files,
  57.    don't forget to delete the corresponding .elc files, since they have
  58.    precedence over .el files.
  59.  
  60. 3) Next, copy hebrew.el to your local lisp directory.
  61.  
  62. 4) You're almost ready to use the package.  Now comes the REALLY HARD
  63.    part---making little labels with the hebrew characters on them and
  64.    taping these labels on the front of the keys on the keyboard :-(
  65.  
  66. Have fun!  And please report any problems/bugs/suggestions to me.
  67.  
  68. -yossi
  69.