Path: utzoo!utgpu!watmath!maytag!accwai From: accwai@maytag.waterloo.edu (Andy Wai) Newsgroups: uw.unix Subject: Re: Setting EDITOR Message-ID: <513@maytag.waterloo.edu> Date: 22 Sep 89 11:39:03 GMT References: <11520@watcgl.waterloo.edu> <511@maytag.waterloo.edu> Reply-To: accwai@maytag.waterloo.edu (Andy Wai) Distribution: uw Organization: Math Faculty Computing Facility, University of Waterloo Lines: 19 In article <511@maytag.waterloo.edu> accwai@maytag.waterloo.edu (Andy Wai) writes: >In article <11520@watcgl.waterloo.edu> lindsay@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