Path: utzoo!utgpu!watmath!watdragon!jmsellens From: jmsellens@watdragon.waterloo.edu (John M. Sellens) Newsgroups: uw.unix Subject: Re: Setting EDITOR Message-ID: <16572@watdragon.waterloo.edu> Date: 21 Sep 89 20:32:58 GMT References: <11520@watcgl.waterloo.edu> Reply-To: jmsellens@watdragon.waterloo.edu (John M. Sellens) Distribution: uw Organization: U. of Waterloo, Ontario Lines: 18 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? Previously, I set >my path so that I got the right one but now some scripts set their own path >and I end up getting the wrong emacs. What is the best way of setting this >variable? > >Thanks, >Lindsay Patten "People are package deals - No substitutions allowed" >Pattern Analysis & Machine Intelligence Group lindsay@watnext >Department of Systems Design Engineering lindsay@watnext.waterloo.edu >University of Waterloo {utai|decvax|uunet}!watmath!watnext!lindsay How about something like this: set your PATH and then setenv EDITOR `showpath findfirst=emacs` which will put an abolute path to your desired emacs in the variable.