home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / bit / listserv / sasl / 3895 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  2.8 KB

  1. Path: sparky!uunet!stanford.edu!lll-winken!miguel.llnl.gov!macq
  2. From: macq@miguel.llnl.gov (Don MacQueen)
  3. Newsgroups: bit.listserv.sas-l
  4. Subject: Re: Syntax-Sensitive Editing for SAS Programming
  5. Message-ID: <134485@lll-winken.LLNL.GOV>
  6. Date: 26 Aug 92 15:23:18 GMT
  7. References: <SAS-L%92082515510697@UGA.CC.UGA.EDU> <1992Aug26.140107.4307@dartvax.dartmouth.edu>
  8. Sender: usenet@lll-winken.LLNL.GOV
  9. Organization: Lawrence Livermore National Laboratory
  10. Lines: 48
  11. Nntp-Posting-Host: miguel.llnl.gov
  12.  
  13. In article <1992Aug26.140107.4307@dartvax.dartmouth.edu>, Stephen.Davidson@dartmouth.edu (Stephen Davidson) writes:
  14. |> In article <SAS-L%92082515510697@UGA.CC.UGA.EDU>
  15. |>         Kevin Nechodom <knechod@STACC.MED.UTAH.EDU> writes:
  16. |> 
  17. |> > Interesting concept!  The question I have is: Can you link the Emacs
  18. |> > editor into SAS so that when it wants to edit a file, it fires off
  19. |> > emacs instead of the DM editor?  I couldn't find an answer in the
  20. |> > _SAS Companion for the Unix Environment and Derivatives_, and I'm running
  21. |> > on HPUX 8.0 on a 730.
  22. |> 
  23. |> Nope...and I'd doubt that it'll happen anytime soon.  It says in Mark
  24. |> Riggle's article that you have to use INCLUDE/%INCLUDE to get your
  25. |> externally edited code into SAS, but that's really a small price to pay
  26. |> to use this handy feature.  I just have to start remembering my EMACS
  27. |> as it's been several years since I've been able to use it.  I'd think
  28. |> that it would take some MAJOR programming hooks to add a "use your
  29. |> favorite editor" feature to replace/augment the Program Editor and SI
  30. |> has enough stuff going on to put this on the back burner, but I'm sure
  31. |> that if it isn't already it will soon be in the "queue" for system
  32. |> enhancements...
  33. |> 
  34. |> Steve
  35. |> Steve.Davidson@Dartmouth.Edu
  36. |> "Elijia Blue in '92"
  37.  
  38. -- 
  39. Major hooks or not, they did it with the VMS editor TPU in SAS 6.06 on
  40. VMS. I believe I spoke to somebody from SAS about this for unix, and
  41. they said that although they were thinking about it, it didn't seem likely.
  42. Besides which, they'd probably implement if for vi only!
  43.  
  44. Althought the idea is attractive, the downside is that saving your code
  45. in a file outside SAS is somewhat less convienient than if you use
  46. emacs outside of SAS and the include/%inc idea above. Or at least, this
  47. is what I thought when I tried it under VMS.
  48.  
  49. So what if you're using an external editor -- on a true windowing OS it is
  50. just another window. I work as Steve describes above, and it works very well.
  51.  
  52. I have just begun trying Mark Riggle's sas-mode for emacs and it is
  53. wonderful.
  54.  
  55. ---------------------------------------------------
  56. Don MacQueen                   macq@miguel.llnl.gov
  57. Lawrence Livermore Nat. Lab.
  58. 7000 East Ave., L-307          (510) 423-1062
  59. Livermore, CA 94550
  60. ---------------------------------------------------
  61.