Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!munnari.oz.au!kaukau.comp.vuw.ac.nz!nickson From: Ray.Nickson@comp.vuw.ac.nz (Ray Nickson) Newsgroups: gnu.emacs Subject: Re: Better Directory Tracking Engine for GNU emacs Message-ID: Date: 2 Mar 90 03:40:35 GMT References: Sender: news@kaukau.comp.vuw.ac.nz (News Admin) Organization: Victoria University of Wellington, Wellington, New Zealand Lines: 14 In-Reply-To: warsaw@cme.nist.gov's message of 2 Mar 90 00:20:18 GMT In article warsaw@cme.nist.gov (Barry A. Warsaw) writes: And the like. Someone mentioned an interesting idea where the pwd command might be used to resync the tracking engine, but I opted for an explicit resync command (tk-resync) instead. Does csh not have an analogue of bash's PROMPT_COMMAND variable that gets executed on every prompt? If so, then it would be trivial to get that to echo some special code including $PWD and have the shell filter function watch for that. -rgn -- Ray Nickson + 64 4 721000x8593