unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* using aliases to change dir in emacs shell
@ 2002-08-29 23:24 Usman Muzaffar
  2002-08-30 12:58 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Usman Muzaffar @ 2002-08-29 23:24 UTC (permalink / raw)


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 <dir>' 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: using aliases to change dir in emacs shell
  2002-08-29 23:24 using aliases to change dir in emacs shell Usman Muzaffar
@ 2002-08-30 12:58 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2002-08-30 12:58 UTC (permalink / raw)


net@muzaffar.org (Usman Muzaffar) writes:

> How can I get emacs to notice when my dir changes happen via my
> aliases instead of cd ?

M-x dirs RET or M-x shell-resync-dirs RET.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-30 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29 23:24 using aliases to change dir in emacs shell Usman Muzaffar
2002-08-30 12:58 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).