From: "David Strozzi" <david.strozzi@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: emacs current directory when shell commands change directory
Date: Fri, 20 Apr 2007 11:35:14 -0700 [thread overview]
Message-ID: <f21763420704201135g5cdc6e7ema24db5ce28c51eaf@mail.gmail.com> (raw)
Hi,
I and others have a minor problem with emacs' shell mode. Suppose you
use commands (namely aliases) that change the current directory.
Emacs doesn't realize the working dir has changed. If one were to
manually type 'cd dir', then 'M-x pwd' tells you the right dir. But
after running an alias to 'cd dir', 'M-x pwd' think you're in the
starting dir. This de-syncs tab completion, file opening, etc from
where you 'really' are in the shell. Of course, the shell correctly
changes the working dir when aliases are run.
Any way around this?
Thanks,
David Strozzi
next reply other threads:[~2007-04-20 18:35 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-20 18:35 David Strozzi [this message]
2007-04-20 19:08 ` emacs current directory when shell commands change directory Peter Dyballa
2007-04-21 7:21 ` Daniel Rubin
2007-04-21 1:16 ` Dieter Wilhelm
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f21763420704201135g5cdc6e7ema24db5ce28c51eaf@mail.gmail.com \
--to=david.strozzi@gmail.com \
--cc=help-gnu-emacs@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.