From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: net@muzaffar.org (Usman Muzaffar) Newsgroups: gmane.emacs.help Subject: using aliases to change dir in emacs shell Date: 29 Aug 2002 16:24:03 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-admin@gnu.org Message-ID: <68ecf1f9.0208291524.9b4a95c@posting.google.com> NNTP-Posting-Host: localhost.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1030664087 22252 127.0.0.1 (29 Aug 2002 23:34:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 Aug 2002 23:34:47 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17kYoF-0005mW-00 for ; Fri, 30 Aug 2002 01:34:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17kYpc-0003mO-00; Thu, 29 Aug 2002 19:36:08 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 64.41.141.105 Original-X-Trace: posting.google.com 1030663444 3681 127.0.0.1 (29 Aug 2002 23:24:04 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 29 Aug 2002 23:24:04 GMT Original-Xref: nntp.stanford.edu gnu.emacs.help:104310 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:882 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:882 Hi - I have a bunch of aliases (tcsh) which shuttle me around directories. Ex: alias testdir pushd ~/proj/test These work just fine most of the time (telnet, xterm, etc). It also works in emacs, but now emacs doesn't know where I am. Normally in shell mode emacs seems to watch for 'cd ' and change the current working dir for opening files (ie, if I C-x C-f from the shell buffer, I'm prompted to open file from wherever my shell is), etc. How can I get emacs to notice when my dir changes happen via my aliases instead of cd ? thanks, usman