Article View: gnu.emacs.bug
Article #809"cd" in shell mode should report errors
From: Paul Rubin
Date: Thu, 15 Oct 1992 04:06
Date: Thu, 15 Oct 1992 04:06
22 lines
1440 bytes
1440 bytes
Newsgroups: gnu.emacs.bug References: <9210142122.AA14324@napa.TELEBIT.COM> From: chris ross <cjross@BBN.COM> Date: Wed, 14 Oct 92 23:42:50 EDT Sender: cjross@BBN.COM In gnu.emacs.bug you write: >When change directories in a subshell, Emacs tries to notice, so >that find-file etc. do the right thing. But if the current dir >has a subdir called "foobar-frobozz-pastafazoola" and I type >"cd foo*" to change into it, Emacs doesn't track it properly. >It is maybe too much to ask for Emacs to expand "foo*", but >if it tries to cd to "foo*" and fails, it should display >some message in the mode line saying that this has happened. >Then I can notice and do something about it if necessary. Check out the doc for the variable 'shell-set-directory-error-hook'. You can use it to issue a warning message, or write your own super- intelligent directory tracker. Thanks. This should go in the mode help message for shell mode.
Technical Details
Message-ID:
<9210150406.AA25169@napa.TELEBIT.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!napa.telebit.com!phrShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!linac!pacific.mps.ohio-state.edu!cis.ohio-state.edu!napa.telebit.com!phr From: phr@napa.telebit.com (Paul Rubin) Subject: "cd" in shell mode should report errors Message-ID: <9210150406.AA25169@napa.TELEBIT.COM> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 15 Oct 1992 04:06:19 GMT Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 23