home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / atari / st / tech / 4688 < prev    next >
Encoding:
Internet Message Format  |  1992-09-04  |  2.5 KB

  1. Path: sparky!uunet!mcsun!sunic!dkuug!daimi!lynbech
  2. From: lynbech@daimi.aau.dk (Christian Lynbech)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: atari emacs and ^M
  5. Keywords: emacs
  6. Message-ID: <1992Sep4.081907.17889@daimi.aau.dk>
  7. Date: 4 Sep 92 08:19:07 GMT
  8. References: <1992Sep3.164240.27194@ibr.cs.tu-bs.de>
  9. Sender: lynbech@daimi.aau.dk (Christian Lynbech)
  10. Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
  11. Lines: 50
  12.  
  13. kinzel@ibr.cs.tu-bs.de (Jens Kinzel) writes:
  14.  
  15. >Hi !
  16.  
  17. >I just managed to pass the dungle installing emacs under MiNT (and
  18. >after a short period of happiness), I feel it's nasty that atari-emacs
  19. >can't handle '^M' EOL charakters by default. This editor isn't vewry
  20. >useful, when can't handle EOL's (or when it should be too difficult to
  21. >handle 'em). So I think there must be someone who wondered about this
  22. >problem like me, or has just solved it!
  23. >                            bye, Jens
  24. >----------------------------------------------------------------------
  25. >Jens Kinzel                                            God is real
  26. >Institut fuer Betriebssysteme und Rechnerverbund       unless he is integer
  27. >kinzel@ibr.cs.tu-bs.de
  28. >----------------------------------------------------------------------
  29.  
  30. Actually there is.
  31.  
  32. I guess that you have the MiNT version of emacs. There is another port, based
  33. on the most recent version (18.58) of emacs.
  34.  
  35. Included in this is a little elisp-package which will automatically remove the
  36. ^M characters while visiting a normal atari file. They are of course reinserted
  37. before the file is saved.
  38.  
  39. I can't remember the path on atari.archive right now, but try checking the
  40. gnustuff directory and/or the editor directory. This little package is worth
  41. the entire download.
  42.  
  43. Don't forget that the appearance of the ^M characters is actually a feature.
  44. One of the advantages of emacs is the ability to handle arbitrary
  45. control-characters as ordinary characters that can be searched and replaced and
  46. whatever. Then if the characters is not desired, it is small trouble to hook up
  47. functions to delete/reinsert them when loading/saving the file.
  48.  
  49.  
  50.  
  51. ------------------------------------------------------------------------------
  52. Christian Lynbech
  53.  
  54. DAIMI                        office: R0.32   phone: 5034
  55. University of Aarhus,DK-Denmark                 email: lynbech@daimi.aau.dk
  56. ------------------------------------------------------------------------------
  57.               EMACS, The One True Editor                       
  58.  
  59.  
  60. Hit the philistines three times over the head with the Elisp reference manual.
  61.  
  62.                                         - petonic@hal.com (Michael A. Petonic)
  63.