Setting EDITOR

Andy Wai accwai at maytag.waterloo.edu
Fri Sep 22 21:39:03 AEST 1989


In article <511 at maytag.waterloo.edu> accwai at maytag.waterloo.edu (Andy Wai) writes:
>In article <11520 at watcgl.waterloo.edu> lindsay at watnext.waterloo.edu (Lindsay Patten) writes:
>>How can one set up one's EDITOR variable to pick the right emacs version
>>even in the face of scripts which set their own paths?
>
>setenv EDITOR `showpath findfirst=emacs`

Well, come to think of it, this is bad.  Starting up a new emacs on
every little thing is expensive.  How about:

setenv EDITOR /software/emacs/etc/emacsclient

and put

(server-start)

somewhere in your .emacs file.   Anyway, just a thought...

Andy



More information about the Comp.unix mailing list