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