all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs current directory when shell commands change directory
@ 2007-04-20 18:35 David Strozzi
  2007-04-20 19:08 ` Peter Dyballa
  2007-04-21  1:16 ` Dieter Wilhelm
  0 siblings, 2 replies; 4+ messages in thread
From: David Strozzi @ 2007-04-20 18:35 UTC (permalink / raw)
  To: help-gnu-emacs

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

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

end of thread, other threads:[~2007-04-21  7:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-20 18:35 emacs current directory when shell commands change directory David Strozzi
2007-04-20 19:08 ` Peter Dyballa
2007-04-21  7:21   ` Daniel Rubin
2007-04-21  1:16 ` Dieter Wilhelm

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.