Article View: comp.emacs
Article #9621Re: cmushell-mode
From: Robert S. Maier
Date: Mon, 26 Feb 1990 01:41
Date: Mon, 26 Feb 1990 01:41
31 lines
1736 bytes
1736 bytes
In article <wZtrldm00htFFhJS9X@cs.cmu.edu> Olin Shivers writes,
apropos of cmushell-mode and shell-mode getting confused by `cd'
commands:
>It is not possible to reliably track the current working directory
>100% of the time. Forget it.
It's certainly not possible with shell-cd-regexp, which is a bit of a
hack. But in cmushell.el, authored by Olin Shivers, I find an
intriguing alternative suggestion:
;;; The right way would be to hack the shell so that when it changes
;;; its pwd, for any reason, it notifies emacs via some ipc channel or
;;; something.
This sounds like a very good idea. Has anyone actually implemented
it?
Are there any other pieces of the inferior shell's internal state,
besides the current directory, that it would be desirable for Emacs to
know about? Perhaps the IPC channel should really be two-way, so that
the shell can respond to arbitrary queries about its current state.
BASH developers, please note...
--
Robert S. Maier | Internet: rsm@math.arizona.edu [128.196.128.99]
Dept. of Math. | UUCP: ..{allegra,cmcl2,hao!noao}!arizona!amethyst!rsm
Univ. of Arizona | Bitnet: maier@arizrvax
Tucson, AZ 85721 | FAX: +1 602 621 8322
U.S.A. | Voice(POTS): +1 602 621 6893 / +1 602 621 2617
Technical Details
Message-ID:
<RSM.90Feb25184117@coral.math.arizona.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!noao!amethyst!rsmReferences:
<wZtrldm00htFFhJS9X@cs.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!noao!amethyst!rsm From: rsm@math.arizona.edu (Robert S. Maier) Newsgroups: comp.emacs Subject: Re: cmushell-mode Message-ID: <RSM.90Feb25184117@coral.math.arizona.edu> Date: 26 Feb 90 01:41:17 GMT References: <wZtrldm00htFFhJS9X@cs.cmu.edu> Organization: University of Arizona Mathematics Department Lines: 31 In-reply-to: shivers@cs.cmu.edu's message of 25 Feb 90 06:34:17 GMT