unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: net@muzaffar.org (Usman Muzaffar)
Subject: using aliases to change dir in emacs shell
Date: 29 Aug 2002 16:24:03 -0700	[thread overview]
Message-ID: <68ecf1f9.0208291524.9b4a95c@posting.google.com> (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

             reply	other threads:[~2002-08-29 23:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-29 23:24 Usman Muzaffar [this message]
2002-08-30 12:58 ` using aliases to change dir in emacs shell Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=68ecf1f9.0208291524.9b4a95c@posting.google.com \
    --to=net@muzaffar.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).